@font-face {
  font-family: 'IRANYekanXVF';
  src: url('/fonts/IRANYekanXVF.woff2') format('woff2');
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

:root{--primary:#0f766e;--primary-dark:#115e59;--bg:#f1f5f9;--card:#fff;--text:#0f172a;--muted:#64748b;--border:#dbe4ee;--danger:#b91c1c;--shadow:0 14px 38px rgb(15 23 42 / 8%)}
*{box-sizing:border-box}body{margin:0;overflow-x:hidden;background:var(--bg);color:var(--text);font-family:'IRANYekanXVF',Tahoma,Arial,sans-serif;font-size: 17px;line-height:1.7}button,input,textarea{font:inherit}.shell{width:100%;max-width:none;margin:0;padding:28px 0}.login-view{min-height:calc(100vh - 56px);display:grid;place-items:center}.login-card{width:min(440px,100%);padding:34px;background:var(--card);border:1px solid var(--border);border-radius:22px;box-shadow:var(--shadow)}.brand{display:inline-flex;align-items:center;gap:10px;color:var(--text);text-decoration:none}.brand>span{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;color:#fff;background:var(--primary);font-size: 25px;font-weight:900}.eyebrow{margin:0 0 4px;color:var(--primary);font-size: 14px;font-weight:900;letter-spacing:.05em}.muted{color:var(--muted)}h1,h2,p{margin-top:0}.stack,.form-grid{display:grid;gap:16px}.stack label,.form-grid label,.upload-form label{display:grid;gap:6px;font-size: 14px;font-weight:800}input,textarea{width:100%;padding:11px 13px;border:1px solid #cbd5e1;border-radius:11px;background:#fff;color:var(--text);outline:none}input:focus,textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgb(15 118 110 / 12%)}button,.secondary{border:0;border-radius:10px;padding:10px 15px;cursor:pointer;text-decoration:none;text-align:center}.primary{color:#fff;background:var(--primary);font-weight:900}.primary:hover{background:var(--primary-dark)}.secondary{border:1px solid var(--border);color:var(--text);background:#fff;font-weight:800}.small{padding:7px 12px;font-size: 14px}.danger-ghost{color:var(--danger);background:#fff;border:1px solid #fecaca;font-weight:800}.error,.message{padding:12px 14px;border-radius:10px;color:#991b1b;background:#fef2f2;border:1px solid #fecaca}.message.success{color:#166534;background:#f0fdf4;border-color:#bbf7d0}.topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.topbar-actions{display:flex;gap:10px;flex-wrap:wrap}.tabs{display:flex;gap:8px;margin-bottom:18px}.tab{color:var(--muted);background:transparent;font-weight:900}.tab.active{color:#fff;background:var(--primary)}.panel{display:none}.panel.active{display:grid}.panel#accommodations-panel{grid-template-columns:280px 1fr;gap:18px}.sidebar,.card{background:var(--card);border:1px solid var(--border);border-radius:18px;box-shadow:var(--shadow)}.sidebar{padding:16px;align-self:start;position:sticky;top:16px}.sidebar-head,.card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.accommodations-list{display:grid;gap:9px;margin-top:14px}.accommodation-item{width:100%;padding:12px;border:1px solid var(--border);background:#fff;text-align:right}.accommodation-item.active{border-color:var(--primary);background:#f0fdfa}.accommodation-item strong,.accommodation-item small{display:block}.accommodation-item small{color:var(--muted)}.workspace{display:grid;gap:18px;min-width:0}.card{padding:22px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:18px}.wide{grid-column:1/-1}.check{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center}.check input{width:auto}.actions{display:flex;justify-content:flex-end}.status{padding:5px 10px;border-radius:999px;font-size: 14px;font-weight:900}.status.active{color:#166534;background:#dcfce7}.status.inactive{color:#92400e;background:#fef3c7}.slot-editor,.user-editor{margin:16px 0;padding:16px;border:1px solid #99f6e4;border-radius:14px;background:#f0fdfa}.editor-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.editor-grid .actions{grid-column:1/-1;gap:8px}.slots-list,.users-list{display:grid;gap:12px;margin-top:16px}.slot-row,.user-row{display:grid;grid-template-columns:1.4fr repeat(4,1fr) auto;gap:10px;align-items:center;padding:13px;border:1px solid var(--border);border-radius:13px}.slot-row.inactive,.user-row.inactive{opacity:.65}.slot-row small,.user-row small{display:block;color:var(--muted)}.upload-form{display:grid;grid-template-columns:2fr 2fr 1fr auto;gap:12px;align-items:end;margin-top:16px}.images-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px;margin-top:18px}.image-card{overflow:hidden;border:1px solid var(--border);border-radius:14px;background:#fff}.image-card img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}.image-card form{display:grid;gap:9px;padding:12px}.image-actions{display:flex;gap:8px}.danger{color:#fff;background:var(--danger);font-weight:800}.permissions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.permission{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center}.permission input{width:auto}.empty{padding:24px;text-align:center;color:var(--muted);border:1px dashed var(--border);border-radius:12px}
@media(max-width:980px){.panel#accommodations-panel{grid-template-columns:1fr}.sidebar{position:static}.form-grid{grid-template-columns:1fr}.editor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.slot-row,.user-row{grid-template-columns:1fr 1fr}.upload-form{grid-template-columns:1fr 1fr}.topbar{align-items:flex-start}}
@media(max-width:620px){.shell{padding:14px 0}.topbar{display:block}.topbar-actions{margin-top:12px}.card{padding:16px}.editor-grid,.upload-form,.slot-row,.user-row,.permissions{grid-template-columns:1fr}.wide{grid-column:auto}.actions{justify-content:stretch}.actions button{width:100%}.images-list{grid-template-columns:1fr}}

[hidden]{display:none!important}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:22px 0}.auth-tab{border:1px solid var(--border);background:#fff;color:var(--muted);font-weight:900}.auth-tab.active{color:#fff;background:var(--primary);border-color:var(--primary)}.registration-grid{grid-template-columns:1fr 1fr}.registration-wide{grid-column:1/-1}.registration-actions{display:flex;gap:10px}.registration-actions>*{flex:1}.login-card:has(#host-register-panel:not([hidden])){width:min(650px,100%)}
@media(max-width:620px){.registration-grid{grid-template-columns:1fr}.registration-wide{grid-column:auto}.registration-actions{display:grid}}
.link-button{padding:4px;background:transparent;color:var(--primary);font-weight:900;text-decoration:underline;text-underline-offset:4px}.link-button:hover{color:var(--primary-dark)}
.upload-requirements{display:flex;flex-wrap:wrap;gap:8px 14px;margin-top:14px;padding:12px 14px;border:1px solid #99f6e4;border-radius:12px;background:#f0fdfa;font-size: 14px}.upload-requirements strong{width:100%}.upload-requirements span:before{content:'✓ ';color:var(--primary);font-weight:900}.validation-success{margin:10px 0 0;color:#166534;font-weight:800}.validation-error{margin:10px 0 0;color:#991b1b;font-weight:800}
#password-reset-login-link{display:block;margin-top:14px}

/* Eqamati 2.0 marketplace host tools */
.listing-wizard {
  position: sticky;
  top: 10px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  padding: 10px;
  border: 1px solid #d8e5e3;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
}
.listing-wizard a {
  padding: 8px 11px;
  border-radius: 999px;
  color: #0f5f59;
  background: #ecfdf5;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}
.form-section-title {
  scroll-margin-top: 92px;
  margin: 18px 0 2px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
  color: #134e4a;
  font-size: 18px;
}
.amenities-editor {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 16px;
  border: 1px solid #d9e2e7;
  border-radius: 14px;
}
.amenities-editor legend { padding: 0 8px; font-weight: 800; }
.amenities-editor label { display: flex; flex-direction: row; align-items: center; gap: 10px; min-width: 0; padding: 6px 8px; cursor: pointer; }
.compact-form { margin-bottom: 18px; }
.calendar-overrides-list, .host-reviews-list { display: grid; gap: 10px; }
.calendar-override-row, .host-review-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
}
.calendar-override-row div { display: grid; gap: 5px; }
.calendar-override-row small { color: #667085; }
.host-review-card { align-items: stretch; flex-direction: column; }
.host-review-header { display: flex; justify-content: space-between; gap: 12px; }
.host-review-card p { margin: 0; color: #475467; line-height: 1.9; }
.host-review-response { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 10px; }
.host-review-response textarea { min-height: 72px; }
@media (max-width: 720px) {
  .listing-wizard { position: static; overflow-x: auto; flex-wrap: nowrap; }
  .listing-wizard a { flex: 0 0 auto; }
  .amenities-editor { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calendar-override-row { align-items: stretch; flex-direction: column; }
  .host-review-response { grid-template-columns: 1fr; }
}

/* Eqamati v2.0.11 host accommodation/time-slot refinements */
.amenities-editor {
  direction: rtl;
  text-align: right;
  justify-items: stretch;
}

.amenities-editor label {
  direction: rtl;
  text-align: right;
  justify-content: flex-start;
}

.amenities-editor input[type="checkbox"] {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--primary);
}

.accessibility-field small,
.field-help,
.consecutive-price-card small {
  display: block;
  margin-top: 8px;
  color: #475569;
  line-height: 1.8;
}

.accommodation-form-actions,
.upload-form,
.automatic-slots-form .actions,
.editor-grid .actions {
  flex-wrap: wrap;
}

.inline-action-message {
  flex-basis: 100%;
  margin: 8px 0 0;
  padding: 10px 14px;
  border-radius: 14px;
  background: #fef2f2;
  color: #991b1b;
  font-weight: 800;
  line-height: 1.8;
}

.inline-action-message.success {
  background: #ecfdf5;
  color: #166534;
}

.inline-action-message.error {
  background: #fef2f2;
  color: #991b1b;
}

.slot-mode-tabs {
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  margin: 16px 0;
  border-radius: 18px;
  background: #f1f5f9;
}

.slot-mode-tab {
  border: 0;
  border-radius: 14px;
  padding: 10px 18px;
  background: transparent;
  color: #334155;
  font-weight: 900;
  cursor: pointer;
}

.slot-mode-tab.active {
  background: #fff;
  color: #0f766e;
  box-shadow: 0 8px 22px rgb(15 23 42 / 10%);
}

.automatic-slots-form {
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #f8fafc;
}

.consecutive-price-card {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #fff;
}

.consecutive-price-card label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

.slot-title-preview {
  padding: 10px 14px;
  border-radius: 14px;
  background: #f8fafc;
  color: #334155;
}

.slot-row-actions {
  display: inline-flex;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.host-jalali-field { position: relative; }
.host-jalali-trigger {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid #cbd5e1;
  border-radius: 11px;
  background: #fff;
  color: var(--text);
  text-align: right;
  font-weight: 800;
}
.host-jalali-trigger:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgb(15 118 110 / 12%);
  outline: none;
}
.host-jalali-calendar {
  padding: 14px;
  border: 1px solid #99f6e4;
  border-radius: 14px;
  background: #f8fffe;
}
.host-jalali-calendar-header,
.host-jalali-weekdays,
.host-jalali-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  align-items: center;
}
.host-jalali-calendar-header {
  grid-template-columns: auto 1fr auto;
  margin-bottom: 12px;
}
.host-jalali-calendar-header strong {
  text-align: center;
  font-size: 18px;
}
.host-jalali-weekdays {
  margin-bottom: 8px;
  color: var(--muted);
  font-weight: 900;
  text-align: center;
}
.host-jalali-day,
.host-jalali-calendar-spacer {
  min-height: 38px;
  border-radius: 10px;
}
.host-jalali-day {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-weight: 900;
}
.host-jalali-day:hover:not(:disabled),
.host-jalali-day.selected {
  border-color: var(--primary);
  background: #ccfbf1;
}
.host-jalali-day:disabled {
  cursor: not-allowed;
  opacity: .45;
  background: #f1f5f9;
}
.calendar-actions {
  align-items: center;
  gap: 10px;
}
.upload-progress {
  position: relative;
  min-height: 32px;
  overflow: hidden;
  border: 1px solid #99f6e4;
  border-radius: 999px;
  background: #ecfeff;
}
.upload-progress-bar {
  width: 0%;
  height: 100%;
  min-height: 32px;
  background: var(--primary);
  transition: width .18s ease;
}
.upload-progress span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #0f172a;
  font-weight: 900;
}

/* Eqamati v2.0.26 simplified host map-link resolver */
.simple-map-share-field small {
  display: block;
  margin-top: 8px;
  color: #64748b;
  line-height: 1.8;
}

/* Host account, order management, and earnings */
#dashboard-view { padding-inline: clamp(14px, 2.5vw, 36px); }
select {
  width: 100%;
  min-height: 48px;
  padding: 10px 13px;
  border: 1px solid #cbd5e1;
  border-radius: 11px;
  background: #fff;
  color: var(--text);
  font: inherit;
  outline: none;
}
select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgb(15 118 110 / 12%);
}
button:disabled { cursor: not-allowed; opacity: .55; }
input[readonly] { background: #f1f5f9; color: #475569; cursor: not-allowed; }
.tabs { max-width: 100%; overflow-x: auto; scrollbar-width: thin; }
.tab { flex: 0 0 auto; white-space: nowrap; }
.host-dashboard-menu-toggle,
.host-dashboard-menu-backdrop { display: none; }
#account-panel,
#orders-panel,
#earnings-panel,
#users-panel { gap: 18px; }
.account-card,
.data-card,
.earnings-card { min-width: 0; }
.account-heading { align-items: flex-start; }
.account-help {
  margin: 16px 0 0;
  padding: 12px 14px;
  border: 1px solid #bae6fd;
  border-radius: 12px;
  background: #f0f9ff;
  color: #0c4a6e;
}
.account-form label small {
  color: var(--muted);
  font-weight: 400;
  line-height: 1.7;
}
.account-actions { align-items: center; gap: 10px; flex-wrap: wrap; }
.mobile-account-logout-action { display: none; }
.accommodation-heading-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}
.identity-status,
.order-status-badge,
.refund-status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}
.identity-status.verified,
.order-status-finalized { color: #166534; background: #dcfce7; }
.identity-status.unverified,
.order-status-pending { color: #92400e; background: #fef3c7; }
.identity-status.changed,
.order-status-verified { color: #1d4ed8; background: #dbeafe; }
.identity-status.checking { color: #0f766e; background: #ccfbf1; }
.order-status-rejected { color: #b91c1c; background: #fee2e2; }
.order-status-cancelled { color: #475569; background: #e2e8f0; }
.order-status-refund-pending { color: #c2410c; background: #ffedd5; }
.order-status-refunded { color: #6d28d9; background: #ede9fe; }
.panel-loading,
.data-empty {
  min-height: 190px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 8px;
  padding: 28px;
  text-align: center;
  color: var(--muted);
}
.data-empty strong { color: var(--text); font-size: 20px; }
.data-empty.error strong { color: var(--danger); }
.order-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.order-stat {
  min-height: 98px;
  padding: 15px;
  border: 1px solid var(--border);
  border-bottom: 3px solid #94a3b8;
  border-radius: 15px;
  background: #fff;
  color: var(--text);
  text-align: right;
  box-shadow: 0 8px 22px rgb(15 23 42 / 5%);
}
.order-stat:hover,
.order-stat.active { border-color: var(--primary); background: #f0fdfa; }
.order-stat.pending { border-bottom-color: #d97706; }
.order-stat.verified { border-bottom-color: #2563eb; }
.order-stat.finalized { border-bottom-color: #16a34a; }
.order-stat.rejected { border-bottom-color: #dc2626; }
.order-stat.refund { border-bottom-color: #ea580c; }
.order-stat.refunded { border-bottom-color: #7c3aed; }
.order-stat span { display: block; color: var(--muted); font-size: 14px; }
.order-stat strong { display: block; margin-top: 7px; font-size: 25px; }
.data-filters {
  display: grid;
  grid-template-columns: minmax(210px, 1.5fr) minmax(165px, 1fr) repeat(2, minmax(145px, .8fr)) auto auto;
  gap: 12px;
  align-items: end;
  margin: 18px -22px 0;
  padding: 18px 22px;
  border-block: 1px solid var(--border);
  background: #f8fafc;
}
.data-filters label,
.earnings-filter label,
.dialog-field {
  display: grid;
  gap: 6px;
  color: #334155;
  font-size: 14px;
  font-weight: 900;
}
.data-filters input,
.data-filters select,
.earnings-filter input { min-height: 44px; }
.host-table-wrapper { width: 100%; overflow-x: auto; }
.host-data-table { width: 100%; min-width: 980px; border-collapse: collapse; }
.host-data-table th,
.host-data-table td {
  padding: 14px;
  border-bottom: 1px solid var(--border);
  text-align: right;
  vertical-align: middle;
}
.host-data-table th { color: #475569; background: #f8fafc; font-size: 14px; white-space: nowrap; }
.host-data-table tbody tr:hover { background: #fbfefd; }
.reference-text { direction: ltr; text-align: right; font-family: ui-monospace, Consolas, monospace; overflow-wrap: anywhere; }
.table-subtext { display: block; margin-top: 5px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.row-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.order-action {
  min-height: 34px;
  padding: 4px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  background: #fff;
  color: #334155;
  font-size: 14px;
  font-weight: 900;
}
.order-action.confirm { color: #166534; border-color: #86efac; }
.order-action.reject { color: var(--danger); border-color: #fecaca; }
.order-action.cancel { color: #c2410c; border-color: #fdba74; }
.order-action.refund { color: #6d28d9; border-color: #c4b5fd; }
.host-data-cards { display: none; }
.data-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 15px;
}
.data-pagination p { margin: 0; color: var(--muted); }
.data-pagination > div { display: flex; align-items: center; gap: 9px; }
.range-switch {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  gap: 5px;
  margin-top: 18px;
  padding: 5px;
  border-radius: 14px;
  background: #e2e8f0;
}
.range-switch button { background: transparent; color: #475569; font-weight: 900; }
.range-switch button.active { background: #fff; color: var(--primary); box-shadow: 0 5px 14px rgb(15 23 42 / 8%); }
.earnings-filter {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #f8fafc;
}
.earnings-filter label { min-width: 180px; }
.earnings-basis { margin: -4px 0 12px; }
.earnings-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}
.earnings-summary article {
  min-height: 96px;
  padding: 15px;
  border: 1px solid #bbf7d0;
  border-radius: 14px;
  background: #f0fdf4;
}
.earnings-summary article.deduction { border-color: #fecaca; background: #fef2f2; }
.earnings-summary article.pending { border-color: #fed7aa; background: #fff7ed; }
.earnings-summary article.completed { border-color: #ddd6fe; background: #faf5ff; }
.earnings-summary article.net { border-color: #99f6e4; background: #f0fdfa; }
.earnings-summary span { display: block; color: var(--muted); font-size: 14px; }
.earnings-summary strong { display: block; margin-top: 9px; font-size: 21px; }
.refund-status-badge { margin-top: 5px; color: #475569; background: #e2e8f0; }
.refund-status-badge.pending { color: #c2410c; background: #ffedd5; }
.refund-status-badge.completed { color: #6d28d9; background: #ede9fe; }
.host-dialog {
  width: min(calc(100% - 28px), 660px);
  max-height: calc(100vh - 36px);
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: transparent;
}
.host-dialog::backdrop { background: rgb(15 23 42 / 58%); backdrop-filter: blur(2px); }
.dialog-card {
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  padding: 22px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 65px rgb(15 23 42 / 28%);
}
.dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 15px; border-bottom: 1px solid var(--border); }
.dialog-header h2 { margin: 3px 0 0; }
.dialog-close { width: 38px; height: 38px; padding: 0; border-radius: 10px; background: #f1f5f9; color: #475569; font-size: 26px; line-height: 1; }
.dialog-field { margin-top: 16px; }
.dialog-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.order-details-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; margin-top: 18px; }
.order-details-grid > div { min-height: 76px; padding: 13px; border: 1px solid var(--border); border-radius: 12px; background: #f8fafc; }
.order-details-grid span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 14px; }
.order-details-grid strong { display: block; overflow-wrap: anywhere; }
.refund-details { margin-top: 15px; padding: 14px; border: 1px solid #ddd6fe; border-radius: 13px; background: #faf5ff; }
.refund-details p { margin: 5px 0; }

@media (max-width: 1100px) {
  .order-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .data-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .data-filters .search-field { grid-column: span 2; }
  .earnings-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  /* Eqamati v2.0.112 overlay mobile host account navigation */
  body.host-mobile-menu-open { overflow: hidden; }
  .desktop-host-logout { display: none; }
  .mobile-account-logout-action {
    display: flex;
    justify-content: stretch;
    margin-top: 18px;
  }
  .mobile-account-logout { width: 100%; }
  .host-dashboard-menu-toggle {
    position: sticky;
    top: calc(8px + env(safe-area-inset-top, 0px));
    z-index: 320;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-height: 52px;
    gap: 11px;
    margin-bottom: 10px;
    padding: 11px 14px;
    border: 1px solid #99f6e4;
    border-radius: 14px;
    color: var(--primary-dark);
    background: rgb(255 255 255 / 96%);
    box-shadow: 0 8px 24px rgb(15 23 42 / 10%);
    backdrop-filter: blur(10px);
    font-weight: 900;
    text-align: right;
  }
  #dashboard-view[data-mobile-menu-open="true"] > .host-dashboard-menu-toggle {
    visibility: hidden;
    pointer-events: none;
  }
  .host-dashboard-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: none;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: rgb(15 23 42 / 55%);
    cursor: default;
  }
  #dashboard-view[data-mobile-menu-open="true"] > .host-dashboard-menu-backdrop {
    display: block;
  }
  .account-menu-toggle-icon {
    display: grid;
    flex: 0 0 22px;
    gap: 4px;
    width: 22px;
  }
  .account-menu-toggle-icon > span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
  }
  .tabs {
    position: fixed;
    top: calc(12px + env(safe-area-inset-top, 0px));
    right: 12px;
    left: 12px;
    z-index: 310;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    max-height: calc(100dvh - 24px - env(safe-area-inset-top, 0px));
    margin: 0;
    padding: 8px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #e8eef4;
    box-shadow: 0 24px 70px rgb(15 23 42 / 30%);
  }
  #dashboard-view[data-mobile-menu-open="false"] > .tabs {
    display: none;
  }
  .tabs > .tab {
    width: 100%;
    min-height: 48px;
    padding: 11px 14px;
    border: 1px solid var(--border);
    white-space: normal;
    line-height: 1.7;
    text-align: right;
    background: #fff;
  }
  .tabs > .tab.active {
    border-color: var(--primary);
    color: #fff;
    background: var(--primary);
    box-shadow: 0 6px 16px rgb(15 118 110 / 18%);
  }
  .order-stats { display: none; }
  .order-stat { min-height: 88px; padding: 12px; }
  .data-filters { grid-template-columns: 1fr 1fr; margin-inline: -16px; padding-inline: 16px; }
  .data-filters .search-field { grid-column: 1 / -1; }
  .host-table-wrapper { display: none; }
  .host-data-cards { display: grid; gap: 11px; padding-top: 14px; }
  .host-data-card { padding: 14px; border: 1px solid var(--border); border-radius: 14px; }
  .host-data-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 9px; margin-bottom: 12px; }
  .host-data-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .host-data-card-grid span { display: block; color: var(--muted); font-size: 14px; }
  .host-data-card-grid strong { display: block; margin-top: 3px; line-height: 1.7; }
  .host-data-card .row-actions { margin-top: 13px; }
  .earnings-filter { display: grid; grid-template-columns: 1fr 1fr; }
  .earnings-filter label { min-width: 0; }
}

@media (max-width: 520px) {
  .account-heading,
  .card-heading { align-items: flex-start; }
  .earnings-summary,
  .data-filters,
  .earnings-filter,
  .order-details-grid,
  .host-data-card-grid { grid-template-columns: 1fr; }
  .data-filters .search-field { grid-column: auto; }
  .data-filters button,
  .earnings-filter button,
  .account-actions button,
  .dialog-actions button { width: 100%; }
  .range-switch { width: 100%; overflow-x: auto; }
  .range-switch button { flex: 1 0 auto; }
  .data-pagination { align-items: flex-start; flex-direction: column; }
  .dialog-actions { flex-direction: column-reverse; }
  .dialog-card { padding: 17px; }
}

/* Eqamati v2.0.50 mobile overflow hardening */
.login-card,
.card,
.panel,
.workspace,
.form-grid > *,
.editor-grid > *,
.slot-row > *,
.user-row > *,
.host-data-card-grid > *,
.order-details-grid > * {
  min-width: 0;
}

:where(.login-card, .card, .panel, .dialog-card) :where(h1, h2, h3, p, label, strong, small, .message, .error) {
  overflow-wrap: anywhere;
}

@media (max-width: 620px) {
  .login-view {
    padding-inline: 12px;
  }

  .registration-actions > *,
  .topbar-actions > *,
  .image-actions > * {
    min-width: 0;
    max-width: 100%;
    white-space: normal;
  }
}

/* Host-scoped manual reservations and daily reservation report */
#host-reservations-panel,
#host-reservation-report-panel {
  gap: 18px;
}

.host-reservation-card,
.host-reservation-report-card {
  width: min(1060px, 100%);
  margin-inline: auto;
}

.host-reservation-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.host-reservation-form .wide {
  grid-column: 1 / -1;
}

.host-reservation-field {
  display: grid;
  gap: 6px;
  min-width: 0;
  font-size: 14px;
  font-weight: 800;
}

.host-reservation-field small {
  color: var(--muted);
  font-weight: 500;
}

.host-reservation-time-section {
  min-width: 0;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #f8fafc;
}

.host-reservation-time-section:disabled {
  opacity: .72;
}

.host-reservation-time-section legend {
  padding: 0 8px;
  color: #334155;
  font-weight: 900;
}

.host-reservation-time-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.host-reservation-availability-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 4px 0 14px;
  color: var(--muted);
  font-size: 14px;
}

.host-reservation-availability-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.host-reservation-availability-legend i {
  width: 11px;
  height: 11px;
  border-radius: 3px;
}

.host-reservation-availability-legend i.available {
  border: 1px solid #34d399;
  background: #d1fae5;
}

.host-reservation-availability-legend i.booked {
  border: 1px solid #f87171;
  background: #fee2e2;
}

.host-reservation-availability-legend i.blocked {
  border: 1px solid #94a3b8;
  background: #e2e8f0;
}

.host-reservation-hours {
  display: grid;
  gap: 14px;
  min-height: 44px;
  color: var(--muted);
}

.host-reservation-time-help {
  margin: 0 0 12px;
  color: #475569;
  font-size: 14px;
}

.host-reservation-hour-group {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.host-reservation-hour-heading {
  margin: 0;
  color: #334155;
  font-size: 15px;
}

.host-reservation-hour-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 7px;
}

.host-reservation-hour {
  display: grid;
  width: 100%;
  min-height: 40px;
  place-items: center;
  padding: 5px;
  border: 1px solid var(--border);
  border-radius: 9px;
  direction: ltr;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.host-reservation-hour.available {
  border-color: #6ee7b7;
  color: #047857;
  background: #ecfdf5;
}

.host-reservation-hour.booked {
  border-color: #fecaca;
  color: #b91c1c;
  background: #fef2f2;
  text-decoration: line-through;
}

.host-reservation-hour.blocked {
  color: #94a3b8;
  background: #f1f5f9;
}

.host-reservation-hour.selected {
  border-color: var(--primary);
  color: #fff;
  background: var(--primary);
  box-shadow: 0 0 0 2px rgb(15 118 110 / 20%);
}

.host-reservation-hour.range-start,
.host-reservation-hour.range-end {
  outline: 2px solid #0f766e;
  outline-offset: 1px;
}

.host-reservation-hour.checkout-candidate:not(.selected) {
  border-color: #60a5fa;
  color: #1d4ed8;
  background: #eff6ff;
}

.host-reservation-hour.unavailable {
  cursor: not-allowed;
  opacity: .6;
}

.host-reservation-hour:focus-visible {
  outline: 3px solid #0ea5e9;
  outline-offset: 2px;
}

.host-reservation-summary {
  margin: 16px 0 0;
  padding: 12px 14px;
  border: 1px solid #99f6e4;
  border-radius: 12px;
  color: #115e59;
  background: #f0fdfa;
  font-weight: 800;
}

.host-reservation-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.button-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-inline-start: 8px;
  border: 2px solid currentColor;
  border-inline-end-color: transparent;
  border-radius: 50%;
  vertical-align: middle;
  animation: host-reservation-spin .7s linear infinite;
}

@keyframes host-reservation-spin {
  to { transform: rotate(360deg); }
}

.host-reservation-result {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid #86efac;
  border-radius: 15px;
  color: #14532d;
  background: #f0fdf4;
}

.host-reservation-result h3,
.host-reservation-result p {
  margin-top: 0;
}

.host-reservation-result ul {
  margin: 12px 0;
  padding-right: 20px;
}

.host-reservation-result li.failed {
  color: #b45309;
}

.host-reservation-result-note {
  margin-bottom: 0;
  color: #334155;
}

.host-reservation-report-filter {
  display: flex;
  align-items: end;
  gap: 12px;
  margin: 20px 0;
}

.host-reservation-report-filter .host-reservation-field {
  flex: 0 1 320px;
}

.reservation-report-summary {
  margin: 0 0 20px;
  padding: 16px;
  border: 1px solid #fed7aa;
  border-radius: 15px;
  background: #fff7ed;
}

.reservation-report-date-label {
  margin: 0 0 12px;
  color: #9a3412;
  font-weight: 900;
}

.reservation-report-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.reservation-report-summary-grid article {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid #fed7aa;
  border-radius: 12px;
  background: #fff;
}

.reservation-report-summary-grid span {
  color: var(--muted);
  font-size: 14px;
}

.reservation-report-summary-grid strong {
  color: #c2410c;
  font-size: 24px;
}

.reservation-report-list {
  display: grid;
  gap: 24px;
}

.reservation-report-accommodation {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  overflow: hidden;
  border: 2px solid #94a3b8;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 22px rgb(15 23 42 / 10%);
}

.reservation-report-accommodation > header {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  background: #f8fafc;
}

.reservation-report-accommodation > header h3 {
  margin: 0;
}

.reservation-report-accommodation > header small {
  color: var(--muted);
}

.reservation-report-accommodation > header p {
  margin: 0;
  color: var(--primary-dark);
  font-weight: 800;
}

.reservation-report-reservations,
.reservation-report-availability {
  padding: 18px;
}

.reservation-report-reservations {
  border-inline-end: 1px solid var(--border);
}

.reservation-report-reservations h4,
.reservation-report-availability h4 {
  margin: 0 0 12px;
}

.reservation-report-reservations ol {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reservation-report-reservations li {
  display: grid;
  grid-template-columns: minmax(112px, auto) minmax(0, 1fr);
  gap: 4px 12px;
  padding: 12px;
  border-inline-start: 4px solid #f97316;
  border-radius: 11px;
  background: #fff7ed;
}

.reservation-report-time {
  grid-row: 1 / 3;
  align-self: center;
  color: #c2410c;
  direction: rtl;
  text-align: center;
  white-space: nowrap;
}

.reservation-report-person {
  font-weight: 800;
}

.reservation-report-reservations small {
  color: var(--muted);
  direction: ltr;
  text-align: right;
}

.reservation-report-empty {
  margin: 0;
  padding: 12px;
  border-radius: 10px;
  color: var(--muted);
  background: #f8fafc;
}

.reservation-report-available-ranges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reservation-report-available-ranges li {
  padding: 8px 12px;
  border: 1px solid #86efac;
  border-radius: 999px;
  color: #166534;
  background: #f0fdf4;
  font-weight: 800;
  direction: rtl;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .host-reservation-form,
  .host-reservation-time-fields,
  .reservation-report-summary-grid,
  .reservation-report-accommodation {
    grid-template-columns: 1fr;
  }

  .host-reservation-form .wide {
    grid-column: auto;
  }

  .host-reservation-hour-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .host-reservation-report-filter {
    align-items: stretch;
    flex-direction: column;
  }

  .host-reservation-report-filter .host-reservation-field {
    flex-basis: auto;
  }

  .reservation-report-accommodation > header {
    align-items: flex-start;
    flex-direction: column;
  }

  .reservation-report-reservations {
    border-inline-end: 0;
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 520px) {
  .host-reservation-hour-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .host-reservation-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .reservation-report-reservations li {
    grid-template-columns: 1fr;
  }

  .reservation-report-time {
    grid-row: auto;
    text-align: right;
  }
}
