/* -------------------------------------- Modificaciones para el fondo de la pagina o cuerpo */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;

    background-color: #000;
    background-image: 
        linear-gradient(
            0deg, 
            rgba(192, 235, 228, 0.9) 0%, 
            rgba(98, 199, 193, 0.9) 100%
        ),
        url(../img/logo_fondo.png);

    background-repeat: no-repeat;
}

/* ------------------------------------------------------------------------------------------------- Parte de arriba de la pagina  */
header {
    color: white;
    text-align: center;
}

button {
    background-color: #62c7c1;
    color: #fff;
    padding: 0.5rem 1rem;
    margin: 1rem 0;
    border-radius: 0.5rem;
    border: none;

    font-size: 1rem;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
}

button:hover {
    background-color: #44bbbd;
}

/* -------------------------------------- Titulo del header */
.titulo{
    justify-content: center;
    text-align: center;
    font-style:oblique;
    font-size: 45px;
    margin: 0px;

}

/* -------------------------------------- Diseño de tabla central para la informacion de usuario */
.Contenido {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 50px);
    background-position: 0px 0px;
}

/* -------------------------------------- Contenedor del Log in */
.login-container {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 300px;
}

/* -------------------------------------- Titulo del contenedor */
.login-container h2 {
    margin-bottom: 30px;
    font-size: 24px;
    color: #333;
}

/* -------------------------------------- DEntrada del contenedor de Log in */
.input-box {
    position: relative;
    margin-bottom: 30px;
}

/* -------------------------------------- Contenedores del contenedor de Log in*/
.input-box input {
    width: 100%;
    padding: 10px;
    background: transparent;
    border: none;
    border-bottom: 2px solid #ccc;
    outline: none;
    color: #333;
    font-size: 16px;
    transition: all 0.3s ease;
}

/* --------------------------------------  Texto para los contedores de inputs */
.input-box label {
    position: absolute;
    top: 10px;
    left: 0;
    color: #aaa;
    transition: 0.3s ease;
}

/* --------------------------------------  Movimiento del encabezado de los contenedores los input */
.input-box input:focus ~ label,
.input-box input:not(:placeholder-shown) ~ label {
    top: -20px;
    font-size: 12px;
}
/* ------------------------------------------------------------------------------------------------- mensaje (En caso de no tener acceso) */
#mensaje {
    color: #701919;
    font-weight: bold;
    font-family: "lato", sans-serif;
    font-size: 12px;
}

/* -------------------------------------------------------------------------------------------------mensaje */
/* -------------------- Ajuste global */
* {
    box-sizing: border-box;
}

.login-extra {
    margin-top: 20px;
    max-width: 320px;      /* mismo ancho del login */
    width: 100%;
    text-align: center;
}

.linea-con-texto {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.linea {
    flex: 1;
    height: 1px;
    background-color: #497F7F;
}

.texto {
    color: #497F7F;
    font-size: 14px;
    white-space: nowrap;
}

.ayuda{
	font-size: 12px;
	color: #497F7F;
	text-align: center;
    justify-content: center;
	margin-top: 5px;
	max-width:300px;
	width: 100%;
}

.socialMedia{
    font-size: 24px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
    text-shadow: 0 10px 25px rgba(0, 0, 0, 1.8);
}

.socialMedia a{
    color: #fff;
    font-size: 32px;
    text-decoration: none;
    transition: transform .2s ease, color .2s ease, text-shadow .2s ease;
}

.socialMedia a:hover{
    transform: translateY(-3px) scale(1.05);
}

/* Instagram con gradiente */
.socialMedia .ti-brand-instagram{
    background: linear-gradient(
        45deg,
        #feda75,
        #fa7e1e,
        #d62976,
        #962fbf,
        #4f5bd5
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform .2s ease;
}

/* Hover opcional */
.socialMedia a:hover {
    transform: scale(1.15);
}

.socialMedia .ti-brand-facebook{
    color: #1877F2;
    transition: transform .2s ease, text-shadow .2s ease;
}

.socialMedia a:hover .ti-brand-facebook{
    transform: scale(1.15);
    text-shadow: 
        0 0 12px rgba(24, 119, 242, 0.8),
        0 0 25px rgba(24, 119, 242, 0.6);
}

.socialMedia .ti-brand-whatsapp {
    color: #25D366;
    transition: transform .2s ease, text-shadow .2s ease;
}

.socialMedia a:hover .ti-brand-whatsapp {
    transform: scale(1.15);
}
/* ===================== TABLET ===================== */
@media (max-width: 768px) {

    .titulo {
        font-size: 32px;
    }

    .login-container {
        padding: 25px;
    }

    button {
        width: 100%;
    }
}

/* ===================== MÓVIL ===================== */
@media (max-width: 480px) {

    body {
        background-size: contain;
        background-position: center;
    }

    .titulo {
        font-size: 26px;
    }

    .login-container {
        padding: 20px;
        border-radius: 8px;
    }

    .login-container h2 {
        font-size: 20px;
    }

    .input-box input {
        font-size: 14px;
    }

    button {
        font-size: 14px;
        padding: 0.6rem;
    }
}
