/* ==========================================================================
   final-overrides.css
   آخرین لایه استایل — بعد از همه فایل‌های دیگر لود می‌شود.
   شامل: رفع همپوشانی هدر، کروسل وام‌های ویژه، فوتر جدید، جدول وام‌ها،
          پنل کاربری و کیف پول، و ریسپانسیو کامل موبایل.
   ========================================================================== */

:root {
    --header-h: 84px;          /* ارتفاع واقعی هدر در دسکتاپ */
    --header-h-md: 82px;
    --header-h-sm: 76px;
    --brand: #0f766e;
    --brand-dark: #0b5e57;
    --brand-soft: #e8f5f3;
    --gold: #d9a441;
    --line: #e4e8ee;
    --muted: #6b7686;
}

html, body { max-width: 100%; overflow-x: hidden; }
main { min-width: 0; }

/* ==========================================================================
   ۱. هدر — رفع افتادن محتوا زیر هدر و رفع نوار خالی سبز
   هدر position:fixed است، پس فاصله را یک‌جا به <main> می‌دهیم
   نه به تک‌تک سکشن‌ها (که باعث نوار خالی رنگی می‌شد).
   ========================================================================== */
/* هدر position:sticky است و خودش در جریان صفحه جا می‌گیرد؛
   بنابراین main نباید padding جبرانی داشته باشد وگرنه یک نوار خالی
   زیر هدر ساخته می‌شود (همان ایراد «فضای خالی زیر هدر»). */
main { padding-top: 0; }
main > section:first-child { padding-top: 0; }

#header { min-height: var(--header-h); display: flex; align-items: center; }
#header .container { width: 100%; }
.header-wrapper { min-height: 56px; gap: 14px; }
.header-right-side { display: flex; align-items: center; gap: 10px; min-width: 0; }
#logo img { height: 42px; width: auto; display: block; }

.detail-wrap, .dash-wrap, .page-section, .loans-table-section { padding-top: 18px; }

/* منوی موبایل تا وقتی روی دکمه سه‌خط کلیک نشده باید بسته بماند */
.mobile-menu { right: auto !important; left: auto; transform: translateX(100%); }
.mobile-menu.active { transform: translateX(0); }

/* ==========================================================================
   ۲. کروسل وام‌های ویژه
   ۳ کارت در دسکتاپ · ۲ در تبلت · ۱ در موبایل
   اسکرول‌محور: سوایپ موبایل بومی است، درگ موس با JS
   ========================================================================== */
.featured-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}
.featured-carousel__viewport {
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
    padding: 6px 2px 14px;
}
.featured-carousel__viewport::-webkit-scrollbar { display: none; }
.featured-carousel__viewport.is-dragging { cursor: grabbing; scroll-behavior: auto; scroll-snap-type: none; }

.featured-carousel__track {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 20px;
    align-items: stretch;
}
.featured-carousel__track > [data-carousel-slide] {
    flex: 0 0 calc((100% - 40px) / 3);
    min-width: 0;
    scroll-snap-align: start;
}

