/* Booking Category — shared UI */

.refahi-toast-wrap {
  position: fixed;
  top: 80px;
  left: 20px;
  z-index: 9999;
  min-width: 280px;
  max-width: 420px;
}

.refahi-sticky-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e9ecef;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  padding: 12px 0;
  margin-bottom: 20px;
}

.refahi-sticky-bar .page-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0;
}

.refahi-sticky-bar .status-chip {
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 20px;
}

.refahi-tabs-scroll {
  overflow-x: auto;
  flex-wrap: nowrap;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  border-bottom: 1px solid #dee2e6;
  margin-bottom: 1.25rem;
}

.refahi-tabs-scroll .nav-link {
  white-space: nowrap;
}

.refahi-tabs-scroll .nav-link.has-error {
  color: #dc3545 !important;
  border-bottom-color: #dc3545 !important;
}

.refahi-publish-card {
  border: 1px solid #dee2e6;
  border-radius: 8px;
  background: #f8f9fa;
  padding: 1rem;
}

.refahi-publish-card .card-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #dee2e6;
}

.refahi-field-primary .form-control,
.refahi-field-primary .form-select {
  border-width: 2px;
  border-color: #0d6efd33;
}

.refahi-image-preview-card {
  border: 2px dashed #ced4da;
  border-radius: 8px;
  padding: 12px;
  text-align: center;
  background: #fafafa;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  overflow: hidden;
}

.refahi-image-preview-card img {
  max-height: 220px;
  max-width: 100%;
  border-radius: 6px;
  object-fit: cover;
}

.refahi-image-preview-card.is-empty .placeholder-text {
  color: #6c757d;
}

.refahi-char-counter {
  font-size: 0.8rem;
  color: #6c757d;
}

.refahi-char-counter.is-over {
  color: #dc3545;
  font-weight: 600;
}

