/* ============================================================
   ReservationModule CSS — هم‌شکل با بقیه‌ی ماژول‌ها. پیشوند res-.
   بخش‌بندی طبق README: زیرساخت مشترک، شل ادمین، ویرایشگر فیلد داینامیک،
   دیالوگ تایید رزرو، تقویم انتخاب زمان، مرور عمومی دارایی‌ها، داشبورد من.
   ============================================================ */

.reservation-module {
  --res-c-bg: #f5f5f3;
  --res-c-surface: #ffffff;
  --res-c-border: rgba(0,0,0,0.08);
  --res-c-border-strong: rgba(0,0,0,0.14);
  --res-c-text: #1a1a18;
  --res-c-text-2: #5a5a56;
  --res-c-text-3: #9a9994;
  --res-c-accent: #2563eb;
  --res-c-accent-bg: #eff6ff;
  --res-c-accent-text: #1d4ed8;
  --res-c-accent-border: #bfdbfe;
  --res-c-success: #16a34a;
  --res-c-success-bg: #f0fdf4;
  --res-c-success-text: #15803d;
  --res-c-success-border: #bbf7d0;
  --res-c-warning: #d97706;
  --res-c-warning-bg: #fffbeb;
  --res-c-warning-text: #b45309;
  --res-c-warning-border: #fde68a;
  --res-c-danger: #dc2626;
  --res-c-danger-bg: #fef2f2;
  --res-c-danger-text: #b91c1c;
  --res-c-danger-border: #fecaca;
  --res-radius-sm: 6px;
  --res-radius: 10px;
  --res-radius-lg: 14px;
  --res-transition: 0.15s ease;

  font-family: 'Vazirmatn', system-ui, sans-serif;
  color: var(--res-c-text);
  font-size: 13px;
  line-height: 1.5;
  position: relative;
}

[data-theme="dark"] .reservation-module {
  --res-c-bg: #15161a;
  --res-c-surface: #1c1d22;
  --res-c-border: rgba(255,255,255,0.08);
  --res-c-border-strong: rgba(255,255,255,0.14);
  --res-c-text: #f1f1ef;
  --res-c-text-2: #b3b3ad;
  --res-c-text-3: #76766f;
  --res-c-accent-bg: rgba(37,99,235,0.14);
  --res-c-success-bg: rgba(22,163,74,0.14);
  --res-c-warning-bg: rgba(217,119,6,0.14);
  --res-c-danger-bg: rgba(220,38,38,0.14);
}

.reservation-module * { box-sizing: border-box; }

/* ══════════════ ۱. زیرساخت مشترک (مودال، تست، جدول، فرم، دکمه) ══════════════ */

