/* =========================================================
   static/css/style.css
   استایل اصلی سایت ادمین هاب — تم لوکس مشکی و طلایی.
   این فایل شامل: متغیرهای رنگی، پایه/تایپوگرافی، ناوبار، فوتر،
   دکمه‌ها، فرم‌ها، و استایل تمام صفحات سایت است.
   ترتیب برش‌ها (breakpoint) در responsive.css و انیمیشن‌ها
   (keyframes) در animations.css تعریف شده‌اند.
========================================================= */

/* ---------------- ۱) متغیرهای طراحی (Design Tokens) ----------------
   پالت بر اساس یک پیشنهاد «E-commerce Luxury» تنظیم و برای پس‌زمینه
   تیره معکوس شده است (طلای WCAG-safe: #CA8A04). */
:root {
    --bg: #0C0A09;
    --bg-elevated: #1C1917;
    --bg-elevated-2: #242019;
    --bg-input: #17140F;

    --text: #F5F1E8;
    --text-muted: #A8A29E;
    --text-dim: #6B6560;

    --gold: #CA8A04;
    --gold-light: #E8C766;
    --gold-rgb: 202, 138, 4;

    --border: #33302C;
    --border-light: #423D36;

    --destructive: #DC2626;
    --success: #16A34A;
    --warning: #D97706;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 999px;

    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.35);
    --shadow-gold: 0 10px 30px rgba(var(--gold-rgb), 0.18);

    --transition: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Vazirmatn', Tahoma, sans-serif;
}

/* ---------------- ۲) پایه و تایپوگرافی ---------------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.75;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    color: var(--text);
    line-height: 1.35;
}

a {
    color: var(--gold-light);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover { color: var(--gold); }

/* حالت فوکوس قابل مشاهده برای دسترسی‌پذیری (ناوبری با کیبورد) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.btn:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.container { max-width: 1200px; }

::selection { background: var(--gold); color: #0C0A09; }

/* ---------------- ۳) عناصر عمومی مشترک ---------------- */
.eyebrow-gold {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 12px;
    position: relative;
    padding-inline-start: 28px;
}
.eyebrow-gold::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 1px;
    background: var(--gold);
}

.section-title {
    font-size: clamp(26px, 3vw, 36px);
    text-align: center;
    margin-bottom: 44px;
    position: relative;
}
.section-title-sm {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--text);
    border-inline-start: 3px solid var(--gold);
    padding-inline-start: 12px;
}

.required-star { color: var(--destructive); }

.form-label-luxury {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.field-error {
    color: var(--destructive);
    font-size: 13px;
    margin-top: 6px;
}

.field-help {
    display: block;
    color: var(--text-dim);
    font-size: 12px;
    margin-top: 4px;
}

.alert-luxury {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 14px;
}
.alert-luxury--error {
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.35);
    color: #FCA5A5;
}

.empty-text {
    color: var(--text-dim);
    text-align: center;
    padding: 24px 0;
}

/* ---------------- ۴) ورودی‌های فرم (Bootstrap override) ---------------- */
.form-control {
    background-color: var(--bg-input);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    min-height: 48px; /* حداقل اندازه لمسی مناسب */
    transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus {
    background-color: var(--bg-input);
    color: var(--text);
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(var(--gold-rgb), 0.15);
}
.form-control::placeholder { color: var(--text-dim); }

/* ---------------- ۵) دکمه‌ها ---------------- */
.btn {
    font-family: var(--font-main);
    font-weight: 700;
    border-radius: var(--radius-sm);
    padding: 12px 28px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
    cursor: pointer;
    border: none;
}
.btn:active { transform: scale(0.98); }

.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: #171310;
    box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
    color: #171310;
    box-shadow: 0 14px 34px rgba(var(--gold-rgb), 0.32);
    transform: translateY(-2px);
}

.btn-outline-luxury {
    background: transparent;
    border: 1px solid var(--border-light);
    color: var(--text);
}
.btn-outline-luxury:hover {
    border-color: var(--gold);
    color: var(--gold-light);
    background: rgba(var(--gold-rgb), 0.06);
}

