/* --- Luxury Authentication System Styles --- */

:root {
    --auth-bg: #f9f9f9;
    --auth-card-shadow: 0 50px 100px rgba(0, 0, 0, 0.04);
}

.auth-body {
    background-color: var(--auth-bg);
    min-height: 100vh;
    position: relative;
}
.auth-split-wrapper {
    display: flex;
    max-width: 1050px;
    width: 100%;
    background: #fff;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
}
/* Background for Login Page */
.auth-body.login-page {
    background: url("../images/login.png") no-repeat center center fixed;
    background-size: cover;
}

/* Darker Overlay for contrast if needed */
.auth-body.login-page::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(
        0,
        0,
        0,
        0.25
    ); /* Subtle dimming to make white card and header stand out */
    z-index: -1;
}

/* Force Navbar to be visible and elegant on Auth pages */
.auth-body .navbar {
    background: rgba(
        255,
        255,
        255,
        1
    ) !important; /* Fully solid white since blur is removed */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 15px 0 !important;
}

.auth-body .navbar .nav-link,
.auth-body .navbar .icon-btn,
.auth-body .navbar .currency-current {
    color: var(--text-primary) !important;
}

.auth-body .navbar .logo-img {
    filter: invert(0) !important;
}

/* Reduced Top Space & Centering */
.auth-section {
    padding: 100px 0 60px; /* Lowered from 120px to reduce gap below header */
    /* display: flex; */
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 80px);
    position: relative;
    z-index: 5;
}

/* Fantastic Card Style (Glassmorphism) */
.auth-card {
    background: rgba(255, 255, 255, 0.9); /* Semi-transparent */
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: hidden;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.3); /* Subtle glass border */
}

/* Ensure form side stays white enough for readability */
.auth-content,
.register-card {
    background: #fff !important;
}

/* Login - Card Layout (Centered) */
.login-card {
    max-width: 550px;
    margin: 0 auto;
    padding: 70px 80px;
}

.auth-media {
    flex: 1.1;
    position: relative;
    overflow: hidden;
    background: #1E1E1E;
}

@media (min-width: 992px) {
    .auth-media {
        display: block;
    }
}

.auth-media img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.auth-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
    padding: 60px;
    display: flex;
    align-items: flex-end;
}

.media-quote {
    font-family: var(--font-serif);
    color: var(--white);
    font-size: 32px;
    line-height: 1.2;
    max-width: 320px;
    font-weight: 300;
}

.auth-content {
    flex: 1;
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #1E1E1E;
}
.auth-header p {
    color: #555;
}
/* Register - Clean Grid Card */
.register-card {
    /* max-width: 950px; */
    padding: 70px 80px;
}

.auth-header {
    margin-bottom: 45px;
}

.auth-header h1 {
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 10px;
}

.auth-header p {
    color: var(--text-secondary);
    font-size: 14px;
    letter-spacing: 0.05em;
}

/* Inputs & Form Groups */
.form-title-group {
    margin: 40px 0 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.form-title-group h3 {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--accent-color);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px 40px;
    margin-bottom: 40px;
}

.auth-form .form-group {
    margin-bottom: 25px;
}

.auth-form label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1E1E1E;
}

.auth-form input,
.auth-form select {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid #eee;
    background: transparent;
    font-family: var(--font-sans);
    font-size: 14px;
    transition: all 0.3s ease;
    outline: none;
}

.auth-form input:focus {
    border-bottom-color: #1E1E1E;
}

/* Form Actions */
.form-row-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
}

.forgot-link {
    font-size: 12px;
    color: var(--text-secondary);
    border-bottom: 1px solid transparent;
}

.forgot-link:hover {
    color: #1E1E1E;
    border-bottom-color: #1E1E1E;
}

.auth-btn {
    width: 100%;
    background: #1E1E1E;
    color: #fff;
    padding: 22px;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.4s ease;
}

.auth-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.auth-footer {
    margin-top: 40px;
    text-align: center;
    font-size: 13px;
    color: var(--text-secondary);
}

.auth-footer a {
    color: #1E1E1E;
    font-weight: 600;
    margin-left: 5px;
    text-decoration: underline;
}

/* Captcha & Custom UI */
.captcha-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.captcha-code {
    background: #f4f4f4;
    padding: 12px 24px;
    font-family: monospace;
    font-weight: 700;
    letter-spacing: 8px;
    font-size: 20px;
    color: #1E1E1E;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 12px;
}

.custom-checkbox input {
    width: 16px !important;
    height: 16px !important;
    accent-color: #1E1E1E;
}

/* Animation Reveal */
.auth-reveal {
    opacity: 0;
    transform: translateY(20px);
}

/* Responsive Scaling */
@media (max-width: 991px) {
    .login-card,
    .register-card {
        padding: 50px 40px;
    }
}

@media (max-width: 768px) {
    .auth-section {
        padding: 70px 15px 40px;
    }
    .auth-content,
    .login-card,
    .register-card {
        padding: 35px 20px;
    }
    .form-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }
    .form-group[style*="grid-column: span 2"],
    .form-group[style*="grid-column:span 2"],
    .form-group {
        grid-column: span 1 !important;
    }
    .register-card .form-grid:last-of-type {
        grid-template-columns: 1fr !important;
    }
    .auth-header h1 {
        font-size: 28px;
    }
    .auth-header {
        margin-bottom: 30px;
    }
    .auth-form .form-group {
        margin-bottom: 20px;
    }
    .form-row-between:not(.auth-reveal) {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .form-row-between.auth-reveal {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 0;
    }
    .captcha-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .captcha-code {
        width: 100%;
        text-align: center;
        padding: 10px;
        letter-spacing: 12px;
    }
}

@media (max-width: 480px) {
    .auth-card {
        box-shadow: none;
        border: none;
        background: #fff;
    }
    .dial-dropdown {
        width: calc(100vw - 40px) !important;
        left: -10px !important;
    }
}