.res-page-hdr { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.res-page-title { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.res-page-desc { font-size: 13px; color: var(--res-c-text-3); margin-top: 3px; }

.res-btn { display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; height: 34px; border-radius: var(--res-radius-sm); border: 1px solid var(--res-c-border-strong); background: var(--res-c-surface); color: var(--res-c-text); font-size: 12px; font-weight: 500; cursor: pointer; font-family: inherit; transition: background var(--res-transition), border-color var(--res-transition); white-space: nowrap; }
.res-btn:hover { background: var(--res-c-bg); }
.res-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.res-btn i { font-size: 14px; }
.res-btn-primary { background: var(--res-c-accent); border-color: var(--res-c-accent); color: #fff; }
.res-btn-primary:hover { background: #1d4ed8; border-color: #1d4ed8; }
.res-btn-danger { background: var(--res-c-danger); border-color: var(--res-c-danger); color: #fff; }
.res-btn-danger:hover { background: #b91c1c; }
.res-btn-sm { height: 28px; padding: 0 10px; font-size: 11px; }
.res-btn-block { width: 100%; justify-content: center; }

.res-card { background: var(--res-c-surface); border: 1px solid var(--res-c-border); border-radius: var(--res-radius-lg); overflow: hidden; }
.res-stat-card { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; background: var(--res-c-surface); border: 1px solid var(--res-c-border); border-radius: var(--res-radius); }
.res-stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 16px; }
.res-stat-card span { font-size: 11px; color: var(--res-c-text-3); }
.res-stat-card strong { font-size: 17px; font-weight: 700; }

.res-toolbar { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--res-c-border); flex-wrap: wrap; }
.res-search-input-lg { flex: 1; min-width: 200px; height: 38px; border: 1px solid var(--res-c-border-strong); border-radius: var(--res-radius-sm); padding: 0 12px; font-size: 13px; background: var(--res-c-surface); color: var(--res-c-text); font-family: inherit; }
.res-view-toggle { display: flex; border: 1px solid var(--res-c-border-strong); border-radius: var(--res-radius-sm); overflow: hidden; }
.res-view-toggle button { border: none; background: var(--res-c-surface); padding: 6px 10px; cursor: pointer; color: var(--res-c-text-2); }
.res-view-toggle button.active { background: var(--res-c-accent); color: #fff; }

.res-table-wrap { overflow-x: auto; }
table.res-tbl { width: 100%; border-collapse: collapse; font-size: 12px; }
table.res-tbl th { text-align: right; padding: 10px 14px; color: var(--res-c-text-3); font-weight: 600; font-size: 11px; border-bottom: 1px solid var(--res-c-border); background: var(--res-c-bg); }
table.res-tbl td { padding: 11px 14px; border-bottom: 1px solid var(--res-c-border); vertical-align: middle; }
table.res-tbl tr:hover td { background: var(--res-c-bg); }
.res-tbl-sub { font-size: 10.5px; color: var(--res-c-text-3); margin-top: 2px; }
.res-mono { font-family: 'Courier New', monospace; }
td.res-row-actions { white-space: nowrap; }
.res-row-act-btn { width: 27px; height: 27px; border: 1px solid var(--res-c-border); background: var(--res-c-surface); border-radius: var(--res-radius-sm); display: inline-flex; align-items: center; justify-content: center; color: var(--res-c-text-2); cursor: pointer; margin-inline-start: 4px; }
.res-row-act-btn:hover { background: var(--res-c-accent-bg); border-color: var(--res-c-accent-border); color: var(--res-c-accent); }

.res-badge { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 20px; font-size: 11px; font-weight: 600; background: var(--res-c-accent-bg); color: var(--res-c-accent-text); border: 1px solid var(--res-c-accent-border); }
.res-b-success { background: var(--res-c-success-bg); color: var(--res-c-success-text); border-color: var(--res-c-success-border); }
.res-b-danger { background: var(--res-c-danger-bg); color: var(--res-c-danger-text); border-color: var(--res-c-danger-border); }
.res-b-accent { background: var(--res-c-accent-bg); color: var(--res-c-accent-text); border-color: var(--res-c-accent-border); }
.res-tier-check { width: 15px; height: 15px; }

.res-field { display: flex; flex-direction: column; gap: 5px; }
.res-field label { font-size: 11px; font-weight: 600; color: var(--res-c-text-2); }
.res-field input, .res-field select, .res-field textarea { border: 1px solid var(--res-c-border-strong); border-radius: var(--res-radius-sm); padding: 8px 11px; font-size: 13px; background: var(--res-c-surface); color: var(--res-c-text); font-family: inherit; outline: none; }
.res-field input:focus, .res-field select:focus, .res-field textarea:focus { border-color: var(--res-c-accent); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.res-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.res-form-actions { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--res-c-border); }

.res-modal-backdrop { display: none; position: fixed; inset: 0; background: rgba(15,15,14,0.5); z-index: 10000; align-items: center; justify-content: center; padding: 20px; }
.res-modal-backdrop.open { display: flex; }
.res-modal-box { width: 100%; max-width: 600px; background: var(--res-c-surface); border-radius: var(--res-radius-lg); border: 1px solid var(--res-c-border); box-shadow: 0 24px 64px rgba(0,0,0,0.32); max-height: 88vh; display: flex; flex-direction: column; overflow: hidden; }
.res-modal-box.res-modal-sm { max-width: 380px; }
.res-modal-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--res-c-border); }
.res-modal-title { font-size: 14px; font-weight: 600; }
.res-modal-close { width: 30px; height: 30px; border: none; background: var(--res-c-bg); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--res-c-text-2); cursor: pointer; }
.res-modal-body { padding: 20px; overflow-y: auto; }
.res-modal-actions { display: flex; gap: 8px; margin-top: 20px; }
.res-modal-actions .res-btn { flex: 1; justify-content: center; }
.res-confirm-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--res-c-danger-bg); color: var(--res-c-danger); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-size: 26px; }
.res-confirm-text { text-align: center; font-size: 13px; color: var(--res-c-text-2); line-height: 1.7; }