.btn-lg { padding: 15px 34px; font-size: 17px; }
.btn-sm { padding: 8px 18px; min-height: 38px; font-size: 13px; }

.btn-copy {
    background: rgba(var(--gold-rgb), 0.12);
    color: var(--gold-light);
    border: 1px solid rgba(var(--gold-rgb), 0.3);
    border-radius: var(--radius-sm);
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), transform var(--transition);
}
.btn-copy:hover { background: rgba(var(--gold-rgb), 0.22); }
.btn-copy--done { background: rgba(22, 163, 74, 0.2); color: #4ADE80; border-color: rgba(22, 163, 74, 0.4); }

/* ---------------- ۶) ناوبار ---------------- */
.navbar-luxury {
    background: rgba(12, 10, 9, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: padding var(--transition), background var(--transition), box-shadow var(--transition);
}
.navbar-luxury--scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-md);
    background: rgba(12, 10, 9, 0.97);
}

.navbar-brand--luxury {
    font-size: 22px;
    font-weight: 800;
    color: var(--text) !important;
}
.navbar-brand--luxury span { color: var(--gold); }

.navbar-nav .nav-link {
    color: var(--text-muted) !important;
    font-weight: 600;
    padding: 8px 18px !important;
    position: relative;
    transition: color var(--transition);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--text) !important; }
.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 18px;
    left: 18px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}

.navbar-auth {
    display: flex;
    align-items: center;
    gap: 16px;
}
.navbar-auth__link {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 14px;
}
.navbar-auth__link:hover { color: var(--gold-light); }
.navbar-auth__link--admin { color: var(--gold); }

.navbar-toggler--luxury {
    border: none;
    background: transparent;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.navbar-toggler--luxury:focus { box-shadow: none; }
.navbar-toggler__bar {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}

/* ---------------- ۷) فوتر ---------------- */
.site-footer {
    background: var(--bg-elevated);
    border-top: 1px solid var(--border);
    padding: 60px 0 24px;
    margin-top: 80px;
}
.footer-about-text {
    color: var(--text-muted);
    font-size: 14px;
    margin: 16px 0;
    max-width: 320px;
}
.footer-social {
    display: flex;
    gap: 12px;
}
.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all var(--transition);
}
.footer-social a:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-3px);
}
.footer-heading {
    color: var(--text);
    font-weight: 700;
    margin-bottom: 18px;
    font-size: 15px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-muted); font-size: 14px; }
.footer-links a:hover { color: var(--gold-light); }
.footer-contact li {
    color: var(--text-muted);
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.footer-contact i { color: var(--gold); margin-top: 3px; }
.footer-bottom {
    border-top: 1px solid var(--border);
    margin-top: 40px;
    padding-top: 24px;
    text-align: center;
    color: var(--text-dim);
    font-size: 13px;
}

/* ---------------- ۸) لودر و پیام‌های سیستم ---------------- */
.site-loader {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}
.site-loader__mark { text-align: center; }
.site-loader__ring {
    display: block;
    width: 52px;
    height: 52px;
    margin: 0 auto 16px;
    border-radius: 50%;
    border: 3px solid rgba(var(--gold-rgb), 0.2);
    border-top-color: var(--gold);
}
.site-loader__text {
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 14px;
}

.site-messages {
    position: fixed;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: min(92%, 420px);
}
.site-message {
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-inline-start: 4px solid var(--gold);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-md);
    font-size: 14px;
}
.site-message--success { border-inline-start-color: var(--success); }
.site-message--error { border-inline-start-color: var(--destructive); }
.site-message--warning { border-inline-start-color: var(--warning); }
.site-message__close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

/* ---------------- ۹) بخش Hero صفحه اصلی ---------------- */
.hero-luxury {
    position: relative;
    padding: 110px 0 90px;
    background:
        radial-gradient(ellipse at top left, rgba(var(--gold-rgb), 0.10), transparent 55%),
        radial-gradient(ellipse at bottom right, rgba(var(--gold-rgb), 0.06), transparent 50%),
        var(--bg);
    overflow: hidden;
    text-align: center;
}
.hero-luxury__inner { max-width: 780px; margin: 0 auto; position: relative; z-index: 2; }
.hero-luxury__title {
    font-size: clamp(32px, 5vw, 54px);
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text) 30%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-luxury__subtitle {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 36px;
}
.hero-luxury__actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
/* المان امضای بصری: قاب گرید طلایی نازک، الهام‌گرفته از گرید اینستاگرام */
.hero-luxury__grid-frame {
    position: absolute;
    inset: 40px;
    border: 1px solid rgba(var(--gold-rgb), 0.12);
    border-radius: var(--radius-lg);
    pointer-events: none;
    z-index: 1;
}