.refahi-color-swatch {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin-left: 6px;
  vertical-align: middle;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.refahi-color-preview-box {
  width: 100%;
  height: 36px;
  border-radius: 6px;
  margin-top: 8px;
  border: 1px solid #dee2e6;
}

.refahi-cancel-section .help-block {
  background: #e7f1ff;
  border-right: 4px solid #0d6efd;
  padding: 10px 14px;
  border-radius: 4px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.refahi-cancel-guide-intro {
  line-height: 1.7;
}

.refahi-cancel-guide-details {
  border: 1px solid #b6d4fe;
  border-radius: 8px;
  background: #f8fbff;
  margin-bottom: 16px;
}

.refahi-cancel-guide-summary {
  cursor: pointer;
  padding: 12px 14px;
  font-weight: 600;
  color: #0d6efd;
  list-style: none;
}

.refahi-cancel-guide-summary::-webkit-details-marker {
  display: none;
}

.refahi-cancel-guide-summary::before {
  content: "▸ ";
}

.refahi-cancel-guide-details[open] .refahi-cancel-guide-summary::before {
  content: "▾ ";
}

.refahi-cancel-guide-body {
  padding: 0 14px 14px;
  font-size: 0.9rem;
  line-height: 1.75;
}

.refahi-cancel-guide-heading {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 14px 0 8px;
  color: #212529;
}

.refahi-cancel-guide-example {
  background: #fff;
  border: 1px dashed #ced4da;
  border-radius: 6px;
  padding: 10px 12px;
}

.refahi-cancel-example-table {
  background: #fff;
  font-size: 0.88rem;
}

.refahi-cancel-checklist {
  padding-right: 1.2rem;
}

/* —— محدودیت رزرو — wizard (rlx) —— */

.rlx-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.refahi-limitation-panel.rlx-panel {
  border: 1px solid #dee2e6;
  border-radius: 12px;
  background: #fff;
  margin-bottom: 1.5rem;
  overflow: hidden;
  padding-bottom: 1rem;
}

.refahi-limitation-panel__header {
  padding: 1rem 1.25rem;
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}

.refahi-limitation-panel__title {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #212529;
}

.refahi-limitation-panel__lead {
  margin: 0;
  font-size: 0.88rem;
  color: #6c757d;
  line-height: 1.6;
}

.refahi-limitation-panel.rlx-panel .refahi-limitation-section {
  margin: 1rem 1.25rem 0;
}

/* سناریو — پیش‌نمایش بالا */

.rlx-scenario {
  margin: 0 1.25rem 1.25rem;
  border-radius: 12px;
  border: 2px solid #0d6efd;
  background: linear-gradient(135deg, #f0f7ff 0%, #fff 55%);
  padding: 1.1rem 1.2rem;
  box-shadow: 0 4px 16px rgba(13, 110, 253, 0.08);
}

.rlx-scenario--ok { border-color: #198754; background: linear-gradient(135deg, #edf7f1 0%, #fff 55%); }
.rlx-scenario--warn { border-color: #fd7e14; background: linear-gradient(135deg, #fff8f0 0%, #fff 55%); }
.rlx-scenario--info { border-color: #0dcaf0; background: linear-gradient(135deg, #e8fafc 0%, #fff 55%); }

.rlx-scenario__hero {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.rlx-scenario__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  background: #0d6efd;
  color: #fff;
}

.rlx-scenario--ok .rlx-scenario__icon { background: #198754; }
.rlx-scenario--warn .rlx-scenario__icon { background: #fd7e14; }
.rlx-scenario--info .rlx-scenario__icon { background: #0aa2c0; }

.rlx-scenario__kicker {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6c757d;
}

.rlx-scenario__title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: #212529;
  line-height: 1.45;
}

.rlx-scenario__sentence {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.7;
  color: #334155;
}

.rlx-scenario__flow {
  margin-bottom: 0.85rem;
}

.rlx-flow {
  display: flex;
  align-items: stretch;
  gap: 0;
  direction: rtl;
}

.rlx-flow__node {
  flex: 1;
  min-width: 0;
  padding: 0.65rem 0.5rem;
  border-radius: 8px;
  text-align: center;
  border: 1px solid #dee2e6;
  background: #fff;
}

.rlx-flow__node-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 0.15rem;
  color: #212529;
}

.rlx-flow__node-sub {
  display: block;
  font-size: 0.72rem;
  color: #6c757d;
  line-height: 1.4;
}

.rlx-flow__node--past { background: #e9ecef; border-color: #ced4da; }
.rlx-flow__node--block {
  background: #fff3cd;
  border-color: #ffc107;
  color: #664d03;
}
.rlx-flow__node--block .rlx-flow__node-label { color: #664d03; }
.rlx-flow__node--wait {
  background: repeating-linear-gradient(-45deg, #fff8e6, #fff8e6 5px, #ffe8a3 5px, #ffe8a3 10px);
  border-color: #ffc107;
}
.rlx-flow__node--wait .rlx-flow__node-label { color: #856404; font-size: 0.95rem; }
.rlx-flow__node--ok { background: #d1e7dd; border-color: #198754; }
.rlx-flow__node--ok .rlx-flow__node-label { color: #0f5132; }

.rlx-flow__arrow {
  flex: 0 0 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #adb5bd;
  font-size: 1rem;
  font-weight: 700;
}

.rlx-scenario__example {
  background: #fff;
  border: 1px dashed #ced4da;
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  margin-bottom: 0.75rem;
}

.rlx-scenario__example-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #856404;
  margin-bottom: 0.3rem;
}

.rlx-scenario__example p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.65;
  color: #495057;
}

.rlx-scenario__meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.rlx-scenario__meta li {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #dee2e6;
  color: #495057;
}

/* مراحل تنظیم */

.rlx-steps {
  padding: 0 1.25rem;
}

.rlx-step {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1.35rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid #f0f0f0;
}

.rlx-step:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.rlx-step__num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #0d6efd;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.rlx-step__body {
  flex: 1;
  min-width: 0;
}

.rlx-step__title {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #212529;
}

.rlx-step--scope.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

/* کارت‌های نوع محدودیت */

.rlx-type-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
}

.rlx-type-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.85rem 0.5rem;
  border: 2px solid #dee2e6;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
  margin: 0;
}

.rlx-type-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rlx-type-card:hover {
  border-color: #86b7fe;
  box-shadow: 0 2px 8px rgba(13, 110, 253, 0.1);
}

.rlx-type-card.is-selected {
  border-color: #0d6efd;
  background: #f0f7ff;
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}

.rlx-type-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #495057;
  margin-bottom: 0.45rem;
}

.rlx-type-card.is-selected .rlx-type-card__icon {
  background: #0d6efd;
  color: #fff;
}

.rlx-type-card__title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #212529;
  line-height: 1.35;
  margin-bottom: 0.2rem;
}

.rlx-type-card__desc {
  font-size: 0.7rem;
  color: #6c757d;
  line-height: 1.45;
}

/* دامنه بررسی */

.rlx-scope__label {
  margin: 0 0 0.55rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #495057;
}

.rlx-scope__options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.rlx-scope__opt {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 0.85rem;
  border: 2px solid #dee2e6;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  margin: 0;
  font-size: 0.86rem;
  font-weight: 600;
  color: #495057;
  transition: border-color 0.15s, background 0.15s;
}

.rlx-scope__opt input { position: absolute; opacity: 0; pointer-events: none; }
.rlx-scope__opt i { font-size: 1.1rem; color: #6c757d; }
.rlx-scope__opt.is-selected { border-color: #0d6efd; background: #f0f7ff; color: #0d47a1; }
.rlx-scope__opt.is-selected i { color: #0d6efd; }

.rlx-scope__note {
  margin: 0.55rem 0 0;
  font-size: 0.8rem;
  color: #6c757d;
  line-height: 1.55;
}

/* پنل تنظیمات */

.rlx-config-panel {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  padding: 1rem;
}

.rlx-config-block__label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #212529;
  margin-bottom: 0.55rem;
  line-height: 1.55;
}

.rlx-gap-input-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 220px;
  margin-bottom: 0.65rem;
}

.rlx-gap-input {
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
}

.rlx-gap-unit {
  font-size: 0.9rem;
  font-weight: 600;
  color: #6c757d;
}

.rlx-gap-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.rlx-gap-preset {
  border: 1px solid #ced4da;
  background: #fff;
  border-radius: 20px;
  padding: 0.3rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #495057;
  cursor: pointer;
  transition: all 0.15s;
}

.rlx-gap-preset:hover,
.rlx-gap-preset.is-active {
  border-color: #0d6efd;
  background: #e7f1ff;
  color: #0d47a1;
}

.rlx-config-hint {
  margin: 0;
  font-size: 0.82rem;
  color: #6c757d;
  line-height: 1.55;
}

.rlx-config-hint.is-warn { color: #b45309; font-weight: 600; }

.rlx-config-empty {
  margin: 0;
  font-size: 0.88rem;
  color: #6c757d;
  text-align: center;
  padding: 0.5rem;
}

/* راهنما */

.refahi-limitation-guide-tip {
  background: #fff8e6;
  border-right: 3px solid #ffc107;
  padding: 0.55rem 0.75rem;
  border-radius: 0 6px 6px 0;
  font-size: 0.86rem;
  margin-bottom: 1rem;
  line-height: 1.65;
}

.refahi-limitation-guide-details {
  border: 1px dashed #ced4da;
  border-radius: 8px;
  background: #fafbfc;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.refahi-limitation-guide-summary {
  cursor: pointer;
  padding: 0.65rem 0.85rem;
  font-weight: 600;
  font-size: 0.86rem;
  color: #495057;
  list-style: none;
}

.refahi-limitation-guide-summary i { margin-left: 0.35rem; opacity: 0.7; }
.refahi-limitation-guide-summary::-webkit-details-marker { display: none; }
.refahi-limitation-guide-summary::before { content: "▸ "; color: #6c757d; }
.refahi-limitation-guide-details[open] .refahi-limitation-guide-summary::before { content: "▾ "; }

.refahi-limitation-guide-body {
  padding: 0 0.85rem 0.85rem;
  font-size: 0.88rem;
  line-height: 1.7;
  max-height: 380px;
  overflow-y: auto;
}

.refahi-limitation-guide-heading {
  font-size: 0.92rem;
  font-weight: 600;
  margin: 12px 0 6px;
  color: #212529;
}

.refahi-limitation-guide-example {
  background: #fff;
  border: 1px dashed #ced4da;
  border-radius: 6px;
  padding: 8px 10px;
}

.refahi-limitation-example-table { background: #fff; font-size: 0.86rem; }
.refahi-limitation-checklist { padding-right: 1.2rem; }
.refahi-limitation-note { font-size: 0.86rem; line-height: 1.6; }

.refahi-cancel-panel { margin-top: 0.5rem; }

@media (max-width: 991px) {
  .rlx-type-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575px) {
  .rlx-scenario { margin: 0 0.75rem 1rem; }
  .rlx-steps { padding: 0 0.75rem; }
  .rlx-scope__options { grid-template-columns: 1fr; }
  .rlx-flow { flex-direction: column; }
  .rlx-flow__arrow { transform: rotate(90deg); flex: 0 0 auto; padding: 0.15rem 0; }
}

.refahi-cancel-row-caption {
  font-size: 0.88rem;
  font-weight: 600;
  color: #495057;
  margin: 12px 0 6px;
}

.refahi-cancel-row-caption .fa-caret-left {
  color: #0d6efd;
  margin-left: 4px;
}

.refahi-cancel-section .cancel-row-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6c757d;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.refahi-gallery-hint {
  font-size: 0.85rem;
  color: #6c757d;
  margin-bottom: 8px;
}

.refahi-gallery-upload {
  border: 1px dashed #ced4da;
  border-radius: 8px;
  padding: 12px;
  background: #fafafa;
}

.refahi-gallery-upload.is-dragover {
  border-color: #0d6efd;
  background: #e7f1ff;
}

.refahi-gallery-actions {
  margin-top: 8px;
}

.refahi-gallery-file {
  display: none !important;
}

.refahi-gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.refahi-gallery-grid:empty {
  margin-bottom: 0;
}

.refahi-list-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.refahi-gallery-item {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 6px;
  overflow: hidden;
  background: #e9ecef;
  border: 1px solid #dee2e6;
}

.refahi-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.refahi-gallery-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.refahi-gallery-remove:hover {
  background: #dc3545;
}

.refahi-gallery-item.is-new {
  border-color: #0d6efd;
}

.refahi-list-toolbar .toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.refahi-list-toolbar .toolbar-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.refahi-badge-limit {
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: help;
}

.refahi-name-cell .name-full {
  font-weight: 600;
  display: block;
}

.refahi-name-cell .name-short {
  font-size: 0.8rem;
  color: #6c757d;
}

.refahi-row-actions {
  white-space: nowrap;
  min-width: 150px;
}

.refahi-row-actions form {
  display: inline-block;
  margin: 0 2px;
  vertical-align: middle;
}

.refahi-row-actions .btn {
  padding: 0.25rem 0.5rem;
}

#My_Table_wrapper .dataTables_scrollBody {
  overflow: visible !important;
}

#My_Table_wrapper .dataTables_scrollHead,
#My_Table_wrapper .dataTables_scroll {
  overflow: visible !important;
}

.refahi-list-table-wrap {
  overflow-x: auto;
}

.refahi-action-dropdown .dropdown-item form {
  margin: 0;
}

.refahi-action-dropdown .dropdown-item button {
  width: 100%;
  text-align: right;
  border: none;
  background: none;
  padding: 0.375rem 1rem;
}

.refahi-form-dirty-hint {
  font-size: 0.8rem;
  color: #856404;
}

@media (max-width: 991px) {
  .refahi-publish-card-mobile {
    margin-bottom: 1.5rem;
  }

  .refahi-sticky-bar .btn-lg {
    padding: 0.4rem 0.75rem;
    font-size: 0.9rem;
  }
}

.eleform .form-label.required::after {
  content: " *";
  color: #dc3545;
}

/* —— Category detail (public) —— */

.refahi-detail-page {
  background: linear-gradient(180deg, #eef2f7 0%, #f4f6f9 220px, #f4f6f9 100%);
  padding-bottom: 4.5rem;
  --refahi-sticky-offset: 64px;
  --refahi-sticky-gap: 14px;
  --refahi-accent-soft: color-mix(in srgb, var(--refahi-accent, #0d6efd) 12%, #fff);
  --refahi-accent-mid: color-mix(in srgb, var(--refahi-accent, #0d6efd) 75%, #000);
}

.refahi-detail-book-row {
  align-items: stretch;
}

.refahi-detail-panel,
.refahi-detail-tab-content,
.refahi-detail-panel .tab-pane.active,
.refahi-detail-panel .tab-pane.show {
  overflow: visible;
}

.refahi-detail-hero {
  position: relative;
  min-height: 200px;
  background-size: cover;
  background-position: center;
  background-color: #1a3a52;
}

.refahi-detail-hero--compact {
  min-height: 0;
  background-color: #1e3a52;
  background-image: none !important;
  border-bottom: 3px solid var(--refahi-accent, #0d6efd);
}

.refahi-detail-hero--compact .refahi-detail-hero-overlay {
  background: linear-gradient(90deg, #1a3348 0%, #1e4466 100%);
}

.refahi-detail-hero--compact .refahi-detail-hero-inner {
  padding: 0.55rem 0 0.65rem;
}

.refahi-detail-hero--compact .refahi-detail-breadcrumb {
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
}

.refahi-detail-hero--compact .refahi-detail-badge {
  margin-bottom: 0.25rem;
  font-size: 0.72rem;
  padding: 0.1rem 0.5rem;
}

.refahi-detail-hero--compact .refahi-detail-title {
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  margin-bottom: 0.25rem;
  line-height: 1.4;
}

.refahi-detail-hero--compact .refahi-detail-hero-meta {
  margin-bottom: 0;
  gap: 0.35rem;
}

.refahi-detail-hero--compact .refahi-detail-stat {
  font-size: 0.72rem;
  padding: 0.12rem 0.45rem;
}

.refahi-detail-hero--compact .refahi-detail-hero-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.refahi-detail-hero--compact .refahi-detail-hero-text {
  flex: 1;
  min-width: 0;
}

.refahi-detail-hero--compact .refahi-detail-hero-actions {
  flex-shrink: 0;
}

.refahi-detail-hero--compact .refahi-detail-hero-actions .btn {
  padding: 0.3rem 0.65rem;
  font-size: 0.8rem;
}

.refahi-detail-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 35, 55, 0.88) 0%, rgba(13, 110, 253, 0.45) 100%);
}

.refahi-detail-hero-inner {
  position: relative;
  z-index: 1;
  padding: 1.1rem 0 1.25rem;
  color: #fff;
}

.refahi-detail-breadcrumb {
  font-size: 0.8rem;
  margin-bottom: 0.65rem;
  opacity: 0.92;
}

.refahi-detail-breadcrumb a {
  color: #fff;
  text-decoration: none;
}

.refahi-detail-breadcrumb a:hover {
  text-decoration: underline;
}

.refahi-detail-breadcrumb .sep {
  margin: 0 0.45rem;
  opacity: 0.7;
}

.refahi-detail-hero-content {
  display: block;
}

.refahi-detail-hero-main {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
}

.refahi-detail-hero-text {
  flex: 1;
  min-width: 0;
}

.refahi-detail-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 20px;
  padding: 0.15rem 0.6rem;
  font-size: 0.75rem;
  margin-bottom: 0.35rem;
}

.refahi-detail-title {
  font-size: clamp(1.25rem, 2.8vw, 1.75rem);
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: #fff;
  line-height: 1.35;
}

.refahi-detail-lead {
  max-width: 640px;
  margin: 0 0 0.5rem;
  opacity: 0.92;
  line-height: 1.65;
  font-size: 0.9rem;
}

.refahi-detail-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0;
}

.refahi-detail-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 20px;
  padding: 0.18rem 0.55rem;
  font-size: 0.78rem;
}

.refahi-detail-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.refahi-detail-hero-actions .btn {
  font-weight: 600;
  white-space: nowrap;
}

.refahi-detail-slider-wrap {
  background: #fff;
  border-bottom: 1px solid #e9ecef;
  padding: 0.65rem 0 0.75rem;
  position: relative;
}

.refahi-detail-slider-wrap--full {
  width: 100%;
}

.refahi-detail-slider-caption {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.75rem;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  pointer-events: none;
  white-space: nowrap;
}

.refahi-detail-slider {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0 8px;
}

.refahi-detail-slider.swiper-container {
  border-radius: 0;
  overflow: hidden;
}

.refahi-detail-slider .swiper-slide {
  height: clamp(180px, 22vw, 260px);
  border-radius: 8px;
  overflow: hidden;
  box-sizing: border-box;
}

.refahi-detail-slider .swiper-wrapper {
  align-items: stretch;
}

@media (min-width: 992px) {
  .refahi-detail-page .refahi-detail-slider .swiper-slide {
    width: calc(33.333333% - 8px) !important;
    flex-shrink: 0;
  }
}

@media (min-width: 566px) and (max-width: 991px) {
  .refahi-detail-page .refahi-detail-slider .swiper-slide {
    width: calc(50% - 6px) !important;
    flex-shrink: 0;
  }
}

@media (max-width: 565px) {
  .refahi-detail-page .refahi-detail-slider .swiper-slide {
    width: 100% !important;
    flex-shrink: 0;
  }
}

.refahi-detail-slider .swiper-slide a {
  display: block;
  height: 100%;
  position: relative;
  cursor: zoom-in;
}

.refahi-detail-slide-zoom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 1.75rem;
  opacity: 0;
  transition: opacity 0.25s;
}

.refahi-detail-slider .swiper-slide a:hover .refahi-detail-slide-zoom {
  opacity: 1;
}

.refahi-detail-slider .swiper-button-prev,
.refahi-detail-slider .swiper-button-next {
  width: 44px;
  height: 44px;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 50%;
}

.refahi-detail-slider .swiper-button-prev::after,
.refahi-detail-slider .swiper-button-next::after {
  font-size: 1.1rem;
}

.refahi-detail-slider .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.refahi-detail-slider .swiper-slide a:hover img {
  transform: scale(1.04);
}

.refahi-detail-count-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: #6c757d;
  margin-right: 0.35rem;
}

.refahi-detail-body {
  padding-top: 1rem;
}

.refahi-detail-panel {
  background: #fff;
  border: 1px solid #e3e7eb;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.04);
  overflow: visible;
  margin-top: -0.35rem;
}

.refahi-detail-tabs {
  border-bottom: 1px solid #dee2e6;
  margin-bottom: 0;
  gap: 0;
  padding: 0 0.75rem;
  background: #fafbfc;
}

.refahi-detail-tabs .nav-link {
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  color: #495057;
  font-weight: 600;
  padding: 0.75rem 1.1rem;
  border-radius: 0;
  transition: color 0.2s, border-color 0.2s;
}

.refahi-detail-tabs .nav-link:hover {
  color: var(--refahi-accent, #0d6efd);
}

.refahi-detail-accent-btn {
  background: var(--refahi-accent, #0d6efd) !important;
  border-color: var(--refahi-accent, #0d6efd) !important;
  color: #fff !important;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--refahi-accent, #0d6efd) 35%, transparent);
}

.refahi-detail-accent-btn:hover {
  background: var(--refahi-accent-mid, #0b5ed7) !important;
  border-color: var(--refahi-accent-mid, #0b5ed7) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

.refahi-detail-tabs .nav-link.active {
  color: var(--refahi-accent, #0d6efd);
  border-bottom-color: var(--refahi-accent, #0d6efd);
  background: transparent;
}

.refahi-detail-tabs-sticky {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #fafbfc;
  border-bottom: 1px solid #dee2e6;
  transition: box-shadow 0.2s;
  border-radius: 12px 12px 0 0;
}

.refahi-detail-tabs-sticky.is-stuck {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.refahi-detail-result-badge.is-success {
  background: color-mix(in srgb, var(--refahi-accent, #198754) 18%, #fff);
  color: var(--refahi-accent, #0f5132);
}

.refahi-detail-tabs .nav-link i {
  margin-left: 0.35rem;
}

.refahi-detail-tab-content {
  padding: 1.25rem 1.35rem 1.5rem;
}

.refahi-detail-tab-content .col-lg-8 > .refahi-detail-card + .refahi-detail-card {
  margin-top: 1rem;
}

.refahi-detail-tab-content .refahi-detail-card {
  box-shadow: none;
}

.refahi-detail-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  height: 100%;
}

.refahi-detail-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #eef1f4;
}

.refahi-detail-description {
  line-height: 1.85;
  color: #343a40;
}

.refahi-detail-intro-lead {
  background: var(--refahi-accent-soft, #f8f9fa);
  border-right: 3px solid var(--refahi-accent, #0d6efd);
  padding: 0.65rem 0.85rem;
  border-radius: 0 6px 6px 0;
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  color: #495057;
}

.refahi-detail-phone-link {
  color: #212529;
  text-decoration: none;
}

.refahi-detail-phone-link:hover {
  color: #0d6efd;
}

.refahi-detail-description img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.refahi-detail-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}

.refahi-detail-gallery-item {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid #dee2e6;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  cursor: zoom-in;
}

.refahi-detail-gallery-zoom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 1.25rem;
  opacity: 0;
  transition: opacity 0.25s;
}

.refahi-detail-gallery-item:hover .refahi-detail-gallery-zoom {
  opacity: 1;
}

.refahi-detail-gallery-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.refahi-detail-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.refahi-detail-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.refahi-detail-contact-list li {
  display: flex;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid #f1f3f5;
}

.refahi-detail-contact-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.refahi-detail-contact-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--refahi-accent-soft, #e7f1ff);
  color: var(--refahi-accent, #0d6efd);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.refahi-detail-contact-list strong {
  display: block;
  font-size: 0.82rem;
  color: #6c757d;
  margin-bottom: 0.15rem;
}

.refahi-detail-contact-list p {
  margin: 0;
  line-height: 1.6;
}

.refahi-detail-map-link {
  color: var(--refahi-accent, #0d6efd);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--refahi-accent-soft, #e7f1ff);
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  font-size: 0.88rem;
}

.refahi-detail-map-link:hover {
  background: color-mix(in srgb, var(--refahi-accent, #0d6efd) 20%, #fff);
  color: var(--refahi-accent-mid, #0d6efd);
}

.refahi-detail-hero-cta-primary {
  background: var(--refahi-accent, #ffc107) !important;
  border-color: var(--refahi-accent, #ffc107) !important;
  color: #fff !important;
  font-weight: 600;
  box-shadow: 0 3px 12px color-mix(in srgb, var(--refahi-accent, #ffc107) 40%, transparent);
}

.refahi-detail-contact-card {
  display: flex;
  flex-direction: column;
}

@media (min-width: 992px) {
  .refahi-detail-contact-card {
    position: sticky;
    top: 90px;
  }
}

.refahi-detail-contact-cta {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #eef1f4;
}

.refahi-detail-search-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 0;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  overflow: visible;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 992px) {
  .refahi-detail-search-col {
    position: relative;
  }

  .refahi-detail-search-sticky {
    position: -webkit-sticky;
    position: sticky;
    top: calc(var(--refahi-sticky-offset, 64px) + var(--refahi-sticky-gap, 14px));
    z-index: 180;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .refahi-detail-search-sticky.is-stuck-shadow .refahi-detail-search-card {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
  }
}

.refahi-detail-search-card--accent {
  border-color: color-mix(in srgb, var(--refahi-accent, #0d6efd) 22%, #e9ecef);
  border-top: 3px solid var(--refahi-accent, #0d6efd);
}

.refahi-detail-search-card-head {
  background: var(--refahi-accent-soft, #f0f7ff);
  border-bottom: 1px solid #e3e7eb;
  padding: 0.95rem 1.15rem 0.85rem;
  border-radius: 9px 9px 0 0;
}

.refahi-detail-search-card-head .refahi-detail-search-title {
  margin: 0;
}

.refahi-detail-search-card-body {
  padding: 1rem 1.15rem 1.15rem;
}

.refahi-detail-search-card-body .refahi-detail-search-steps {
  margin: 0 0 1rem;
}

.refahi-detail-search-card-body .refahi-detail-search-hint {
  margin: 0 0 1rem;
}

.refahi-detail-search-card-body .refahi-detail-search-summary {
  margin: 0 0 1rem;
}

.refahi-detail-search-card-body form {
  margin: 0;
}

.refahi-detail-search-steps li.is-current {
  background: var(--refahi-accent-soft, #e7f1ff);
  border-color: var(--refahi-accent, #0d6efd);
  color: var(--refahi-accent, #0d6efd);
  font-weight: 600;
}

.refahi-detail-search-steps li.is-done {
  background: #d1e7dd;
  border-color: #badbcc;
  color: #0f5132;
}

.refahi-detail-search-steps {
  display: flex;
  gap: 0.35rem;
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  counter-reset: refahi-step;
}

.refahi-detail-search-steps li {
  flex: 1;
  text-align: center;
  font-size: 0.72rem;
  color: #6c757d;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  padding: 0.35rem 0.25rem;
  line-height: 1.35;
}

.refahi-detail-search-summary {
  background: var(--refahi-accent-soft, #f0f7ff);
  border: 1px solid color-mix(in srgb, var(--refahi-accent, #0d6efd) 25%, #cfe2ff);
  border-radius: 8px;
  padding: 0.75rem;
}

.refahi-detail-search-summary-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--refahi-accent, #0d6efd);
  margin-bottom: 0.45rem;
}

.refahi-detail-search-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.45rem;
}

.refahi-detail-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 20px;
  padding: 0.2rem 0.55rem;
  font-size: 0.78rem;
  color: #495057;
}

.refahi-detail-search-clear {
  font-size: 0.78rem;
  color: #dc3545;
  text-decoration: none;
}

.refahi-detail-search-clear:hover {
  text-decoration: underline;
}

.refahi-detail-input-icon {
  position: relative;
}

.refahi-detail-input-icon i {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #adb5bd;
  pointer-events: none;
}

.refahi-detail-input-icon .form-control {
  padding-right: 2.2rem;
}

.refahi-detail-input-icon .form-control:focus,
.refahi-detail-input-icon .form-select:focus {
  border-color: var(--refahi-accent, #86b7fe);
  box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--refahi-accent, #0d6efd) 20%, transparent);
}

.refahi-detail-search-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.refahi-detail-search-hint {
  font-size: 0.85rem;
  color: #6c757d;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.refahi-detail-units-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px dashed #dee2e6;
}

.refahi-detail-bed-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
  padding: 0.65rem 0.75rem;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 10px;
}

.refahi-detail-bed-filters-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #495057;
  margin-left: 0.25rem;
}

.refahi-detail-bed-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  padding: 0.2rem 0.55rem;
  border-radius: 20px;
  border: 1px solid #dee2e6;
  background: #fff;
  color: #495057;
  font-size: 0.8rem;
  text-decoration: none;
  transition: all 0.2s;
}

.refahi-detail-bed-chip:hover {
  border-color: var(--refahi-accent, #0d6efd);
  color: var(--refahi-accent, #0d6efd);
}

.refahi-detail-bed-chip.is-active {
  background: var(--refahi-accent, #0d6efd);
  border-color: var(--refahi-accent, #0d6efd);
  color: #fff;
}

.refahi-detail-result-badge {
  display: inline-flex;
  align-items: center;
  background: #e9ecef;
  color: #495057;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  white-space: nowrap;
}

.refahi-detail-units-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
}

.refahi-detail-units-subtitle {
  color: #6c757d;
  font-size: 0.9rem;
}

.refahi-detail-empty {
  text-align: center;
  background: #fff;
  border: 1px dashed #ced4da;
  border-radius: 12px;
  padding: 2.5rem 1.5rem;
}

.refahi-detail-empty-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--refahi-accent-soft, #e7f1ff);
  color: var(--refahi-accent, #0d6efd);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.refahi-detail-empty h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.refahi-detail-units-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.refahi-detail-page .refahi-detail-unit-card {
  display: block;
  background: #fff;
  border: 1px solid #e3e7eb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.25s, border-color 0.25s, transform 0.25s;
  border-right: 3px solid transparent;
}

.refahi-detail-page .refahi-detail-unit-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09);
  border-color: #cfe2ff;
  border-right-color: var(--refahi-accent, #0d6efd);
  transform: translateY(-2px);
}

.refahi-detail-unit-card--animate {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease, box-shadow 0.25s, border-color 0.25s;
}

.refahi-detail-unit-card--animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.refahi-detail-page .refahi-detail-unit-card--animate:hover {
  transform: translateY(-2px);
}

.refahi-detail-page .refahi-detail-unit-cta {
  transition: transform 0.2s, box-shadow 0.2s;
}

.refahi-detail-page .refahi-detail-unit-image {
  display: block;
  height: 100%;
  min-height: 190px;
  background: #eef1f4;
  position: relative;
  overflow: hidden;
}

.refahi-detail-page .refahi-detail-unit-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 0.78rem;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  z-index: 1;
}

.refahi-detail-page .refahi-detail-unit-image img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  display: block;
}

.refahi-detail-page .refahi-detail-unit-body {
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  min-height: 190px;
}

.refahi-detail-page .refahi-detail-unit-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  line-height: 1.5;
}

.refahi-detail-page .refahi-detail-unit-title a {
  color: #212529;
  text-decoration: none;
}

.refahi-detail-page .refahi-detail-unit-title a:hover {
  color: #0d6efd;
}

.refahi-detail-page .refahi-detail-facilities {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem 0.65rem;
}

.refahi-detail-page .refahi-detail-facilities li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  line-height: 1.35;
  min-width: 0;
  background: #f8f9fa;
  border: 1px solid #eef1f4;
  border-radius: 6px;
  padding: 0.35rem 0.5rem;
}

.refahi-detail-page .refahi-detail-facilities li i {
  color: #3f77a7;
  font-size: 0.95rem;
  width: 1rem;
  text-align: center;
  flex-shrink: 0;
}

.refahi-detail-page .refahi-detail-facility-label {
  color: #495057;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.refahi-detail-page .refahi-detail-facility-value {
  margin-right: auto;
  font-weight: 600;
  flex-shrink: 0;
}

.refahi-detail-page .refahi-facility-yes {
  color: #198754;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 4px;
  background: #d1e7dd;
  font-size: 0.68rem;
}

.refahi-detail-page .refahi-facility-no {
  color: #dc3545;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 4px;
  background: #f8d7da;
  font-size: 0.68rem;
}

.refahi-detail-page .refahi-detail-unit-footer {
  margin-top: auto;
  padding-top: 0.65rem;
  border-top: 1px solid #f1f3f5;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.refahi-detail-page .refahi-detail-unit-cta {
  font-weight: 600;
  min-width: 130px;
}

.refahi-detail-page .refahi-detail-unit-edit-form {
  margin: 0;
}

.refahi-detail-mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  padding: 0.65rem 1rem;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid #dee2e6;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
}

@media (min-width: 992px) {
  .refahi-detail-page {
    padding-bottom: 3rem;
  }
}

/* Lightbox — نمایش تصویر بدون ترک صفحه */
.refahi-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: none;
  align-items: center;
  justify-content: center;
}

.refahi-lightbox.is-open {
  display: flex;
}

.refahi-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  cursor: zoom-out;
}

.refahi-lightbox-panel {
  position: relative;
  z-index: 1;
  max-width: min(96vw, 1200px);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 48px;
}

.refahi-lightbox-img {
  max-width: 100%;
  max-height: calc(92vh - 48px);
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  user-select: none;
}

.refahi-lightbox-caption {
  color: #fff;
  font-size: 0.85rem;
  margin-top: 0.65rem;
  text-align: center;
  opacity: 0.9;
}

.refahi-lightbox-close,
.refahi-lightbox-prev,
.refahi-lightbox-next {
  position: absolute;
  z-index: 2;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}

.refahi-lightbox-close:hover,
.refahi-lightbox-prev:hover,
.refahi-lightbox-next:hover {
  background: rgba(255, 255, 255, 0.3);
}

.refahi-lightbox-close {
  top: 16px;
  left: 16px;
  font-size: 1.75rem;
}

.refahi-lightbox-prev {
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}

.refahi-lightbox-next {
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
}

.refahi-lightbox-counter {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 0.82rem;
  background: rgba(0, 0, 0, 0.45);
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  z-index: 2;
}

body.refahi-lightbox-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  .refahi-detail-hero {
    min-height: 160px;
  }

  .refahi-detail-hero--compact .refahi-detail-hero-inner {
    padding: 0.5rem 0 0.55rem;
  }

  .refahi-detail-hero--compact .refahi-detail-hero-main {
    flex-direction: column;
    align-items: stretch;
  }

  .refahi-detail-hero--compact .refahi-detail-hero-actions {
    justify-content: flex-start;
  }

  .refahi-detail-hero--compact .refahi-detail-hero-actions .btn {
    flex: 1;
    min-width: 0;
  }

  .refahi-detail-slider .swiper-slide {
    height: clamp(160px, 40vw, 200px);
  }

  .refahi-detail-page .refahi-detail-facilities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .refahi-detail-page .refahi-detail-unit-image,
  .refahi-detail-page .refahi-detail-unit-image img {
    min-height: 160px;
  }

  .refahi-detail-page .refahi-detail-unit-body {
    min-height: 0;
  }

  .refahi-detail-search-sticky {
    position: static;
  }

  .refahi-detail-search-card {
    position: static;
  }

  .refahi-detail-tab-content {
    padding: 1rem;
  }
}

.refahi-detail-card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #eef1f4;
}

.refahi-detail-card-title-row .refahi-detail-card-title {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.refahi-detail-search-error {
  background: #f8d7da;
  border: 1px solid #f5c2c7;
  color: #842029;
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.refahi-detail-units-skeleton {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.refahi-detail-skeleton-card {
  display: flex;
  gap: 1rem;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  padding: 0.75rem;
  animation: refahiSkeletonPulse 1.2s ease-in-out infinite;
}

.refahi-detail-skeleton-img {
  width: 120px;
  min-height: 90px;
  background: linear-gradient(90deg, #eef1f4 25%, #f8f9fa 50%, #eef1f4 75%);
  background-size: 200% 100%;
  border-radius: 8px;
  flex-shrink: 0;
}

.refahi-detail-skeleton-body {
  flex: 1;
}

.refahi-detail-skeleton-line {
  height: 12px;
  background: #eef1f4;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

.refahi-detail-skeleton-line.w-75 { width: 75%; }
.refahi-detail-skeleton-line.w-50 { width: 50%; }

.refahi-detail-skeleton-chips {
  height: 28px;
  background: #eef1f4;
  border-radius: 6px;
  margin-top: 0.5rem;
}

@keyframes refahiSkeletonPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.65; }
}

.refahi-detail-similar {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid #e3e7eb;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.04);
  border-top: 3px solid var(--refahi-accent, #0d6efd);
}

.refahi-detail-scroll-top {
  position: fixed;
  bottom: 5.5rem;
  left: 1rem;
  z-index: 1035;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: var(--refahi-accent, #0d6efd);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s, visibility 0.25s, transform 0.25s;
  cursor: pointer;
}

.refahi-detail-scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.refahi-detail-scroll-top:hover {
  background: var(--refahi-accent-mid, #0b5ed7);
}

@media (min-width: 992px) {
  .refahi-detail-scroll-top {
    bottom: 1.5rem;
  }
}

.refahi-detail-similar-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 1rem;
}

.refahi-detail-similar-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.refahi-detail-similar-card:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
  color: inherit;
}

.refahi-detail-similar-image {
  display: block;
  aspect-ratio: 16 / 10;
  background: #eef1f4;
  overflow: hidden;
}

.refahi-detail-similar-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.refahi-detail-similar-name {
  display: block;
  padding: 0.65rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.refahi-detail-chip {
  border-color: color-mix(in srgb, var(--refahi-accent, #0d6efd) 25%, #dee2e6);
}

@media print {
  .refahi-detail-hero,
  .refahi-detail-slider-wrap,
  .refahi-detail-tabs-sticky,
  .refahi-detail-mobile-bar,
  .refahi-detail-similar,
  .refahi-detail-search-card,
  .refahi-detail-contact-cta,
  .refahi-detail-print-btn,
  .refahi-detail-unit-card,
  .refahi-detail-empty {
    display: none !important;
  }

  .refahi-detail-print-area,
  .refahi-detail-contact-card {
    display: block !important;
  }

  .refahi-detail-tab-content .tab-pane {
    display: block !important;
    opacity: 1 !important;
  }

  #refahi-tab-book {
    display: none !important;
  }
}

/* ===== Admin form UX + audit ===== */
.bc-admin-page { max-width: 1320px; margin-inline: auto; }
.bc-sticky-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
}
.bc-sticky-bar__info { display: flex; align-items: flex-start; gap: 0.75rem; min-width: 0; }
.bc-sticky-bar__back {
  width: 36px; height: 36px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #f3f4f6; color: #374151; text-decoration: none; flex-shrink: 0;
}
.bc-sticky-bar__title { margin: 0; font-size: 1.15rem; font-weight: 700; color: #111827; }
.bc-sticky-bar__hint { font-size: 0.82rem; color: #6b7280; }
.bc-sticky-bar__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.bc-admin-tabs .nav-link { font-size: 0.92rem; display: inline-flex; align-items: center; gap: 0.35rem; }
.bc-admin-tabs .nav-link i { opacity: 0.75; }
.rlx-panel--compact .rlx-scenario { margin-bottom: 0.85rem; padding: 0.85rem 1rem; }
.rlx-panel--compact .rlx-step__num { width: 1.6rem; height: 1.6rem; font-size: 0.8rem; }
.bc-gap-card {
  margin: 1rem 1.25rem 0.5rem;
  padding: 1rem 1.1rem;
  border: 1px solid #fcd34d;
  border-radius: 12px;
  background: linear-gradient(180deg, #fffbeb 0%, #fff 70%);
}
.bc-gap-card__head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem;
}
.bc-gap-card__tag {
  font-size: 0.75rem; color: #92400e; background: #fef3c7;
  border-radius: 999px; padding: 0.2rem 0.55rem;
}
.bc-gap-card__hint { margin: 0.55rem 0 0.75rem; font-size: 0.86rem; color: #6b7280; line-height: 1.55; }
.bc-gap-scope {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.bc-gap-scope__opt {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0;
  padding: 0.65rem 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  font-size: 0.9rem;
  color: #111827;
  line-height: 1.45;
}
.bc-gap-scope__opt:hover {
  border-color: #f59e0b;
  background: #fffbeb;
}
.bc-gap-scope__opt:has(input:checked) {
  border-color: #d97706;
  background: #fff7ed;
  box-shadow: 0 0 0 1px #f59e0b;
}
.bc-gap-scope__opt input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.bc-gap-scope__opt span {
  color: #111827;
}
.bc-audit-panel { padding: 0.5rem 0.25rem 1rem; }
.bc-audit-panel__header { margin-bottom: 1rem; }
.bc-audit-empty {
  padding: 1.5rem; text-align: center; color: #6b7280;
  background: #f9fafb; border: 1px dashed #d1d5db; border-radius: 12px;
}
.bc-audit-timeline { display: flex; flex-direction: column; gap: 0.85rem; }
.bc-audit-item {
  border: 1px solid #e5e7eb; border-radius: 12px; background: #fff;
  padding: 0.9rem 1rem; box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.bc-audit-item__head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.35rem; }
.bc-audit-item__time { font-size: 0.85rem; color: #4b5563; }
.bc-audit-item__meta { font-size: 0.86rem; color: #374151; margin-bottom: 0.35rem; }
.bc-audit-item__summary { margin: 0 0 0.5rem; font-size: 0.9rem; color: #111827; }
.bc-audit-item__id { font-size: 0.75rem; margin-top: 0.35rem; }
.bc-audit-details summary {
  cursor: pointer; font-size: 0.86rem; color: #1d4ed8; user-select: none;
}
.bc-audit-diff { list-style: none; padding: 0.5rem 0 0; margin: 0; }
.bc-audit-diff li {
  display: grid; grid-template-columns: minmax(120px, 1fr) minmax(80px, 1.2fr) auto minmax(80px, 1.2fr);
  gap: 0.4rem 0.55rem; align-items: start; padding: 0.45rem 0;
  border-top: 1px solid #f3f4f6; font-size: 0.82rem;
}
.bc-audit-diff__label { font-weight: 600; color: #374151; }
.bc-audit-diff__old { color: #b91c1c; text-decoration: line-through; opacity: 0.85; word-break: break-word; }
.bc-audit-diff__new { color: #047857; font-weight: 600; word-break: break-word; }
.bc-audit-diff__arrow { color: #9ca3af; }
.bc-list-header h2 { font-size: 1.35rem; font-weight: 700; }
@media (max-width: 860px) {
  .bc-sticky-bar { position: static; }
  .bc-audit-diff li { grid-template-columns: 1fr; }
  .bc-audit-diff__arrow { display: none; }
}

/* ===== Admin UX v15  list + form shell ===== */
.bc-admin-page {
  --bc-ink: #111827;
  --bc-muted: #6b7280;
  --bc-line: #e5e7eb;
  --bc-soft: #f8fafc;
  --bc-accent: #0f766e;
  --bc-warn: #b45309;
  max-width: none;
}
.bc-list-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
  padding: 1.1rem 1.2rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #f0fdfa 0%, #fff 55%, #f8fafc 100%);
  border: 1px solid var(--bc-line);
}
.bc-list-hero__title { margin: 0; font-size: 1.45rem; font-weight: 800; color: var(--bc-ink); }
.bc-list-hero__lead { margin: 0.25rem 0 0; color: var(--bc-muted); font-size: 0.92rem; }
.bc-list-hero__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.bc-stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.bc-stat {
  background: #fff;
  border: 1px solid var(--bc-line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
}
.bc-stat__num { display: block; font-size: 1.35rem; font-weight: 800; color: var(--bc-ink); line-height: 1.2; }
.bc-stat__label { font-size: 0.8rem; color: var(--bc-muted); }
.bc-stat--ok .bc-stat__num { color: #047857; }
.bc-stat--warn .bc-stat__num { color: var(--bc-warn); }
.bc-stat--muted .bc-stat__num { color: #64748b; }
.bc-list-panel {
  background: #fff;
  border: 1px solid var(--bc-line);
  border-radius: 14px;
  overflow: hidden;
}
.bc-list-panel__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--bc-line);
  background: var(--bc-soft);
}
.bc-list-panel__filters { display: flex; align-items: center; gap: 0.5rem; }
.bc-filter-label { margin: 0; font-size: 0.82rem; color: var(--bc-muted); }
.bc-filter-select { min-width: 150px; }
.bc-list-panel__hint { font-size: 0.8rem; color: var(--bc-muted); }
.bc-empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--bc-muted);
}
.bc-empty-state i { font-size: 2rem; margin-bottom: 0.75rem; opacity: 0.55; }
.bc-empty-state h3 { color: var(--bc-ink); margin-bottom: 0.35rem; }
.bc-table { margin: 0; }
.bc-table thead th {
  background: #f1f5f9;
  border-bottom: 1px solid var(--bc-line);
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
  white-space: nowrap;
}
.bc-table tbody td { vertical-align: middle; border-color: #f1f5f9; }
.bc-id-chip {
  display: inline-block;
  min-width: 2rem;
  padding: 0.15rem 0.45rem;
  border-radius: 8px;
  background: #f1f5f9;
  border: 1px solid var(--bc-line);
  font-size: 0.8rem;
  font-weight: 700;
}
.bc-name-row { display: flex; align-items: center; gap: 0.7rem; }
.bc-thumb {
  width: 44px; height: 44px; border-radius: 10px; object-fit: cover;
  border: 1px solid var(--bc-line); background: #fff; flex-shrink: 0;
}
.bc-thumb--empty {
  display: inline-flex; align-items: center; justify-content: center;
  color: #94a3b8; background: #f8fafc;
}
.bc-name-text { min-width: 0; display: flex; flex-direction: column; gap: 0.1rem; }
.bc-name-link {
  border: 0; background: none; padding: 0; text-align: right;
  color: #0f766e; font-weight: 700; cursor: pointer;
}
.bc-name-link:hover { text-decoration: underline; }
.bc-name-text .name-short { font-size: 0.78rem; color: var(--bc-muted); }
.bc-pill {
  display: inline-flex; align-items: center;
  padding: 0.2rem 0.55rem; border-radius: 999px;
  font-size: 0.75rem; font-weight: 600; white-space: nowrap;
}
.bc-pill--info { background: #e0f2fe; color: #075985; }
.bc-pill--success { background: #d1fae5; color: #065f46; }
.bc-pill--secondary { background: #e2e8f0; color: #475569; }
.bc-pill--primary { background: #ccfbf1; color: #0f766e; }
.bc-pill--warn { background: #fef3c7; color: #92400e; }
.bc-limit-stack { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.bc-actions { display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; }
.bc-actions .btn { display: inline-flex; align-items: center; gap: 0.3rem; }
@media (max-width: 720px) {
  .bc-stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bc-actions__txt { display: none; }
}

.bc-form-shell {
  background: transparent;
}
.bc-admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
  padding: 0.4rem;
  background: #fff;
  border: 1px solid var(--bc-line);
  border-radius: 12px;
}
.bc-admin-tabs .nav-link {
  border-radius: 10px !important;
  color: #475569 !important;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.55rem 0.85rem !important;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 0 !important;
}
.bc-admin-tabs .nav-link.active {
  background: #0f766e !important;
  color: #fff !important;
}
.bc-tab-num {
  width: 1.35rem; height: 1.35rem; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 800;
  background: rgba(15, 23, 42, 0.08);
}
.bc-admin-tabs .nav-link.active .bc-tab-num { background: rgba(255,255,255,0.22); }
.bc-tab-content { padding-top: 0.25rem; }
.bc-section {
  background: #fff;
  border: 1px solid var(--bc-line);
  border-radius: 14px;
  padding: 1rem 1.15rem 1.15rem;
  margin-bottom: 1rem;
}
.bc-section--side { position: sticky; top: 88px; }
.bc-section__head { margin-bottom: 0.85rem; }
.bc-section__title {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--bc-ink);
}
.bc-section__desc {
  margin: 0.2rem 0 0;
  font-size: 0.84rem;
  color: var(--bc-muted);
}
.bc-media-grid {
  display: grid;
  grid-template-columns: minmax(180px, 260px) 1fr;
  gap: 1rem;
}
.bc-main-image__preview {
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  background: #f8fafc;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 0.65rem;
}
.bc-main-image__preview img {
  max-width: 100%;
  max-height: 220px;
  object-fit: cover;
}
.bc-main-image__ph { color: #94a3b8; font-size: 0.9rem; }
.bc-token-help {
  margin-top: 0.5rem;
  font-size: 0.84rem;
  background: #f8fafc;
  border: 1px solid var(--bc-line);
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
}
.bc-token-help summary { cursor: pointer; color: #0f766e; font-weight: 600; }
.bc-token-help code { display: block; margin-top: 0.45rem; white-space: normal; line-height: 1.7; }
.bc-cancel-table { font-size: 0.88rem; }
.rlx-panel--compact {
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  box-shadow: none;
}
.rlx-panel--compact .refahi-limitation-panel__header {
  background: transparent;
  border: 0;
  padding: 0 0 0.75rem;
}
@media (max-width: 991px) {
  .bc-media-grid { grid-template-columns: 1fr; }
  .bc-section--side { position: static; }
}

/* ===== List polish v16 ===== */
.bc-list-hero--compact {
  padding: 0.85rem 1rem;
  margin-bottom: 0.75rem;
}
.bc-list-hero--compact .bc-list-hero__title { font-size: 1.25rem; }
.bc-stat-row--compact {
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.bc-stat-row--compact .bc-stat {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
}
.bc-stat-row--compact .bc-stat__num {
  font-size: 1.05rem;
  margin: 0;
}
.bc-stat-row--compact .bc-stat__label {
  font-size: 0.78rem;
}
.bc-list-panel__toolbar {
  gap: 0.65rem 1rem;
  padding: 0.7rem 0.85rem;
}
.bc-toolbar-group {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.bc-toolbar-group--grow {
  flex: 1 1 220px;
  min-width: 180px;
}
.bc-search-input {
  max-width: 320px;
  width: 100%;
}
.bc-btn-edit {
  background: #0f766e !important;
  border-color: #0f766e !important;
  color: #fff !important;
}
.bc-btn-edit:hover {
  background: #0d9488 !important;
  border-color: #0d9488 !important;
  color: #fff !important;
}
.bc-btn-ghost {
  background: #fff !important;
  border: 1px solid #d1d5db !important;
  color: #374151 !important;
}
.bc-btn-ghost:hover {
  background: #f8fafc !important;
  border-color: #94a3b8 !important;
  color: #111827 !important;
}
.bc-btn-danger {
  background: #fff !important;
  border: 1px solid #fecaca !important;
  color: #b91c1c !important;
}
.bc-btn-danger:hover {
  background: #fef2f2 !important;
  border-color: #f87171 !important;
  color: #991b1b !important;
}
.bc-actions .btn {
  font-weight: 600;
  font-size: 0.78rem;
  padding: 0.28rem 0.55rem;
  border-radius: 8px;
}
.bc-thumb { width: 40px; height: 40px; border-radius: 8px; }
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
  padding: 0.65rem 0.85rem;
  font-size: 0.84rem;
}
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_length {
  display: none !important;
}
@media (max-width: 720px) {
  .bc-toolbar-group { width: 100%; }
  .bc-toolbar-group .form-control,
  .bc-toolbar-group .form-select,
  .bc-search-input { max-width: none; flex: 1; }
}
