/* ============================================
   LegalMitra Admin Panel - Custom CSS
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* === Spec-exact color tokens === */
  /* --sidebar-bg: #1A237E;          
  --sidebar-active: #283593;       */
  --sidebar-bg: #0B1F3A;
  /* spec: #0B1F3A deep legal navy */
  --sidebar-active: #1A3D7C;
  /* spec: active/hover #1A3D7C */
  --sidebar-text: #FFFFFF;
  --sidebar-subtext: #8FAADC;
  /* spec: #8FAADC soft professional blue */
  --sidebar-accent: #C9A646;
  /* spec: gold accent (premium gold) */
  --sidebar-hover: #1A3D7C;
  --primary: #2E5BFF;
  --primary-light: #EEF2FF;
  --success: #43A047;
  --success-bg: #E8F5E9;
  --danger: #C62828;
  --danger-bg: #FDECEA;
  --warning: #ED6C02;
  --warning-bg: #FFF4E5;
  --content-bg: #F4F6FB;
  /* spec: #F4F6FB clean SaaS feel */
  --card-bg: #FFFFFF;
  --border: #E3E6ED;
  --text-primary: #1C1C1C;
  --text-secondary: #6B7280;
  --sidebar-width: 240px;
  /* spec: 160px fixed */
}




* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--content-bg);
  color: var(--text-primary);
  margin: 0;
  padding: 0;
  font-size: 13px;
}

/* ============ SIDEBAR ============ */
#sidebar {
  width: var(--sidebar-width);
  height: 100vh;
  /* spec: 100vh fixed, sticky */
  background: var(--sidebar-bg);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  overflow-y: auto;
  /* spec: scrolls internally */
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
}

#sidebar::-webkit-scrollbar {
  width: 4px;
}

#sidebar::-webkit-scrollbar-track {
  background: transparent;
}

#sidebar::-webkit-scrollbar-thumb {
  background: #1A3D7C;
  border-radius: 2px;
}

