/* LUXURY THEME AUTH PAGES */

.auth-wrapper {
    display: flex;
    min-height: calc(100vh - 80px);
    /* Space between content and footer elements */
    margin-bottom: 40px;
    background-color: var(--bg-light);
    overflow: visible;
}

.auth-image {
    flex: 1;
    background: url('https://images.unsplash.com/photo-1573408301185-9146fe634ad0?q=80&w=2075&auto=format&fit=crop') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 60px;
    color: #fff;
    background-size: cover;
    background-position: center;
    justify-content: center;
    /* Centering override from luxury.css */
    align-items: center;
    /* Centering override from luxury.css */
}

/* Override image source from luxury.css specific for auth-image */
.auth-image {
    background-image: url('https://images.unsplash.com/photo-1515562141207-7a88fb7ce338?q=80&w=2070&auto=format&fit=crop');
}

.auth-image.register-bg {
    background-image: url('https://images.unsplash.com/photo-1596944924616-b0e5c90186d5?q=80&w=2070&auto=format&fit=crop');
}

.auth-overlay {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    padding: 30px;
    border-left: 4px solid var(--accent);
    max-width: 400px;

    /* Overrides */
    background: rgba(0, 0, 0, 0.85);
    /* Luxury Gold Overlay */
    border-left: none;
    /* Reset */
    border-radius: 8px;
    text-align: center;
    color: white;
}

.auth-overlay h3 {
    margin: 0 0 10px;
    font-size: 2.5rem;
    /* Larger */
    font-family: var(--font-heading);
    color: white;
}

.auth-overlay p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 300;
}

.auth-form-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 40px;
}

.auth-form-box {
    width: 100%;
    max-width: 450px;
    padding: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
    background: white;
}

.auth-form-box h2 {
    color: var(--accent);
    font-size: 2rem;
    margin-bottom: 5px;
}

.auth-subtitle {
    color: var(--text-light);
    margin-bottom: 30px;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.forgot-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.auth-footer {
    text-align: center;
    margin-top: 30px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.auth-footer a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

/* Native Checkbox Design for Policy */
.policy-check {
    margin-bottom: 25px;
}

.policy-check label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.4;
    cursor: pointer;
}

.policy-check input[type="checkbox"] {
    margin-top: 3px; /* Align native checkbox with first line of text */
}

.policy-check a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.policy-check a:hover {
    color: #000;
}

/* Reverse layout */
.auth-wrapper.reverse {
    flex-direction: row-reverse;
}

@media(max-width: 900px) {
    .auth-wrapper {
        flex-direction: column;
    }

    .auth-image {
        display: none;
    }

    .auth-form-container {
        padding: 40px 20px;
        margin-bottom: 80px;
    }
}
