body {
    font-family: "Calibri", sans-serif;
    xbackground: linear-gradient(to bottom, #007bff, #004080);
    xcolor: #fff;
    xtext-align: center;
    xmin-height: 100vh;
    margin:0px;
}



/* Cabecera */
.header {
    width: 100%;
    height: 50px; /* Altura reducida */
    background-color: #0e92a1;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 10px;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

.titulo-app {
    font-size: 18px;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    gap: 5px;
}

.menu-btn {
    background-color: transparent;
    color: white;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

.menu-btn:hover {
    text-decoration: underline;
}

/* Área de mensajes */
.xmensaje-area {
    xwidth: 100%;
    background-color: #cae6ea; /* Celeste claro */
    text-align: center;
    padding: 10px;
    font-size: 18px;
    margin-top: 50px; /* Ajuste por la cabecera fija */
    height:80px;
}



@keyframes desplazarIzquierda {
    0% {
        transform: translateX(100%); /* Comienza fuera del contenedor (derecha) */
        opacity: 0;
    }
    20% {
        transform: translateX(0); /* Se mueve a la posición normal */
        opacity: 1;
    }
    80% {
        transform: translateX(0); /* Permanece en la posición normal */
        opacity: 1;
    }
    100% {
        transform: translateX(-100%); /* Sale del contenedor (izquierda) */
        opacity: 0;
    }
}

.mensaje-area {
    background-color: #cae6ea;
    text-align: center;
    padding: 10px;
    font-size: 20px;
    color:#FFF;
    margin-top: 50px;
    height: 140px;
    font-weight:bold;
    overflow: hidden; /* Oculta el contenido que se desborda */
    position: relative;
    background: linear-gradient(to bottom, #3cbbbd, #269599);
}

#mensaje-dinamico {
    xposition: absolute;
    width: 100%;
    xwhite-space: nowrap; /* Evita que el texto se divida en varias líneas */
    animation: desplazarIzquierda 6s linear infinite; /* Duración de 4 segundos */
}


.texto-titulo {
    padding: 20px;
    font-size: 22px;
    color: #c39a17;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: bold;
}





.contenido {
    display: flex;
    justify-content: center;
    align-items: center;
    xheight: calc(100vh - 100px);
    max-width: 450px;
}

.login-container {
    text-align: center;
    background: #fff;
    padding: 0px;
    border-radius: 8px;
    xbox-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.login-logo {
    width: 100%;
    margin-bottom: 10px;
}


.text-info{
color: red;
text-shadow: 2px 2px 2px rgba(255, 0, 0, 0);
}


@supports (-webkit-text-fill-color: white) {
    input:-webkit-autofill,
    input:-webkit-autofill:hover,
    input:-webkit-autofill:focus,
    input:-webkit-autofill:active {
        -webkit-box-shadow: 0 0 0 1000px #3669c3 inset !important;
        -webkit-text-fill-color: white !important;
        font-size: 16px !important; /* Tamaño de la fuente */
        transition: background-color 5000s ease-in-out 0s;
    }
}

input[type="text"],
input[type="email"],
input[type="password"]  {
    xwidth: 100%;
    padding: 12px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #548235 !important;
    background: #548235 !important;/*3669c3*/
    color:#FFF;
    font-size: 24px;
    text-align: center;
    width:75%;
}
input::placeholder {
    color: #FFF; /* Color blanco */
    opacity: 0.3; /* Asegura que el color sea completamente visible */
    background-color: #548235 !important;
    text-align:center;
    font-size: 20px;
}

.input-text{
background-color: #3669c3;
}

.login-button {
    xmargin-top: 20px;
    padding: 12px 100px;
    background-color: #548235;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 22px;
    border-radius: 10px;
    width:80%;
}

.small-text {
    font-size: 12px;
    margin-top: 10px;
}

.small-text a {
    text-decoration: none;
    color: #007bff;
}



/* Contenedor de opciones */
.Xcontenido {
    text-align: center;
    xpadding: 20px;
    border:1px solid #000;
}

.opciones-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2x2 */
    gap: 10px;
    max-width: 400px;
    margin: auto;
}

.opcion {
    background-color: #FFF;
    xpadding: 15px;
    border-radius: 5px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
}




.option .row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.option .col-6 {
    flex: 0 0 48%; /* 2 columnas */
    max-width: 48%;
    text-align: center;
}



.opcion img {
    width: 94%;
    height: auto;
    border-radius: 10px;
}


.opcion-texto {
    margin:-10px;
    color: #4bb67c;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}



#btn-siguiente {
    margin-top: 20px;
    padding: 10px 100px;
    background-color: #0d92a1; /*#3d545c;*/
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
}

#btn-siguiente:hover {
    background-color: #3a847f;/* #545d5f;*/
}





.img-titulo{
    margin-top: 0px;
    margin-bottom: 0px;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
    
  
.marco-img{
    background-color:#90b478;
    color:#FFF;
    padding:20px;
}
.submarco-img{
    border:5px solid #FFF;
}