/* =====================================================
   تبلیغات اینستاگرام — استایل کامل سایت و پنل (نسخه ۲)
   طراحی روشن، چندرنگ و مدرن — Vazirmatn
   ===================================================== */

:root {
    --bg: #f6f7fd;
    --card: #ffffff;
    --text: #23263b;
    --muted: #8a90ac;
    --line: #e9ebf5;
    --line-2: #dfe2f0;

    --brand1: #7c3aed;
    --brand2: #ec4899;
    --brand3: #f97316;
    --mint: #10b981;
    --sky: #0ea5e9;
    --fuchsia: #d946ef;
    --amber: #f59e0b;
    --red: #ef4444;
    --green: #10b981;
    --blue: #0ea5e9;

    --grad: linear-gradient(120deg, #7c3aed, #ec4899 55%, #f97316);
    --grad-soft: linear-gradient(120deg, #f1e9ff, #ffe9f4 55%, #ffefe4);

    --r: 18px;
    --r-lg: 26px;
    --sh: 0 10px 30px rgba(60, 50, 130, .08);
    --sh-lg: 0 18px 50px rgba(60, 50, 130, .13);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: Vazirmatn, Tahoma, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.9;
    min-height: 100vh;
    overflow-x: hidden;
}

/* هاله‌های رنگی ثابت پس‌زمینه */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(420px 420px at 12% -4%, rgba(124, 58, 237, .10), transparent 65%),
        radial-gradient(460px 460px at 88% 0%, rgba(236, 72, 153, .09), transparent 65%),
        radial-gradient(520px 520px at 50% 110%, rgba(14, 165, 233, .08), transparent 65%);
}

img, video { max-width: 100%; }
a { color: var(--brand1); text-decoration: none; }
b, strong { font-weight: 800; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.section { padding: 44px 0 64px; }
.wrap { word-break: break-word; }
.ltr { direction: ltr; text-align: left; }

/* =====================================================
   نوار بالا
   ===================================================== */
.navbar {
    position: sticky;
    top: 12px;
    z-index: 50;
    margin: 12px auto 0;
    max-width: 1120px;
    padding: 0 20px;
}
.navbar .inner {
    display: flex;
    align-items: center;
    gap: 18px;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 999px;
    box-shadow: var(--sh);
    padding: 10px 22px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.02rem; color: var(--text); }
.brand .logo {
    width: 40px; height: 40px;
    display: grid; place-items: center;
    background: var(--grad);
    border-radius: 14px;
    font-size: 1.15rem;
    box-shadow: 0 8px 18px rgba(236, 72, 153, .35);
}
.navbar nav { margin-inline-start: auto; display: flex; gap: 6px; }
.navbar nav a {
    padding: 9px 18px;
    border-radius: 999px;
    color: var(--muted);
    font-weight: 700;
    font-size: .9rem;
    transition: all .2s;
}
.navbar nav a:hover { color: var(--brand1); background: #f3efff; }

/* =====================================================
   دکمه‌ها
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: .95rem;
    font-weight: 800;
    padding: 12px 26px;
    border-radius: 999px;
    transition: all .22s;
    line-height: 1.6;
}
.btn-primary {
    background: var(--grad);
    color: #fff;
    box-shadow: 0 10px 24px rgba(194, 65, 141, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(194, 65, 141, .45); }
.btn-ghost {
    background: #fff;
    color: var(--text);
    border: 2px solid var(--line-2);
    box-shadow: none;
}
.btn-ghost:hover { border-color: var(--brand1); color: var(--brand1); }
.btn-danger { background: #fee2e2; color: var(--red); }
.btn-danger:hover { background: var(--red); color: #fff; }
.btn-green { background: #d9f6ec; color: #0a7f5c; }
.btn-blue { background: #dff1fd; color: #0b7cbb; }
.btn-sm { padding: 7px 16px; font-size: .82rem; }
.btn-lg { padding: 15px 34px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* =====================================================
   هیرو — فقط تیتر بزرگ
   ===================================================== */
.hero {
    position: relative;
    padding: 92px 0 130px;
    overflow: hidden;
    text-align: center;
}
.hero-blobs { position: absolute; inset: 0; pointer-events: none; }
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: .5;
    animation: blobFloat 14s ease-in-out infinite alternate;
}
.blob-1 { width: 420px; height: 420px; background: rgba(124, 58, 237, .28); top: -140px; right: 6%; }
.blob-2 { width: 380px; height: 380px; background: rgba(236, 72, 153, .26); top: -80px; left: 8%; animation-delay: -4s; }
.blob-3 { width: 340px; height: 340px; background: rgba(249, 115, 22, .22); bottom: -180px; right: 30%; animation-delay: -8s; }
@keyframes blobFloat {
    from { transform: translateY(0) scale(1); }
    to   { transform: translateY(34px) scale(1.12); }
}
.hero-inner { position: relative; z-index: 1; }
.hero-title {
    font-size: clamp(2.1rem, 5.6vw, 4rem);
    font-weight: 950;
    line-height: 1.55;
    max-width: 860px;
    margin: 0 auto;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}
/* موج جداکننده زیر هیرو */
.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 90px;
    background: radial-gradient(120% 100% at 50% 100%, var(--bg) 60%, transparent 61%);
}

/* =====================================================
   اعلان‌ها و نشان‌ها
   ===================================================== */
.notice {
    background: linear-gradient(120deg, #f4f0ff, #fff0f8);
    border: 1px solid #ece4fb;
    color: #5b5472;
    border-radius: var(--r);
    padding: 14px 20px;
    font-size: .92rem;
    margin-bottom: 18px;
}
.notice.warn { background: #fff7e8; border-color: #ffe3ad; color: #92600a; }
.notice.ok { background: #e9fbf3; border-color: #b9efd9; color: #0a7f5c; }
.notice.err { background: #feeeee; border-color: #ffd1d1; color: #b3261e; }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 13px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 800;
}
.badge.amber { background: #fff3d6; color: #9a6a00; }
.badge.green { background: #dcf7ec; color: #0a7f5c; }
.badge.blue { background: #e0f2fe; color: #0b6e9e; }
.badge.red { background: #fee2e2; color: #b3261e; }
.badge.gray { background: #eef0f7; color: #6a7090; }

/* =====================================================
   کارت‌های پلن
   ===================================================== */
.grid-pkg {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 22px;
}
.pkg-card {
    --acc: var(--brand1);
    --acc2: var(--brand2);
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 26px 24px 24px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--sh);
    display: flex;
    flex-direction: column;
    transition: transform .25s, box-shadow .25s;
}
.pkg-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0; left: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--acc), var(--acc2));
}
.pkg-card::after {
    content: '';
    position: absolute;
    top: -70px; left: -70px;
    width: 190px; height: 190px;
    border-radius: 50%;
    background: var(--acc);
    opacity: .07;
    pointer-events: none;
}
.pkg-card:hover { transform: translateY(-6px); box-shadow: 0 22px 48px rgba(60, 50, 130, .16); }
.accent-1 { --acc: #7c3aed; --acc2: #ec4899; }
.accent-2 { --acc: #0ea5e9; --acc2: #10b981; }
.accent-3 { --acc: #f97316; --acc2: #f59e0b; }
.accent-4 { --acc: #d946ef; --acc2: #7c3aed; }
.accent-5 { --acc: #10b981; --acc2: #0ea5e9; }
.accent-6 { --acc: #ec4899; --acc2: #f97316; }
.pkg-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.pkg-card .icon {
    width: 56px; height: 56px;
    display: grid; place-items: center;
    font-size: 1.6rem;
    border-radius: 18px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--acc) 14%, #fff), color-mix(in srgb, var(--acc2) 14%, #fff));
    border: 1px solid color-mix(in srgb, var(--acc) 22%, #fff);
}
.pkg-reserve {
    font-size: .72rem;
    font-weight: 800;
    color: var(--acc);
    background: color-mix(in srgb, var(--acc) 10%, #fff);
    border: 1px dashed color-mix(in srgb, var(--acc) 45%, #fff);
    padding: 4px 12px;
    border-radius: 999px;
}
.pkg-card h3 { font-size: 1.16rem; font-weight: 900; margin-bottom: 6px; }
.pkg-card .desc { color: var(--muted); font-size: .86rem; min-height: 52px; }
.pkg-card .price {
    font-size: 1.5rem;
    font-weight: 950;
    margin: 14px 0 6px;
    color: var(--acc);
}
.pkg-card .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 18px;
}
.pkg-card .meta span {
    font-size: .74rem;
    font-weight: 700;
    color: #6a7090;
    background: #f4f5fb;
    border: 1px solid var(--line);
    padding: 4px 12px;
    border-radius: 999px;
}
.pkg-card .btn { margin-top: auto; }

/* =====================================================
   کارت‌ها و فرم‌ها
   ===================================================== */
.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 26px;
    box-shadow: var(--sh);
    margin-bottom: 20px;
}
.card-title { font-size: 1.06rem; font-weight: 900; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: .86rem; font-weight: 800; margin-bottom: 7px; }
.field label.req::after { content: ' *'; color: var(--brand2); }
.field input, .field textarea, .field select,
.filters select, .filters input {
    width: 100%;
    background: #fbfbfe;
    border: 2px solid var(--line);
    border-radius: 14px;
    padding: 12px 16px;
    font-family: inherit;
    font-size: .95rem;
    color: var(--text);
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus,
.filters select:focus, .filters input:focus {
    outline: none;
    border-color: var(--brand2);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(236, 72, 153, .12);
}
.field .hint { font-size: .78rem; color: var(--muted); margin-top: 6px; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.filters select, .filters input { width: auto; min-width: 150px; }
.checkbox-line { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; cursor: pointer; }
.checkbox-line input { width: 19px; height: 19px; margin-top: 6px; accent-color: var(--brand1); }

/* =====================================================
   ویزارد
   ===================================================== */
.wizard-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 26px 0 30px;
}
.wstep {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 18px;
    border-radius: 999px;
    background: #fff;
    border: 2px solid var(--line);
    color: var(--muted);
    font-size: .84rem;
    font-weight: 800;
    transition: all .25s;
}
.wstep .dot {
    width: 27px; height: 27px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: #eef0f7;
    color: var(--muted);
    font-size: .8rem;
    font-weight: 900;
    transition: all .25s;
}
.wstep.active { border-color: var(--brand2); color: var(--text); box-shadow: 0 6px 18px rgba(236, 72, 153, .18); }
.wstep.active .dot { background: var(--grad); color: #fff; }
.wstep.done { border-color: #c9f0e2; color: #0a7f5c; }
.wstep.done .dot { background: var(--mint); color: #fff; }
.wstep-sep { color: var(--line-2); font-size: .8rem; }
.wstep-pane { display: none; }
.wstep-pane.active { display: block; animation: fadeUp .35s ease; }
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
}
.wizard-nav { display: flex; gap: 12px; margin-top: 8px; }
.wizard-nav .spacer { flex: 1; }

/* کارت رزرو روز */
.card-reserve { position: relative; overflow: hidden; }
.card-reserve::before {
    content: '';
    position: absolute;
    top: 0; right: 0; left: 0;
    height: 6px;
    background: var(--grad);
}
.reserve-guide {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}
.rg-step {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    background: #fbfaff;
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 12px 14px;
    font-size: .84rem;
    color: #565c78;
}
.rg-num {
    flex: none;
    width: 28px; height: 28px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--grad);
    color: #fff;
    font-weight: 900;
    font-size: .82rem;
    box-shadow: 0 6px 14px rgba(194, 65, 141, .3);
}
.slot-hint {
    display: block;
    border-radius: 16px;
    padding: 14px 18px;
    font-size: .95rem;
    font-weight: 800;
    margin-bottom: 16px;
    transition: all .25s;
}
.slot-hint.warn { background: linear-gradient(120deg, #fff7e8, #fff1f6); border: 2px dashed #ffd591; color: #92600a; }
.slot-hint.ok { background: linear-gradient(120deg, #e9fbf3, #f0fbff); border: 2px solid #b9efd9; color: #0a7f5c; }
.hint-remain { font-weight: 700; font-size: .8rem; color: #b97a00; }

/* تب‌های اسلات */
.slot-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.slot-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid var(--line-2);
    background: #fff;
    color: var(--muted);
    font-family: inherit;
    font-size: .9rem;
    font-weight: 900;
    padding: 11px 22px;
    border-radius: 999px;
    cursor: pointer;
    transition: all .2s;
}
.slot-tab:hover { border-color: var(--brand1); color: var(--brand1); }
.slot-tab.active { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 8px 20px rgba(194, 65, 141, .35); }
.slot-tab.has-date { border-color: #b9efd9; color: #0a7f5c; background: #f2fdf8; }
.slot-tab.active.has-date { color: #fff; }
.slot-tab .tick {
    width: 20px; height: 20px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--mint);
    color: #fff;
    font-size: .72rem;
}

/* =====================================================
   تقویم شمسی
   ===================================================== */
.calendar-zone {
    background: #fbfaff;
    border: 2px solid var(--line);
    border-radius: var(--r-lg);
    padding: 18px;
}
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal-month { font-size: 1.06rem; font-weight: 950; color: var(--text); }
.cal-nav {
    width: 44px; height: 44px;
    border-radius: 14px;
    border: 2px solid var(--line-2);
    background: #fff;
    color: var(--brand1);
    font-size: 1.15rem;
    cursor: pointer;
    transition: all .2s;
}
.cal-nav:hover:not(:disabled) { background: #f3efff; border-color: var(--brand1); }
.cal-nav:disabled { opacity: .35; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.cal-wd {
    text-align: center;
    font-size: .76rem;
    font-weight: 900;
    color: var(--brand2);
    padding: 6px 0;
}
.cal-day {
    position: relative;
    min-height: 58px;
    border: 2px solid transparent;
    border-radius: 16px;
    background: #fff;
    color: var(--text);
    font-family: inherit;
    font-size: 1.02rem;
    font-weight: 800;
    cursor: pointer;
    transition: all .18s;
    box-shadow: 0 3px 10px rgba(60, 50, 130, .06);
}
.cal-day:hover:not(:disabled) { border-color: var(--brand2); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(236, 72, 153, .2); }
.cal-day.past, .cal-day.empty { background: transparent; border-style: dashed; border-color: var(--line); box-shadow: none; color: #c3c7da; cursor: default; }
.cal-day.past:hover { transform: none; }
.cal-day.today { border-color: var(--sky); }
.cal-day.today::before {
    content: 'امروز';
    position: absolute;
    top: 4px; left: 6px;
    font-size: .56rem;
    font-weight: 900;
    color: var(--sky);
}
.cal-day.full {
    background: #fef1f1;
    border-color: #ffd9d9;
    color: #e08c8c;
    cursor: not-allowed;
    overflow: hidden;
}
.cal-day.full::after {
    content: 'تکمیل';
    position: absolute;
    bottom: 5px; left: 0; right: 0;
    font-size: .6rem;
    font-weight: 900;
    color: var(--red);
}
.cal-day.sel { border-color: var(--brand1); background: #f6f1ff; }
.cal-day.sel-active {
    background: var(--grad);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 22px rgba(124, 58, 237, .4);
}
.cal-dots {
    position: absolute;
    bottom: 7px; left: 0; right: 0;
    display: flex;
    justify-content: center;
    gap: 4px;
}
.cal-dots i {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--brand1);
}
.cal-day.sel-active .cal-dots i { background: #fff; }
.cal-loading { text-align: center; color: var(--muted); font-size: .84rem; padding: 14px 0 4px; }

/* راهنمای رنگ تقویم */
.cal-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 14px;
    font-size: .78rem;
    color: var(--muted);
    font-weight: 700;
}
.cal-legend .lg {
    display: inline-block;
    width: 15px; height: 15px;
    border-radius: 5px;
    vertical-align: -3px;
    margin-inline-end: 5px;
}
.lg-sel { background: var(--grad); }
.lg-today { border: 2px solid var(--sky); }
.lg-full { background: #fef1f1; border: 2px solid #ffd9d9; }
.lg-off { background: transparent; border: 2px dashed var(--line); }

/* خلاصه روزهای انتخابی */
.dates-summary { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.date-chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #fff;
    border: 2px solid #e5d8ff;
    color: var(--text);
    font-size: .84rem;
    padding: 8px 10px 8px 8px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(124, 58, 237, .1);
}
.chip-x {
    width: 22px; height: 22px;
    display: grid; place-items: center;
    border: none;
    border-radius: 50%;
    background: #f3efff;
    color: var(--brand1);
    font-size: .9rem;
    cursor: pointer;
    transition: all .18s;
}
.chip-x:hover { background: var(--brand2); color: #fff; }

/* =====================================================
   کارت بانکی و کپی
   ===================================================== */
.bank-card {
    background: linear-gradient(150deg, #fdf6ff, #fff5fa 55%, #fff8f1);
    border: 1px solid #f3e3f7;
    border-radius: var(--r-lg);
    padding: 18px 20px;
}
.bank-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 4px;
    border-bottom: 1px dashed #ecdff2;
    flex-wrap: wrap;
}
.bank-row:last-child { border-bottom: none; }
.bank-row .lbl { color: var(--muted); font-size: .84rem; font-weight: 700; min-width: 110px; }
.bank-row .val { font-weight: 800; font-size: .96rem; }
.cardnum {
    font-size: 1.22rem !important;
    font-weight: 950 !important;
    letter-spacing: 3px;
    color: var(--brand1);
}
.card-row { background: #fff; border-radius: 14px; padding: 12px 14px; border: 1px solid #f3e3f7; }

.copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 2px solid var(--brand1);
    background: #fff;
    color: var(--brand1);
    font-family: inherit;
    font-size: .8rem;
    font-weight: 900;
    padding: 8px 16px;
    border-radius: 999px;
    cursor: pointer;
    transition: all .2s;
    margin-inline-start: auto;
}
.copy-btn:hover { background: var(--brand1); color: #fff; box-shadow: 0 8px 18px rgba(124, 58, 237, .3); }
.copy-btn-lg { font-size: .92rem; padding: 11px 22px; border-width: 2px; }
.copy-btn.copied { background: var(--mint); border-color: var(--mint); color: #fff; }

/* =====================================================
   آپلودر
   ===================================================== */
.dropzone {
    border: 2.5px dashed #d9d5f2;
    border-radius: var(--r);
    background: #fbfaff;
    padding: 34px 20px;
    text-align: center;
    cursor: pointer;
    transition: all .2s;
    position: relative;
}
.dropzone:hover, .dropzone.dragover {
    border-color: var(--brand2);
    background: #fff5fa;
    box-shadow: 0 10px 26px rgba(236, 72, 153, .14);
}
.dropzone.uploading { opacity: .55; pointer-events: none; }
.dropzone input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dz-icon { font-size: 2rem; margin-bottom: 8px; }
.dz-text { font-weight: 900; font-size: .95rem; }
.dz-sub { color: var(--muted); font-size: .8rem; margin-top: 4px; }
.up-progress {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 16px;
    margin-top: 12px;
    box-shadow: var(--sh);
}
.up-progress .p-row { display: flex; justify-content: space-between; gap: 10px; font-size: .82rem; font-weight: 700; margin-bottom: 9px; }
.up-progress .p-name { color: var(--muted); max-width: 65%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.up-progress .bar { height: 10px; background: #eef0f7; border-radius: 999px; overflow: hidden; }
.up-progress .bar > div {
    height: 100%;
    width: 0;
    background: var(--grad);
    border-radius: 999px;
    transition: width .25s;
}
.up-error {
    background: #feeeee;
    border: 1px solid #ffd1d1;
    color: #b3261e;
    border-radius: 14px;
    padding: 11px 16px;
    font-size: .84rem;
    font-weight: 700;
    margin-top: 12px;
}
.up-done {
    display: flex;
    align-items: center;
    gap: 13px;
    background: #f2fdf8;
    border: 1.5px solid #b9efd9;
    border-radius: var(--r);
    padding: 12px;
    margin-top: 12px;
}
.up-done .thumb { flex: none; width: 66px; height: 66px; border-radius: 13px; overflow: hidden; background: #e8f8f1; display: grid; place-items: center; font-size: 1.5rem; }
.up-done .thumb img, .up-done .thumb video { width: 100%; height: 100%; object-fit: cover; }
.up-done .info { flex: 1; min-width: 0; }
.up-done .n { font-weight: 800; font-size: .86rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.up-done .s { color: #0a7f5c; font-size: .76rem; font-weight: 700; }
.up-done .actions { flex: none; }

/* اسلات‌های محتوا */
.slot-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 22px;
    box-shadow: var(--sh);
    margin-bottom: 18px;
}
.slot-head { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; font-weight: 900; }
.slot-head .ic {
    width: 38px; height: 38px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, #f1e9ff, #ffe9f4);
    border-radius: 12px;
    font-size: 1.05rem;
}

/* =====================================================
   بازبینی، پیگیری، جدول‌ها
   ===================================================== */
.bank-card .bank-row .val { direction: rtl; }
.track-code-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: linear-gradient(120deg, #f6f1ff, #fff0f8);
    border: 2px dashed #e5d8ff;
    border-radius: var(--r);
    padding: 16px;
    margin: 14px 0;
}
.track-code-box .code {
    font-size: 1.7rem;
    font-weight: 950;
    letter-spacing: 5px;
    direction: ltr;
    color: var(--brand1);
}
.final-dates { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 10px 0; }
.success-panel { text-align: center; padding: 44px 26px; }
.success-panel .big-ic { font-size: 3rem; margin-bottom: 8px; }

.tbl { width: 100%; border-collapse: collapse; font-size: .88rem; }
.tbl th {
    text-align: right;
    padding: 13px 14px;
    background: #f6f4ff;
    color: #565c78;
    font-size: .8rem;
    font-weight: 900;
    border-bottom: 2px solid var(--line);
    white-space: nowrap;
}
.tbl th:first-child { border-start-start-radius: 14px; }
.tbl th:last-child { border-start-end-radius: 14px; }
.tbl td { padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tbody tr:hover { background: #fbfaff; }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); }
.actions-cell { white-space: nowrap; }
.media-preview img, .media-preview video { max-width: 220px; border-radius: 12px; border: 1px solid var(--line); }

.timeline { position: relative; padding-inline-start: 30px; }
.timeline .t-item { position: relative; padding-bottom: 22px; }
.timeline .t-item::before {
    content: '';
    position: absolute;
    inset-inline-start: -21px;
    top: 24px; bottom: -2px;
    width: 2px;
    background: var(--line-2);
}
.timeline .t-item:last-child::before { display: none; }
.t-dot {
    position: absolute;
    inset-inline-start: -30px;
    top: 3px;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid var(--line-2);
}
.t-item.on .t-dot { border-color: var(--mint); background: #e9fbf3; }
.t-title { font-weight: 800; font-size: .9rem; }
.t-time { color: var(--muted); font-size: .76rem; }

/* ظرفیت روزها (ادمین) */
.cap-strip { display: flex; gap: 6px; flex-wrap: wrap; }
.cap-cell {
    min-width: 64px;
    text-align: center;
    background: #f4f5fb;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    padding: 7px 9px;
    font-size: .78rem;
    font-weight: 800;
}
.cap-cell .d { color: var(--muted); font-size: .7rem; }
.cap-cell .n { font-weight: 950; color: var(--text); }
.cap-cell.is-today { border-color: var(--sky); }
.cap-cell.is-full { background: #feecec; border-color: #ffc9c9; }
.cap-cell.is-full .n { color: var(--red); }
.cap-cell.is-unlimited .n { color: var(--sky); }
.cap-input {
    width: 96px;
    text-align: center;
    font-weight: 900;
    font-size: 1rem;
    border: 2px solid var(--line-2);
    border-radius: 12px;
    padding: 8px;
    font-family: inherit;
    color: var(--text);
    background: #fbfbfe;
}
.cap-input:focus { outline: none; border-color: var(--brand1); box-shadow: 0 0 0 4px rgba(124, 58, 237, .12); }

/*kv (جزئیات سفارش ادمین)*/
.kv { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .88rem; flex-wrap: wrap; }
.kv .k { color: var(--muted); font-weight: 700; min-width: 150px; }
.kv .v { font-weight: 800; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-bottom: 20px; }
.stat-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 18px;
    box-shadow: var(--sh);
    display: flex;
    align-items: center;
    gap: 13px;
}
.stat-card .ic { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; font-size: 1.25rem; background: var(--grad-soft); }
.stat-card .n { font-size: 1.35rem; font-weight: 950; line-height: 1.4; }
.stat-card .l { color: var(--muted); font-size: .78rem; font-weight: 700; }

/* =====================================================
   توست، فوتر، لاگین
   ===================================================== */
#toast-zone {
    position: fixed;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    width: max-content;
    max-width: 92vw;
}
.toast {
    background: #23263b;
    color: #fff;
    padding: 13px 24px;
    border-radius: 999px;
    font-size: .88rem;
    font-weight: 800;
    box-shadow: 0 14px 34px rgba(20, 20, 45, .35);
    animation: toastIn .3s ease;
    max-width: 92vw;
    text-align: center;
}
.toast.ok { background: linear-gradient(120deg, #0a7f5c, #10b981); }
.toast.err { background: linear-gradient(120deg, #b3261e, #ef4444); }
@keyframes toastIn {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
}

.site-footer {
    border-top: 1px solid var(--line);
    background: #fff;
    padding: 26px 0;
    margin-top: 30px;
    font-size: .88rem;
}
.site-footer .inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); }
.site-footer b { color: var(--text); }

.auth-wrap { max-width: 440px; margin: 60px auto; padding: 0 20px; }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--sh); }

/* =====================================================
   ریسپانسیو
   ===================================================== */
@media (max-width: 720px) {
    .hero { padding: 64px 0 108px; }
    .navbar .inner { padding: 9px 16px; }
    .navbar nav a { padding: 8px 12px; font-size: .8rem; }
    .wstep { font-size: .74rem; padding: 8px 13px; }
    .wstep-sep { display: none; }
    .cal-day { min-height: 48px; border-radius: 12px; font-size: .92rem; }
    .cal-grid { gap: 5px; }
    .bank-row .lbl { min-width: 88px; }
    .cardnum { font-size: 1.02rem !important; letter-spacing: 1.5px; }
    .card { padding: 20px 16px; }
    .grid-2 { grid-template-columns: 1fr; }
    .wizard-nav { flex-direction: column-reverse; }
    .wizard-nav .btn { width: 100%; }
    .calendar-zone { padding: 12px; }
    .cal-nav { width: 38px; height: 38px; }
}