.res-toast-wrap { position: fixed; bottom: 24px; left: 24px; z-index: 1000; display: flex; flex-direction: column; gap: 8px; }
.res-toast { display: flex; align-items: center; gap: 10px; background: var(--res-c-text); color: #fff; padding: 12px 16px; border-radius: var(--res-radius); font-size: 13px; font-weight: 500; cursor: pointer; }

.res-empty { text-align: center; padding: 40px 20px; color: var(--res-c-text-3); }
.res-spinner { width: 14px; height: 14px; border: 2px solid var(--res-c-border-strong); border-top-color: var(--res-c-text-2); border-radius: 50%; display: inline-block; animation: resSpin 0.7s linear infinite; }
@keyframes resSpin { to { transform: rotate(360deg); } }
.res-skeleton-rows { padding: 6px 14px; }
.res-skeleton-row { height: 13px; margin: 10px 0; border-radius: 4px; background: linear-gradient(90deg, var(--res-c-bg) 25%, var(--res-c-border) 37%, var(--res-c-bg) 63%); background-size: 400% 100%; animation: resShimmer 1.4s ease infinite; }
.res-shimmer { animation: resShimmer 1.4s ease infinite; background: linear-gradient(90deg, var(--res-c-bg) 25%, var(--res-c-border) 37%, var(--res-c-bg) 63%); background-size: 400% 100%; }
@keyframes resShimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

.res-info-box { padding: 12px 14px; background: var(--res-c-accent-bg); border: 1px solid var(--res-c-accent-border); border-radius: var(--res-radius); font-size: 12px; color: var(--res-c-accent-text); }
.res-warning-box { padding: 12px 14px; background: var(--res-c-warning-bg); border: 1px solid var(--res-c-warning-border); border-radius: var(--res-radius); font-size: 12px; color: var(--res-c-warning-text); display: flex; gap: 8px; align-items: flex-start; }

/* ══════════════ ۲. تب‌ها (شل ادمین) ══════════════ */

.res-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--res-c-border); margin-bottom: 20px; overflow-x: auto; }
.res-tabs-scroll { overflow-x: auto; }
.res-tab-btn { padding: 10px 16px; font-size: 13px; font-weight: 500; color: var(--res-c-text-3); cursor: pointer; border: none; background: none; border-bottom: 2px solid transparent; white-space: nowrap; font-family: inherit; }
.res-tab-btn:hover { color: var(--res-c-text); }
.res-tab-btn.active { color: var(--res-c-accent); border-bottom-color: var(--res-c-accent); }
.res-tab-pill { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 20px; border: 1px solid var(--res-c-border-strong); background: var(--res-c-surface); font-size: 12px; cursor: pointer; }
.res-tab-pill.active { background: var(--res-c-accent); border-color: var(--res-c-accent); color: #fff; }

/* ══════════════ ۳. ویرایشگر فیلد داینامیک ══════════════ */

.res-schedule-editor { display: flex; flex-direction: column; gap: 10px; }
.res-schedule-day { border: 1px solid var(--res-c-border); border-radius: var(--res-radius); padding: 10px 12px; }
.res-schedule-day-label { font-weight: 600; font-size: 12px; margin-bottom: 8px; }
.res-schedule-slot { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 20px; border: 1px solid var(--res-c-border-strong); background: var(--res-c-surface); font-size: 11px; cursor: pointer; margin: 3px; }
.res-schedule-slot.active { background: var(--res-c-accent); border-color: var(--res-c-accent); color: #fff; }
.res-upload-area { border: 2px dashed var(--res-c-border-strong); border-radius: var(--res-radius); padding: 24px; text-align: center; color: var(--res-c-text-3); cursor: pointer; }
.res-upload-area:hover { border-color: var(--res-c-accent); background: var(--res-c-accent-bg); }

/* ══════════════ ۴. دیالوگ تایید رزرو ══════════════ */

.res-summary-box { background: var(--res-c-bg); border-radius: var(--res-radius); padding: 14px; }
.res-summary-item { display: flex; justify-content: space-between; font-size: 12px; padding: 4px 0; color: var(--res-c-text-2); }
.res-summary-total { display: flex; justify-content: space-between; border-top: 1px solid var(--res-c-border); margin-top: 8px; padding-top: 10px; font-weight: 700; font-size: 14px; }
.res-price-box { text-align: center; padding: 16px; }
.res-price-item { display: flex; justify-content: space-between; font-size: 12px; padding: 4px 0; }
.res-discount-badge { background: var(--res-c-success-bg); color: var(--res-c-success-text); border-radius: 20px; padding: 2px 8px; font-size: 10px; }
.res-payment-methods { display: flex; flex-direction: column; gap: 8px; }
.res-payment-option { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--res-c-border-strong); border-radius: var(--res-radius); cursor: pointer; }
.res-payment-option.active { border-color: var(--res-c-accent); background: var(--res-c-accent-bg); }
.res-notes-card { background: var(--res-c-bg); border-radius: var(--res-radius); padding: 12px; font-size: 12px; color: var(--res-c-text-2); }

/* ══════════════ ۵. تقویم انتخاب زمان ══════════════ */

.res-cal-wrap { display: flex; flex-direction: column; gap: 10px; }
.res-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.res-cal-col { display: flex; flex-direction: column; gap: 4px; }
.res-cal-weekday { text-align: center; font-size: 10px; color: var(--res-c-text-3); font-weight: 600; }
.res-cal-date { text-align: center; font-size: 11px; padding: 6px 2px; border-radius: 6px; cursor: pointer; border: 1px solid var(--res-c-border); }
.res-cal-date.active { background: var(--res-c-accent); color: #fff; border-color: var(--res-c-accent); }
.res-cal-empty { opacity: 0.3; }
.res-cal-slot { display: block; width: 100%; text-align: center; padding: 6px 4px; border-radius: 6px; border: 1px solid var(--res-c-border-strong); background: var(--res-c-surface); font-size: 10.5px; cursor: pointer; margin-bottom: 4px; }
.res-cal-slot.active { background: var(--res-c-accent); border-color: var(--res-c-accent); color: #fff; }
.res-cal-summary { background: var(--res-c-bg); border-radius: var(--res-radius); padding: 12px; font-size: 12px; }
.res-slot-tbl { width: 100%; border-collapse: collapse; font-size: 11px; }
.res-slot-tbl td { padding: 6px; border-bottom: 1px solid var(--res-c-border); }
.res-schedule-month-day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 6px; border: 1px solid var(--res-c-border); font-size: 11px; cursor: pointer; }
.res-schedule-month-day.active { background: var(--res-c-accent); color: #fff; }

/* ══════════════ ۶. مرور عمومی دارایی‌ها (Marketplace) ══════════════ */

.res-search-card { background: var(--res-c-surface); border: 1px solid var(--res-c-border); border-radius: var(--res-radius-lg); padding: 16px; margin-bottom: 16px; }
.res-market-stats-bar { display: flex; gap: 16px; font-size: 11px; color: var(--res-c-text-3); margin-bottom: 12px; flex-wrap: wrap; }
.res-cat-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 16px; }
.res-cat-chip { display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border-radius: 20px; border: 1px solid var(--res-c-border-strong); background: var(--res-c-surface); font-size: 11.5px; white-space: nowrap; cursor: pointer; }
.res-cat-chip.active { background: var(--res-c-accent); border-color: var(--res-c-accent); color: #fff; }
.res-cat-all-btn { flex-shrink: 0; }
.res-cat-count { opacity: 0.7; font-size: 10px; margin-inline-start: 3px; }
.res-category-card { text-align: center; padding: 14px; border-radius: var(--res-radius-lg); background: var(--res-c-accent-bg); cursor: pointer; }
.res-category-icon { font-size: 26px; color: var(--res-c-accent); margin-bottom: 8px; }
.res-breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--res-c-text-3); margin-bottom: 12px; }
.res-breadcrumb-item { cursor: pointer; }
.res-breadcrumb-item:hover { color: var(--res-c-accent); }

.res-market-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.res-market-list { display: flex; flex-direction: column; gap: 10px; }
.res-market-card { background: var(--res-c-surface); border: 1px solid var(--res-c-border); border-radius: var(--res-radius-lg); overflow: hidden; cursor: pointer; transition: transform var(--res-transition), box-shadow var(--res-transition); position: relative; }
.res-market-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.1); }
.res-market-list-item { display: flex; gap: 12px; background: var(--res-c-surface); border: 1px solid var(--res-c-border); border-radius: var(--res-radius); padding: 10px; cursor: pointer; }
.res-market-list-img { width: 90px; height: 70px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.res-market-img { width: 100%; height: 150px; object-fit: cover; }
.res-market-hero { width: 100%; height: 260px; object-fit: cover; }
.res-market-body { padding: 12px; }
.res-market-title { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.res-market-desc { font-size: 11.5px; color: var(--res-c-text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.res-market-meta { display: flex; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.res-market-meta-item { display: flex; align-items: center; gap: 4px; font-size: 10.5px; color: var(--res-c-text-3); }
.res-market-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 8px; border-top: 1px solid var(--res-c-border); margin-top: 8px; }
.res-market-badge { position: absolute; top: 8px; right: 8px; background: var(--res-c-accent); color: #fff; font-size: 10px; padding: 3px 8px; border-radius: 20px; z-index: 1; }
.res-fav-btn { position: absolute; top: 8px; left: 8px; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,0.9); border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 1; }
.res-owner-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.res-owner-name { font-size: 11.5px; font-weight: 600; }
.res-image-main-badge { position: absolute; top: 6px; right: 6px; background: var(--res-c-accent); color: #fff; font-size: 9px; padding: 2px 6px; border-radius: 10px; }
.res-img-count-badge { position: absolute; bottom: 8px; left: 8px; background: rgba(0,0,0,0.6); color: #fff; font-size: 10px; padding: 3px 8px; border-radius: 20px; }
.res-image-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 8px; }
.res-image-item { position: relative; border-radius: var(--res-radius-sm); overflow: hidden; aspect-ratio: 1; }
.res-image-item img { width: 100%; height: 100%; object-fit: cover; }
.res-image-overlay-title { position: absolute; inset: auto 0 0 0; background: linear-gradient(transparent, rgba(0,0,0,0.6)); color: #fff; font-size: 10px; padding: 12px 6px 4px; }
.res-image-del-btn { position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%; background: rgba(220,38,38,0.85); border: none; color: #fff; cursor: pointer; }
.res-image-main-btn { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,0.85); border: none; cursor: pointer; }

.res-detail-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--res-c-border); font-size: 12px; }
.res-detail-label { color: var(--res-c-text-3); }
.res-menu-btn { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--res-c-border-strong); background: var(--res-c-surface); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.res-notify-badge { position: absolute; top: -4px; left: -4px; background: var(--res-c-danger); color: #fff; font-size: 9px; width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.res-fab { position: fixed; bottom: 24px; left: 24px; width: 52px; height: 52px; border-radius: 50%; background: var(--res-c-accent); color: #fff; border: none; box-shadow: 0 8px 24px rgba(37,99,235,0.35); display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 90; font-size: 20px; }

/* ── Stepper (wizard ثبت دارایی) ── */
.res-stepper { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.res-step { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; position: relative; }
.res-step-circle { width: 34px; height: 34px; border-radius: 50%; background: var(--res-c-bg); border: 2px solid var(--res-c-border-strong); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--res-c-text-3); }
.res-step.active .res-step-circle, .res-step.done .res-step-circle { background: var(--res-c-accent); border-color: var(--res-c-accent); color: #fff; }
.res-step-label { font-size: 10.5px; color: var(--res-c-text-3); text-align: center; }
.res-step.active .res-step-label { color: var(--res-c-accent-text); font-weight: 600; }

/* ══════════════ ۷. داشبورد «آگهی‌های من» / «رزروهای من» ══════════════ */

.res-my-hero { background: linear-gradient(135deg, #2563eb, #1e3a8a); border-radius: var(--res-radius-lg); padding: 20px; color: #fff; margin-bottom: 16px; }
.res-my-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.res-my-stat { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.res-my-stat-icon { font-size: 20px; opacity: 0.85; }
.res-my-stat-value { font-size: 16px; font-weight: 700; }
.res-my-stat-label { font-size: 10px; opacity: 0.85; }

.res-rsv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.res-rsv-row { display: flex; flex-direction: column; gap: 10px; }
.res-rsv-card { background: var(--res-c-surface); border: 1px solid var(--res-c-border); border-radius: var(--res-radius-lg); overflow: hidden; }
.res-rsv-image { width: 100%; height: 130px; object-fit: cover; }
.res-rsv-card-header { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-bottom: 1px solid var(--res-c-border); }
.res-rsv-card-body { padding: 12px; }
.res-rsv-details { display: flex; flex-direction: column; gap: 6px; font-size: 11.5px; color: var(--res-c-text-2); }
.res-rsv-price-box { text-align: left; font-weight: 700; font-size: 14px; color: var(--res-c-accent-text); }
.res-rsv-status { display: flex; align-items: center; gap: 6px; }
.res-rsv-status-badge { padding: 3px 9px; border-radius: 20px; font-size: 10px; font-weight: 600; }
.res-rsv-countdown { font-size: 10.5px; color: var(--res-c-warning-text); background: var(--res-c-warning-bg); border-radius: 6px; padding: 4px 8px; display: inline-block; }

.res-timeline-section { margin-bottom: 16px; }
.res-timeline-item { display: flex; gap: 12px; padding: 10px 0; border-inline-start: 2px solid var(--res-c-border); padding-inline-start: 14px; position: relative; }
.res-timeline-item::before { content: ''; position: absolute; right: -6px; top: 14px; width: 10px; height: 10px; border-radius: 50%; background: var(--res-c-accent); }

/* ── Bottom sheet (موبایل) ── */
.res-sheet { position: fixed; inset: auto 0 0 0; background: var(--res-c-surface); border-radius: 18px 18px 0 0; box-shadow: 0 -12px 40px rgba(0,0,0,0.2); z-index: 160; max-height: 85vh; overflow-y: auto; }
.res-sheet-drag { width: 40px; height: 4px; background: var(--res-c-border-strong); border-radius: 4px; margin: 10px auto; }
.res-sheet-header { padding: 0 20px 12px; font-weight: 600; }

@media (max-width: 720px) {
  .res-stats-row, .res-my-stats-grid { grid-template-columns: 1fr 1fr; }
  .res-form-row { grid-template-columns: 1fr; }
  .res-modal-backdrop { padding: 0; align-items: flex-end; }
  .res-modal-box { max-width: 100%; max-height: 92vh; border-radius: 18px 18px 0 0; }
  .res-market-grid { grid-template-columns: repeat(2, 1fr); }
  td.res-row-actions { display: flex !important; gap: 6px; }
  .res-toast-wrap { bottom: 12px; left: 12px; right: 12px; }
  .res-toast { width: 100%; }
}

/* ── مدرن‌سازی صفحه‌ی رزروهای من (۲۶ اوت ۲۰۲۶) ── */
.res-timeline-icon { font-size: 20px; color: var(--res-c-accent); display: flex; align-items: center; }
.res-my-hero h1 { display: flex; align-items: center; gap: 8px; }

.res-persian-date-input { width: 100%; height: 36px; border: 1px solid var(--res-c-border-strong); border-radius: 8px; padding: 0 11px; font-size: 13px; font-family: inherit; }
