/* ============================================================
   CarServicesLTD UI Remediation Layer
   - Shared, additive design-system fixes
   - Preserves existing brand colors and functionality
   - Loaded after page/dashboard styles
   ============================================================ */

:root {
  --ui-brand: #172a74;
  --ui-brand-2: #21a9af;
  --ui-brand-soft: rgba(23, 42, 116, 0.08);
  --ui-bg: #f4f7fb;
  --ui-surface: #ffffff;
  --ui-surface-alt: #f8fafc;
  --ui-border: #dbe3ee;
  --ui-border-strong: #c3cedd;
  --ui-text: #0f172a;
  --ui-muted: #475569;
  --ui-muted-2: #64748b;
  --ui-danger: #dc2626;
  --ui-success: #059669;
  --ui-warning: #d97706;
  --ui-radius: 14px;
  --ui-radius-sm: 10px;
  --ui-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
  --ui-shadow-soft: 0 2px 10px rgba(15, 23, 42, 0.04);
  --ui-focus: 0 0 0 3px rgba(33, 169, 175, 0.18);
  --ui-font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---------- Base consistency ---------- */
body { color: var(--ui-text); }
.dashboard-page .main-content { background: var(--ui-bg); }

.dashboard-page .main-content > .container,
.dashboard-page .main-content > .container-fluid,
.dashboard-page .main-content .svc-dash-main,
.dashboard-page .main-content .quick-page > .container,
.dashboard-page .main-content .quick-page > .container-fluid {
  max-width: 1320px;
}

/* Avoid overly narrow form cards on desktop; keep responsive on mobile */
.quick-card,
.svc-card,
.listing-card,
.form-card,
.auth-card,
.post-card,
.ui-form-card {
  width: 100%;
  max-width: min(100%, 980px);
  margin-left: auto;
  margin-right: auto;
  background: var(--ui-surface);
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius);
  box-shadow: var(--ui-shadow);
}

.quick-card,
.svc-card,
.listing-card,
.form-card,
.ui-form-card {
  padding: clamp(20px, 2.2vw, 32px);
}

.modal .quick-card,
.modal .svc-card,
.modal .form-card,
.dropdown-menu .quick-card {
  max-width: 100%;
  box-shadow: none;
}

/* ---------- Typography ---------- */
.quick-card h1, .quick-card h2, .quick-card h3,
.svc-card h1, .svc-card h2, .svc-card h3,
.form-card h1, .form-card h2, .form-card h3,
.ui-form-card h1, .ui-form-card h2, .ui-form-card h3 {
  color: var(--ui-text);
  letter-spacing: -0.01em;
}

.quick-card p, .svc-card p, .form-card p, .ui-form-card p,
.svc-hint, .form-text, .text-muted, .help-text {
  color: var(--ui-muted-2);
}

/* ---------- Labels & inputs ---------- */
label,
.form-label,
.svc-label,
.control-label {
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
  line-height: 1.35;
}