/* ---------------- ۱۰) معرفی سایت ---------------- */
.section-intro { padding: 50px 0; }
.section-intro__text {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 17px;
}

/* ---------------- ۱۱) مزایای خرید ---------------- */
.section-benefits { padding: 70px 0; }
.benefit-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 30px 20px;
    text-align: center;
    height: 100%;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.benefit-card:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--gold-rgb), 0.4);
    box-shadow: var(--shadow-gold);
}
.benefit-card__icon {
    font-size: 30px;
    color: var(--gold);
    margin-bottom: 16px;
    display: inline-block;
}
.benefit-card__title { font-size: 16px; margin-bottom: 8px; }
.benefit-card__text { color: var(--text-muted); font-size: 14px; margin: 0; }

/* ---------------- ۱۲) محصولات ---------------- */
.section-products { padding: 70px 0; }
.product-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 100%;
    position: relative;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--gold-rgb), 0.45);
    box-shadow: var(--shadow-gold);
}
.product-card__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    background: var(--gold);
    color: #171310;
    font-size: 12px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
}
.product-card__image-wrap { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.product-card__image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-card__image { transform: scale(1.06); }
.product-card__body { padding: 22px; }
.product-card__title { font-size: 18px; margin-bottom: 8px; }
.product-card__title a { color: var(--text); }
.product-card__title a:hover { color: var(--gold-light); }
.product-card__desc { color: var(--text-muted); font-size: 14px; margin-bottom: 16px; }
.product-card__prices { display: flex; align-items: baseline; gap: 10px; margin-bottom: 18px; }
.product-card__price-old { color: var(--text-dim); text-decoration: line-through; font-size: 13px; }
.product-card__price-new { color: var(--gold-light); font-weight: 800; font-size: 19px; }
.product-card__actions { display: flex; gap: 10px; }
.product-card__actions .btn { flex: 1; padding-inline: 10px; }

.empty-state { text-align: center; padding: 70px 0; color: var(--text-dim); }
.empty-state__icon { font-size: 44px; color: var(--border-light); display: block; margin-bottom: 16px; }

/* ---------------- ۱۳) متن پایین محصولات ---------------- */
.section-bottom-text {
    background: var(--bg-elevated);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 50px 0;
    color: var(--text-muted);
}

/* ---------------- ۱۴) سوالات متداول ---------------- */
.section-faq { padding: 70px 0; }
.accordion-luxury .accordion-item {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm) !important;
    margin-bottom: 12px;
    overflow: hidden;
}
.accordion-luxury .accordion-button {
    background: var(--bg-elevated);
    color: var(--text);
    font-weight: 700;
    box-shadow: none !important;
}
.accordion-luxury .accordion-button:not(.collapsed) { color: var(--gold-light); }
.accordion-luxury .accordion-button::after { filter: invert(72%) sepia(40%) saturate(500%) hue-rotate(0deg); }
.accordion-luxury .accordion-body { color: var(--text-muted); background: var(--bg-elevated); }

/* ---------------- ۱۵) صفحه‌های داخلی (page-header, about) ---------------- */
.page-header { padding: 70px 0 20px; text-align: center; }
.page-header__title { font-size: clamp(28px, 4vw, 40px); }
.section-about { padding: 40px 0 80px; }
.about-content {
    max-width: 780px;
    margin: 0 auto;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 40px;
    color: var(--text-muted);
    font-size: 16px;
}

