/* ==========================================================================
   ANZU LUXURY LOGIN STYLES (DARK EDITORIAL)
   ========================================================================== */
html, body {
    width: 100%; height: 100%; margin: 0; padding: 0;
}

.anzu-luxury-login {
    height: 100vh;
    width: 100%;
    margin: 0;
    overflow: hidden;
    font-family: inherit;
    direction: rtl;
}

/* --- Background Image & Overlay --- */
.anzu-luxury-login .background-container {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
}

.anzu-luxury-login .background-container img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(20%) contrast(1.1); /* سینمایی کردن عکس */
}

/* محو کردن پس‌زمینه برای برجسته شدن فرم */
.anzu-luxury-login .bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to left, #0b0c10 0%, rgba(11,12,16,0.95) 40%, rgba(11,12,16,0.3) 100%);
    z-index: 1;
}

.anzu-luxury-login .main-wrapper {
    display: flex;
    width: 100%;
    height: 100vh;
}

/* ================== پنل فرم (راست) ================== */
.anzu-luxury-login .form-panel {
    flex: 0 0 45%;
    max-width: 600px;
    background: #0b0c10; /* رنگ مشکی لوکس */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px 60px;
    position: relative;
    z-index: 2;
    box-shadow: -20px 0 50px rgba(0,0,0,0.7);
}

/* دکمه بازگشت */
.anzu-luxury-login .back-link {
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #a0aab2;
    text-decoration: none;
    font-size: 13px;
    font-weight: 300;
    transition: all 0.3s ease;
}

.anzu-luxury-login .back-link i {
    font-size: 20px;
    transform: rotate(180deg);
}

.anzu-luxury-login .back-link:hover {
    color: #f5a623;
    transform: translateX(5px);
}

/* محتوای وسط فرم */
.anzu-luxury-login .content-wrapper {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.anzu-luxury-login .brand-logo {
    margin-bottom: 50px;
}

.anzu-luxury-login .brand-logo img {
    max-width: 130px;
    filter: brightness(0) invert(1); /* سفید کردن لوگو */
    opacity: 0.9;
}

.anzu-luxury-login .login-container {
    width: 100%;
}

.anzu-luxury-login .login-container h2 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    text-align: right;
}

.anzu-luxury-login .subtitle {
    font-size: 13px;
    color: #667380;
    margin-bottom: 40px;
    text-align: right;
    line-height: 1.6;
}

/* --- ورودی‌های فرم (Inputs) --- */
.anzu-luxury-login .form-group {
    position: relative;
    margin-bottom: 35px;
}

.anzu-luxury-login .input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 5px;
    font-size: 16px;
    color: #fff;
    outline: none;
    transition: all 0.3s ease;
}

/* خط نئونی طلایی هنگام تایپ */
.anzu-luxury-login .input-highlight {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #f5a623, #d97706);
    transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.anzu-luxury-login .input:focus ~ .input-highlight {
    width: 100%;
}

/* انیمیشن لیبل‌ها (Floating Labels) */
.anzu-luxury-login .form-label {
    position: absolute;
    right: 5px;
    bottom: 15px;
    font-size: 14px;
    color: #667380;
    pointer-events: none;
    transition: 0.3s ease all;
}

.anzu-luxury-login .input:focus ~ .form-label, 
.anzu-luxury-login .input:not(:placeholder-shown) ~ .form-label {
    transform: translateY(-30px);
    font-size: 11px;
    color: #f5a623;
    font-weight: bold;
}

/* فیلد کد تایید (OTP) */
.anzu-luxury-login .otp-input {
    text-align: center;
    letter-spacing: 1.5rem;
    font-weight: bold;
    font-size: 20px !important;
    font-family: monospace;
}

.anzu-luxury-login .otp-input:focus ~ .form-label, 
.anzu-luxury-login .otp-input:not(:placeholder-shown) ~ .form-label {
    transform: translateY(-35px) translateX(50%);
    right: 50%;
}

.anzu-luxury-login .otp-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.anzu-luxury-login .otp-actions button, 
.anzu-luxury-login #otp-timer {
    background: transparent;
    border: none;
    font-size: 12px;
    color: #a0aab2;
    cursor: pointer;
    transition: color 0.3s;
    font-family: inherit;
    padding: 0;
}

.anzu-luxury-login .otp-actions button:hover {
    color: #f5a623;
}

.anzu-luxury-login #otp-timer {
    color: #d97706;
    font-weight: bold;
}

/* --- دکمه تایید لوکس --- */
.anzu-luxury-login .login-btn {
    width: 100%;
    background: linear-gradient(135deg, #f5a623 0%, #d97706 100%);
    color: #fff;
    padding: 16px 0;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    box-shadow: 0 10px 20px rgba(245, 166, 35, 0.2);
    transition: all 0.3s ease;
}

.anzu-luxury-login .login-btn i {
    transform: rotate(45deg);
    font-size: 18px;
    transition: transform 0.3s;
}

.anzu-luxury-login .login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(245, 166, 35, 0.4);
}

.anzu-luxury-login .login-btn:hover i {
    transform: rotate(45deg) translateX(-3px) translateY(-3px);
}

.anzu-luxury-login .msg-box-styling {
    margin-top: 20px;
    font-size: 12px;
    text-align: center;
    color: #ef4444; /* رنگ خطای استاندارد */
}

/* لینک راهنما */
.anzu-luxury-login .help-link {
    align-self: center;
    color: #667380;
    text-decoration: none;
    font-size: 12px;
    border-bottom: 1px dashed #667380;
    padding-bottom: 2px;
    transition: color 0.3s, border-color 0.3s;
}

.anzu-luxury-login .help-link:hover {
    color: #fff;
    border-color: #fff;
}

/* ================== پنل تصویر (چپ) ================== */
.anzu-luxury-login .image-panel {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 60px;
    z-index: 2;
}

.anzu-luxury-login .luxury-quote {
    text-align: left;
}

.anzu-luxury-login .luxury-quote p {
    font-size: 32px;
    font-weight: 300;
    color: #fff;
    margin: 0 0 15px 0;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.anzu-luxury-login .quote-line {
    width: 60px;
    height: 3px;
    background: #f5a623;
}

/* ================== موبایل و ریسپانسیو ================== */
@media (max-width: 849.98px) {
    .anzu-luxury-login {
        height: auto;
        min-height: 100vh;
    }
    .anzu-luxury-login .bg-overlay {
        /* در موبایل کل صفحه تیره می‌شود تا فرم خوانا باشد */
        background: rgba(11, 12, 16, 0.85);
        backdrop-filter: blur(10px);
    }
    .anzu-luxury-login .image-panel {
        display: none;
    }
    .anzu-luxury-login .form-panel {
        flex: 1;
        max-width: 100%;
        padding: 30px 20px;
        background: transparent;
        box-shadow: none;
    }
    .anzu-luxury-login .brand-logo {
        margin-top: 30px;
        margin-bottom: 40px;
    }
    .anzu-luxury-login .content-wrapper {
        justify-content: center;
        flex: 1;
    }
}