body { 
    font-family: Arial, sans-serif; 
    text-align: center; 
    background-color: #f4f4f4;
    padding: 20px;
}

#registro {
    background: #ffffff;
    padding: 20px;
    max-width: 400px;
    margin: 50px auto;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    border-left: 5px solid #007bff;
    border-right: 5px solid #007bff;
}

input {
    width: 80%;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    padding: 10px 20px;
    margin: 10px;
    cursor: pointer;
    border: none;
    background-color: #007bff;
    color: white;
    border-radius: 5px;
    font-size: 16px;
}

button:enabled {
    background-color: #28a745;
    color: white;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

button:disabled {
    background-color: #cccccc;
    color: #666666;
    cursor: not-allowed;
    box-shadow: none;
}

#verificar {
    background-color: #007bff;
}

#verificar:enabled:hover {
    background-color: #0056b3;
}

#nuevoEjercicio {
    background-color: #ffc107;
}

#nuevoEjercicio:enabled:hover {
    background-color: #e0a800;
}

button:hover {
    background-color: #0056b3;
}

#mensajeBienvenida {
    font-size: 28px;
    font-weight: bold;
    color: #be029f;
    text-align: center;
    margin-top: 10px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

#puntaje {
    font-size: 24px;
    font-weight: bold;
    color: #f35656;
    text-align: center;
    margin-top: 5px;
    background-color: #fc9d0e5d;
    padding: 10px;
    border-radius: 10px;
    display: inline-block;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

#ejercicios {
    display: none;
    background: white;
    padding: 20px;
    max-width: 90%;
    margin: 20px auto;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    border-left: 8px solid #28a745;
    border-right: 8px solid #28a745;
}

table {
    margin: 20px auto;
    border-collapse: collapse;
    width: 90%;
    background: #e3f2fd;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    border: 2px solid #007bff;
}

th {
    background-color: #007bff;
    color: white;
    padding: 12px;
}

td {
    border: 1px solid #007bff;
    padding: 12px;
    text-align: center;
}

input[type="text"] {
    width: 80%;
    text-align: center;
    padding: 5px;
    border: 2px solid #007bff;
    border-radius: 5px;
    font-size: 16px;
}

select {
    padding: 5px;
    border: 2px solid #007bff;
    border-radius: 5px;
    font-size: 16px;
    width: 80%;
}

#resultado {
    font-weight: bold;
    font-size: 18px;
    margin-top: 20px;
    min-height: 24px;
}

.fraccion {
    display: inline-block;
    text-align: center;
    vertical-align: middle;
}

.numerador {
    display: block;
    padding: 0 5px;
    border-bottom: 1px solid black;
}

.denominador {
    display: block;
    padding: 0 5px;
}

.fraccion-container {
    display: inline-block;
    margin: 0 5px;
    font-size: 18px;
}