/* Ultra-Premium Authentication Styles - Luxury Edition */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* Reset and Base */
.auth-wrapper {
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.85)),
        url('../images/auth-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}

/* DESKTOP VERSION (400px centered box) */
.auth-container {
    width: 100%;
    max-width: 400px;
    z-index: 10;
    animation: authReveal 1s cubic-bezier(0.19, 1, 0.22, 1) both;
}

@keyframes authReveal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    padding: 2.5rem 2rem;
    border-radius: 2rem;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header .logo {
    font-size: 1.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 0.5rem;
}

.auth-header h1 {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
}

.google-login-container {
    margin-bottom: 1.5rem;
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 3.5rem;
    background: white;
    color: #1e293b;
    border-radius: 1rem;
    text-decoration: none;
    font-weight: 800;
    font-size: 1rem;
    transition: 0.3s;
}

.google-icon {
    width: 1.2rem !important;
    /* Smaller cleaner G */
    height: 1.2rem !important;
}

.google-login-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
}

.google-login-divider::before,
.google-login-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.google-login-divider::before {
    margin-right: 1rem;
}

.google-login-divider::after {
    margin-left: 1rem;
}

.auth-form .form-group {
    margin-bottom: 1.25rem;
}

.auth-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon i {
    position: absolute;
    left: 1.25rem;
    color: rgba(255, 255, 255, 0.4);
}

.input-with-icon .form-control {
    width: 100%;
    height: 3.5rem;
    padding-left: 3.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    color: white;
    font-size: 1rem;
    transition: 0.3s;
}

.input-with-icon .form-control:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: #60a5fa;
    outline: none;
}

.label-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.forgot-link {
    color: #60a5fa;
    font-size: 0.85rem;
    font-weight: 700;
}

.auth-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.auth-checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.6);
}

.btn-auth {
    height: 3.5rem;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
    border-radius: 1rem;
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.3s;
}

.auth-footer {
    display: flex;
    align-items: center;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
}

.auth-footer a {
    color: #60a5fa;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
}

/* MOBILE OVERRIDES */
@media (max-width: 576px) {

    .header,
    .footer,
    .header-top,
    .global-banner-area {
        display: none !important;
    }

    .auth-wrapper {
        padding: 1rem;
    }

    .auth-card {
        padding: 2.5rem 1.5rem;
        width: 100%;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    }

    .input-with-icon .form-control,
    .btn-auth,
    .btn-google {
        height: 4rem !important;
        font-size: 1.15rem !important;
    }

    .input-with-icon i {
        font-size: 1.3rem;
    }

    .auth-form-row {
        grid-template-columns: 1fr;
    }

    @media (max-width: 300px) {
        .auth-card {
            padding: 1.5rem 1rem;
            border-radius: 1.5rem;
        }

        .auth-header .logo {
            font-size: 1.5rem;
        }

        .auth-header h1 {
            font-size: 1.25rem;
        }

        .input-with-icon .form-control,
        .btn-auth,
        .btn-google {
            height: 3.5rem !important;
            font-size: 1rem !important;
            border-radius: 0.75rem;
        }

        .auth-form label {
            font-size: 0.75rem;
        }
    }
}