.sidebar-logo {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-logo .logo-text {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
}

/* spec: 'Law' = white, 'Lab' = #FFD600 gold */
.sidebar-logo .logo-text .logo-gold {
  /* color: var(--sidebar-accent); */
  /* color: #FFD600; */
  color: #FFD600;
  /* spec: #FFD600 gold accent */
}

.sidebar-logo .logo-sub {
  font-size: 10px;
  color: var(--sidebar-subtext);
  margin-top: 2px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.sidebar-nav {
  flex: 1;
  padding: 8px 0;
}

.nav-item {
  position: relative;
}

.nav-link-item {
  display: flex;
  align-items: center;
  padding: 9px 16px;
  color: var(--sidebar-text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
  border-left: 3px solid transparent;
  gap: 10px;
  user-select: none;
}

.nav-link-item:hover {
  background: var(--sidebar-hover);
  color: #fff;
  text-decoration: none;
  border-left-color: var(--sidebar-accent);
}

.nav-link-item.active {
  background: var(--sidebar-active);
  color: #fff;
  font-weight: 600;
  border-left-color: var(--sidebar-accent);
}

.nav-link-item i {
  width: 16px;
  text-align: center;
  font-size: 13px;
  flex-shrink: 0;
}

.nav-link-item .nav-label {
  flex: 1;
}

.nav-badge {
  background: #E53935;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  flex-shrink: 0;
}

.nav-chevron {
  font-size: 10px;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.nav-link-item.collapsed .nav-chevron {
  transform: rotate(0deg);
}

.nav-link-item:not(.collapsed) .nav-chevron {
  transform: rotate(180deg);
}

.nav-submenu {
  background: rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.nav-submenu .nav-sub-link {
  display: block;
  padding: 7px 16px 7px 42px;
  color: var(--sidebar-accent);
  /* color: #FFD600; */
  color: var(--sidebar-subtext);
  /* spec: #8FAADC */
  font-size: 12px;
  font-weight: 400;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.nav-submenu .nav-sub-link:hover {
  background: var(--sidebar-hover);
  color: #fff;
  text-decoration: none;
}

.nav-submenu .nav-sub-link.active {
  color: #fff;
  background: rgba(26, 61, 124, 0.5);
}

.sidebar-version {
  padding: 12px 16px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

/* ============ MAIN CONTENT ============ */
#main-content {
  margin-left: var(--sidebar-width);
  min-height: 100vh;
  background: var(--content-bg);
}

/* .topbar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.topbar-title {
  font-size: 18px;
  font-weight: 700;
  color: #212121;
  margin: 0;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-admin {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
} */

.admin-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #283593;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

.content-area {
  padding: 24px;
}

/* ============ STAT CARDS ============ */
.stat-card {
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: inherit;
  min-height: 80px;
  border: 1.5px solid var(--border);
}

.stat-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
  text-decoration: none;
  color: inherit;
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.stat-body {
  flex: 1;
  min-width: 0;
}

.stat-value {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
}

.stat-label {
  font-size: 12px;
  color: #757575;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stat-chevron {
  font-size: 14px;
  flex-shrink: 0;
}

/* Card color variants */
.stat-card.indigo {
  border-color: #9FA8DA;
}

.stat-card.indigo .stat-icon {
  background: #E8EAF6;
  color: #5C6BC0;
}

.stat-card.indigo .stat-value {
  color: #5C6BC0;
}

.stat-card.indigo .stat-chevron {
  color: #9FA8DA;
}

.stat-card.green {
  border-color: #A5D6A7;
}

.stat-card.green .stat-icon {
  background: #E8F5E9;
  color: #43A047;
}

.stat-card.green .stat-value {
  color: #43A047;
}

.stat-card.green .stat-chevron {
  color: #A5D6A7;
}

.stat-card.red {
  border-color: #EF9A9A;
}

.stat-card.red .stat-icon {
  background: #FFEBEE;
  color: #E53935;
}

.stat-card.red .stat-value {
  color: #E53935;
}

.stat-card.red .stat-chevron {
  color: #EF9A9A;
}

.stat-card.orange {
  border-color: #FFCC80;
}

.stat-card.orange .stat-icon {
  background: #FFF3E0;
  color: #FB8C00;
}

.stat-card.orange .stat-value {
  color: #FB8C00;
}

.stat-card.orange .stat-chevron {
  color: #FFCC80;
}

.stat-card.teal {
  border-color: #80CBC4;
}

.stat-card.teal .stat-icon {
  background: #E0F2F1;
  color: #00897B;
}

.stat-card.teal .stat-value {
  color: #00897B;
}

.stat-card.teal .stat-chevron {
  color: #80CBC4;
}

.stat-card.purple {
  border-color: #CE93D8;
}

.stat-card.purple .stat-icon {
  background: #F3E5F5;
  color: #8E24AA;
}

.stat-card.purple .stat-value {
  color: #8E24AA;
}

.stat-card.purple .stat-chevron {
  color: #CE93D8;
}

.stat-card.dark {
  border-color: #90A4AE;
}

.stat-card.dark .stat-icon {
  background: #ECEFF1;
  color: #37474F;
}

.stat-card.dark .stat-value {
  color: #37474F;
}

.stat-card.dark .stat-chevron {
  color: #90A4AE;
}

/* ============ SECTION LABELS ============ */
.section-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  padding: 8px 16px 4px;
}

/* ============ PANEL CARDS ============ */
.panel-card {
  background: #fff;
  border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.panel-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel-title {
  font-size: 15px;
  font-weight: 700;
  color: #212121;
  margin: 0;
}

.panel-body {
  padding: 16px 18px;
}

/* ============ METRIC ROWS ============ */
.metric-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 6px;
  margin-bottom: 8px;
  background: #FAFAFA;
  border: 1px solid var(--border);
}

.metric-row:last-child {
  margin-bottom: 0;
}

.metric-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.metric-info {
  flex: 1;
}

.metric-label {
  font-size: 12px;
  color: var(--text-secondary);
}

.metric-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

/* ============ STATUS BADGES ============ */
.badge-status {
  border-radius: 20px;
  /* Spec: 20px full pill */
  padding: 3px 10px;
  /* Spec: 3px 10px */
  font-size: 11px;
  /* Spec: 11px */
  font-weight: 600;
  /* Spec: 600 */
  font-family: Arial, sans-serif;
  /* Spec: Arial */
  display: inline-block;
  white-space: nowrap;
  border: none;
}

/* Green Variants: #E8F5E9 / #2E7D32 */
.badge-enabled,
.badge-completed,
.badge-approved,
.badge-answered,
.badge-verified,
.badge-active {
  background: #E8F5E9;
  color: #2E7D32;
}

/* Red Variants: #FFEBEE / #C62828 */
.badge-disabled,
.badge-cancelled,
.badge-rejected,
.badge-unverified,
.badge-priority-high,
.badge-banned {
  background: #FFEBEE;
  color: #C62828;
}

/* Orange Variants: #FFF3E0 / #E65100 */
.badge-pending,
.badge-unpaid,
.badge-priority-medium {
  background: #FFF3E0;
  color: #E65100;
}

/* Blue Variant: #E3F2FD / #1565C0 */
.badge-quoted {
  background: #E3F2FD;
  color: #1565C0;
}

/* Indigo Variant: #E8EAF6 / #3949AB */
.badge-open {
  background: #E8EAF6;
  color: #3949AB;
}

/* Gray Variant: #EEEEEE / #616161 */
.badge-closed {
  background: #EEEEEE;
  color: #616161;
}

/* Legacy / Compat */
.badge-ongoing {
  background: #F3E5F5;
  color: #8E24AA;
}

.badge-initiated {
  background: #E8EAF6;
  color: #5C6BC0;
}

.badge-quoted-legacy {
  background: #E3F2FD;
  color: #1E88E5;
  border: 1px solid #1E88E5;
}


/* ============ DATA TABLES ============ */
.data-table-wrap {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.data-table thead tr {
  background: #1A237E;
  /* Dark navy header row per spec */
}

.data-table thead th {
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  /* Spec: uppercase */
  padding: 12px 16px;
  /* Spec: 12px 16px */
  white-space: nowrap;
  border: none;
}

.data-table tbody tr {
  border-bottom: 1px solid #E0E0E0;
  /* Spec: 1px solid #E0E0E0 bottom */
  transition: background 0.15s;
}

.data-table tbody tr:nth-child(even) {
  background: #fff;
}

.data-table tbody tr:nth-child(odd) {
  background: #F5F6FF;
}

/* Spec: #F5F6FF very light indigo */
.data-table tbody tr:hover {
  background: #EEF2FF;
}

.data-table tbody td {
  padding: 10px 16px;
  /* Spec: 10px 16px (approx 48px row height) */
  vertical-align: middle;
  color: #212121;
}

.table-link {
  color: #3949AB;
  /* Spec: #3949AB blue */
  font-weight: 600;
  text-decoration: none;
}

.table-link:hover {
  text-decoration: underline;
  color: #1A237E;
}

.table-sub {
  font-size: 11px;
  color: #3949AB;
  margin-top: 2px;
}

/* Spec: @handle text #3949AB */
.table-name {
  font-weight: 600;
  font-size: 13px;
}

/* ============ VIEW ALL BUTTON ============ */
.btn-view-all {
  border: 1px solid #3949AB;
  color: #3949AB;
  background: transparent;
  border-radius: 6px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
  display: inline-block;
}

.btn-view-all:hover {
  background: #3949AB;
  color: #fff;
  text-decoration: none;
}

/* ============ DATE RANGE TOGGLE ============ */
.date-toggle {
  display: flex;
  gap: 0;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #3949AB;
}

.date-toggle-btn {
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: #fff;
  color: #3949AB;
  transition: background 0.15s, color 0.15s;
}

.date-toggle-btn.active {
  background: #3949AB;
  color: #fff;
}

/* ============ CHART CONTAINERS ============ */
.chart-container {
  background: #fff;
  border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  padding: 18px;
}

.chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.chart-title {
  font-size: 15px;
  font-weight: 700;
  color: #212121;
}

.chart-legend {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-secondary);
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.legend-square {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  flex-shrink: 0;
}

/* ============ PAGE HEADER ============ */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.page-header h1 {
  font-size: 22px;
  font-weight: 700;
  color: #1A1A2E;
  margin: 0;
}

/* ============ FILTER BAR ============ */
.filter-bar {
  background: #fff;
  border-radius: 8px;
  border: 1px solid var(--border);
  padding: 14px 18px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-bar .form-control,
.filter-bar .form-select {
  font-size: 13px;
  border-color: var(--border);
  border-radius: 6px;
}

.filter-bar .form-control:focus,
.filter-bar .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(46, 91, 255, 0.1);
}

/* ============ BUTTONS (Spec 1.4) ============ */
/* Primary filled button (Add New, Submit, Filter, Reply) */
.btn-primary-custom,
.btn-filled-blue {
  background: #3949AB;
  color: #fff !important;
  border: none;
  border-radius: 6px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-primary-custom:hover,
.btn-filled-blue:hover {
  background: #283593;
}

/* Red filled button (Reject, Delete, Close Ticket) */
.btn-filled-red {
  background: #C62828;
  color: #fff !important;
  border: none;
  border-radius: 6px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
}

.btn-filled-red:hover {
  opacity: 0.9;
}

/* Green filled button (Approve) */
.btn-filled-green {
  background: #2E7D32;
  color: #fff !important;
  border: none;
  border-radius: 6px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

/* Blue outline button (Details, Edit, Free Plan, Login as) */
.btn-outline-blue {
  background: transparent;
  color: #3949AB !important;
  border: 1px solid #3949AB;
  border-radius: 6px;
  padding: 7px 17px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-outline-blue:hover {
  background: rgba(57, 73, 171, 0.05);
}

/* Red outline button (Disable) */
.btn-outline-red {
  background: transparent;
  color: #C62828 !important;
  border: 1px solid #C62828;
  border-radius: 6px;
  padding: 7px 17px;
  font-size: 13px;
  font-weight: 600;
}

/* Green outline button (Enable) */
.btn-outline-green {
  background: transparent;
  color: #2E7D32 !important;
  border: 1px solid #2E7D32;
  border-radius: 6px;
  padding: 7px 17px;
  font-size: 13px;
  font-weight: 600;
}

/* Gray outline button (Back) */
.btn-outline-gray {
  background: transparent;
  color: #6B7280 !important;
  border: 1px solid #D1D5DB;
  border-radius: 6px;
  padding: 7px 17px;
  font-size: 13px;
  font-weight: 600;
}

.btn-full-width {
  width: 100%;
}

/* Legacy / Compat Button Styles */
.btn-danger-custom {
  background: #C62828;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
}

.btn-success-custom {
  background: #2E7D32;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
}

.btn-warning-custom {
  background: #FB8C00;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
}


/* ============ SKELETON LOADERS ============ */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.skeleton-card {
  height: 80px;
  border-radius: 8px;
}

.skeleton-chart {
  height: 260px;
  border-radius: 8px;
}

.skeleton-row {
  height: 52px;
  margin-bottom: 2px;
}

/* ============ MOBILE OVERLAY ============ */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.sidebar-overlay.show {
  display: block;
}

.hamburger-btn {
  display: none;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--text-primary);
  cursor: pointer;
  padding: 4px 8px;
}

/* ============ PAGINATION ============ */
.pagination-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-secondary);
}

.pagination .page-link {
  color: #3949AB;
  border-color: var(--border);
  font-size: 13px;
}

.pagination .page-item.active .page-link {
  background: #3949AB;
  border-color: #3949AB;
}

/* ============ ACTION BUTTONS IN TABLE ============ */
.action-btns {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.btn-icon {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.15s;
}

/* Icon Button Styles mapped to Spec 1.4 */
.btn-icon.view,
.btn-icon.edit {
  border: 1px solid #3949AB;
  background: transparent;
  color: #3949AB;
}

.btn-icon.view:hover,
.btn-icon.edit:hover {
  background: rgba(57, 73, 171, 0.05);
}

.btn-icon.ban,
.btn-icon.disable {
  border: 1px solid #C62828;
  background: transparent;
  color: #C62828;
}

.btn-icon.ban:hover,
.btn-icon.disable:hover {
  background: rgba(198, 40, 40, 0.05);
}

.btn-icon.enable {
  border: 1px solid #2E7D32;
  background: transparent;
  color: #2E7D32;
}

.btn-icon.enable:hover {
  background: rgba(46, 125, 50, 0.05);
}

.btn-icon.approve {
  background: #2E7D32;
  color: #fff;
}

/* Spec: Approve is filled */
.btn-icon.reject,
.btn-icon.delete {
  background: #C62828;
  color: #fff;
}

/* Spec: Reject/Delete is filled */

.btn-icon.reply {
  background: #3949AB;
  color: #fff;
}


/* ============ RESPONSIVE ============ */
/* @media (max-width: 991px) {
  #sidebar {
    transform: translateX(-100%);
    transition: transform 0.25s ease;
  }

  #sidebar.open {
    transform: translateX(0);
  }

  #main-content {
    margin-left: 0;
  }

  .hamburger-btn {
    display: block;
  }
}

@media (max-width: 767px) {
  .content-area {
    padding: 16px;
  }

  .topbar {
    padding: 10px 16px;
  }

  .stat-value {
    font-size: 22px;
  }
} */

/* ============ LOGIN PAGE ============ */
.login-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #0B1F3A 0%, #1A3D7C 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-card {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.login-logo {
  text-align: center;
  margin-bottom: 28px;
}

.login-logo .logo-big {
  font-size: 32px;
  font-weight: 700;
  color: #1A237E;
}

.login-logo .logo-big span,
.login-logo .logo-big .logo-gold {
  color: #C9A646;
}

.login-logo p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ============ MISC ============ */
.gap-16 {
  gap: 16px;
}

.text-muted-sm {
  font-size: 11px;
  color: #9E9E9E;
}

.fw-600 {
  font-weight: 600;
}

.fw-700 {
  font-weight: 700;
}

.border-bottom-light {
  border-bottom: 1px solid var(--border);
}

.user-avatar-sm {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #E8EAF6;
  color: #5C6BC0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.topbar-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--content-bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 14px;
  transition: background 0.15s;
  text-decoration: none;
}

.topbar-icon-btn:hover {
  background: #e8eaf6;
  color: #3949AB;
}

/* ============ MODALS  ============ */
.modal-content-custom {
  border-radius: 8px !important;
  /* Spec: 8px radius */
  border: none !important;
  padding: 24px !important;
  /* Spec: 24px padding */
}

.modal-header-custom {
  border-bottom: none !important;
  padding: 0 0 20px 0 !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

.modal-title-custom {
  font-size: 18px !important;
  /* Spec: 18px bold */
  font-weight: 700 !important;
  margin: 0 !important;
  color: #1A237E;
}

.modal-body-custom {
  padding: 0 !important;
}

.btn-submit-modal {
  width: 100%;
  /* Spec: full-width */
  height: 44px;
  /* Spec: 44px height */
  background: #3949AB;
  /* Spec: #3949AB filled */
  color: #fff !important;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  margin-top: 24px;
  transition: opacity 0.15s;
}

.btn-submit-modal:hover {
  opacity: 0.9;
}

.modal-close-icon {
  background: transparent;
  border: none;
  font-size: 20px;
  color: #9E9E9E;
  cursor: pointer;
}

.category-thumb-40 {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  object-fit: cover;
  background: #f5f5f5;
}

.categories-label {
  font-size: 14px;
  font-weight: 700;
  color: #1A237E;
}

/* ============ PLANS  ============ */
.alert-warning-custom {
  background: #FFF3E0 !important;
  color: #E65100 !important;
  border: 1px solid #FFE0B2 !important;
  border-radius: 8px !important;
  padding: 14px 18px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
}

.table-multi-line {
  line-height: 1.4 !important;
}

.table-multi-line div:first-child {
  font-weight: 600;
  color: #333;
}

.table-multi-line .line-sub {
  color: #757575;
  font-size: 11px;
  display: block;
}

.plans-label {
  font-size: 14px;
  font-weight: 700;
  color: #1A237E;
}

/* ============ PLAN FORM SPECIFICS  ============ */
.pill-label-blue {
  background: #E3F2FD;
  color: #1565C0;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.pill-label-green {
  background: #E8F5E9;
  color: #2E7D32;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.btn-form-disable {
  background: #FFEBEE;
  color: #C62828;
  border: 1px solid #FFCDD2;
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-form-disable:hover {
  background: #FFCDD2;
}

/* ============ MANAGE USERS (Spec 4.1) ============ */
.text-protected {
  color: #9E9E9E;
  font-style: italic;
  font-size: 11px;
}

.user-label {
  font-size: 14px;
  font-weight: 700;
  color: #1A237E;
}

.search-icon-btn {
  background: #3949AB;
  color: #fff;
  border: none;
  border-radius: 0 6px 6px 0;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  cursor: pointer;
  transition: opacity 0.15s;
}

.search-icon-btn:hover {
  opacity: 0.9;
}

.search-input-group {
  display: flex;
  max-width: 300px;
  width: 100%;
}

.search-input-group .form-control {
  border-radius: 6px 0 0 6px !important;
  border-right: none;
}

/* ============ USER DETAIL SPECIFICS  ============ */
.stat-card-flat {
  border-radius: 0 !important;
  border: none !important;
  color: #fff !important;
  height: 80px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 12px;
  position: relative;
  text-decoration: none !important;
  transition: opacity 0.15s;
}

.stat-card-flat:hover {
  opacity: 0.9;
  color: #fff;
}

.stat-card-flat .stat-icon {
  background: transparent !important;
  color: #fff !important;
  font-size: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-card-flat .stat-value {
  font-size: 24px !important;
  font-weight: 700 !important;
  color: #fff !important;
  line-height: 1;
  margin-bottom: 2px;
}

.stat-card-flat .stat-label {
  font-size: 12px !important;
  color: rgba(255, 255, 255, 0.9) !important;
  margin: 0;
  font-weight: 400 !important;
}

.stat-card-flat .stat-arrow {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

/* Colors from spec 4.3.2 */
.bg-navy-dark {
  background-color: #1A237E !important;
}

.bg-teal-deep {
  background-color: #00695C !important;
}

.bg-amber-deep {
  background-color: #E65100 !important;
}

.bg-teal-dark {
  background-color: #004D40 !important;
}

.bg-green-deep {
  background-color: #2E7D32 !important;
}

.bg-amber-light {
  background-color: #F57F17 !important;
}

.bg-green-dark {
  background-color: #1B5E20 !important;
}

.bg-red-deep {
  background-color: #B71C1C !important;
}

/* Tab Nav Bar (Spec 4.3.3) */
.user-tabs {
  display: flex;
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 24px;
}

.user-tab-btn {
  flex: 1;
  border: none;
  padding: 14px 10px;
  font-size: 13px;
  font-weight: 600;
  color: #fff !important;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none !important;
}

.user-tab-btn:hover {
  filter: brightness(1.1);
}

/* Lawyer Detail - priya_m */
.tab-green {
  background: #2E7D32;
}

.tab-red {
  background: #C62828;
}

.tab-blue {
  background: #3949AB;
}

.tab-gray {
  background: #757575;
}

.tab-orange {
  background: #E65100;
}


/* Background color tokens for Laywer Details Page*/
.bg-navy-dark {
  background-color: #1A237E !important;
}

.bg-teal-deep {
  background-color: #00695C !important;
}

.bg-amber-deep {
  background-color: #E65100 !important;
}

.bg-blue-deep {
  background-color: #1976D2 !important;
}

.bg-dark-gray {
  background-color: #37474F !important;
}

.bg-green-deep {
  background-color: #2E7D32 !important;
}

.bg-orange-deep {
  background-color: #EF6C00 !important;
}

.bg-indigo-deep {
  background-color: #3949AB !important;
}

.bg-gray-deep {
  background-color: #757575 !important;
}

.bg-red-deep {
  background-color: #C62828 !important;
}

.bg-green-dark {
  background-color: #1B5E20 !important;
}

.bg-amber-light {
  background-color: #F57F17 !important;
}

.bg-teal-dark {
  background-color: #004D40 !important;
}


/* ============ VERIFICATION BUTTONS  ============ */
.verify-btn {
  height: 36px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 6px;
  border: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.15s;
}

.verify-btn:hover {
  opacity: 0.8;
}

.verify-btn.verified {
  background: #E8F5E9;
  color: #2E7D32;
}

.verify-btn.unverified {
  background: #FFEBEE;
  color: #C62828;
}

.verify-btn.enable {
  background: #E8F5E9;
  color: #2E7D32;
}

.verify-btn.disable {
  background: #FFEBEE;
  color: #C62828;
}

/* Notification Spec  */
.rich-editor-wrap {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #D1D5DB;
}

.editor-toolbar {
  background: #F9FAFB;
  border-bottom: 1px solid #D1D5DB;
  padding: 8px 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.editor-btn {
  background: #fff;
  border: 1px solid #D1D5DB;
  border-radius: 4px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  color: #4B5563;
}

.editor-btn:hover {
  background: #F3F4F6;
}

.editor-content {
  min-height: 250px;
  padding: 16px;
  background: #fff;
}

/* Usage table for subscription panel,,manage lawers (send notifications page) */
.usage-table {
  width: 100%;
  font-size: 12px;
}

.usage-table th {
  color: #6B7280;
  font-weight: 700;
  text-transform: uppercase;
  padding: 8px 0;
  font-size: 11px;
}

.usage-table td {
  padding: 10px 0;
  border-bottom: 1px solid #F3F4F6;
  color: #111827;
}

.usage-table tr:last-child td {
  border-bottom: none;
}

/* Service Detail Features (Spec 6.2) */
.feature-item {
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 12px;
  background: #fff;
  transition: border-color 0.15s;
}

.feature-item:hover {
  border-color: #3949AB;
}

.feature-title {
  font-weight: 700;
  display: block;
  color: #111827;
  margin-bottom: 4px;
}

.feature-desc {
  font-size: 13px;
  color: #6B7280;
}

.tag-pill {
  border: 1px solid #D1D5DB;
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 12px;
  color: #4B5563;
  text-decoration: none;
  display: inline-block;
  margin-right: 8px;
  margin-bottom: 8px;
  font-weight: 600;
}

.tag-pill:hover {
  background: #F3F4F6;
  color: #111827;
}

/* Date Range Picker Mockup (manage documents page) */
.date-range-group {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #D1D5DB;
  border-radius: 6px;
  padding: 0 12px;
  height: 38px;
}

.date-range-group input {
  border: none;
  background: transparent;
  font-size: 13px;
  outline: none;
  width: 100px;
  text-align: center;
  color: #374151;
}

.date-range-group .sep {
  color: #9CA3AF;
  margin: 0 8px;
  font-weight: bold;
}

/* Attachment Links (Spec 7.2) */
.attachment-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  text-decoration: none !important;
  color: #374151;
  margin-bottom: 10px;
  transition: all 0.15s ease-in-out;
  background: #fff;
}

.attachment-link:hover {
  background: #F9FAFB;
  border-color: #3949AB;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.attachment-icon {
  color: #3949AB;
  font-size: 20px;
  background: #E8EAF6;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.attachment-info {
  display: flex;
  flex-direction: column;
}

.attachment-name {
  font-weight: 600;
  font-size: 14px;
}

.attachment-size {
  font-size: 11px;
  color: #6B7280;
}

/* Empty State Styling (Bookings dispute page) */
.empty-state-wrap {
  padding: 80px 20px;
  text-align: center;
}

.empty-state-icon {
  font-size: 64px;
  color: #E5E7EB;
  margin-bottom: 24px;
}

.empty-state-text {
  color: #6B7280;
  font-size: 16px;
  max-width: 450px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Service Order Detail (Spec 8.2) */
.detail-card-centered {
  max-width: 550px;
  margin: 40px auto;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.05);
  overflow: hidden;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid #F3F4F6;
  align-items: center;
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-label {
  color: #4B5563;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.detail-value {
  color: #111827;
  font-weight: 700;
  text-align: right;
  font-size: 14px;
}

.detail-value a {
  color: #3949AB;
  text-decoration: none;
}

.detail-value a:hover {
  text-decoration: underline;
}

/* ============ SPEC-EXACT DETAIL TABLES ============ */
.spec-table {
  width: 100%;
  border: 1px solid #E0E0E0;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 24px;
}

.spec-table thead tr {
  background: #1A237E;
  /* Spec Navy Blue */
}

.spec-table thead th {
  color: #FFFFFF;
  font-weight: 600;
  padding: 12px 16px;
  font-size: 14px;
  border: none;
}

.spec-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid #E0E0E0;
  font-size: 13px;
  vertical-align: top;
}

.spec-table tbody tr:last-child td {
  border-bottom: none;
}

.spec-field-label {
  font-weight: 600;
  color: #212121;
  width: 25%;
}

.spec-field-value {
  color: #424242;
}

.review-paragraph {
  line-height: 1.6;
  color: #424242;
  margin-bottom: 0;
}

.btn-rehide {
  color: #C62828 !important;
  border: 1px solid #C62828 !important;
  background: transparent;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 6px;
  transition: all 0.2s;
}

.btn-rehide:hover {
  background: #C62828;
  color: #FFFFFF !important;
}

/* Support Ticket Styles */
.ticket-reply-box {
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 30px;
}

.ticket-message-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  transition: box-shadow 0.2s;
}

.ticket-message-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.ticket-msg-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.ticket-msg-author {
  font-size: 15px;
  font-weight: 700;
  color: #1a237e;
}

.ticket-msg-date {
  font-size: 13px;
  color: #757575;
}

.ticket-msg-content {
  font-size: 14.5px;
  line-height: 1.6;
  color: #424242;
  white-space: pre-line;
}

.btn-reply-submit {
  background-color: #3949AB !important;
  color: white !important;
  border: none !important;
  padding: 10px 25px;
  border-radius: 6px;
  font-weight: 600;
}

.btn-reply-submit:hover {
  background-color: #303f9f !important;
}

.attachment-note {
  font-size: 12px;
  color: #757575;
  margin-top: 10px;
}

.attachment-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: #f1f3f4;
  border-radius: 4px;
  font-size: 13px;
  color: #1a73e8;
  text-decoration: none;
  margin-right: 10px;
  margin-top: 10px;
}

.attachment-link:hover {
  background: #e8eaed;
}

/* ============  FORM PATTERNS & COMPONENTS ============ */

/*  Standard Form Field Specifications */
.form-label-spec {
  font-size: 13px;
  font-weight: 500;
  color: #424242;
  margin-bottom: 4px;
  display: block;
}

.form-label-spec.required::after {
  content: " *";
  color: #C62828;
}

.form-control-spec,
.form-select-spec {
  height: 40px;
  border: 1px solid #CCCCCC;
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 13px;
  color: #424242;
  width: 100%;
  background-color: #ffffff;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control-spec:focus,
.form-select-spec:focus {
  border-color: #3949AB !important;
  outline: 0;
  box-shadow: 0 0 0 2px rgba(57, 73, 171, 0.1);
}

.form-textarea-spec {
  min-height: 120px;
  border: 1px solid #CCCCCC;
  border-radius: 4px;
  padding: 12px;
  font-size: 13px;
  color: #424242;
  width: 100%;
  resize: vertical;
}

.form-textarea-spec:focus {
  border-color: #3949AB !important;
  outline: 0;
}

.form-number-spec {
  height: 40px;
  border: 1px solid #CCCCCC;
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 13px;
}

/* Submit Button  */
.btn-submit-spec {
  width: 100%;
  height: 44px;
  background-color: #3949AB !important;
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-submit-spec:hover {
  background-color: #283593 !important;
}

/* Warning Banner  */
.warning-banner {
  background-color: #FFF4E5;
  /* Amber/Orange light bg */
  border-left: 4px solid #ED6C02;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-style: italic;
  color: #663C00;
  width: 100%;
  border-radius: 4px;
}

/* 14.2 Rich Text Editor Toolbar (Styling for Notification Messages) */
.rte-toolbar {
  background: #f1f3f4;
  border: 1px solid #CCCCCC;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
  padding: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.rte-btn {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 3px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #424242;
  cursor: pointer;
  font-size: 12px;
}

.rte-btn:hover {
  background: #e0e0e0;
  border-color: #bdbdbd;
}

.rte-separator {
  width: 1px;
  height: 20px;
  background: #CCCCCC;
  margin: 4px 2px;
}

.rte-select {
  height: 28px;
  font-size: 11px;
  border: 1px solid #CCCCCC;
  border-radius: 3px;
  padding: 0 4px;
  background: #fff;
}

.rte-content-area {
  border: 1px solid #CCCCCC;
  border-radius: 0 0 4px 4px;
  min-height: 150px;
  padding: 15px;
  background: #fff;
}

/* ============  MOBILE NAVIGATION ============ */

/* Sidebar Overlay (mobile) */
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
  z-index: 999;
  transition: opacity 0.3s ease;
}

.sidebar-overlay.show {
  display: block;
}

/* Hamburger Button (mobile) */
.hamburger-btn {
  display: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  color: var(--sidebar-bg);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 1100;
}

.hamburger-btn i {
  font-size: 18px;
}

/* ============  RESPONSIVE BREAKPOINTS ============ */

/* Desktop & XL (1440px+ and 1280-1439px) are handled by default styles */

/* Laptop (1024px - 1279px) */
@media (max-width: 1279px) {
  :root {
    --sidebar-width: 70px;
    /* Compressed sidebar */
  }

  .sidebar-logo .logo-text,
  .sidebar-logo .logo-sub,
  .nav-label,
  .nav-chevron,
  .nav-badge,
  .sidebar-version {
    display: none !important;
  }

  .nav-link-item {
    justify-content: center;
    padding: 12px 0;
    border-left: none;
    border-bottom: 3px solid transparent;
  }

  .nav-link-item:hover,
  .nav-link-item.active {
    border-bottom-color: var(--sidebar-accent);
    background: var(--sidebar-active);
  }

  .nav-link-item i {
    font-size: 18px;
    margin: 0;
  }

  .nav-submenu {
    display: none !important;
    /* Base state: hidden in compressed mode */
  }

  #sidebar {
    transition: width 0.2s ease, left 0.3s ease;
  }

  #sidebar:hover {
    width: 240px !important;
    z-index: 1001;
  }

  #sidebar:hover .sidebar-logo .logo-text,
  #sidebar:hover .sidebar-logo .logo-sub,
  #sidebar:hover .nav-label,
  #sidebar:hover .nav-chevron,
  #sidebar:hover .nav-badge,
  #sidebar:hover .sidebar-version {
    display: block !important;
  }

  #sidebar:hover .nav-link-item {
    justify-content: flex-start;
    padding: 9px 16px;
    border-left: 3px solid transparent;
    border-bottom: none;
  }

  #sidebar:hover .nav-link-item.active {
    border-left-color: var(--sidebar-accent);
  }

  #sidebar:hover .nav-link-item i {
    font-size: 13px;
    width: 16px;
  }

  #sidebar:hover .nav-submenu {
    display: none !important;
  }

  #sidebar:hover .nav-submenu.show {
    display: block !important;
  }

  #sidebar:hover .nav-submenu .nav-sub-link {
    display: block !important;
  }

  #main-content {
    margin-left: 70px;
    transition: margin-left 0.2s ease;
  }
}

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
  :root {
    --sidebar-width: 240px;
    /* Full width when shown as overlay */
  }

  #sidebar {
    left: calc(var(--sidebar-width) * -1);
    transition: left 0.3s ease;
  }

  #sidebar.show {
    left: 0;
  }

  #main-content {
    margin-left: 0 !important;
  }

  .hamburger-btn {
    display: flex !important;
    position: fixed;
    top: 45px;
    left: 15px;
    /* z-index: 1100;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 4px; */
    
  }

  .data-table-wrap {
    overflow-x: auto;
  }

  /* Ensure labels and submenus show when sidebar is open on mobile */
  #sidebar.show .nav-label,
  #sidebar.show .nav-chevron,
  #sidebar.show .nav-badge,
  #sidebar.show .sidebar-version,
  #sidebar.show .logo-text,
  #sidebar.show .logo-sub {
    display: block !important;
  }

  #sidebar.show .nav-link-item {
    justify-content: flex-start;
    padding: 9px 16px;
  }

  #sidebar.show .nav-submenu.show {
    display: block !important;
  }
}

/* Mobile (< 768px) - Desktop First, minimal optimization */
@media (max-width: 767px) {
  .stat-card {
    flex-direction: column;
    text-align: center;
    padding: 12px;
  }

  .stat-icon {
    margin-bottom: 8px;
  }

  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-bar .form-control,
  .filter-bar .form-select,
  .filter-bar .btn-primary-custom {
    max-width: 100% !important;
  }

  /* Service Detail Specific Responsive */
  .service-banner-wrap img {
    height: 200px !important;
  }

  .service-detail-title {
    font-size: 1.75rem !important;
  }

  .price-text {
    font-size: 1.5rem !important;
  }
}