/* ---------------- ۱۶) صفحات احراز هویت (ثبت‌نام/ورود) ---------------- */
.auth-page { padding: 70px 0 100px; }
.auth-card {
    max-width: 640px;
    margin: 0 auto;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 44px;
    box-shadow: var(--shadow-md);
}
.auth-card--narrow { max-width: 440px; }
.auth-card__title { font-size: 26px; margin-bottom: 8px; }
.auth-card__subtitle { color: var(--text-muted); margin-bottom: 28px; font-size: 14px; }
.auth-field { margin-bottom: 18px; }
.auth-switch { text-align: center; margin-top: 24px; color: var(--text-muted); font-size: 14px; }

/* ---------------- ۱۷) پروفایل ---------------- */
.profile-page { padding: 60px 0 100px; }
.profile-summary-card,
.profile-edit-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}
.profile-summary-card { text-align: center; }
.profile-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 16px;
    border: 3px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-elevated-2);
}
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-avatar__placeholder { font-size: 40px; color: var(--text-dim); }
.profile-summary-card__name { font-size: 19px; margin-bottom: 4px; }
.profile-summary-card__phone { color: var(--text-muted); font-size: 14px; margin-bottom: 10px; }
.badge-role {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: var(--radius-pill);
}
.badge-role--admin2 { background: rgba(var(--gold-rgb), 0.15); color: var(--gold-light); border: 1px solid rgba(var(--gold-rgb), 0.35); }
.profile-divider { border-color: var(--border); margin: 24px 0; }
.invite-code-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-input);
    border: 1px dashed rgba(var(--gold-rgb), 0.4);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-weight: 700;
    color: var(--gold-light);
    letter-spacing: 1px;
    direction: ltr;
    text-align: left;
}
.invite-code-hint { color: var(--text-dim); font-size: 12px; margin-top: 10px; }
.profile-edit-card__title { font-size: 19px; margin-bottom: 24px; }

/* ---------------- ۱۸) جزئیات محصول ---------------- */
.product-detail { padding: 60px 0 90px; }
.product-detail__image-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}
.product-detail__image { width: 100%; display: block; }
.product-detail__title { font-size: clamp(26px, 3.5vw, 36px); margin-bottom: 14px; }
.product-detail__short-desc { color: var(--text-muted); font-size: 16px; margin-bottom: 20px; }
.product-detail__prices { display: flex; align-items: baseline; gap: 14px; margin-bottom: 24px; }
.product-detail__price-old { color: var(--text-dim); text-decoration: line-through; font-size: 16px; }
.product-detail__price-new { color: var(--gold-light); font-weight: 800; font-size: 28px; }
.product-detail__buy-btn { width: 100%; margin-bottom: 36px; }
.product-detail__block { margin-bottom: 32px; }
.product-detail__block-title { font-size: 20px; margin-bottom: 14px; border-inline-start: 3px solid var(--gold); padding-inline-start: 12px; }
.product-detail__description { color: var(--text-muted); }
.product-detail__cta-card {
    background: var(--bg-elevated);
    border: 1px solid rgba(var(--gold-rgb), 0.3);
    border-radius: var(--radius-md);
    padding: 26px;
    text-align: center;
    position: sticky;
    top: 100px;
}
.product-detail__cta-card p { color: var(--text-muted); margin-bottom: 16px; }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--text-muted); margin-bottom: 12px; }
.check-list i { color: var(--gold); margin-top: 3px; }

/* ---------------- ۱۹) خرید ---------------- */
.purchase-page { padding: 60px 0 100px; }
.purchase-summary-card,
.purchase-form-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
}
.purchase-summary-card__title,
.purchase-form-card__title { font-size: 19px; margin-bottom: 20px; }
.purchase-summary-card__product { display: flex; gap: 14px; align-items: center; margin-bottom: 10px; }
.purchase-summary-card__product img { width: 64px; height: 64px; border-radius: var(--radius-sm); object-fit: cover; }
.purchase-summary-card__product h3 { font-size: 15px; margin-bottom: 6px; }
.purchase-summary-card__price { color: var(--gold-light); font-weight: 700; }
.purchase-summary-card__subtitle { font-size: 15px; margin-bottom: 8px; }
.purchase-summary-card__hint { color: var(--text-dim); font-size: 13px; margin-top: 10px; }
.purchase-form-card__note { color: var(--text-dim); font-size: 13px; text-align: center; margin-top: 16px; }

