/* -------------------- */
/*     BODY + FONDO     */
/* -------------------- */
body {
    font-family: Arial, sans-serif;

    background: #152235;

font-family: Arial, sans-serif;
    background: #152235;
    display: block;            /* ← evita centrar todo */
    margin: 0;
    padding-top: 100px;  
}


/* -------------------- */
/*     HEADER NUEVO     */
/* -------------------- */
header {
    background: rgba(0, 80, 140, 0.65);
    backdrop-filter: blur(10px);
    color: white;

    display: flex;
    justify-content: center;
    align-items: center;

    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;

    box-shadow: 0 6px 14px rgba(0,0,0,0.35);
    border-bottom: 1px solid rgba(255,255,255,0.22);

    z-index: 100;
}

.login-title {
    margin: 0;
    font-size: 2em;
    color: white;
}

/* -------------------- */
/*   BOTÓN REGRESAR     */
/* -------------------- */
.back-btn {
    position: absolute;
    left: 20px;

    background-color: white !important;
    color: black !important;

    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;

    transition: 0.25s;
}

.back-btn:hover {
    background-color: #e5e5e5 !important;
    transform: scale(1.06);
}
/* -------------------- */
/*   CONTENEDOR LOGIN   */
/* -------------------- */
.login-container {
    position: relative;
    z-index: 5;

    background-color: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(10px);

    width: 340px;
    border-radius: 16px;

    box-shadow: 0 4px 16px rgba(0,0,0,0.3);

    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.14);
    margin: 130px auto 40px auto;   /* centra de forma natural */
}

.login-header {
    background: rgba(0, 80, 140, 0.7);
    backdrop-filter: blur(8px);

    color: white;
    text-align: center;

    padding: 18px 0;
    font-size: 1.4em;
    font-weight: bold;
}

.login-form {
    display: flex;
    flex-direction: column;
    padding: 20px;
    color: white;
}

.login-form label {
    font-weight: bold;
    margin-bottom: 6px;
}

.login-form input {
    margin-bottom: 17px;
    padding: 11px;

    border: none;
    border-radius: 8px;

    background: rgba(255, 255, 255, 0.85);

    font-size: 1em;
    outline: none;
}

/* -------------------- */
/*   BOTÓN ENVIAR       */
/* -------------------- */
.login-form button {
    background-color: white !important;  /* BLANCO */
    color: black !important;

    border: none;
    padding: 12px;
    border-radius: 8px;

    cursor: pointer;
    font-size: 1em;
    font-weight: bold;

    transition: 0.25s;
}

.login-form button:hover {
    background-color: #2ecc71 !important; /* VERDE */
    color: black !important;
    transform: scale(1.05);
}

footer {
    padding: 10px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    color: white;
    font-size: 18px;
    text-align: center;
    margin-top: 40px;
    position: relative;
}

.footer-socials {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    gap: 14px;
}

.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid white; /* borde blanco delgado */
    color: white;            /* letra blanca */
    background-color: rgba(0,0,0,0.45); /* negro transparente */
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: 0.3s;
}

.social-btn:hover {
    transform: scale(1.15);
    background-color: rgba(255,255,255,0.15); /* ligero efecto hover */
}


/* -------------------- */
/*       RESPONSIVE     */
/* -------------------- */

/* Tablets medianos */
@media (max-width: 1024px) {
    .login-container {
        width: 300px;
        margin: 110px auto 30px auto;
    }

    .login-header {
        font-size: 1.3em;
        padding: 16px 0;
    }

    .login-form input {
        padding: 10px;
        font-size: 0.95em;
    }

    .login-form button {
        padding: 10px;
        font-size: 0.95em;
    }

    .back-btn {
        padding: 8px 12px;
        font-size: 0.95em;
    }

    footer {
        font-size: 16px;
        padding: 8px;
    }

    .social-btn {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }
}

/* Móviles pequeños */
@media (max-width: 768px) {
    .login-container {
        width: 90%;
        margin: 90px auto 25px auto;
        padding: 15px;
    }

    .login-header {
        font-size: 1.2em;
        padding: 14px 0;
    }

    .login-form input {
        padding: 9px;
        font-size: 0.9em;
    }

    .login-form button {
        padding: 10px;
        font-size: 0.9em;
    }

    .back-btn {
        left: 15px;
        padding: 7px 10px;
        font-size: 0.9em;
    }

    footer {
        font-size: 14px;
        padding: 6px;
    }

    .social-btn {
        width: 32px;
        height: 32px;
        font-size: 15px;
    }
}

/* Móviles muy pequeños / extra pequeños */
@media (max-width: 480px) {
    .login-container {
        width: 95%;
        margin: 70px auto 20px auto;
        padding: 10px;
    }

    .login-header {
        font-size: 1.1em;
        padding: 12px 0;
    }

    .login-form input {
        padding: 8px;
        font-size: 0.85em;
    }

    .login-form button {
        padding: 8px;
        font-size: 0.85em;
    }

    .back-btn {
        left: 10px;
        padding: 6px 10px;
        font-size: 0.85em;
    }

    footer {
        font-size: 13px;
        padding: 5px;
    }

    .social-btn {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
}