.cf-shell .form-control, .cf-shell .form-select, .cf-shell select.form-control, .cf-shell input[type="text"], .cf-shell input[type="email"], .cf-shell input[type="password"], .cf-shell input[type="tel"], .cf-shell input[type="number"], .cf-shell input[type="date"], .cf-shell input[type="time"], .cf-shell input[type="datetime-local"], .cf-shell input[type="url"], .cf-shell input[type="search"], .cf-shell textarea,
.quick-card .form-control, .quick-card .form-select, .quick-card select.form-control, .quick-card input[type="text"], .quick-card input[type="email"], .quick-card input[type="password"], .quick-card input[type="tel"], .quick-card input[type="number"], .quick-card input[type="date"], .quick-card input[type="time"], .quick-card input[type="url"], .quick-card input[type="search"], .quick-card textarea,
.svc-card .form-control, .svc-card .form-select, .svc-card select.form-control, .svc-card input[type="text"], .svc-card input[type="email"], .svc-card input[type="tel"], .svc-card input[type="number"], .svc-card input[type="search"], .svc-card textarea,
.ui-form-card .form-control, .ui-form-card select.form-control, .ui-form-card textarea,
.dashboard-page .main-content .form-control, .dashboard-page .main-content .form-select, .dashboard-page .main-content select.form-control, .dashboard-page .main-content textarea {
  min-height: 46px;
  border-radius: var(--ui-radius-sm);
  border: 1px solid var(--ui-border-strong);
  background-color: #fff;
  color: var(--ui-text);
  font-size: 0.95rem;
  line-height: 1.4;
  padding: 0.65rem 0.875rem;
  box-shadow: none;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

textarea,
textarea.form-control {
  min-height: 110px;
  resize: vertical;
}

.cf-shell .form-control:focus, .cf-shell .form-select:focus, .cf-shell select.form-control:focus, .cf-shell input:focus, .cf-shell textarea:focus,
.quick-card .form-control:focus, .quick-card select.form-control:focus, .quick-card input:focus, .quick-card textarea:focus,
.svc-card .form-control:focus, .svc-card select.form-control:focus, .svc-card input:focus, .svc-card textarea:focus,
.ui-form-card .form-control:focus, .ui-form-card input:focus, .ui-form-card textarea:focus,
.dashboard-page .main-content .form-control:focus, .dashboard-page .main-content select.form-control:focus, .dashboard-page .main-content input:focus, .dashboard-page .main-content textarea:focus {
  border-color: var(--ui-brand-2);
  box-shadow: var(--ui-focus);
  outline: none;
}

.cf-shell .form-control::placeholder, .cf-shell textarea::placeholder, .cf-shell input::placeholder,
.quick-card .form-control::placeholder, .quick-card textarea::placeholder, .quick-card input::placeholder,
.svc-card .form-control::placeholder, .svc-card textarea::placeholder, .svc-card input::placeholder,
.dashboard-page .main-content .form-control::placeholder, .dashboard-page .main-content textarea::placeholder, .dashboard-page .main-content input::placeholder {
  color: #64748b;
  opacity: 1;
}

.cf-shell .form-control:disabled, .cf-shell .form-control[readonly], .cf-shell input:disabled, .cf-shell select:disabled, .cf-shell textarea:disabled,
.quick-card .form-control:disabled, .quick-card input:disabled, .quick-card select:disabled, .quick-card textarea:disabled,
.svc-card .form-control:disabled, .svc-card input:disabled, .svc-card select:disabled, .svc-card textarea:disabled,
.dashboard-page .main-content .form-control:disabled, .dashboard-page .main-content input:disabled, .dashboard-page .main-content select:disabled, .dashboard-page .main-content textarea:disabled {
  background: #f1f5f9;
  color: #64748b;
  cursor: not-allowed;
}

.form-group,
.mb-3.field,
.ui-field {
  margin-bottom: 1.15rem;
}

/* ---------- Radio / checkbox alignment ---------- */
.form-check,
.custom-control,
.checkbox,
.radio,
label.checkbox,
label.radio {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  min-height: 24px;
}

.form-check-input,
.custom-control-input,
input[type="checkbox"],
input[type="radio"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin: 2px 0 0 0;
  flex: 0 0 18px;
  accent-color: var(--ui-brand);
}

.form-check-label,
.custom-control-label {
  margin: 0;
  font-weight: 500;
  color: #334155;
  line-height: 1.45;
  cursor: pointer;
}

.form-check-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-right: 1rem;
}

/* ---------- Grid helpers for forms ---------- */
.ui-form-grid,
.form-grid-2,
.svc-row-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
}

.ui-form-grid-3,
.form-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 20px;
}

.ui-form-grid > *,
.ui-form-grid-3 > *,
.form-grid-2 > *,
.form-grid-3 > * {
  min-width: 0;
}

