/* ============================================================
   SALONGO - MÓDULO AUTH (LOGIN & ACCESO LUXURY)
   Diseño Beauty Luxury, Glassmorphism, Micro-interacciones
   ============================================================ */

.auth-wrapper {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 15% 15%, rgba(236, 72, 153, 0.12) 0%, transparent 45%),
                radial-gradient(circle at 85% 85%, rgba(99, 102, 241, 0.10) 0%, transparent 50%),
                radial-gradient(circle at 50% 50%, #FAF5F7 0%, #F1F5F9 100%);
}

/* Orbes decorativos de fondo */
.auth-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
    animation: floatOrb 8s ease-in-out infinite alternate;
}

.auth-bg-orb-1 {
    width: 320px;
    height: 320px;
    background: linear-gradient(135deg, #F472B6, #D45B7A);
    top: -60px;
    left: -60px;
}

.auth-bg-orb-2 {
    width: 360px;
    height: 360px;
    background: linear-gradient(135deg, #818CF8, #4F46E5);
    bottom: -80px;
    right: -80px;
    animation-delay: -4s;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(25px, 20px) scale(1.08); }
}

/* Tarjeta Principal de Login */
.auth-card {
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.09), 
                0 0 0 1px rgba(226, 232, 240, 0.6),
                0 12px 30px rgba(212, 91, 122, 0.12);
    width: 100%;
    max-width: 440px;
    overflow: hidden;
    animation: authCardEntrance 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes authCardEntrance {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.97);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.auth-header {
    text-align: center;
    padding: 38px 32px 18px;
}

.auth-logo-badge {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: var(--primary-gradient);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    margin-bottom: 16px;
    box-shadow: 0 10px 25px rgba(212, 91, 122, 0.38);
    position: relative;
}

.auth-logo-badge svg {
    color: #FFFFFF;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.auth-logo-badge::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.4), rgba(212, 91, 122, 0));
    z-index: -1;
}

.auth-title {
    font-size: 1.75rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--text-main);
    letter-spacing: -0.03em;
    margin-bottom: 4px;
}

.auth-subtitle {
    color: var(--text-muted);
    font-size: 0.885rem;
    font-weight: 400;
}

.auth-body {
    padding: 8px 34px 34px;
}

/* Campos de entrada con icono */
.auth-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input-group .input-icon {
    position: absolute;
    left: 14px;
    color: #94A3B8;
    font-size: 1.15rem;
    pointer-events: none;
    z-index: 4;
    transition: color var(--transition-fast);
}

.auth-input-group .form-control {
    padding-left: 44px;
    padding-right: 44px;
    height: 48px;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border-color);
    font-size: 0.935rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.auth-input-group .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(212, 91, 122, 0.14);
}

.auth-input-group .form-control:focus + .input-icon,
.auth-input-group:focus-within .input-icon {
    color: var(--primary);
}

.auth-toggle-pwd {
    position: absolute;
    right: 12px;
    background: transparent;
    border: none;
    color: #94A3B8;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    z-index: 5;
    transition: color var(--transition-fast);
}

.auth-toggle-pwd:hover {
    color: var(--text-main);
}

.auth-footer {
    text-align: center;
    padding: 16px 24px;
    background-color: #F8FAFC;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.775rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

@media (max-width: 480px) {
    .auth-wrapper {
        padding: 16px 12px;
    }

    .auth-card {
        border-radius: var(--radius-lg);
    }

    .auth-header {
        padding: 28px 20px 16px;
    }

    .auth-logo-badge {
        width: 52px;
        height: 52px;
        font-size: 1.6rem;
        border-radius: 14px;
    }

    .auth-title {
        font-size: 1.45rem;
    }

    .auth-body {
        padding: 6px 20px 26px;
    }
}
