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: #20c90a;
    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: #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);
}

#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: 80%;
    background: #f7f0f4;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    border: 2px solid #00ff95;
}

th {
    background-color: #d36cab;
    color: white;
    padding: 12px;
}

td {
    border: 1px solid #007bff;
    padding: 12px;
    text-align: center;
}

input[type="number"] {
    width: 60px;
    text-align: center;
    padding: 5px;
    border: 2px solid #007bff;
    border-radius: 5px;
    font-weight: bold;
    font-size: 16px;
    color: #333;
    background-color: #fff;
}

th, td {
    padding: 10px;
    text-align: center;
    width: 50%;
}

.fraccion-container {
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    margin: 0 5px;
}

.fraccion-container span {
    display: block;
    padding: 0 5px;
}

.numerador-input, .denominador-input {
    width: 40px;
    text-align: center;
    padding: 3px;
    border: 1px solid #007bff;
    border-radius: 3px;
    font-size: 14px;
}

.numerador-input {
    border-bottom: none;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.denominador-input {
    border-top: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.barra-fraccion {
    display: block;
    height: 1px;
    background-color: #000;
    margin: 2px 0;
    border-top: 1px solid #000;
}

.respuesta-simple {
    width: 80px;
    text-align: center;
    padding: 8px;
    border: 2px solid #007bff;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    margin-left: 5px;
}

.respuesta-simple:focus {
    outline: none;
    border-color: #0056b3;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* Añade esto a tu archivo styles.css */
.select-proporcion {
    padding: 8px 12px;
    border: 2px solid #007bff;
    border-radius: 5px;
    font-size: 16px;
    background-color: white;
    cursor: pointer;
}

.select-proporcion:focus {
    outline: none;
    border-color: #0056b3;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}




