/* auth.css - Styling for Login and Forgot Password pages */

:root {
    /* Theme Colors: Deep Black & Premium Gold */
    --bg-main: #0a0a0a;
    --bg-card: #151515;
    --primary-gold: #d4af37;
    --primary-gold-hover: #b5952f;
    --primary-gradient: linear-gradient(135deg, #d4af37, #f3e5ab);
    --input-bg: #111111;
    --border: #2a2a2a;
    --text-main: #f5f5f5;
    --text-muted: #a3a3a3;
    --shadow-gold: 0 0 15px rgba(212, 175, 55, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    background-color: var(--bg-main);
    color: var(--text-main);
}

/* Full Screen Split Layout */
.login-container {
    display: flex;
    width: 100vw;
    height: 100vh;
}

/* Left Side Banner (Black & Gold Gradient) */
.login-left-banner {
    flex: 1.15;
    background: linear-gradient(135deg, #0a0a0a 0%, #151515 50%, #000000 100%);
    border-right: 1px solid var(--border);
    color: #ffffff;
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.login-left-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.15), transparent 50%);
    pointer-events: none;
}

.banner-pill {
    display: inline-block;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--primary-gold);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    align-self: flex-start;
    position: relative;
    z-index: 1;
}

.banner-center {
    position: relative;
    z-index: 1;
}

.banner-center h1 {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.banner-center p {
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 540px;
}

.banner-footer {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 1;
}

/* Right Side Login Form */
.login-right-form {
    flex: 1;
    padding: 60px 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--bg-card);
}

.brand-logo-box {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.brand-logo-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 26px;
    box-shadow: var(--shadow-gold);
}

.brand-logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-gold);
}

.login-heading {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
}

.login-subheading {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 22px;
}

.form-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    background-color: var(--input-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 15px;
    color: var(--text-main);
    outline: none;
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

/* Fix for Browser Autofill styling in dark mode */
.form-input:-webkit-autofill,
.form-input:-webkit-autofill:hover, 
.form-input:-webkit-autofill:focus, 
.form-input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px var(--input-bg) inset !important;
    -webkit-text-fill-color: var(--text-main) !important;
    transition: background-color 5000s ease-in-out 0s;
}

.password-toggle-box {
    position: relative;
    display: flex;
    align-items: center;
}

.password-eye-icon {
    position: absolute;
    right: 18px;
    cursor: pointer;
    font-size: 16px;
    color: var(--text-muted);
    user-select: none;
}

.password-eye-icon:hover {
    color: var(--primary-gold);
}

.btn-submit-gold {
    width: 100%;
    background: var(--primary-gold);
    color: #000;
    border: none;
    border-radius: 10px;
    padding: 16px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 24px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-gold);
}

.btn-submit-gold:hover {
    background: var(--primary-gold-hover);
    transform: translateY(-1px);
}

.btn-back {
    display: inline-block; text-align: center; width: 100%; margin-top: 20px; font-size: 14px;
    font-weight: 600; color: var(--text-muted); text-decoration: none; transition: color 0.3s ease;
}

.btn-back:hover { color: var(--primary-gold); }

.error-text-small {
    color: #ef4444;
    font-size: 12px;
    margin-top: 6px;
    display: block;
}

/* Utilities for Auth Pages */
.forgot-password-link {
    display: block;
    text-align: right;
    color: var(--primary-gold);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 12px;
    margin-bottom: 24px;
}

@media (max-width: 900px) {
    .login-container {
        flex-direction: column;
    }
    .login-left-banner {
        padding: 40px;
        flex: none;
        height: 30vh;
        justify-content: center;
    }
    .banner-center p, .banner-footer {
        display: none;
    }
    .login-right-form {
        padding: 40px;
        flex: 1;
    }
}
