/* ===== LUXURY AUTH PAGES STYLES ===== */

/* Auth Layout */
.auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.auth-main {
    flex: 1;
    display: flex;
    background: #F8F7F4;
}

/* Split Layout */
.auth-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    min-height: calc(100vh - 80px);
}

@media (max-width: 1024px) {
    .auth-split {
        grid-template-columns: 1fr;
    }
}

/* Left Panel - Branding */
.auth-brand-panel {
    background: linear-gradient(135deg, #0E1A2B 0%, #1a2b42 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
}

@media (max-width: 1024px) {
    .auth-brand-panel {
        display: none;
    }
}

.auth-brand-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(200, 169, 106, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.brand-content {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 480px;
}

.brand-content .brand-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.brand-content .brand-tagline {
    text-align: center;
    margin-bottom: 1.5rem;
}

.brand-content .brand-description {
    text-align: center;
    margin-bottom: 2.5rem;
}

.brand-logo {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    font-weight: 400;
    color: #C8A96A;
    margin-bottom: 1.5rem;
}

.brand-tagline {
    font-size: 1.5rem;
    font-weight: 300;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.brand-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 3rem;
}

.brand-features {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.brand-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.brand-feature:last-child {
    margin-bottom: 0;
}

.brand-feature .feature-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(200, 169, 106, 0.2) 0%, rgba(200, 169, 106, 0.1) 100%);
    border: 1px solid rgba(200, 169, 106, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.brand-feature .feature-icon svg {
    width: 20px;
    height: 20px;
    color: #C8A96A;
}

.brand-feature .feature-text h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.25rem;
}

.brand-feature .feature-text p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Right Panel - Form */
.auth-form-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

@media (max-width: 600px) {
    .auth-form-panel {
        padding: 2rem 1.5rem;
    }
}

.auth-form-container {
    width: 100%;
    max-width: 440px;
}

/* Form Header */
.auth-form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.auth-form-header .mobile-logo {
    display: none;
    font-family: 'Great Vibes', cursive;
    font-size: 2.5rem;
    font-weight: 400;
    color: #C8A96A;
    margin-bottom: 1.5rem;
}

@media (max-width: 1024px) {
    .auth-form-header .mobile-logo {
        display: block;
    }
}

.auth-form-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #0E1A2B;
    margin-bottom: 0.5rem;
}

.auth-form-header p {
    color: #666;
    font-size: 1rem;
}

.auth-form-header p a {
    color: #C8A96A;
    font-weight: 600;
    text-decoration: none;
}

.auth-form-header p a:hover {
    text-decoration: underline;
}

/* Form Card */
.auth-form-card {
    background: #fff;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

@media (max-width: 600px) {
    .auth-form-card {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
}

/* Form Elements */
.luxury-auth-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 500px) {
    .luxury-auth-form .form-row {
        grid-template-columns: 1fr;
    }
}

.luxury-auth-form .form-group {
    margin-bottom: 1.25rem;
}

.luxury-auth-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #0E1A2B;
    margin-bottom: 0.5rem;
}

.input-wrapper {
    position: relative;
}

.input-wrapper .input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
}

.input-wrapper .input-icon svg {
    width: 18px;
    height: 18px;
}

.luxury-auth-form input[type="text"],
.luxury-auth-form input[type="email"],
.luxury-auth-form input[type="password"],
.luxury-auth-form input[type="tel"] {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    font-size: 1rem;
    border: 2px solid #E8E8E8;
    border-radius: 12px;
    background: #FAFAFA;
    transition: all 0.3s ease;
    font-family: inherit;
}

.luxury-auth-form input:focus {
    outline: none;
    border-color: #C8A96A;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(200, 169, 106, 0.1);
}

.luxury-auth-form input::placeholder {
    color: #999;
}

/* Password Toggle */
.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    padding: 0.25rem;
    transition: color 0.2s ease;
}

.password-toggle:hover {
    color: #C8A96A;
}

/* Password Strength */
.password-strength {
    margin-top: 0.5rem;
}

.strength-bar {
    height: 4px;
    background: #E8E8E8;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.25rem;
}

.strength-fill {
    height: 100%;
    width: 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.strength-fill.weak { width: 33%; background: #EF5350; }
.strength-fill.medium { width: 66%; background: #FFA726; }
.strength-fill.strong { width: 100%; background: #66BB6A; }

.strength-text {
    font-size: 0.75rem;
    color: #999;
}

/* Form Options Row */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #C8A96A;
    cursor: pointer;
}

.checkbox-wrapper label {
    font-size: 0.875rem;
    font-weight: 400;
    color: #666;
    margin-bottom: 0;
    cursor: pointer;
}

.forgot-link {
    font-size: 0.875rem;
    color: #C8A96A;
    text-decoration: none;
    font-weight: 500;
}

.forgot-link:hover {
    text-decoration: underline;
}

/* Terms Checkbox */
.terms-checkbox {
    margin-bottom: 1.5rem;
}

.terms-checkbox .checkbox-wrapper {
    align-items: flex-start;
}

.terms-checkbox .checkbox-wrapper input {
    margin-top: 2px;
}

.terms-checkbox label {
    line-height: 1.5;
}

.terms-checkbox a {
    color: #C8A96A;
    text-decoration: underline;
}

/* Submit Button */
.btn-auth-submit {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: #0E1A2B;
    background: linear-gradient(135deg, #C8A96A 0%, #D4AF37 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.btn-auth-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200, 169, 106, 0.4);
}

.btn-auth-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Divider */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #E8E8E8;
}

.auth-divider span {
    font-size: 0.875rem;
    color: #999;
    white-space: nowrap;
}

/* Social Buttons */
.social-auth-buttons {
    display: flex;
    gap: 1rem;
}

.btn-social {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1rem;
    border: 2px solid #E8E8E8;
    border-radius: 12px;
    background: #fff;
    font-size: 0.875rem;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-social:hover {
    border-color: #C8A96A;
    background: #FAFAFA;
}

.btn-social svg {
    width: 20px;
    height: 20px;
}

/* Messages */
.auth-message {
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    font-size: 0.9375rem;
}

.auth-message.success {
    background: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #A5D6A7;
}

.auth-message.error {
    background: #FFEBEE;
    color: #C62828;
    border: 1px solid #EF9A9A;
}

/* Footer Link */
.auth-footer-link {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9375rem;
    color: #666;
}

.auth-footer-link a {
    color: #C8A96A;
    font-weight: 600;
    text-decoration: none;
}

.auth-footer-link a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .auth-form-header h1 {
        font-size: 1.75rem;
    }
    
    .auth-form-card {
        padding: 1.75rem;
    }
    
    .social-auth-buttons {
        flex-direction: column;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-form-container {
    animation: fadeInUp 0.5s ease;
}