.featured-carousel__arrow {
    flex: 0 0 44px;
    width: 44px; height: 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--brand);
    font-size: 15px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 20px rgba(15, 118, 110, .13);
    cursor: pointer;
    transition: .18s;
    z-index: 2;
}
.featured-carousel__arrow:hover:not(:disabled) { background: var(--brand); color: #fff; }
.featured-carousel__arrow:disabled { opacity: .3; cursor: not-allowed; }
.featured-carousel.is-single .featured-carousel__arrow { display: none; }

/* ---------- کارت وام ویژه ---------- */
.fcard {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px 18px 18px;
    box-shadow: 0 3px 16px rgba(16, 24, 40, .05);
    height: 100%;
}
.fcard--special { border-top: 3px solid var(--gold); }
.fcard__ribbon {
    position: absolute; top: -13px; left: 18px;
    display: inline-flex; align-items: center; gap: 5px;
    padding: 5px 14px; border-radius: 99px;
    background: linear-gradient(135deg, #f0a92c, #e08a1a);
    color: #fff; font-size: 12px; font-weight: 700;
    box-shadow: 0 4px 12px rgba(224, 138, 26, .35);
}
.fcard__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.fcard__logo {
    width: 48px; height: 48px; flex: 0 0 48px;
    border-radius: 12px; background: #f4f6f9;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.fcard__logo img { width: 34px; height: 34px; object-fit: contain; }
.fcard__titles { min-width: 0; }
.fcard__titles h4 { margin: 0 0 3px; font-size: 15.5px; font-weight: 700; }
.fcard__titles span { font-size: 12.5px; color: var(--muted); }

.fcard__rows { flex: 1; }
.fcard__row {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 9px 0; border-bottom: 1px dashed #eef1f5; font-size: 13.5px;
}
.fcard__row:last-child { border-bottom: none; }
.fcard__row span { color: var(--muted); }
.fcard__row b { font-weight: 700; white-space: nowrap; }
.fcard__price { color: var(--brand); }

.fcard__cta {
    display: block; margin-top: 14px; padding: 12px;
    border-radius: 11px; background: var(--brand); color: #fff;
    text-align: center; text-decoration: none; font-size: 14.5px; font-weight: 700;
    transition: .18s;
}
.fcard__cta:hover { background: var(--brand-dark); color: #fff; }

/* ==========================================================================
   ۳. صفحه وام‌ها
   ========================================================================== */
/* سربرگ جدول باید خوانا باشد (قبلاً هم‌رنگ پس‌زمینه بود) */
.loans-table thead th,
.data-table thead th {
    background: var(--brand) !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    white-space: nowrap;
}
.loans-table thead th:first-child { border-radius: 0 10px 0 0; }
.loans-table thead th:last-child { border-radius: 10px 0 0 0; }
.loans-table tbody tr:hover td { background: #f7fbfa; }

/* در موبایل هم جدول می‌ماند، نه کارت
   (app.css در موبایل جدول را پنهان و کارت‌ها را نمایش می‌داد؛
    حالا برعکس شده و جدول همیشه دیده می‌شود) */
.loans-cards { display: none !important; }
.loans-table-wrapper { display: block !important; }
.loans-table { display: table !important; width: 100%; }

.loans-filter-wrapper .filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}

/* ==========================================================================
   ۴. فوتر — مطابق ماکاپ PDF
   دسکتاپ: نوار آدرس + دکمه طلایی تماس، چهار ستون، پیام‌رسان‌ها، خبرنامه
   موبایل: بخش‌ها آکاردئونی و به‌صورت پیش‌فرض بسته
   ========================================================================== */
.site-footer {
    margin-top: 56px;
    padding: 30px 0 22px;
    background: #0d1420 !important;
    color: #cfd9e5;
    font-size: 14px;
}
.site-footer a { color: #c6d1de; text-decoration: none; transition: .15s; }
.site-footer a:hover { color: #fff; }

/* ---------- نوار آدرس و تماس ---------- */
.footer-contactbar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 18px; flex-wrap: wrap;
    margin: 0 0 32px;
    padding: 16px 22px;
    border: 1px solid rgba(217, 164, 65, .30);
    border-radius: 16px;
    background: rgba(255, 255, 255, .025);
}
.footer-contactbar__addr {
    display: flex; align-items: center; gap: 10px; min-width: 0;
    font-size: 14px; line-height: 1.9;
}
.footer-contactbar__addr i { color: var(--gold); font-size: 18px; flex: 0 0 auto; }
.footer-contactbar__phone {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 13px 34px; border-radius: 12px;
    background: linear-gradient(135deg, #f0d488, #c8992f);
    color: #24200f !important; font-weight: 800; font-size: 17px;
    box-shadow: 0 6px 18px rgba(200, 153, 47, .28);
}
.footer-contactbar__phone span { direction: ltr; letter-spacing: .5px; }
.footer-contactbar__phone:hover { filter: brightness(1.05); color: #24200f !important; }

/* ---------- شبکه چهار ستونی ---------- */
.site-footer .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 34px;
    padding-bottom: 30px;
}
.footer-col { min-width: 0; }
.footer-col h4 {
    position: relative;
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    margin: 0 0 16px; padding-bottom: 10px;
    font-size: 15.5px; color: #fff; font-weight: 800;
}
.footer-col h4 > span { display: inline-flex; align-items: center; gap: 8px; }
.footer-col h4 > span i { color: var(--gold); font-size: 15px; }
.footer-col h4::after {
    content: ""; position: absolute; right: 0; bottom: 0;
    width: 42px; height: 2px; background: var(--gold); border-radius: 2px;
}
.footer-col__caret { display: none; }        /* فقط در موبایل */

.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul li a { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.footer-col ul li a i { color: var(--gold); font-size: 10px; }

.footer-logo { height: 46px; width: auto; margin-bottom: 14px; }
.footer-about { font-size: 13.5px; line-height: 2.1; color: #a9b6c6; margin: 0 0 16px; }

.footer-social { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-social a {
    width: 38px; height: 38px; border-radius: 11px;
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .10);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; color: #d5dfeb;
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: #24200f; }

/* ---------- دکمه‌های پیام‌رسان ---------- */
.footer-messengers { list-style: none; margin: 0 0 16px; padding: 0; }
.footer-messengers li { margin-bottom: 10px; }
.footer-messengers a {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 12px; border-radius: 12px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .09);
}
.footer-messengers a:hover { border-color: rgba(217, 164, 65, .5); background: rgba(217, 164, 65, .08); }
.footer-msg__icon {
    width: 30px; height: 30px; flex: 0 0 30px; border-radius: 9px;
    background: linear-gradient(135deg, #f0d488, #c8992f); color: #24200f;
    display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.footer-msg__name { font-size: 13.5px; font-weight: 700; color: #e8eef5; }
.footer-messengers a small { margin-right: auto; font-size: 11.5px; color: #93a1b2; }

.footer-contact-list { list-style: none; margin: 0; padding: 0; }
.footer-contact-list li {
    display: flex; align-items: center; gap: 9px;
    margin-bottom: 10px; font-size: 13px; color: #b6c2d1;
}
.footer-contact-list li i { color: var(--gold); font-size: 13px; }

/* ---------- خبرنامه ---------- */
.footer-newsletter {
    display: flex; align-items: center; justify-content: space-between;
    gap: 20px; flex-wrap: wrap;
    padding: 18px 22px; margin-bottom: 18px;
    border: 1px solid rgba(255, 255, 255, .09); border-radius: 16px;
    background: rgba(255, 255, 255, .03);
}
.footer-newsletter__text { display: flex; align-items: center; gap: 13px; min-width: 0; }
.footer-newsletter__text > i {
    width: 42px; height: 42px; flex: 0 0 42px; border-radius: 12px;
    background: rgba(217, 164, 65, .14); color: var(--gold);
    display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.footer-newsletter__text strong { display: block; font-size: 15px; color: #fff; }
.footer-newsletter__text span { font-size: 12.5px; color: #9fadbd; }
.footer-newsletter form { display: flex; gap: 10px; flex: 1; max-width: 460px; min-width: 260px; }
.footer-newsletter input {
    flex: 1; min-width: 0; height: 44px; padding: 0 14px;
    border-radius: 11px; border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .04); color: #fff; font-family: inherit; font-size: 13.5px;
}
.footer-newsletter input::placeholder { color: #7d8b9c; }
.footer-newsletter input:focus {
    outline: none; border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(217, 164, 65, .16);
}
.footer-newsletter button {
    height: 44px; padding: 0 26px; border: none; border-radius: 11px;
    background: linear-gradient(135deg, #f0d488, #c8992f);
    color: #24200f; font-family: inherit; font-weight: 800; font-size: 14px; cursor: pointer;
}
.footer-newsletter button:hover { filter: brightness(1.06); }

.footer-bottom {
    padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .08);
    text-align: center; font-size: 12.5px; color: #8d9aab;
}

/* ---------- فوتر در موبایل: آکاردئون ---------- */
@media (max-width: 767px) {
    .site-footer { padding-top: 22px; }
    .site-footer .footer-grid { grid-template-columns: 1fr; gap: 0; padding-bottom: 18px; }

    .footer-col--brand { text-align: center; padding-bottom: 20px; }
    .footer-col--brand .footer-logo { margin-inline: auto; }
    .footer-col--brand .footer-social { justify-content: center; }

    .footer-col[data-accordion] {
        border-top: 1px solid rgba(255, 255, 255, .08);
    }
    .footer-col[data-accordion] h4 {
        margin: 0; padding: 16px 2px; cursor: pointer; user-select: none;
    }
    .footer-col[data-accordion] h4::after { display: none; }
    .footer-col__caret {
        display: inline-block; color: #8f9dad; font-size: 13px;
        transition: transform .2s;
    }
    .footer-col[data-accordion].is-open .footer-col__caret { transform: rotate(180deg); color: var(--gold); }

    .footer-col[data-accordion] [data-accordion-body] {
        display: none; padding: 2px 2px 16px;
    }
    .footer-col[data-accordion].is-open [data-accordion-body] { display: block; }

    .footer-contactbar {
        flex-direction: column; align-items: stretch; text-align: center;
        gap: 14px; padding: 16px; margin-bottom: 22px;
    }
    .footer-contactbar__addr { justify-content: center; font-size: 13px; }
    .footer-contactbar__phone { justify-content: center; font-size: 16px; padding: 13px 20px; }

    .footer-newsletter { flex-direction: column; align-items: stretch; padding: 16px; }
    .footer-newsletter form { max-width: none; min-width: 0; flex-direction: column; }
    .footer-newsletter button { width: 100%; }
}

/* ==========================================================================
   ۵. پنل کاربری — کارت پروفایل، آمار، عملیات سریع
   ========================================================================== */
.profile-hero {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; flex-wrap: wrap;
    background: #fff; border: 1px solid var(--line);
    border-radius: 16px; padding: 20px 22px; margin-bottom: 18px;
}
.profile-hero__user { display: flex; align-items: center; gap: 14px; min-width: 0; }
.profile-hero__avatar {
    position: relative; width: 66px; height: 66px; flex: 0 0 66px;
    border-radius: 50%; overflow: hidden; background: var(--brand-soft);
    display: flex; align-items: center; justify-content: center;
    color: var(--brand); font-size: 26px; border: 3px solid var(--brand-soft);
}
.profile-hero__avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-hero__name { margin: 0 0 5px; font-size: 18px; }
.profile-hero__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.profile-hero__meta small { color: var(--muted); direction: ltr; }

.quick-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.quick-action {
    display: block; padding: 18px 14px; border-radius: 13px;
    border: 1px solid var(--line); background: #fbfcfd;
    text-align: center; text-decoration: none; color: inherit; transition: .18s;
}
.quick-action:hover { border-color: var(--brand); background: #f4faf9; }
.quick-action__icon {
    width: 44px; height: 44px; margin: 0 auto 10px; border-radius: 13px;
    display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.quick-action strong { display: block; font-size: 14px; margin-bottom: 3px; }
.quick-action span { font-size: 12px; color: var(--muted); }
.qa--green  { background: #e8f7ee; color: #1f9254; }
.qa--gold   { background: #fdf3e3; color: #b9761a; }
.qa--blue   { background: #e9f2fd; color: #1f6fd0; }
.qa--purple { background: #f0ecfe; color: #6d4ede; }

/* کیف پول — کارت اصلی سبز */
.wallet-hero {
    background: linear-gradient(135deg, #12886f, #0d6b58);
    color: #fff; border-radius: 16px; padding: 22px 24px; margin-bottom: 18px;
}
.wallet-hero__top {
    display: flex; align-items: center; justify-content: space-between;
    gap: 14px; flex-wrap: wrap; margin-bottom: 18px;
}
.wallet-hero__label { font-size: 13px; opacity: .85; display: block; margin-bottom: 4px; }
.wallet-hero__num { font-size: 27px; font-weight: 800; }
.wallet-hero__btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 20px; border-radius: 11px;
    background: rgba(255, 255, 255, .17); color: #fff;
    text-decoration: none; font-size: 13.5px; font-weight: 700;
    border: 1px solid rgba(255, 255, 255, .25);
}
.wallet-hero__btn:hover { background: rgba(255, 255, 255, .27); color: #fff; }
.wallet-hero__stats {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
    padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .18);
}
.wallet-hero__stat span { display: block; font-size: 12px; opacity: .82; margin-bottom: 4px; }
.wallet-hero__stat b { font-size: 15.5px; font-weight: 700; }

/* منوی کناری چسبان در دسکتاپ */
@media (min-width: 992px) {
    body { padding-bottom: 0 !important; }
    .dash-layout { align-items: start; }
    .dash-sidebar { position: sticky; top: calc(var(--header-h) + 12px); align-self: start; }
    .bottom-nav { display: none !important; }
}

/* حالت فوکوس سبز روی فیلدهای فرم */
.form-control:focus,
.filter-field input:focus,
.filter-field select:focus {
    outline: none;
    border-color: var(--brand) !important;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, .15) !important;
}

/* جعبه پیش‌پرداخت در فرم ثبت آگهی */
.prepayment-box {
    padding: 16px; margin: 10px 0 24px;
    border: 1px solid #cdeae5; border-radius: 14px; background: #f4fbfa;
}
.prepayment-box .form-group { margin-bottom: 12px; }

/* ==========================================================================
   ۶. ریسپانسیو
   ========================================================================== */
@media (max-width: 1100px) {
    .featured-carousel__track > [data-carousel-slide] { flex-basis: calc((100% - 20px) / 2); }
}

@media (max-width: 991px) {
    main { padding-top: 0; }
    #header { min-height: var(--header-h-md); }
    #nav-menu-container { display: none !important; }
    #mobile-nav-toggle { display: flex !important; align-items: center; justify-content: center; }
    .header-actions { gap: 6px; min-width: 0; }
    .header-wallet { display: none; }
    .header-login-btn { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

    .bottom-nav {
        display: block !important;
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 1200;
        background: #fff; border-top: 1px solid var(--line);
        box-shadow: 0 -5px 22px rgba(0, 0, 0, .08);
        padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
    }
    .bottom-nav-inner { display: flex; justify-content: space-around; align-items: center; max-width: 620px; margin: auto; }
    .bottom-nav-item {
        display: flex; flex: 1; flex-direction: column; align-items: center; gap: 2px;
        padding: 5px 4px; color: var(--muted); text-decoration: none; font-size: 11px;
    }
    .bottom-nav-item i { font-size: 20px; }
    .bottom-nav-item.active, .bottom-nav-item:hover { color: var(--brand); }
    body { padding-bottom: 78px !important; }

    .dash-layout { grid-template-columns: 1fr !important; }
    .dash-sidebar { position: static !important; }
    .dash-main { min-width: 0; }
    .footer-newsletter form { min-width: 100%; }
}

/* فوتر در تبلت دو ستونه؛ در موبایل آکاردئونی است (بخش ۴) */
@media (min-width: 768px) and (max-width: 991px) {
    .site-footer .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
    main { padding-top: 0; }
    #header { min-height: var(--header-h-sm); }
    .container { width: 100%; max-width: 100%; padding-left: 12px; padding-right: 12px; }
    .header-wrapper { min-height: 52px; }
    #logo img { height: 34px; }
    .header-login-btn { height: 38px; padding: 0 11px; font-size: 12px; }

    .hero-modern { padding-top: 34px; }
    .hero-modern-wrapper { grid-template-columns: 1fr !important; }
    .hero-modern-visual { min-height: 0; width: 100%; overflow: visible; }
    .floating-card { max-width: 100%; }

    /* ---------- کروسل: دقیقاً یک کارت ---------- */
    .featured-carousel { gap: 6px; }
    .featured-carousel__track { gap: 12px; }
    .featured-carousel__track > [data-carousel-slide] { flex: 0 0 100%; }
    .featured-carousel__arrow { flex-basis: 34px; width: 34px; height: 34px; font-size: 13px; }

    .detail-grid { grid-template-columns: 1fr !important; }
    .detail-side { position: static !important; }
    .detail-specs { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .detail-head { align-items: flex-start; }
    .detail-head__text { min-width: 0; }
    .detail-head__text h1 { font-size: 19px; }
    .buy-card { position: static !important; }

    .form-row, .two-col { grid-template-columns: 1fr !important; }

    /* ---------- جدول وام‌ها: بدون اسکرول افقی ---------- */
    .loans-table-wrapper { overflow: hidden !important; }
    .loans-table { width: 100% !important; table-layout: fixed !important; }
    .loans-table th, .loans-table td {
        padding: 9px 6px !important; font-size: 11.5px !important;
        white-space: normal; word-break: break-word;
    }
    /* ستون‌های قسط ماهانه / قیمت کل / ضامن در موبایل حذف می‌شوند */
    .loans-table th:nth-child(4), .loans-table td:nth-child(4),
    .loans-table th:nth-child(6), .loans-table td:nth-child(6),
    .loans-table th:nth-child(7), .loans-table td:nth-child(7) { display: none !important; }
    .loans-table th:nth-child(1), .loans-table td:nth-child(1) { width: 30%; }
    .loans-table th:nth-child(2), .loans-table td:nth-child(2) { width: 23%; }
    .loans-table th:nth-child(3), .loans-table td:nth-child(3) { width: 13%; }
    .loans-table th:nth-child(5), .loans-table td:nth-child(5) { width: 18%; }
    .loans-table th:nth-child(8), .loans-table td:nth-child(8) { width: 16%; padding: 9px 4px !important; }

    /* دکمهٔ «مشاهده» نباید از ستون بیرون بزند */
    .loans-action .btn-reserve {
        display: block; width: 100%; min-width: 0;
        padding: 7px 2px !important; font-size: 10.5px !important;
        text-align: center; white-space: nowrap; border-radius: 8px;
    }
    .loans-bank-wrapper { gap: 6px; }
    .loans-bank-logo { width: 22px !important; height: 22px !important; flex: 0 0 22px; }
    .loans-bank-name span { font-size: 11.5px; line-height: 1.6; }
    .loans-bank-name small { font-size: 10px; }
    .loans-bank-logo { width: 26px; height: 26px; }
    .loans-bank-wrapper { gap: 6px; }
    .loans-bank-wrapper span, .loans-bank-wrapper small {
        overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block;
    }
    .btn-reserve { padding: 6px 9px; font-size: 11.5px; }

    /* فیلترها: فقط بانک و مرتب‌سازی */
    .loans-filter-wrapper .filter-row { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
    .loans-filter-wrapper .filter-actions { grid-column: 1 / -1; display: flex; }
    .loans-filter-wrapper .filter-actions .btn { flex: 1; }

    /* قواعد فوتر موبایل در بخش ۴ (آکاردئون) تعریف شده است */
}

/* ==========================================================================
   ۷. پنل کاربری در موبایل — بدون اسکرول افقی
   ========================================================================== */
@media (max-width: 767px) {
    .dash-wrap { padding: 14px 0 90px !important; }
    .dash-layout { display: block !important; }

    .dash-sidebar { padding: 12px !important; margin-bottom: 14px; border-radius: 14px; overflow: hidden; }
    .dash-user { padding: 4px 4px 12px !important; margin-bottom: 10px !important; }
    .dash-menu {
        display: flex !important; flex-direction: row !important;
        overflow-x: auto !important; overscroll-behavior-x: contain;
        gap: 8px !important; padding: 2px 0 8px !important; scrollbar-width: none;
    }
    .dash-menu::-webkit-scrollbar { display: none; }
    .dash-menu a {
        flex: 0 0 auto; min-height: 40px; padding: 9px 13px !important;
        border: 1px solid var(--line); background: #fff;
        font-size: 12.5px !important; white-space: nowrap !important; border-radius: 10px;
    }
    .dash-menu a.active { background: var(--brand); color: #fff; border-color: var(--brand); }
    .dash-menu a.active i { color: #fff; }

    .dash-main { width: 100%; min-width: 0; }
    .dash-head { margin-bottom: 14px !important; }
    .dash-head h1 { font-size: 20px !important; }

    .profile-hero { flex-direction: column; text-align: center; padding: 20px 16px; }
    .profile-hero__user { flex-direction: column; text-align: center; }
    .profile-hero__meta { justify-content: center; }
    .profile-hero > .btn { width: 100%; }

    .wallet-hero { padding: 18px 16px; }
    .wallet-hero__top { flex-direction: column; align-items: stretch; text-align: center; }
    .wallet-hero__btn { justify-content: center; }
    .wallet-hero__num { font-size: 22px; overflow-wrap: anywhere; }
    .wallet-hero__stats { grid-template-columns: 1fr; gap: 8px; text-align: center; }
    .wallet-hero__stat { display: flex; align-items: center; justify-content: space-between; }
    .wallet-hero__stat span { margin: 0; }

    .stat-cards { grid-template-columns: 1fr 1fr !important; gap: 10px !important; margin-bottom: 14px !important; }
    .stat-card { min-width: 0; padding: 15px 10px !important; }
    .stat-card__num { font-size: 17px !important; overflow-wrap: anywhere; }
    .quick-actions { grid-template-columns: 1fr 1fr; gap: 10px; }

    .panel { padding: 14px !important; margin-bottom: 14px !important; border-radius: 12px !important; }
    .panel h3 { font-size: 16px; }
    .panel-head { gap: 10px; align-items: flex-start; }
    .panel-head h3 { min-width: 0; }
    .panel-head a { white-space: nowrap; font-size: 12px; }
    .quick-amounts { display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px; }
    .quick-amounts button { width: 100%; min-width: 0; }

    .two-col, .form-panel .form-row, .form-row { grid-template-columns: 1fr !important; }
    .form-control { min-width: 0; max-width: 100%; }
    .form-actions .btn { flex: 1 1 100%; }

    /* جدول‌های پنل به لیست کارتی تبدیل می‌شوند تا اسکرول افقی نداشته باشند */
    .table-wrap { overflow: visible !important; border: none; }
    .data-table { width: 100% !important; table-layout: auto !important; border: none; }
    .data-table thead { display: none !important; }
    .data-table tbody, .data-table tr, .data-table td { display: block !important; width: 100% !important; }
    .data-table tr {
        border: 1px solid var(--line); border-radius: 12px;
        margin-bottom: 10px; padding: 6px 12px; background: #fff;
    }
    .data-table td {
        display: flex !important; align-items: center; justify-content: space-between;
        gap: 12px; padding: 8px 0 !important; border-bottom: 1px dashed #eef1f5 !important;
        font-size: 13px !important; text-align: left;
    }
    .data-table td:last-child { border-bottom: none !important; }
    .data-table td::before {
        content: attr(data-label);
        color: var(--muted); font-size: 12px; font-weight: 600;
        flex: 0 0 auto; text-align: right;
    }
    .data-table td:not([data-label]) { justify-content: flex-end; }

    .mini-list li { align-items: flex-start; }
    .mini-list li > *:first-child { min-width: 0; overflow-wrap: anywhere; }
    .alert { padding: 12px !important; font-size: 13px; }
    .tabs-filter { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; padding-bottom: 4px; }
    .tabs-filter::-webkit-scrollbar { display: none; }
    .tabs-filter a { white-space: nowrap; }
}

@media (max-width: 420px) {
    .container { padding-left: 10px !important; padding-right: 10px !important; }
    .dash-user { gap: 9px; }
    .dash-user strong { font-size: 13.5px; }
    .dash-menu a { padding: 8px 10px !important; font-size: 12px !important; }
    .quick-amounts { grid-template-columns: 1fr !important; }
    /* دو ستون در گوشی؛ یک‌ستونه بودن باعث بلند شدن بی‌مورد صفحه می‌شد */
    .stat-cards { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 9px !important; }
    .quick-actions { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 9px !important; }
    .stat-card { padding: 13px 11px !important; }
    .stat-card i { flex-basis: 36px; width: 36px; height: 36px; font-size: 15px !important; }
    .stat-card__num { font-size: 16px !important; }
    .stat-card__label { font-size: 11.5px; }
}

/* راهنمای بارگذاری مدرک در فرم ثبت آگهی */
.upload-hint {
    display: flex; align-items: flex-start; gap: 9px;
    padding: 12px 14px; margin-bottom: 14px;
    border: 1px solid #cdeae5; border-radius: 12px;
    background: #f4fbfa; font-size: 13px; line-height: 2; color: #33564f;
}
.upload-hint i { color: var(--brand); margin-top: 5px; }

/* ==========================================================================
   ۸. صفحات محتوایی (راهنما، درباره ما، تماس با ما)
   ========================================================================== */
.page-hero {
    background: linear-gradient(135deg, #16233a, #0d1626);
    border-radius: 20px;
    padding: 46px 28px;
    text-align: center;
    color: #fff;
    margin: 22px 0 28px;
}
.page-hero__tag {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 6px 16px; border-radius: 99px;
    background: rgba(31, 146, 84, .22); border: 1px solid rgba(45, 190, 120, .35);
    color: #6ee7b7; font-size: 12.5px; margin-bottom: 16px;
}
.page-hero h1 { font-size: 28px; margin: 0 0 12px; color: #fff; }
.page-hero h1 span { color: #34d399; }
.page-hero p { margin: 0 auto; max-width: 620px; color: #b6c2d2; font-size: 14.5px; line-height: 2.1; }

.section-card {
    background: #fff; border: 1px solid var(--line);
    border-radius: 18px; padding: 30px 26px; margin-bottom: 22px;
}
.section-card__head { text-align: center; margin-bottom: 26px; }
.badge-tag {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 14px; border-radius: 99px;
    background: var(--brand-soft); color: var(--brand);
    font-size: 12.5px; margin-bottom: 12px;
}
.section-card__head h2 { font-size: 22px; margin: 0 0 8px; }
.section-card__head h2 span { color: var(--brand); }
.section-card__head p { color: var(--muted); font-size: 14px; margin: 0; }

.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.value-item {
    background: #fafbfc; border: 1px solid var(--line);
    border-radius: 14px; padding: 22px 18px; text-align: center;
}
.value-item__icon {
    width: 52px; height: 52px; margin: 0 auto 13px; border-radius: 14px;
    background: var(--brand); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.value-item h4 { margin: 0 0 7px; font-size: 15px; }
.value-item p { margin: 0; font-size: 13px; color: var(--muted); line-height: 2; }

/* ---------- راهنما / سوالات متداول ---------- */
.faq-search { display: flex; gap: 10px; margin-bottom: 24px; }
.faq-search input {
    flex: 1; min-width: 0; padding: 13px 16px;
    border: 1px solid var(--line); border-radius: 12px;
    font-family: inherit; font-size: 14px;
}
.faq-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 26px; }
.faq-cat {
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    padding: 18px 12px; text-align: center; cursor: pointer;
    text-decoration: none; color: inherit; transition: .18s;
}
.faq-cat:hover, .faq-cat.is-active { border-color: var(--brand); background: #f4faf9; }
.faq-cat i { display: block; font-size: 20px; color: var(--brand); margin-bottom: 9px; }
.faq-cat strong { display: block; font-size: 14px; margin-bottom: 3px; }
.faq-cat span { font-size: 12px; color: var(--muted); }

.faq-item {
    background: #fff; border: 1px solid var(--line);
    border-radius: 12px; margin-bottom: 10px; overflow: hidden;
}
.faq-q {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    gap: 12px; padding: 16px 18px; background: none; border: none; cursor: pointer;
    font-family: inherit; font-size: 14.5px; font-weight: 600; text-align: right; color: inherit;
}
.faq-q i { color: var(--brand); transition: .25s; }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 18px 16px; color: var(--muted); font-size: 13.5px; line-height: 2.1; }
.faq-item.open .faq-a { display: block; }
.faq-empty { text-align: center; padding: 30px; color: var(--muted); }

.help-cta {
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: #fff; border-radius: 18px; padding: 32px 24px; text-align: center;
}
.help-cta h3 { color: #fff; margin: 0 0 8px; font-size: 19px; }
.help-cta p { color: rgba(255, 255, 255, .85); margin: 0 0 18px; font-size: 14px; }

/* ---------- تماس با ما ---------- */
.contact-grid { display: grid; grid-template-columns: 320px 1fr; gap: 22px; align-items: start; }
.contact-cards { display: grid; gap: 12px; }
.contact-card {
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    padding: 18px; display: flex; align-items: center; gap: 13px;
}
.contact-card__icon {
    width: 46px; height: 46px; flex: 0 0 46px; border-radius: 13px;
    background: var(--brand-soft); color: var(--brand);
    display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.contact-card small { display: block; color: var(--muted); font-size: 12px; margin-bottom: 3px; }
.contact-card strong { font-size: 14px; overflow-wrap: anywhere; }

@media (max-width: 991px) {
    .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
    .page-hero { padding: 32px 18px; border-radius: 16px; }
    .page-hero h1 { font-size: 21px; }
    .section-card { padding: 20px 16px; border-radius: 14px; }
    .faq-cats { grid-template-columns: 1fr 1fr; }
    .faq-search { flex-direction: column; }
}

/* ==========================================================================
   ۹. بخش هیرو صفحه اصلی
   سه کارت «پرداخت امانی / ارزش وام‌ها / احراز هویت» کوچک هستند و دور یک
   دایرهٔ آرام می‌چرخند (دسکتاپ و موبایل). در موبایل نباید از کادر بیرون
   بزنند یا کل صفحه را بگیرند.
   ========================================================================== */
.hero-modern { padding-top: 28px; }
.hero-modern-visual {
    --orbit-r: 120px;                 /* شعاع مدار کارت‌ها */
    position: relative;
    display: block;
    width: 100%;
    max-width: 380px;
    margin-inline: auto;
    aspect-ratio: 1 / 1;
    min-height: 0;
}

/* دایرهٔ راهنما */
.hero-graphic-circle,
.hero-graphic-circle-2,
.hero-graphic-circle-3 {
    position: absolute; z-index: 0; pointer-events: none;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    border-radius: 50%;
}
.hero-graphic-circle {
    width: 62%; height: 62%;
    background: radial-gradient(circle at 35% 30%, rgba(31, 157, 87, .10), transparent 70%);
    border: 2px dashed rgba(31, 157, 87, .20);
    animation: vr-spin 34s linear infinite;
}
.hero-graphic-circle-2 {
    width: 40%; height: 40%;
    background: radial-gradient(circle at 65% 70%, rgba(248, 182, 0, .10), transparent 70%);
    border: 2px dashed rgba(200, 153, 47, .18);
    animation: vr-spin 26s linear infinite reverse;
}
.hero-graphic-circle-3 {
    width: 22%; height: 22%;
    background: radial-gradient(circle, rgba(31, 157, 87, .16), transparent 70%);
    animation: vr-pulse 3.4s ease-in-out infinite;
}

@keyframes vr-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes vr-pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1);   opacity: .55; }
    50%      { transform: translate(-50%, -50%) scale(1.18); opacity: 1; }
}

/* --- مدار کارت‌ها ---
   هر کارت روی یک بازوی چرخان می‌نشیند: بازو می‌چرخد و خود کارت با چرخش
   معکوس، همیشه صاف و خوانا می‌ماند. */
.floating-card {
    position: absolute; z-index: 3;
    top: 50%; left: 50%;
    width: 172px; margin: 0;
    display: flex; align-items: center; gap: 9px;
    padding: 9px 11px;
    background: rgba(255, 255, 255, .95);
    border: 1px solid rgba(226, 233, 240, .9);
    border-radius: 13px;
    box-shadow: 0 8px 20px rgba(16, 24, 40, .10);
    transform-origin: center center;
    animation: vr-orbit 26s linear infinite;
}
.floating-card > div {
    min-width: 0; display: flex; flex-direction: column; gap: 2px;
}
.floating-card i {
    flex: 0 0 30px; width: 30px; height: 30px; border-radius: 10px;
    background: var(--brand-soft, #e8f5ef); color: var(--brand, #0f7a53);
    display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.floating-card strong {
    display: block; font-size: 12.5px; font-weight: 700; color: #16202b;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.floating-card span {
    display: block; font-size: 10.5px; line-height: 1.6; color: #6b7684;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* شعاع مدار = ۳۴٪ از عرض بخش، با اختلاف فاز ۱۲۰ درجه بین سه کارت */
.floating-card.card-1 { animation-delay: 0s; }
.floating-card.card-2 { animation-delay: -8.66s; }
.floating-card.card-3 { animation-delay: -17.33s; }

/* شعاع مدار با متغیر کنترل می‌شود (درصد در translateX نسبت به خودِ کارت
   حساب می‌شود، نه ظرف؛ به همین دلیل مقدار ثابت پیکسلی می‌دهیم) */
@keyframes vr-orbit {
    from { transform: translate(-50%, -50%) rotate(0deg)   translateX(var(--orbit-r)) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg) translateX(var(--orbit-r)) rotate(-360deg); }
}
/* چرخش معکوس داخل همان زنجیرهٔ transform، کارت را همیشه صاف نگه می‌دارد */

/* اگر کاربر انیمیشن کمتر خواسته باشد، چرخش متوقف می‌شود */
@media (prefers-reduced-motion: reduce) {
    .hero-graphic-circle, .hero-graphic-circle-2, .hero-graphic-circle-3,
    .floating-card { animation: none !important; }
    .floating-card.card-1 { transform: translate(-50%, -50%) translateY(-100px); }
    .floating-card.card-2 { transform: translate(-50%, -50%) translate(-86px, 62px); }
    .floating-card.card-3 { transform: translate(-50%, -50%) translate(86px, 62px); }
}

/* ---------- موبایل و تبلت ---------- */
@media (max-width: 900px) {
    /* این بخش قبلاً display:none بود و یک نوار سبز خالی می‌ساخت */
    .hero-modern-visual {
        --orbit-r: 88px;
        display: block !important;
        max-width: 290px; margin: 20px auto 0;
        order: 2;                      /* در موبایل زیر متن، نه بالای آن */
    }
    .hero-modern-content { order: 1; }
    .hero-modern-wrapper { display: flex; flex-direction: column; }
    .floating-card {
        display: flex !important;
        width: 132px; padding: 6px 8px; gap: 6px; border-radius: 11px;
    }
    .floating-card i { flex-basis: 24px; width: 24px; height: 24px; font-size: 11px; border-radius: 8px; }
    .floating-card strong { font-size: 10.5px; }
    .floating-card span { font-size: 9px; }
}

@media (max-width: 380px) {
    .hero-modern-visual { max-width: 250px; --orbit-r: 78px; }
    .floating-card { width: 120px; }
}

/* ---------- نوار آمار هیرو ---------- */
.hero-modern-stats {
    display: flex; align-items: center; gap: 18px;
    margin-top: 26px; flex-wrap: wrap;
}
.hero-modern-stats .stat-item { display: flex; flex-direction: column; gap: 3px; }
.hero-modern-stats .stat-number { font-size: 22px; font-weight: 800; color: #0f3f38; }
.hero-modern-stats .stat-label { font-size: 12.5px; color: #5f7a72; }
.hero-modern-stats .stat-divider { width: 1px; height: 34px; background: rgba(15, 118, 110, .18); }

@media (max-width: 767px) {
    /* در موبایل به سه کارت کوچک تبدیل می‌شود (قبلاً سه ستون بی‌قواره بود) */
    .hero-modern-stats {
        display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 9px; margin-top: 22px;
    }
    .hero-modern-stats .stat-item {
        align-items: center; text-align: center; gap: 2px;
        padding: 12px 6px; border-radius: 14px;
        background: rgba(255, 255, 255, .78);
        border: 1px solid rgba(15, 118, 110, .12);
        box-shadow: 0 4px 14px rgba(16, 24, 40, .05);
    }
    .hero-modern-stats .stat-number { font-size: 18px; }
    .hero-modern-stats .stat-label { font-size: 10.8px; line-height: 1.6; }
    .hero-modern-stats .stat-divider { display: none; }

    .hero-modern-buttons { display: flex; gap: 10px; }
    .hero-modern-buttons .btn { flex: 1; justify-content: center; }
}

/* ==========================================================================
   ۱۰. صفحه جزئیات وام — مطابق ماکاپ جدید (PDF «ایرادات فوری فوتی»)
   دسکتاپ: ستون راست = کارت سبز بانک + شبکه ۲ستونی مشخصات
           ستون چپ  = کارت پرداخت + کارت توضیحات فروشنده و توجه
           پایین    = کاروسل وام‌های مشابه به عرض کامل
   موبایل: همان بلوک‌ها پشت سر هم با ترتیب معرفی ← مشخصات ← فروشنده ← پرداخت ← مشابه
   ========================================================================== */
.ld-crumb { margin: 20px 0 16px; }
.ld-topbar { display: none; }

.ld-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 18px;
    align-items: start;
    padding-bottom: 40px;
}
.ld-main { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.ld-side { min-width: 0; display: flex; flex-direction: column; gap: 16px; }

.ld-card {
    background: #fff; border: 1px solid var(--line);
    border-radius: 18px; padding: 20px;
    box-shadow: 0 3px 16px rgba(16, 24, 40, .04);
}

/* ---------- کارت سبز معرفی ---------- */
.ld-head {
    position: relative; overflow: hidden;
    display: flex; align-items: flex-start; gap: 16px;
    padding: 22px 24px;
    border-radius: 20px;
    background:
        radial-gradient(120% 140% at 100% 0%, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0) 55%),
        linear-gradient(135deg, #10564a 0%, #0b3f38 60%, #0a352f 100%);
    color: #fff;
    box-shadow: 0 10px 28px rgba(10, 60, 52, .22);
}
.ld-head::after {                       /* بافت شش‌ضلعی ملایم */
    content: ""; position: absolute; inset: 0; opacity: .16; pointer-events: none;
    background-image:
        radial-gradient(circle at 20% 25%, rgba(255,255,255,.12) 0 2px, transparent 3px),
        radial-gradient(circle at 60% 70%, rgba(255,255,255,.10) 0 2px, transparent 3px),
        radial-gradient(circle at 85% 20%, rgba(255,255,255,.10) 0 2px, transparent 3px);
    background-size: 120px 120px;
}
.ld-head__logo {
    order: 2; margin-right: auto;
    width: 78px; height: 78px; flex: 0 0 78px; border-radius: 20px;
    background: rgba(255, 255, 255, .10);
    display: flex; align-items: center; justify-content: center;
    position: relative; z-index: 2;
}
.ld-head__logo img { width: 52px; height: 52px; object-fit: contain; }
.ld-head__body { position: relative; z-index: 2; min-width: 0; }
.ld-head__bank { margin: 0 0 10px; font-size: 19px; font-weight: 800; color: #fff; }
.ld-head__place {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 7px 14px; border-radius: 10px;
    background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .16);
    font-size: 13px; color: #e4f2ee;
}
.ld-head__place i { color: #ffd88a; }
.ld-head__amount {
    margin-top: 14px; font-size: 30px; font-weight: 800;
    color: #ffc95c; letter-spacing: .5px; line-height: 1.4;
    overflow-wrap: anywhere;
}
.ld-head__sub {
    display: flex; align-items: center; gap: 9px;
    margin-top: 8px; font-size: 14px; color: #d6e8e3;
}
.ld-head__sub i { font-size: 16px; opacity: .8; }

/* ---------- شبکه مشخصات ۲ ستونی ---------- */
.ld-specsbox {
    background: #fff; border: 1px solid var(--line); border-radius: 20px;
    padding: 6px 18px; box-shadow: 0 3px 16px rgba(16, 24, 40, .04);
}
.ld-specs {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: 1fr 1fr;
}
.ld-spec {
    position: relative;
    display: grid; grid-template-columns: minmax(0, 1fr) 30px;
    grid-template-areas: "label icon" "value icon";
    align-items: center; column-gap: 10px;
    padding: 15px 12px;
    border-bottom: 1px solid var(--line);
}
.ld-spec:nth-last-child(-n+2) { border-bottom: none; }
.ld-spec:nth-child(odd)::after {        /* جداکنندهٔ عمودی وسط */
    content: ""; position: absolute; left: 0; top: 20%; bottom: 20%;
    width: 1px; background: var(--line);
}
.ld-spec i {
    grid-area: icon; width: 30px; height: 30px; border-radius: 9px;
    background: #f2f5f9; color: #4b5a68;
    display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.ld-spec__label { grid-area: label; font-size: 12.5px; color: #6e7b89; }
.ld-spec__value { grid-area: value; font-size: 14px; font-weight: 700; color: #16202b; overflow-wrap: anywhere; }
.ld-spec__value--hl { color: var(--brand); }

/* ---------- کارت پرداخت ---------- */
.ld-buy {
    background: #fff; border: 1px solid var(--line);
    border-radius: 20px; padding: 20px;
    box-shadow: 0 6px 22px rgba(16, 24, 40, .07);
}
.ld-buy__row {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 4px 12px; margin-bottom: 16px; flex-wrap: wrap;
}
/* عنوان بلند است؛ همیشه یک خط کامل می‌گیرد تا با مبلغ تداخل نکند */
.ld-buy__label { flex: 1 1 100%; font-size: 13.5px; font-weight: 700; color: #16202b; }
.ld-buy__price { font-size: 23px; font-weight: 800; color: var(--brand); white-space: nowrap; }
.ld-buy__price small { font-size: 13px; font-weight: 600; }

.ld-buy__btn {
    display: flex; align-items: center; justify-content: center; gap: 9px;
    width: 100%; padding: 15px; border: none; border-radius: 14px;
    background: linear-gradient(135deg, #12886f, #0b5e57);
    color: #fff; font-family: inherit; font-size: 15.5px; font-weight: 700;
    text-decoration: none; cursor: pointer; transition: .18s;
    box-shadow: 0 6px 18px rgba(11, 94, 87, .26);
}
.ld-buy__btn:hover { filter: brightness(1.08); color: #fff; }
.ld-buy__btn--ghost {
    background: #f3f6fa; color: #35404d; box-shadow: none; border: 1px solid var(--line);
}
.ld-buy__btn--ghost:hover { color: #35404d; background: #eaeff5; }

.ld-buy__note { font-size: 13.5px; color: var(--muted); line-height: 2; margin-bottom: 12px; text-align: center; }
.ld-buy__note--warn { color: #b9761a; }

.ld-buy__trust {
    display: grid; grid-template-columns: 1fr 1px 1fr; grid-template-rows: auto;
    align-items: start; gap: 10px; margin-top: 16px;
}
.ld-buy__trust::before {
    content: ""; grid-column: 2; grid-row: 1; align-self: stretch; background: var(--line);
}
.ld-buy__trust span {
    display: flex; align-items: flex-start; gap: 7px; grid-row: 1;
    font-size: 11.5px; line-height: 1.9; color: #4d5966;
}
.ld-buy__trust span:nth-of-type(1) { grid-column: 1; }
.ld-buy__trust span:nth-of-type(2) { grid-column: 3; }
.ld-buy__trust i { color: var(--brand); margin-top: 3px; }

.ld-buy__hint {
    margin: 14px 0 0; padding-top: 12px; border-top: 1px dashed var(--line);
    font-size: 12px; line-height: 2; color: var(--muted); text-align: center;
}

/* ---------- توضیحات فروشنده و توجه ---------- */
.ld-card--seller { padding: 18px 20px; }
.ld-seller { display: flex; align-items: center; gap: 10px; justify-content: flex-start; }
.ld-seller h3 { margin: 0; font-size: 16px; }
.ld-seller__icon {
    width: 30px; height: 30px; border-radius: 10px;
    background: var(--brand-soft); color: var(--brand);
    display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.ld-seller__text { margin: 10px 0 0; font-size: 13.5px; line-height: 2.1; color: #46505c; }

.ld-notice {
    margin-top: 16px; padding: 12px 14px;
    background: #fdf6e5; border: 1px solid #eed9a6; border-radius: 14px;
}
.ld-notice__head {
    display: flex; align-items: center; gap: 8px;
    color: #b07d18; font-weight: 800; font-size: 13.5px; margin-bottom: 8px;
}
.ld-notice__body { list-style: none; margin: 0; padding: 0; }
.ld-notice__body li {
    position: relative; padding: 9px 26px 9px 2px;
    font-size: 13px; line-height: 2.1; color: #5b4715;
}
.ld-notice__body li + li { border-top: 1px dashed #e8d5a4; }
.ld-notice__body li::before {
    content: "\f058"; font-family: "Font Awesome 6 Free"; font-weight: 900;
    position: absolute; right: 2px; top: 11px; color: #d0a53f; font-size: 13px;
}

/* ---------- وام‌های مشابه ---------- */
.ld-similar { grid-column: 1 / -1; margin-top: 4px; }
.ld-similar__head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; margin-bottom: 14px;
}
.ld-similar__head h3 { margin: 0; font-size: 17px; }
.ld-similar__head a { font-size: 13px; display: inline-flex; align-items: center; gap: 5px; }

.scard {
    display: flex; flex-direction: column; gap: 12px;
    background: #fff; border: 1px solid var(--line); border-radius: 16px;
    padding: 16px 18px; height: 100%;
    box-shadow: 0 3px 14px rgba(16, 24, 40, .04);
}
.scard__amount { font-size: 17px; font-weight: 800; color: #16202b; }
.scard__amount small { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.scard__meta { display: flex; gap: 16px; flex-wrap: wrap; }
.scard__meta span {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12.3px; color: #5b6775;
}
.scard__meta i { color: #97a3b0; }
.scard__btn {
    display: flex; align-items: center; justify-content: center; gap: 7px;
    margin-top: auto; padding: 11px; border-radius: 11px;
    border: 1px solid var(--line); background: #fff;
    color: #33404d; font-size: 13.5px; font-weight: 700; text-decoration: none;
    transition: .16s;
}
.scard__btn:hover { border-color: var(--brand); color: var(--brand); background: #f7fcfb; }

/* ==========================================================================
   جزئیات وام — تبلت
   ========================================================================== */
@media (max-width: 991px) {
    .ld-grid { grid-template-columns: 1fr; }
    .ld-side { position: static; }
}

/* ==========================================================================
   جزئیات وام — موبایل
   ========================================================================== */
@media (max-width: 767px) {
    .ld-crumb { display: none; }

    .ld-topbar {
        display: flex; align-items: center; justify-content: space-between;
        gap: 10px; padding: 2px 0 14px;
    }
    .ld-topbar form { margin: 0; }
    .ld-topbar__title { font-size: 16.5px; font-weight: 800; color: #16202b; }
    .ld-topbar__back, .ld-topbar__fav {
        width: 36px; height: 36px; border-radius: 12px; border: 1px solid var(--line);
        background: #fff; color: #35404d; cursor: pointer;
        display: flex; align-items: center; justify-content: center; font-size: 16px;
    }
    .ld-topbar__fav.active { color: #e0413f; border-color: #f3c6c5; }
    .ld-topbar__fav--ghost { border-color: transparent; background: transparent; }

    /* ترتیب: معرفی ← مشخصات ← فروشنده ← پرداخت ← مشابه */
    .ld-grid { display: flex; flex-direction: column; gap: 14px; padding-bottom: 24px; }
    .ld-main, .ld-side { display: contents; }
    .ld-head         { order: 1; }
    .ld-specsbox     { order: 2; }
    .ld-card--seller { order: 3; }
    .ld-buy          { order: 4; }
    .ld-similar      { order: 5; }

    .ld-head { padding: 18px; gap: 12px; border-radius: 18px; }
    .ld-head__logo { width: 60px; height: 60px; flex-basis: 60px; border-radius: 16px; }
    .ld-head__logo img { width: 40px; height: 40px; }
    .ld-head__bank { font-size: 17px; }
    .ld-head__amount { font-size: 25px; }
    .ld-head__sub { font-size: 13px; }

    .ld-specsbox { padding: 4px 12px; border-radius: 18px; }
    .ld-spec { padding: 13px 8px; grid-template-columns: minmax(0, 1fr) 26px; column-gap: 8px; }
    .ld-spec i { width: 26px; height: 26px; font-size: 12.5px; }
    .ld-spec__label { font-size: 11.5px; }
    .ld-spec__value { font-size: 12.8px; }

    .ld-card { padding: 16px; border-radius: 16px; }
    .ld-buy { padding: 16px; border-radius: 16px; }
    .ld-buy__price { font-size: 19px; }
    .ld-buy__trust span { font-size: 11px; }

    .ld-similar__head h3 { font-size: 16px; }
    .featured-carousel .scard { padding: 14px; }
}

/* ==========================================================================
   ۱۱. صفحه ثبت آگهی وام
   ========================================================================== */
.nl-head { margin-bottom: 18px; }
.nl-head h1 { display: flex; align-items: center; gap: 10px; font-size: 22px; margin: 0 0 6px; }
.nl-head p { margin: 0; color: var(--muted); font-size: 13.5px; }
.nl-head__icon {
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--brand); color: #fff;
    display: inline-flex; align-items: center; justify-content: center; font-size: 14px;
}
.nl-head__icon--sm { width: 26px; height: 26px; font-size: 12px; }

.nl-card {
    background: #fff; border: 1px solid var(--line);
    border-radius: 18px; padding: 26px;
    box-shadow: 0 3px 16px rgba(16, 24, 40, .04);
}
.nl-card__head { margin-bottom: 22px; }
.nl-card__head h2 { display: flex; align-items: center; gap: 9px; font-size: 17px; margin: 0 0 5px; }
.nl-card__head p { margin: 0; color: var(--muted); font-size: 13px; }

.nl-hidden { display: none; }

/* ---------- حساب بانکی ---------- */
.nl-account {
    border: 1px solid var(--line); border-radius: 14px;
    padding: 18px; margin-bottom: 22px; background: #fbfcfd;
}
.nl-account .form-group { margin-bottom: 0; }
.nl-account__info {
    margin-top: 14px; padding: 14px 16px;
    background: #fff; border: 1px solid var(--line); border-radius: 12px;
}
.nl-account__row {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 8px 0; border-bottom: 1px solid #f1f4f7; font-size: 13.5px;
}
.nl-account__row:last-child { border-bottom: none; }
.nl-account__row span { color: var(--muted); }
.nl-account__row b { font-weight: 700; overflow-wrap: anywhere; text-align: left; }
.nl-account__ok { color: var(--brand); display: inline-flex; align-items: center; gap: 6px; }

/* ---------- شبکه فیلدها ---------- */
.nl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.nl-input { position: relative; }
.nl-input > i {
    position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
    color: var(--brand); font-size: 14px; pointer-events: none;
}
.nl-input .form-control { padding-left: 40px; }

/* ---------- خلاصه قیمت ---------- */
.nl-summary {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; flex-wrap: wrap;
    margin: 8px 0 10px; padding: 18px 20px;
    background: #eefaf6; border: 1px solid #cdeae2; border-radius: 14px;
}
.nl-summary__label { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; }
.nl-summary__label i { color: var(--brand); }
.nl-summary__label small { color: var(--muted); font-weight: 400; font-size: 11.5px; }
.nl-summary__value { font-size: 24px; font-weight: 800; color: var(--brand); }
.nl-summary__note {
    margin: 0 0 22px; font-size: 12.5px; line-height: 2.1; color: var(--muted);
}
.nl-summary__note strong { color: var(--brand); }

/* ---------- ناحیه بارگذاری ---------- */
.nl-drop {
    display: block; text-align: center; cursor: pointer;
    padding: 30px 18px; border: 2px dashed #cfd9e4; border-radius: 14px;
    background: #fafbfc; transition: .18s;
}
.nl-drop:hover { border-color: var(--brand); background: #f4faf9; }
.nl-drop i { display: block; font-size: 30px; color: #9fb0c2; margin-bottom: 10px; }
.nl-drop strong { display: block; font-size: 14.5px; margin-bottom: 5px; }
.nl-drop span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.nl-drop small { display: block; font-size: 11.5px; color: #9aa5b1; }
.nl-drop em {
    display: block; margin-top: 10px; font-style: normal;
    font-size: 12.5px; color: var(--brand); font-weight: 700;
}

.nl-actions {
    display: flex; gap: 12px; align-items: center;
    margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line);
}

@media (max-width: 767px) {
    .nl-card { padding: 16px; border-radius: 14px; }
    .nl-grid { grid-template-columns: 1fr; }
    .nl-head h1 { font-size: 19px; }
    .nl-summary { flex-direction: column; align-items: stretch; text-align: center; gap: 10px; }
    .nl-summary__value { font-size: 20px; }
    .nl-actions { flex-direction: column; }
    .nl-actions .btn { width: 100%; }
    .nl-account__row { flex-direction: column; align-items: flex-start; gap: 3px; }
    .nl-account__row b { text-align: right; }
}

/* ==========================================================================
   ۱۲. اصلاحات نهایی سراسری
   (رنگ مقادیر، حلقه فوکوس سبز، کنتراست بخش دعوت به اقدام)
   ========================================================================== */

/* base.css رنگ همه <b> ها را طلایی کرده بود؛ در تصاویر مرجع مقادیر تیره‌اند
   و فقط قیمت‌های کلیدی سبز هستند. */
main b, main strong, .site-footer b, .site-footer strong { color: inherit; }

.fcard__row b { color: #16202b; }
.fcard__price { color: var(--brand) !important; }
.nl-account__row b { color: #16202b; }
.data-table b, .loans-table b { color: #16202b; }

/* ---------- حلقه فوکوس سبز روی همه کادرهای فرم ---------- */
.form-control:focus,
input[type="text"]:focus, input[type="tel"]:focus, input[type="email"]:focus,
input[type="number"]:focus, input[type="password"]:focus, input[type="search"]:focus,
input[type="date"]:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--brand) !important;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, .15) !important;
    background: #fff;
}
.form-group:focus-within > label { color: var(--brand); }
.nl-input:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(15, 118, 110, .15); }
.nl-input:focus-within > i { color: var(--brand); }

/* ---------- بخش «آماده‌اید امتیاز وامتان را بفروشید؟» ---------- */
/* گرادیان سبز روی پس‌زمینه سبز، کلمه را نامرئی کرده بود */
.cta-modern-content h2 span {
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    color: #ffd980 !important;
}
.cta-modern-content h2 { color: #fff !important; }
.cta-modern-content p { color: rgba(255, 255, 255, .82) !important; }

/* ==========================================================================
   ۱۳. داشبورد — کارت‌های آمار افقی مطابق تصویر مرجع ۳۶
   ========================================================================== */
.stat-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px; margin-bottom: 18px;
}
.stat-card {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 46px;
    grid-template-areas: "num icon" "label icon";
    align-items: center; column-gap: 12px; row-gap: 2px;
    padding: 15px 16px !important;
    background: #fff; border: 1px solid var(--line); border-radius: 16px;
    box-shadow: 0 3px 16px rgba(16, 24, 40, .04);
    text-align: right;
}
.stat-card i {
    grid-area: icon; margin: 0 !important;
    width: 46px; height: 46px; border-radius: 14px;
    display: flex !important; align-items: center; justify-content: center;
    font-size: 18px !important;
}
.stat-card__num {
    grid-area: num; display: block; font-size: 19px !important;
    font-weight: 800; margin: 0 !important; color: #16202b; overflow-wrap: anywhere;
}
.stat-card__label { grid-area: label; font-size: 12.3px; color: var(--muted); }

.stat-card--green  i { background: #e6f6ee; color: #0f7a53; }
.stat-card--gold   i { background: #fdf0d8; color: #c98a15; }
.stat-card--purple i { background: #efeaff; color: #6d51e0; }
.stat-card--blue   i { background: #e6f0fd; color: #2b6fd6; }

/* عملیات سریع — حلقه سبز هنگام هاور/فوکوس (تصویر مرجع ۳۸) */
.quick-action { transition: .16s; }
.quick-action:hover, .quick-action:focus-visible {
    border-color: var(--brand) !important;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, .14);
    transform: translateY(-2px);
}

/* فاصلهٔ بیشتر از هدر ثابت در همهٔ صفحات پنل */
.dash-wrap { padding-top: 26px; }

@media (max-width: 991px) { .stat-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .stat-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }

/* ==========================================================================
   ۱۴. صفحه «آگهی‌های من» — جدول غنی‌تر (ایراد «خیلی ساده است»)
   ========================================================================== */
.ml-bank { display: inline-flex; align-items: center; gap: 9px; }
.ml-bank img {
    width: 30px; height: 30px; flex: 0 0 30px; object-fit: contain;
    border-radius: 8px; background: #f4f6f9; padding: 3px;
}
.ml-bank > span { display: flex; flex-direction: column; line-height: 1.5; }
.ml-bank b { font-size: 13.5px; color: #16202b; }
.ml-bank small { font-size: 11.5px; color: var(--muted); }
.ml-code {
    display: inline-block; padding: 3px 9px; border-radius: 7px;
    background: #f1f4f8; color: #4b5563; font-size: 12px; direction: ltr;
}
.ml-price { color: var(--brand); font-weight: 700; }

/* نام بانک در جدول وام‌ها هم باید تیره باشد، نه طلایی */
.loans-bank-name span { color: #16202b; }
.loans-bank-name small { color: var(--muted); }

@media (max-width: 767px) {
    .ml-bank img { width: 26px; height: 26px; flex-basis: 26px; }
}

/* جدول «آگهی‌های من» — ستون‌ها نباید بشکنند */
.data-table td, .data-table th { vertical-align: middle; }
.data-table .ml-code, .data-table .ml-bank b { white-space: nowrap; }

/* ==========================================================================
   ۱۵. بلاگ — کارت مقاله، کاروسل صفحه اصلی، صفحه مقاله
   ========================================================================== */
.blog-modern { padding: 46px 0; background: #fff; }
.section-head--row {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 16px; flex-wrap: wrap; margin-bottom: 22px; text-align: right;
}
.section-head--row h2 { margin: 6px 0 0; font-size: 25px; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; }

.blog-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.bcard {
    display: flex; flex-direction: column; height: 100%;
    background: #fff; border: 1px solid var(--line); border-radius: 16px;
    overflow: hidden; box-shadow: 0 3px 16px rgba(16, 24, 40, .05);
    transition: .18s;
}
.bcard:hover { box-shadow: 0 10px 26px rgba(16, 24, 40, .10); transform: translateY(-2px); }
.bcard__thumb {
    position: relative; display: block; aspect-ratio: 16 / 9;
    background: #eef2f6; overflow: hidden;
}
.bcard__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bcard__cat {
    position: absolute; top: 10px; right: 10px;
    padding: 4px 11px; border-radius: 99px;
    background: rgba(15, 118, 110, .92); color: #fff; font-size: 11.5px; font-weight: 700;
}
.bcard__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 16px 14px; flex: 1; }
.bcard__body h2, .bcard__body h3 { margin: 0; font-size: 15.5px; line-height: 1.8; }
.bcard__body h2 a, .bcard__body h3 a { color: #16202b; text-decoration: none; }
.bcard__body h2 a:hover, .bcard__body h3 a:hover { color: var(--brand); }
.bcard__body p {
    margin: 0; font-size: 12.8px; line-height: 2; color: var(--muted);
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.bcard__meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 11.5px; color: #8a95a3; }
.bcard__meta i { margin-left: 4px; }
.bcard__more {
    display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 10px;
    font-size: 13px; font-weight: 700; color: var(--brand); text-decoration: none;
}

/* صفحه مقاله */
.bpost { max-width: 860px; margin: 0 auto; }
.bpost__head { margin-bottom: 18px; }
.bpost__cat {
    display: inline-block; padding: 5px 13px; border-radius: 99px;
    background: var(--brand-soft); color: var(--brand); font-size: 12.5px; font-weight: 700;
}
.bpost__head h1 { margin: 12px 0 10px; font-size: 27px; line-height: 1.7; }
.bpost__meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.bpost__meta i { margin-left: 5px; color: #9aa6b3; }
.bpost__cover { width: 100%; border-radius: 18px; margin-bottom: 20px; display: block; }
.bpost__summary {
    padding: 14px 18px; margin: 0 0 18px;
    border-right: 3px solid var(--brand); border-radius: 12px;
    background: #f4faf9; font-size: 14.5px; line-height: 2.1; color: #33474a;
}
.bpost__content { font-size: 15px; line-height: 2.3; color: #2f3a46; }
.bpost__content p { margin: 0 0 16px; }

/* نوار ابزار بلاگ */
.blog-toolbar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 14px; flex-wrap: wrap; margin-bottom: 22px;
}
.blog-search { position: relative; flex: 1; min-width: 240px; max-width: 380px; }
.blog-search i { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: #9aa6b3; }
.blog-search input {
    width: 100%; height: 46px; padding: 0 40px 0 14px;
    border: 1px solid var(--line); border-radius: 13px; background: #fff;
    font-family: inherit; font-size: 14px;
}
.blog-cats { display: flex; gap: 8px; flex-wrap: wrap; }
.blog-cats a {
    padding: 8px 16px; border-radius: 99px; border: 1px solid var(--line);
    background: #fff; font-size: 13px; color: #4b5563; text-decoration: none;
}
.blog-cats a.active, .blog-cats a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

@media (max-width: 767px) {
    .blog-modern { padding: 34px 0; }
    .section-head--row h2 { font-size: 21px; }
    .bpost__head h1 { font-size: 21px; }
    .bpost__content { font-size: 14px; }
    .blog-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   ۱۶. هدر — دکمهٔ «پروفایل من» بعد از ورود
   ========================================================================== */
.header-login-btn--user { gap: 8px; }
.header-login-btn--user i { font-size: 16px; }

/* ==========================================================================
   ۱۷. جدول وام‌ها — ظاهر مرتب‌تر (سربرگ و سطرها)
   ========================================================================== */
.loans-table-wrapper {
    background: #fff; border: 1px solid var(--line);
    border-radius: 18px; overflow: hidden;
    box-shadow: 0 3px 16px rgba(16, 24, 40, .05);
}
.loans-table { border-collapse: separate; border-spacing: 0; }
.loans-table thead th {
    background: linear-gradient(135deg, #12886f, #0b5e57) !important;
    color: #fff !important; font-weight: 700 !important;
    font-size: 13px !important; padding: 15px 12px !important;
    border: none !important; white-space: nowrap; text-align: right;
}
.loans-table tbody td {
    padding: 15px 12px; font-size: 13.5px; color: #2f3a46;
    border-bottom: 1px solid #eef1f5; vertical-align: middle;
}
.loans-table tbody tr:last-child td { border-bottom: none; }
.loans-table tbody tr:nth-child(even) td { background: #fafbfd; }
.loans-table tbody tr:hover td { background: #f2faf8; }
.loans-table .td-highlight { color: var(--brand); font-weight: 700; }
.loans-table .loans-bank-logo {
    width: 34px; height: 34px; object-fit: contain;
    border-radius: 9px; background: #f4f6f9; padding: 3px;
}
.loans-table .loans-bank-wrapper { display: flex; align-items: center; gap: 10px; }
.loans-table .loans-bank-name span { display: block; font-weight: 700; color: #16202b; }
.loans-table .loans-bank-name small { display: block; font-size: 11.5px; color: var(--muted); }
.loans-table .btn-reserve {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 9px 20px; border-radius: 10px;
    background: var(--brand); color: #fff; font-size: 13px; font-weight: 700;
    text-decoration: none; transition: .16s; white-space: nowrap;
}
.loans-table .btn-reserve:hover { background: var(--brand-dark); color: #fff; }
