body {
    font-family: 'Arial', sans-serif;
    background-color: #f0f4f8; /* Color de fondo neutro */
    margin: 0;
    padding: 0;
    color: #333;
}

.container {
    max-width: 900px;
    margin: 50px auto;
    padding: 30px;
    background-color: #ffffff; /* Blanco para resaltar el contenido */
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-left: 10px solid #4CAF50; /* Barra izquierda verde */
    border-right: 10px solid #4CAF50;
}

h1 {
    text-align: center;
    font-size: 32px;
    color: #4CAF50;
    margin-bottom: 20px;
}

#name-section {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #a8dcec; 
    border-radius: 8px;
}

#student-name {
    padding: 10px;
    font-size: 22px;
    margin-right: 10px;
    width: 60%;
    border: 2px solid #4CAF50;
    border-radius: 5px;
    background-color: #f4f4f4;
    color: #fa0909;
    font-weight: bold;
}

/* Asegurarse de que los botones estén uno al lado del otro */
.button-container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

button {
    padding: 12px 25px;
    background-color: #4CAF50;
    color: white;
    font-size: 16px;
    cursor: pointer;
    border: none;
    border-radius: 8px;
    margin-top: 10px;
    transition: background-color 0.3s;
    display: block;
    margin: 10px auto; /* Centrar los botones */
}

button:hover {
    background-color: #45a049;
}

/* Botón deshabilitado */
button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}


#welcome-message {
    text-align: center;
    font-weight: bold;
    font-size: 28px;
    color: #ecde18;
    margin-top: 10px;
    background-color: #f1f1f1;
    border-radius: 5px;
    padding: 10px;
    text-shadow: 2px 2px 5px rgba(7, 7, 7, 0.795); /* Sombra para resaltar */
}

#score  {
    font-size: 24px;
    font-weight: bold;
    color: #2e86c1;
    text-align: center;
    margin-top: 5px;
    background-color: #f4d03f;
    padding: 10px;
    border-radius: 10px;
    display: inline-block;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    display: none;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

th, td {
    padding: 5px;
    text-align: center;
    border: 1px solid #ddd;
}

th {
    background-color: #4CAF50;
    color: white;
}

td {
    background-color: #b8f3e6;
}

input[type="number"], input[type="text"] {
    padding: 10px;
    font-size: 16px;
    margin-top: 10px;
    width: 70%;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f4f4f4;
}

input[type="number"]:focus, input[type="text"]:focus {
    outline-color: #4CAF50;
}

.base-exponent {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.base-exponent input[type="number"].base {
    padding: 8px;
    font-size: 16px;
    text-align: center;
    width: 60px;
}

.base-exponent input[type="number"].exponent {
    width: 40px;
    font-size: 14px;
    position: absolute;
    top: -15px;
    right: 20px;
    text-align: center;
}

#exercises-table {
    display: none;
}

#exercises-body tr:nth-child(even) {
    background-color: #f1f1f1;
}

#exercises-body tr:nth-child(odd) {
    background-color: #ffffff;
}


/* Resaltar ejercicios incorrectos */
.incorrect {
    background-color: #f8d7da; /* Fondo rojo suave */
    color: #721c24; /* Texto rojo oscuro */
}

