body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #e0f7fa, #b2ebf2);
    margin: 0;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    background-color: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
}

.header {
    margin-bottom: 20px;
    text-align: center;
}

h1 {
    color: #00796b;
    margin-bottom: 15px;
    font-size: 1.8em;
}

.student-score {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #e8f5e9;
    padding: 12px 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    border: 2px solid #00796b;
}

.name-display {
    font-weight: bold;
    color: #d32f2f;
    font-size: 1.2em;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.score-display {
    font-weight: bold;
    color: #00796b;
    font-size: 1.2em;
}

.score-display span:last-child {
    background-color: #00796b;
    color: white;
    padding: 3px 10px;
    border-radius: 15px;
    margin-left: 5px;
}

.input-group {
    margin-bottom: 15px;
}

input {
    width: 100%;
    padding: 12px;
    border: 2px solid #b2dfdb;
    border-radius: 8px;
    font-size: 1em;
    box-sizing: border-box;
}

input:focus {
    border-color: #00796b;
    outline: none;
}

.exercise-box {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
}

#proportionEquation {
    margin: 20px 0;
    font-size: 28px;
    text-align: center;
    min-height: 60px;
}

.button-container {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

button {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
}

#generateExercise {
    background-color: #00796b;
    color: white;
}

#checkAnswer {
    background-color: #ff9800;
    color: white;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

button:disabled {
    background-color: #bdbdbd;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

#feedback {
    padding: 10px;
    border-radius: 5px;
    margin-top: 15px;
    text-align: center;
    font-weight: bold;
}

.correct {
    color: #388e3c;
    background-color: #e8f5e9;
}

.incorrect {
    color: #d32f2f;
    background-color: #ffebee;
}

.info {
    color: #1976d2;
    background-color: #e3f2fd;
}

/* Agregar esto al final del archivo CSS */
.hidden {
    display: none !important;
}

.name-display {
    font-weight: bold;
    color: #d32f2f;
    font-size: 1.2em;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

/* El resto del CSS se mantiene igual */