@media (max-width: 991px) {
  .ui-form-grid-3, .form-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .ui-form-grid, .ui-form-grid-3, .form-grid-2, .form-grid-3, .svc-row-2 {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* ---------- Sections / fieldsets ---------- */
.ui-section,
.form-section,
.svc-section {
  padding: 20px 0;
  border-bottom: 1px solid #e7edf5;
}

.ui-section:last-child,
.form-section:last-child,
.svc-section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.ui-section-title,
.svc-section-title,
.section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ui-brand);
  margin: 0 0 14px;
}

/* ---------- Buttons ---------- */
.btn,
button.btn,
a.btn {
  border-radius: 10px;
  font-weight: 600;
  min-height: 44px;
  padding: 0.55rem 1rem;
  line-height: 1.2;
}

.btn-primary,
.svc-btn,
.ui-btn-primary {
  background: linear-gradient(135deg, var(--ui-brand) 0%, var(--ui-brand-2) 100%);
  border: 0;
  color: #fff !important;
}

.btn-primary:hover,
.svc-btn:hover,
.ui-btn-primary:hover {
  filter: brightness(0.98);
  color: #fff !important;
}

.btn-outline-secondary,
.btn-outline-primary {
  border-color: #cbd5e1;
  color: #334155;
}

.btn-danger { background: var(--ui-danger); border-color: var(--ui-danger); }

.ui-form-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #e7edf5;
}

.ui-form-actions .btn,
.form-actions .btn { min-width: 140px; }

@media (max-width: 575px) {
  .ui-form-actions, .form-actions { justify-content: stretch; }
  .ui-form-actions .btn, .form-actions .btn { width: 100%; }
}

/* ---------- Cards, tables, status ---------- */
.card,
.dashboard-card,
.stat-card,
.panel,
.ui-card {
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius);
  box-shadow: var(--ui-shadow-soft);
  background: var(--ui-surface);
}

.table-responsive {
  border: 1px solid var(--ui-border);
  border-radius: 12px;
  background: #fff;
}

.table { margin-bottom: 0; color: var(--ui-text); }

.table thead th {
  background: #f8fafc;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--ui-border);
  padding: 0.85rem 0.9rem;
  white-space: nowrap;
}

.table tbody td {
  padding: 0.85rem 0.9rem;
  border-top: 1px solid #edf2f7;
  vertical-align: middle;
}

.badge, .status-badge {
  font-weight: 600;
  border-radius: 999px;
  padding: 0.35em 0.65em;
}

/* ---------- Alerts / empty states ---------- */
.alert { border-radius: 12px; border: 1px solid transparent; }

.empty-state, .ui-empty-state {
  padding: 28px 20px;
  text-align: center;
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  background: #f8fafc;
  color: var(--ui-muted);
}

/* ---------- Dashboard / workspace polish ---------- */
.dashboard-page .dashboard-content,
.dashboard-page .main-content .container-fluid,
.dashboard-page .main-content .container { width: 100%; }

.dashboard-page .page-header,
.dashboard-page .content-header,
.dashboard-page .dashboard-header { margin-bottom: 20px; }

.dashboard-page .card-header,
.card-header {
  background: #fff;
  border-bottom: 1px solid #edf2f7;
  padding: 1rem 1.25rem;
}

.dashboard-page .card-body,
.card-body { padding: 1.25rem; }

/* Prevent horizontal overflow */
.dashboard-page .main-content,
.dashboard-page .card,
.dashboard-page .table-responsive,
.quick-page,
.container, .container-fluid { max-width: 100%; }

img, video, canvas { max-width: 100%; height: auto; }

input[type="file"].form-control,
.form-control-file { padding: 0.55rem; height: auto; }

/* ---------- Accessibility ---------- */
:focus-visible {
  outline: 3px solid rgba(33, 169, 175, 0.35);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}


