body {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #eeeeee;
}

.container {
    width: 70%;
    min-width: 800px;
    min-height: 100vh;
    text-align: center;
    padding: 20px;
    background-color: white;
    box-shadow: 0px 0px 10px 10px #cccccc;
    display: grid;
    place-items: center;
}

.welcome {
    width: 75%;
    margin: 20px auto;
}

.container a {
    text-decoration: underline;
    color: rgba(30, 30, 30, 0.7);
    font-weight: bold;
}

.container a.button {
    display: inline-block;
    padding: 10px 25px;
    margin-top: 20px;
    background-color: #666666;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.container a.button:hover {
    background-color: #444444;
}

.container p {
    width: 60%;
    margin: 20px auto;
    text-align: justify;
}

.container .card {
    display: inline-block;
    width: 200px;
    height: 130px;
    border-radius: 20px;
    padding: 20px;
    margin: 20px 60px;
    box-shadow: 0px 0px 10px 10px #eeeeee;
    text-align: center;
}

.container .card:hover {
    box-shadow: 0px 0px 10px 10px #cccccc;
}

.container input[type="text"],
.container input[type="password"] {
    width: 300px;
    margin: 10px;
    padding: 10px 12px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #f4f4f4;
}

.container form input[type="submit"],
.container form .button {
    display: inline-block;
    width: 180px;
    height: 50px;
    margin-top: 20px;
    background-color: #666666;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.container form input[type="submit"]:hover,
.container form .button:hover {
    background-color: #444444;
}

.container form input[type="submit"]:active {
    background-color: orange;
}

.exit {
    padding: 10px 20px;
    font-weight: bold;
    background-color: #2e7d32;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-bottom: 40px;
}

.exit:hover {
    background-color: #1b5e20;
}

.container h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #2e7d32;
    margin-bottom: 5px;
    text-align: center;
}

.container h2 {
    width: 60%;
    margin: 10px auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    text-indent: 2em;
    hyphens: auto;
}

.radio-section {
    display: flex;
    align-items: center;
    justify-content: center;
}

.container .logo {
    width: 100%;
    min-width: 500px;
}

.radio-item [type="radio"] {
    display: none;
}

.radio-item + .radio-item {
    margin-top: 15px;
}

.radio-item label {
    display: block;
    padding: 20px 60px;
    background: rgba(0, 200, 0, 0.2);
    border: 2px solid green;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 400;
    min-width: 250px;
    max-width: 500px;
    position: relative;
    transition: 0.4s ease-in-out 0s;
}

.radio-item label:after,
.radio-item label:before {
    content: "";
    position: absolute;
    border-radius: 50%;
}

.radio-item label:after {
    display: none;
    height: 19px;
    width: 19px;
    border: 2px solid green;
    left: 19px;
    top: calc(50% - 12px);
}

.radio-item label:before {
    background: orange;
    height: 20px;
    width: 20px;
    left: 21px;
    top: calc(50%-5px);
    transform: scale(5);
    opacity: 0;
    visibility: hidden;
    transition: 0.4s ease-in-out 0s;
}

.radio-item [type="radio"]:checked ~ label {
    border: 4px solid orange;
}

.radio-item [type="radio"]:checked ~ label::before {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.note {
    margin-top: 25px;
    padding: 10px 15px;
    font-size: 14px;
    color: #444;
    background-color: #f9f9f9;
    border-left: 4px solid #ff9900;
    width: 100%;
    max-width: 500px;
    text-align: left;
    line-height: 1.6;
    border-radius: 4px;
    box-shadow: 0 0 3px rgba(0,0,0,0.1);
}

.note .bullet {
    color: #ff9900;
    font-size: 16px;
    margin-right: 6px;
    font-weight: bold;
}

/* —— BARRA home.html —— */
.seani-barra {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #2e7d32;
    color: #ffffff;
    text-align: center;
    padding: 15px 0;
    font: bold 24px/1 'Verdana', sans-serif;
    letter-spacing: 1px;
    box-shadow: 0 2px 4px rgba(0,0,0,.2);
    z-index: 1000;
}

.seani-barra h1 {
    margin: 0;
    padding: 0;
    font-size: 30px;
    line-height: 1;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Verdana', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    user-select: none;
}

.seani-espacio {
    height: 35px;
}

/* —— BARRA question.html —— */
.seani-barra2 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #592e7d;
    color: #ffffff;
    text-align: center;
    padding: 15px 0;
    font: bold 24px/1 'Verdana', sans-serif;
    letter-spacing: 1px;
    box-shadow: 0 2px 4px rgba(0,0,0,.2);
    z-index: 1000;
}

.seani-barra2 h1 {
    margin: 0;
    padding: 0;
    font-size: 30px;
    line-height: 1;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Verdana', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    user-select: none;
}

.seani-espacio2 {
    height: 35px;
}

.seani-contenido {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    padding: 0 20px;
}

.centrado {
    text-align: center;
    margin: 30px 0;
}

.card-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 40px;
    justify-items: center;
    align-items: center;
    margin: 20px 0;
}

.card-container .card {
    width: 220px;
    height: 140px;
    text-align: center;
    transition: transform 0.2s ease;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0px 0px 10px 10px #eeeeee;
    background-color: #fff;
}

.card-container .card:hover {
    transform: scale(1.05);
    box-shadow: 0px 0px 10px 10px #cccccc;
}

h2.titulo-rojo {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #c0392b;       
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
    letter-spacing: 0.05em;
    line-height: 1.3;
}

/* —— Estilos de question.html —— */
.question {
    display: block;     
    text-align: left;
    margin: 0 0 10px 0;
}

.question::before {
    content: "\2190";      
    margin-right: 6px;
    font-weight: bold;
}

.formulario-exam {
    max-width: 700px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.titulo-pregunta {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: #2e7d32;
    border-bottom: 2px solid #2e7d32;
    padding-bottom: 6px;
}

.lista-opciones {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.opcion {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    transition: background-color 0.2s ease;
}

.opcion:hover {
    background-color: #eef5ee;
}

.opcion input[type="radio"] {
    accent-color: #2e7d32;
    width: 18px;
    height: 18px;
    margin-right: 10px;
}

.opcion label {
    font-size: 1rem;
    color: #333;
    cursor: pointer;
}

.opcion input[type="radio"]:checked + label {
    font-weight: bold;
    color: #2e7d32;
}

.radio-oculto {
    display: none;
}

.boton-question {
    display: inline-block;
    padding: 10px 25px;
    margin-top: 20px;
    background-color: #2e7d32;  
    color: white;
    text-decoration: none;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.boton-question:hover {
    background-color: #1b4d1f;  
}

.imagen-pregunta {
    background-color: #ffff;
    border-left: 8px solid #8a65ad;
    padding: 16px;
    margin: 20px 0;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05); 
    text-align: center;
}

.imagen-pregunta img {
    max-width: 100%;
    height: auto;
}

.barra-superior {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 20px;
    margin-bottom: 10px;
    padding: 0 10px;
}

.barra-superior h1 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2e7d32;
    margin: 0;
}

.boton-salir form {
    margin: 0;
}

.boton-salir .exit {
    background-color: #2e7d32;
    color: white;
    font-weight: bold;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 14px;
}

.boton-salir .exit:hover {
    background-color: #1b5e20;
}