/* ---------------- ۲۰) کیف پول ---------------- */
.wallet-page { padding: 60px 0 100px; }
.balance-card {
    background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-elevated-2) 100%);
    border: 1px solid rgba(var(--gold-rgb), 0.3);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    margin-bottom: 8px;
}
.balance-card__amount { font-size: clamp(30px, 4vw, 44px); color: var(--gold-light); }
.balance-card__amount small { font-size: 16px; color: var(--text-muted); }
.balance-card__hint { color: var(--text-dim); font-size: 13px; margin-top: 8px; }

.stat-card, .withdrawal-form-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    height: 100%;
}
.stat-card__row { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.stat-card__row i { font-size: 24px; color: var(--gold); }
.stat-card__value { display: block; font-size: 20px; font-weight: 800; color: var(--text); }
.stat-card__label { display: block; font-size: 12px; color: var(--text-muted); }
.withdrawal-form-card__title { font-size: 18px; margin-bottom: 6px; }
.withdrawal-form-card__hint { color: var(--text-dim); font-size: 13px; margin-bottom: 20px; }

.history-block { margin-top: 40px; }
.table-luxury {
    color: var(--text);
    border-color: var(--border);
    vertical-align: middle;
}
.table-luxury thead { color: var(--text-muted); font-size: 13px; }
.table-luxury td, .table-luxury th { border-color: var(--border); padding: 14px; }

.status-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 700;
}
.status-badge--pending { background: rgba(217, 119, 6, 0.15); color: #FBBF24; }
.status-badge--approved { background: rgba(22, 163, 74, 0.15); color: #4ADE80; }
.status-badge--rejected { background: rgba(220, 38, 38, 0.15); color: #F87171; }

/* ---------------- ۲۱) پشتیبانی / چت ---------------- */
.support-page { padding: 60px 0 100px; }
.support-page__header { text-align: center; margin-bottom: 32px; }
.support-page__header h1 { font-size: 28px; margin: 8px 0; }
.support-page__header p { color: var(--text-muted); }
.back-link { display: inline-block; color: var(--text-muted); font-size: 14px; margin-bottom: 14px; }
.back-link:hover { color: var(--gold-light); }

.chat-window {
    max-width: 760px;
    margin: 0 auto;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 560px;
}
.chat-window__messages {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.chat-window__empty { text-align: center; color: var(--text-dim); margin: auto; }
.chat-window__system-note {
    text-align: center;
    color: var(--text-dim);
    font-size: 12px;
    margin: 4px 0;
}
.chat-bubble {
    max-width: 75%;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 14px;
}
.chat-bubble--mine {
    align-self: flex-start;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: #171310;
    border-bottom-right-radius: 4px;
}
.chat-bubble--theirs {
    align-self: flex-end;
    background: var(--bg-elevated-2);
    color: var(--text);
    border: 1px solid var(--border);
    border-bottom-left-radius: 4px;
}
.chat-bubble__sender { display: block; font-size: 11px; font-weight: 700; opacity: 0.75; margin-bottom: 4px; }
.chat-bubble__text { margin: 0; white-space: pre-wrap; word-break: break-word; }
.chat-bubble__time { display: block; font-size: 10px; opacity: 0.6; margin-top: 6px; }
.chat-window__form {
    display: flex;
    gap: 10px;
    padding: 16px;
    border-top: 1px solid var(--border);
    background: var(--bg-elevated);
}
.chat-window__form .form-control { flex: 1; }

/* ---------------- ۲۲) ویدیوهای صفحه درباره ما ---------------- */
.section-about-videos { padding: 60px 0 20px; }
.about-video-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 100%;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.about-video-card:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--gold-rgb), 0.4);
    box-shadow: var(--shadow-gold);
}
.about-video-card__player {
    aspect-ratio: 16 / 9;
    background: #000;
}
.about-video-card__player video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.about-video-card__body { padding: 18px 20px; }
.about-video-card__title { font-size: 16px; margin-bottom: 8px; }
.about-video-card__desc { color: var(--text-muted); font-size: 14px; margin: 0; }