/* ---------- Bootstrap 4 form-check compatibility ---------- */
.form-check { padding-left: 0; }
.form-check .form-check-input { position: static; margin-left: 0; margin-top: 0.2rem; }
.form-check-input[type=radio], .form-check-input[type=checkbox] { flex: 0 0 18px; }

/* ---------- Widen narrow form wrappers ---------- */
.quick-page [style*="max-width: 520px"],
.quick-page [style*="max-width: 560px"],
.quick-page [style*="max-width: 480px"],
.quick-page [style*="max-width: 640px"] {
  max-width: min(100%, 980px) !important;
}
.svc-dash-main { max-width: min(100%, 1120px) !important; }

/* ---------- Dashboard form polish ---------- */
.dashboard-page .main-content .form-control,
.dashboard-page .main-content select.form-control,
.dashboard-page .main-content .form-select {
  min-height: 46px;
}
.dashboard-page .main-content textarea.form-control { min-height: 110px; }
.dashboard-page .main-content .card { border-radius: 14px; }
.dashboard-page .main-content .table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.dashboard-page .main-content .btn { white-space: normal; }

/* ---------- Modal polish ---------- */
.modal-content { border-radius: 14px; border: 1px solid var(--ui-border); box-shadow: var(--ui-shadow); }
.modal-header, .modal-footer { border-color: #edf2f7; }

/* ---------- Prevent public marketing footer feel in dashboards ---------- */
.dashboard-page .site-footer-marketing,
.dashboard-page .public-page-footer { display: none !important; }

/* ---------- Reusable listing/form shell (cf-*) ---------- */
.cf-shell { max-width: min(100%, 1120px); margin: 0 auto; }
.cf-hero { background: linear-gradient(135deg, #172a74 0%, #1d3a8a 45%, #21a9af 100%); color: #fff; border-radius: 20px; padding: 28px; margin-bottom: 20px; box-shadow: 0 12px 32px rgba(23,42,116,.18); }
.cf-hero h1 { font-size: clamp(1.5rem,2.5vw,2rem); margin: 0 0 6px; font-weight: 700; color: #fff !important; letter-spacing: -.02em; }
.cf-hero p { margin: 0; color: rgba(255,255,255,.9) !important; max-width: 760px; font-size: .96rem; line-height: 1.55; }
.cf-card { background: #fff; border: 1px solid #dbe3ee; border-radius: 16px; box-shadow: 0 8px 28px rgba(15,23,42,.05); padding: 24px; margin-bottom: 18px; }
.cf-section-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid #edf2f7; }
.cf-section-icon { width: 38px; height: 38px; border-radius: 10px; background: rgba(23,42,116,.08); color: #172a74; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 38px; }
.cf-section-head h2 { font-size: 1.05rem; font-weight: 700; margin: 0; color: #0f172a; }
.cf-section-head p { margin: 3px 0 0; font-size: .875rem; color: #64748b; line-height: 1.45; }
.cf-grid-2 { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 20px; }
.cf-grid-3 { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px 20px; }
.cf-grid-4 { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px 20px; }
.cf-grid-2>*, .cf-grid-3>*, .cf-grid-4>* { min-width: 0; }
@media (max-width: 991px) { .cf-grid-3,.cf-grid-4 { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 767px) { .cf-grid-2,.cf-grid-3,.cf-grid-4 { grid-template-columns: 1fr; } .cf-card { padding: 20px; } .cf-hero { padding: 22px; } }
.cf-option-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 12px; }
.cf-option-card { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid #d7e0ea; border-radius: 12px; background: #fff; cursor: pointer; margin: 0; transition: border-color .15s, box-shadow .15s, background .15s; }
.cf-option-card:hover { border-color: #94a3b8; background: #fbfdff; }
.cf-option-card input[type="radio"], .cf-option-card input[type="checkbox"] { width: 18px; height: 18px; margin: 2px 0 0; flex: 0 0 18px; accent-color: #172a74; }
.cf-option-card .cf-option-body { display: block; min-width: 0; }
.cf-option-card .cf-option-title { display: block; font-weight: 600; color: #0f172a; font-size: .92rem; line-height: 1.35; }
.cf-option-card .cf-option-desc { display: block; font-size: .8rem; color: #64748b; margin-top: 3px; line-height: 1.4; }
.cf-option-card:has(input:checked) { border-color: rgba(23,42,116,.45); background: rgba(23,42,116,.04); box-shadow: inset 0 0 0 1px rgba(23,42,116,.15); }
.cf-check-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 10px; }
.cf-check { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border: 1px solid #e2e8f0; border-radius: 10px; background: #fff; margin: 0; cursor: pointer; font-size: .9rem; color: #334155; line-height: 1.35; }
.cf-check:hover { border-color: #cbd5e1; background: #f8fafc; }
.cf-check input[type="checkbox"], .cf-check input[type="radio"] { width: 18px; height: 18px; margin: 1px 0 0; flex: 0 0 18px; accent-color: #172a74; }
.cf-check:has(input:checked) { border-color: rgba(23,42,116,.35); background: rgba(23,42,116,.04); color: #0f172a; font-weight: 500; }
.cf-subhead { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #475569; margin: 0 0 10px; }
.cf-divider { height: 1px; background: #edf2f7; margin: 20px 0; }
.cf-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: flex-end; padding-top: 8px; }
.cf-actions .hint { margin: 0; margin-right: auto; font-size: .8125rem; color: #64748b; line-height: 1.45; }
.btn-publish, .cf-btn-primary { width: 100%; max-width: 320px; background: linear-gradient(135deg,#172a74,#21a9af); color: #fff !important; border: none; padding: 14px 22px; border-radius: 12px; font-weight: 700; cursor: pointer; font-size: 1rem; min-height: 50px; }
.btn-publish:hover, .cf-btn-primary:hover { filter: brightness(.98); color: #fff !important; }
@media (max-width: 575px) { .btn-publish, .cf-btn-primary { max-width: none; } .cf-actions .hint { width: 100%; margin-bottom: 4px; } }
/* ---------- Shared dashboard consistency (scoped, additive) ---------- */
.dashboard-page .main-content,
.admin-page .main-content { min-width: 0; }
.dashboard-page .card,
.admin-page .card,
.txd-card, .cbd-panel, .dash-card { border-radius: 14px; }
.dashboard-page .table-responsive,
.admin-page .table-responsive,
.txd-table-wrap, .cbd-desktop-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.dashboard-page .stat-card,
.dashboard-page .kpi-card,
.txd-kpi-tile, .cbd-kpi { min-width: 0; }
.dashboard-page .welcome-header h1,
.dashboard-page .txd-section-title,
.dashboard-page .cbd-section-title { line-height: 1.25; word-break: break-word; }
.dashboard-page img, .admin-page img { max-width: 100%; height: auto; }
.dashboard-page .sidebar .nav-link,
.txd-nav-item { white-space: normal; }
@media (max-width: 991px) {
  .dashboard-page .stats-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .dashboard-page .main-content { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 767px) {
  .dashboard-page .stats-grid { grid-template-columns: 1fr; }
  .dashboard-page .welcome-header { padding: 20px; }
  .dashboard-page .welcome-header h1 { font-size: 1.4rem; }
  .dashboard-page .main-content { padding: 16px 12px; }
  .dashboard-page .kpi-row, .kpi-row { grid-template-columns: 1fr 1fr; }
  .dashboard-page .table th, .dashboard-page .table td,
  .admin-page .table th, .admin-page .table td { white-space: normal; }
}
@media (max-width: 420px) {
  .dashboard-page .kpi-row, .kpi-row { grid-template-columns: 1fr; }
}
/* Business central dashboard (Session 2 template) - responsive/a11y safeguards */
.bc-section { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.bc-btn:focus-visible, .bc-link:focus-visible { outline: 3px solid rgba(33,169,175,.35); outline-offset: 2px; }
.bc-table th, .bc-table td { vertical-align: top; }
@media (max-width: 767px) { .bc-table { min-width: 520px; } }
.bc-dashboard { max-width: 100%; overflow-x: clip; }
.bc-section, .bc-kpis, .bc-group, .bc-buttons, .bc-links { max-width: 100%; }
.bc-btn, .bc-link { box-sizing: border-box; }
@media (max-width: 560px) { .bc-btn, .bc-link { width: 100%; justify-content: flex-start; } }

/* ===== Final visual polish (2026-12-02 v2) ===== */
.dashboard-page .sidebar .nav-link,
.dashboard-page .sidebar a {
  padding: 0.45rem 0.75rem;
  font-size: 0.86rem;
  line-height: 1.25;
  border-radius: 8px;
}
.dashboard-page .sidebar .nav-item { margin-bottom: 2px; }
.dashboard-page .sidebar .sidebar-heading,
.dashboard-page .sidebar .nav-section-label {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  margin-top: 0.85rem;
  margin-bottom: 0.35rem;
  opacity: 0.75;
}

#dynamicContent .dashboard-module[data-module="my-services"] .card {
  border: 1px solid #d7e2ef !important;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%) !important;
  box-shadow: 0 8px 22px rgba(15,23,42,.06) !important;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  min-height: 108px;
}
#dynamicContent .dashboard-module[data-module="my-services"] .card:hover {
  transform: translateY(-3px);
  border-color: #21a9af !important;
  box-shadow: 0 14px 28px rgba(23,42,116,.12) !important;
}
#dynamicContent .dashboard-module[data-module="my-services"] .card-body {
  padding: 1.05rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
#dynamicContent .dashboard-module[data-module="my-services"] .h6 {
  color: #0b3d5c;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0.15rem;
}
#dynamicContent .dashboard-module[data-module="my-services"] .card a {
  font-weight: 700;
  font-size: 0.86rem;
}
#dynamicContent .dashboard-module[data-module="my-services"] .border.rounded {
  border-radius: 14px !important;
  border-color: #dbe3ee !important;
  background: #fff;
  box-shadow: 0 4px 14px rgba(15,23,42,.04);
}
#dynamicContent .dashboard-module[data-module="my-services"] .btn,
#dynamicContent .dashboard-module[data-module="my-services"] .btn-primary {
  border-radius: 10px;
  font-weight: 700;
}

.section-bookings .bk-card { padding: 14px 16px; border-radius: 12px; }
.section-bookings .bk-card-header { margin-bottom: 6px; }
.section-bookings .bk-card-details { padding: 8px 10px; margin-bottom: 8px; }
.section-bookings .bk-card-meta { margin-bottom: 4px; gap: 10px; }
#dynamicContent article.card.mb-3 { margin-bottom: 0.75rem !important; }
#dynamicContent article.card.mb-3 .card-body { padding: 0.85rem 1rem; }
#dynamicContent article.card.mb-3 h3 { font-size: 1rem; margin-bottom: 0.35rem; }
#dynamicContent article.card.mb-3 p { margin-bottom: 0.35rem; }

.admin-navbar .navbar-brand {
  color: #fff !important;
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
  font-weight: 800;
}
.admin-page .hero h2,
.main-content .hero h2 {
  color: #fff !important;
  text-shadow: 0 1px 2px rgba(0,0,0,.25);
}
.admin-page .section-title { color: #0b3d5c; }

@media (max-width: 767px) {
  .admin-page .table-responsive,
  .main-content .table-responsive {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .admin-page .table-responsive .table,
  .main-content .table-responsive .table {
    min-width: 720px;
    margin-bottom: 0;
  }
  .admin-page .table thead th,
  .main-content .table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #f8fafc;
  }
  .admin-page .table td .btn,
  .main-content .table td .btn {
    margin: 2px 0;
    white-space: nowrap;
  }
}
