/* calculo.css - Versión unificada Winmates */

body {
    background-color: #d0e4f5; /* El azul claro de fondo */
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
}

/* Cabecera corporativa de Winmates */
.cabecera-azul {
    background-color: #003355;
    width: 100%;
    color: white;
    padding: 10px 0;
    text-align: center;
}

/* El menú superior */
.menu-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 10px;
}

.menu-nav a {
    color: white;
    text-decoration: none;
    font-weight: italic;
    font-style: italic;
    font-size: 0.9em;
}

/* CONTENEDOR CENTRAL: Aquí controlamos el ancho "asumible" */
.zona-trabajo {
    width: 95%;
    max-width: 750px; 
    margin: 30px auto;
}

.titulo-ejercicio {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #000;
}

/* La caja donde están las preguntas y respuestas */
.caja-blanca-calcu {
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #b0c4de;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.pregunta-texto {
    color: #003355;
    font-size: 1.3rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 25px;
}

/* Grid de respuestas en 2 columnas */
.grid-respuestas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

/* Cada opción individual */
.opcion-respuesta {
    background: #ffffff;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.opcion-respuesta:hover {
    background-color: #f0f8ff;
    border-color: #003355;
}

/* Botón ACEPTAR */
.boton-enviar {
    background-color: #003355;
    color: white;
    padding: 12px 50px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    display: block;
    margin: 0 auto;
    font-size: 1rem;
}

.boton-enviar:hover {
    background-color: #004a7a;
}

/* Marcador inferior */
.marcador-contenedor {
    margin-top: 30px;
    text-align: center;
    font-size: 0.9rem;
}

.badge {
    padding: 4px 12px;
    border-radius: 12px;
    color: white;
    font-weight: bold;
    margin: 0 5px;
}

.bg-acierto { background-color: #28a745; }
.bg-fallo { background-color: #dc3545; }