/* Fondo general */
body.auth-bg {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Modo escritorio 
@media (min-width: 768px) {
    body.auth-bg {
        background-image: url("");
    }
}

/* Modo móvil */
/*@media (max-width: 767px) {
    body.auth-bg {
        background-image: url("");
    }
}

/* Fondo con degradé facha */
body.auth-bg {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(
            135deg,
            #1e1e1e 0%,
            #2a2a2a 30%,
            #3b3b3b 60%,
            #4e4e4e 100%
    );

    /* Opción: degradé con brillo */
    /* background: linear-gradient(135deg, #111 0%, #222 40%, #444 100%); */

    background-attachment: fixed;
    position: relative;
}

/* FONDO LOGIN / REGISTRO */
.auth-body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;

    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #3d3d3d 100%);
    background-attachment: fixed;
    position: relative;
}

/* Overlay oscuro suave */
.auth-body::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
}

/* CONTENEDOR: centrado, logo + card alineados */
.auth-container {
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 1;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;              /* espacio entre logo y card */
    animation: fadeInUp 0.7s ease;
}
/* Si querés levantar un poquito todo el bloque en desktop */
@media (min-width: 992px) {
    .auth-container {
        transform: translateY(-40px);
    }
}
/* Logo */
.auth-logo img {
    width: 250px;
    filter: drop-shadow(0px 0px 5px rgba(255, 255, 255, 0.2));
}

/* Animación */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card */
.auth-card {
    backdrop-filter: blur(18px) saturate(180%);
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 30px;
    width: 100%;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    animation: fadeIn 0.6s ease;
    color: #fff;
}

body.auth-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
}

/* Animación suave */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Inputs bonitos */
.auth-card input {
    border-radius: 12px;
    padding: 12px;
    border: 1px solid #ccc;
}

.auth-card button {
    border-radius: 12px;
    padding: 12px;
}

/* Texto */
.auth-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

.auth-subtext {
    text-align: center;
    color: #777;
    margin-bottom: 20px;
}

/* Link debajo */
.auth-link {
    text-align: center;
    margin-top: 12px;
    font-size: 15px;
}

/* ===== AJUSTES SOLO PARA CELULARES (LOGIN/REGISTRO) ===== */
@media (max-width: 767.98px) {

    /* Que el contenido no quede tan al medio, lo subimos un poco */
    .auth-body {
        align-items: flex-start;
        padding-top: 40px;          /* sube todo el bloque */
    }

    /* Levantamos un toque más el bloque logo + card */
    .auth-container {
        transform: translateY(-10px);
        gap: 12px;                  /* un poco menos de espacio entre logo y form */
    }

    /* Achicamos el logo en mobile */
    .auth-logo img {
        width: 170px;               /* antes 250px */
    }

    /* Hacemos la card un pelín más compacta */
    .auth-card {
        padding: 22px 18px;
    }
}

