/* ============================================================
   VNR TICKET SYSTEM — Shared Styles
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary:       #006DAE;
  --primary-dark:  #005490;
  --primary-light: #e8f4fd;
  --primary-hover: #0080cc;
  --accent:        #FF6B35;
  --success:       #22c55e;
  --warning:       #f59e0b;
  --danger:        #ef4444;
  --info:          #3b82f6;

  --sidebar-w:     260px;
  --topbar-h:      62px;

  --bg-body:   #f0f4f8;
  --bg-card:   #ffffff;
  --bg-sidebar:#0a1628;
  --bg-topbar: #ffffff;

  --text-dark:  #1a2332;
  --text-mid:   #3d4f63;
  --text-muted: #7a8ba0;
  --border:     #dde5ef;
  --shadow-sm:  0 1px 4px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.09);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.12);
  --radius:     12px;
  --radius-sm:  8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Be Vietnam Pro', sans-serif;
  background: var(--bg-body);
  color: var(--text-dark);
  font-size: 14px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── SCROLLBAR ─────────────────────────────────── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #b0bec5; }

/* ══ SIDEBAR ═══════════════════════════════════════════ */
.sidebar {
  position: fixed; top: 0; left: 0;
  width: var(--sidebar-w); height: 100vh;
  background: var(--bg-sidebar);
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: width 0.3s ease;
  z-index: 1040;
}
.sidebar.collapsed { width: 0; overflow: hidden; }

.sidebar-brand {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  height: var(--topbar-h);
}
.brand-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), #0099e6);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.brand-icon i { color: #fff; font-size: 14px; }
.brand-text { overflow: hidden; padding-top: 20px; }
.brand-text h2 { font-size: 12.5px; font-weight: 800; color: #fff; white-space: nowrap; line-height: 1.2; }
.brand-text p  { font-size: 9.5px; color: rgba(255,255,255,0.45); white-space: nowrap; line-height: 1.2; }

.sidebar-nav { flex: 1; overflow-y: auto; padding: 12px 0; }
.nav-section-label {
  font-size: 10px; font-weight: 700; letter-spacing: 1.2px;
  color: rgba(255,255,255,0.25); text-transform: uppercase;
  padding: 14px 20px 6px;
  transition: opacity 0.2s;
}
.sidebar.collapsed .nav-section-label { opacity: 0; }

.nav-item { position: relative; }
.nav-link-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 20px; cursor: pointer;
  color: rgba(255,255,255,0.6);
  text-decoration: none; border-radius: 0;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap; overflow: hidden;
  border-left: 3px solid transparent;
  font-size: 13.5px; font-weight: 500;
}
.nav-link-item .nav-icon {
  font-size: 16px; width: 22px; flex-shrink: 0; text-align: center;
}
.nav-link-item .nav-text { flex: 1; }
.nav-link-item .badge-nav {
  background: var(--accent); color: #fff;
  font-size: 10px; font-weight: 700; padding: 2px 6px;
  border-radius: 10px; flex-shrink: 0;
}
.nav-link-item:hover {
  color: #fff; background: rgba(255,255,255,0.06);
}
.nav-link-item.active {
  color: #fff; background: rgba(0,109,174,0.25);
  border-left-color: var(--primary);
}
.nav-link-item.active .nav-icon { color: #60c3ff; }

/* submenu */
.nav-submenu {
  overflow: hidden; max-height: 0;
  transition: max-height 0.3s ease;
  background: rgba(0,0,0,0.15);
}
.nav-submenu.open { max-height: 300px; }
.nav-sub-link {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 20px 8px 52px;
  color: rgba(255,255,255,0.5);
  text-decoration: none; font-size: 13px;
  transition: color 0.2s, background 0.2s;
}
.nav-sub-link::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: rgba(255,255,255,0.3); flex-shrink: 0;
}
.nav-sub-link:hover, .nav-sub-link.active { color: #a0d8ff; }
.nav-sub-link.active::before { background: var(--primary); }

.sidebar-footer {
  padding: 8px 16px;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex; align-items: center; gap: 8px;
  overflow: hidden;
}
.avatar-sm {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), #0099e6);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 11px; font-weight: 700;
}
.sidebar-user { overflow: hidden; line-height: 1.2; }
.sidebar-user h6 { font-size: 11.5px; font-weight: 700; color: #fff; white-space: nowrap; margin: 0; }
.sidebar-user span { font-size: 10px; color: rgba(255,255,255,0.4); }

/* ══ TOPBAR ════════════════════════════════════════════ */
.topbar {
  position: fixed; top: 0; right: 0;
  left: var(--sidebar-w);
  height: var(--topbar-h);
  background: var(--bg-topbar);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; padding: 0 24px;
  gap: 16px; z-index: 1030;
  transition: left 0.3s ease;
  box-shadow: var(--shadow-sm);
}
.topbar.expanded { left: 0; }

.btn-toggle-sidebar {
  background: none; border: none; cursor: pointer;
  width: 34px; height: 34px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 18px;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}
.btn-toggle-sidebar:hover { background: var(--primary-light); color: var(--primary); }

.topbar-search {
  flex: 1; max-width: 360px;
  position: relative;
}
.topbar-search input {
  width: 100%; padding: 8px 14px 8px 38px;
  border: 1.5px solid var(--border); border-radius: 22px;
  font-family: 'Be Vietnam Pro', sans-serif; font-size: 13px;
  color: var(--text-dark); background: var(--bg-body);
  outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.topbar-search input:focus {
  border-color: var(--primary); background: #fff;
  box-shadow: 0 0 0 3px rgba(0,109,174,0.1);
}
.topbar-search i {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); font-size: 14px;
}

.topbar-spacer { flex: 1; }

.topbar-actions { display: flex; align-items: center; gap: 6px; }
.topbar-btn {
  width: 36px; height: 36px; border-radius: 10px;
  background: none; border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); cursor: pointer; position: relative;
  transition: all 0.2s; font-size: 15px;
}
.topbar-btn:hover { background: var(--primary-light); border-color: var(--primary); color: var(--primary); }
.topbar-btn .badge-dot {
  position: absolute; top: 6px; right: 6px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); border: 2px solid #fff;
}

.topbar-user {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 10px; border-radius: 12px; cursor: pointer;
  transition: background 0.2s; position: relative;
  border: 1.5px solid var(--border);
}
.topbar-user:hover { background: var(--primary-light); border-color: var(--primary); }
.topbar-user .avatar {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), #0099e6);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 12px; font-weight: 700;
}
.topbar-user .user-info { line-height: 1.2; }
.topbar-user .user-info strong { font-size: 13px; font-weight: 700; color: var(--text-dark); display: block; }
.topbar-user .user-info span { font-size: 11px; color: var(--text-muted); }

/* Dropdown */
.dropdown-menu-custom {
  position: absolute; top: calc(100% + 10px); right: 0;
  min-width: 190px; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); z-index: 9999;
  overflow: hidden; display: none;
  animation: fadeDown 0.2s ease;
}
.dropdown-menu-custom.show { display: block; }
@keyframes fadeDown { from{opacity:0;transform:translateY(-8px)} to{opacity:1;transform:translateY(0)} }
.dropdown-item-custom {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; cursor: pointer;
  font-size: 13px; color: var(--text-mid);
  transition: background 0.15s;
}
.dropdown-item-custom:hover { background: var(--primary-light); color: var(--primary); }
.dropdown-item-custom i { width: 16px; text-align: center; }
.dropdown-divider-custom { border-top: 1px solid var(--border); margin: 4px 0; }

/* ══ MAIN CONTENT ══════════════════════════════════════ */
.main-content {
  margin-left: var(--sidebar-w);
  padding-top: var(--topbar-h);
  min-height: 100vh;
  transition: margin-left 0.3s ease;
}
.main-content.expanded { margin-left: 0; }

.page-inner { padding: 24px; }

.page-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 22px; flex-wrap: wrap; gap: 12px;
}
.page-header-left h2 {
  font-size: 20px; font-weight: 800; color: var(--text-dark); line-height: 1.2;
}
.page-header-left .breadcrumb-custom {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--text-muted); margin-top: 4px;
}
.breadcrumb-custom a { color: var(--primary); text-decoration: none; }
.breadcrumb-custom a:hover { text-decoration: underline; }
.breadcrumb-custom i { font-size: 9px; }

/* ══ CARDS ════════════════════════════════════════════ */
.card {
  background: var(--bg-card); border-radius: var(--radius);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s;
}
.card:hover { box-shadow: var(--shadow-md); }
.card-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  background: transparent;
}
.card-header h5 {
  font-size: 14px; font-weight: 700; color: var(--text-dark); margin: 0;
}
.card-body { padding: 20px; }

/* Stat cards */
.stat-card {
  background: var(--bg-card); border-radius: var(--radius);
  padding: 20px; border: 1px solid var(--border);
  display: flex; align-items: center; gap: 16px;
  box-shadow: var(--shadow-sm); transition: box-shadow 0.2s, transform 0.2s;
  cursor: default;
}
.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.stat-icon {
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.stat-icon.blue   { background: rgba(0,109,174,0.12); color: var(--primary); }
.stat-icon.green  { background: rgba(34,197,94,0.12);  color: var(--success); }
.stat-icon.orange { background: rgba(245,158,11,0.12); color: var(--warning); }
.stat-icon.red    { background: rgba(239,68,68,0.12);  color: var(--danger); }
.stat-info { flex: 1; min-width: 0; }
.stat-value { font-size: 22px; font-weight: 800; color: var(--text-dark); line-height: 1.1; }
.stat-label { font-size: 12.5px; color: var(--text-muted); margin-top: 2px; }
.stat-change { font-size: 11.5px; font-weight: 600; margin-top: 4px; }
.stat-change.up   { color: var(--success); }
.stat-change.down { color: var(--danger); }

/* ══ TABLES ═══════════════════════════════════════════ */
.table-wrapper {
  background: var(--bg-card); border-radius: var(--radius);
  border: 1px solid var(--border); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.table-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; border-bottom: 1px solid var(--border);
  flex-wrap: wrap; gap: 10px;
}
.table-toolbar h5 { font-size: 14px; font-weight: 700; margin: 0; }
.table-search {
  position: relative; flex-shrink: 0;
}
.table-search input {
  padding: 7px 12px 7px 34px; border: 1.5px solid var(--border);
  border-radius: 8px; font-size: 13px; outline: none;
  font-family: 'Be Vietnam Pro', sans-serif;
  transition: border-color 0.2s; min-width: 200px;
}
.table-search input:focus { border-color: var(--primary); }
.table-search i { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 13px; }

.table { margin: 0; }
.table thead th {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.5px;
  text-transform: uppercase; color: var(--text-muted);
  background: #f8fafc; border-bottom: 1.5px solid var(--border);
  padding: 10px 16px; white-space: nowrap;
}
.table tbody td {
  padding: 11px 16px; vertical-align: middle;
  border-bottom: 1px solid #f0f4f8; font-size: 13.5px;
}
.table tbody tr:hover { background: #f8fbff; }
.table tbody tr:last-child td { border-bottom: none; }

/* Badges */
.badge-status {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 20px;
  font-size: 11.5px; font-weight: 600;
}
.badge-status::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
}
.badge-status.active   { background: rgba(34,197,94,0.12);  color: #15803d; }
.badge-status.active::before { background: var(--success); }
.badge-status.inactive { background: rgba(239,68,68,0.12);  color: #b91c1c; }
.badge-status.inactive::before { background: var(--danger); }
.badge-status.pending  { background: rgba(245,158,11,0.12); color: #92400e; }
.badge-status.pending::before { background: var(--warning); }
.badge-status.info     { background: rgba(59,130,246,0.12); color: #1d4ed8; }
.badge-status.info::before { background: var(--info); }

/* Pagination */
.pagination-custom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px; border-top: 1px solid var(--border);
  flex-wrap: wrap; gap: 10px;
}
.pagination-info { font-size: 12.5px; color: var(--text-muted); }
.pagination-btns { display: flex; gap: 4px; }
.pg-btn {
  width: 30px; height: 30px; border-radius: 7px;
  border: 1.5px solid var(--border); background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; cursor: pointer; color: var(--text-mid);
  transition: all 0.15s; font-family: 'Be Vietnam Pro', sans-serif;
}
.pg-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.pg-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.pg-btn:disabled { opacity: .4; cursor: not-allowed; }

/* ══ BUTTONS ══════════════════════════════════════════ */
.btn-primary-custom {
  background: var(--primary); color: #fff;
  border: none; border-radius: 8px;
  padding: 8px 16px; font-size: 13px; font-weight: 600;
  font-family: 'Be Vietnam Pro', sans-serif; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  box-shadow: 0 2px 8px rgba(0,109,174,0.25);
}
.btn-primary-custom:hover { background: var(--primary-dark); box-shadow: 0 4px 14px rgba(0,109,174,0.35); transform: translateY(-1px); }
.btn-secondary-custom {
  background: #fff; color: var(--text-mid);
  border: 1.5px solid var(--border); border-radius: 8px;
  padding: 7px 14px; font-size: 13px; font-weight: 600;
  font-family: 'Be Vietnam Pro', sans-serif; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  transition: all 0.2s;
}
.btn-secondary-custom:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.btn-danger-custom {
  background: #fff; color: var(--danger);
  border: 1.5px solid rgba(239,68,68,0.3); border-radius: 8px;
  padding: 7px 14px; font-size: 13px; font-weight: 600;
  font-family: 'Be Vietnam Pro', sans-serif; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  transition: all 0.2s;
}
.btn-danger-custom:hover { background: rgba(239,68,68,0.08); border-color: var(--danger); }
.btn-icon {
  width: 30px; height: 30px; border-radius: 7px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 13px; border: 1.5px solid var(--border);
  background: #fff; color: var(--text-muted); transition: all 0.15s;
}
.btn-icon.edit:hover   { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.btn-icon.delete:hover { border-color: var(--danger); color: var(--danger); background: rgba(239,68,68,0.06); }
.btn-icon.view:hover   { border-color: var(--info); color: var(--info); background: rgba(59,130,246,0.08); }
.btn-icon.print:hover  { border-color: var(--success); color: var(--success); background: rgba(34,197,94,0.08); }

/* ══ MODAL ════════════════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(10,20,40,0.55); backdrop-filter: blur(2px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity 0.25s;
}
.modal-overlay.show { opacity: 1; pointer-events: all; }
.modal-box {
  background: #fff; border-radius: 16px; width: 100%;
  box-shadow: var(--shadow-lg); overflow: hidden;
  transform: scale(0.94) translateY(10px); transition: transform 0.25s ease;
}
.modal-overlay.show .modal-box { transform: scale(1) translateY(0); }
.modal-header-custom {
  padding: 18px 24px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(135deg, var(--primary-light), #fff);
}
.modal-header-custom h5 { font-size: 15px; font-weight: 700; color: var(--text-dark); margin: 0; }
.modal-close {
  width: 28px; height: 28px; border-radius: 7px;
  background: none; border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text-muted); font-size: 14px;
  transition: all 0.15s;
}
.modal-close:hover { background: #fee; border-color: var(--danger); color: var(--danger); }
.modal-body-custom { padding: 22px 24px; overflow-y: auto; max-height: 65vh; }
.modal-footer-custom {
  padding: 14px 24px; border-top: 1px solid var(--border);
  display: flex; justify-content: flex-end; gap: 10px;
}

/* ══ FORM STYLES ══════════════════════════════════════ */
.form-group { margin-bottom: 16px; }
.form-label-custom { font-size: 13px; font-weight: 600; color: var(--text-dark); display: block; margin-bottom: 6px; }
.form-label-custom .req { color: var(--danger); margin-left: 2px; }
.form-control-custom {
  width: 100%; padding: 9px 13px;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-family: 'Be Vietnam Pro', sans-serif; font-size: 13.5px;
  color: var(--text-dark); background: #f8fafc; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.form-control-custom:focus {
  border-color: var(--primary); background: #fff;
  box-shadow: 0 0 0 3px rgba(0,109,174,0.1);
}
.form-control-custom.error { border-color: var(--danger); }
.form-error { font-size: 11.5px; color: var(--danger); margin-top: 4px; }

/* ══ TOAST ════════════════════════════════════════════ */
.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 8px; }
.toast-item {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 18px; border-radius: 12px;
  font-size: 13.5px; font-weight: 500; min-width: 280px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
  animation: slideRight .35s cubic-bezier(.16,1,.3,1);
  cursor: pointer;
}
.toast-item.success { background: #ecfdf5; border: 1px solid #bbf7d0; color: #166534; }
.toast-item.error   { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.toast-item.warning { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }
.toast-item.info    { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af; }
.toast-item i { font-size: 16px; }
@keyframes slideRight { from{opacity:0;transform:translateX(30px)} to{opacity:1;transform:translateX(0)} }

/* ══ RESPONSIVE ═══════════════════════════════════════ */
@media (max-width: 992px) {
  .sidebar { width: 0; overflow: hidden; }
  .topbar { left: 0; }
  .main-content { margin-left: 0; }
  .sidebar.mobile-open { width: var(--sidebar-w); overflow: visible; }
}
@media (max-width: 576px) {
  .page-inner { padding: 14px; }
  .topbar { padding: 0 14px; }
  .topbar-search { display: none; }
  .topbar-user .user-info { display: none; }
}

/* ══ FIX #1: Table responsive scroll ════════════════ */
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-responsive::-webkit-scrollbar { height: 4px; }
.table-responsive::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

/* ══ FIX #2: Modal responsive mobile ═══════════════ */
.modal-box { max-width: 90vw; }
@media (max-width: 576px) {
  .modal-overlay { padding: 10px; }
  .modal-body-custom { padding: 16px; max-height: 70vh; }
  .modal-header-custom { padding: 14px 16px; }
  .modal-footer-custom { padding: 12px 16px; }
}

/* ══ FIX #3: Form validation inline ═════════════════ */
.form-control-custom.is-invalid { border-color: var(--danger); background: #fef2f2; }
.form-control-custom.is-invalid:focus { box-shadow: 0 0 0 3px rgba(239,68,68,0.1); }
.invalid-feedback { font-size: 11.5px; color: var(--danger); margin-top: 4px; display: none; }
.form-control-custom.is-invalid ~ .invalid-feedback { display: block; }

/* ══ FIX #5: Password toggle ════════════════════════ */
.input-password-wrap { position: relative; }
.input-password-wrap input { padding-right: 38px; }
.btn-toggle-pwd {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer;
  color: var(--text-muted); font-size: 14px; padding: 4px;
  transition: color 0.2s;
}
.btn-toggle-pwd:hover { color: var(--primary); }

/* ══ FIX #7: Pagination disabled state ══════════════ */
.pg-btn:disabled {
  opacity: 0.35; cursor: not-allowed;
  background: #f0f4f8; color: #b0bec5; border-color: #e8edf2;
}
.pg-btn:disabled:hover { background: #f0f4f8; color: #b0bec5; border-color: #e8edf2; transform: none; }

/* ══ FIX #8: Skeleton loader ════════════════════════ */
@keyframes skeletonPulse {
  0% { background-position: -200px 0; }
  100% { background-position: calc(200px + 100%) 0; }
}
.skeleton {
  background: linear-gradient(90deg, #f0f4f8 25%, #e4eaf0 50%, #f0f4f8 75%);
  background-size: 200px 100%;
  animation: skeletonPulse 1.5s ease-in-out infinite;
  border-radius: 6px;
}
.skeleton-line { height: 14px; margin-bottom: 10px; }
.skeleton-line.short { width: 60%; }
.skeleton-line.medium { width: 80%; }
.skeleton-card { height: 80px; margin-bottom: 12px; border-radius: var(--radius); }
.skeleton-row { display: flex; gap: 16px; padding: 12px 16px; border-bottom: 1px solid #f0f4f8; }
.skeleton-cell { height: 16px; flex: 1; }
.skeleton-avatar { width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0; }

/* ══ DASHBOARD: Recent booking item ══════════════════ */
.recent-booking-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 11px 16px; border-bottom: 1px solid var(--border);
  cursor: default;
}
.recent-booking-item:last-child { border-bottom: none; }
.recent-booking-icon {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px; font-size: 13px;
}
.recent-booking-icon.confirmed { background: rgba(0,109,174,0.1); color: var(--primary); }
.recent-booking-icon.cancelled { background: rgba(239,68,68,0.1); color: var(--danger); }
.recent-booking-icon.completed { background: rgba(34,197,94,0.1); color: var(--success); }
.recent-booking-body { flex: 1; min-width: 0; }
.recent-booking-title { font-size: 12.5px; color: var(--text-mid); }
.recent-booking-title strong { font-weight: 700; }
.recent-booking-meta { font-size: 11px; color: var(--text-muted); }
.recent-booking-price { font-weight: 700; font-size: 12px; color: var(--primary); flex-shrink: 0; }

/* ══ NOTIFICATION ITEM ═══════════════════════════════ */
.notif-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 16px; border-bottom: 1px solid #f0f4f8;
  cursor: pointer; transition: background 0.15s;
}
.notif-item:hover { background: var(--primary-light); }
.notif-item:last-child { border-bottom: none; }
.notif-icon {
  width: 30px; height: 30px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px; font-size: 12px;
}
.notif-body { flex: 1; min-width: 0; }
.notif-title { font-size: 12.5px; color: var(--text-mid); }
.notif-time { font-size: 11px; color: var(--text-muted); }
.notif-icon.confirmed { background: rgba(0,109,174,0.1); color: var(--primary); }
.notif-icon.cancelled { background: rgba(239,68,68,0.1); color: var(--danger); }
.notif-icon.completed { background: rgba(34,197,94,0.1); color: var(--success); }

/* ══ PROFILE MODAL GRID ═════════════════════════════ */
.profile-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; font-size: 13px;
}
.profile-grid label { color: var(--text-muted); font-weight: 600; display: block; margin-bottom: 2px; }
.profile-grid .value { font-weight: 600; color: var(--text-dark); }

/* ══ PHASE 4: Focus & Accessibility ═══════════════════ */
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.btn-primary-custom:active { transform: translateY(0); box-shadow: 0 2px 6px rgba(0,109,174,0.2); }
.btn-secondary-custom:active { background: #f0f4f8; }

/* ══ PHASE 4: CMS Mobile Responsive Enhancement ══════ */
@media (max-width: 576px) {
  .stat-card { padding: 14px; gap: 12px; }
  .stat-icon { width: 42px; height: 42px; font-size: 18px; border-radius: 10px; }
  .stat-value { font-size: 18px; }
  .stat-label { font-size: 11.5px; }
  .card-header { padding: 12px 14px; }
  .card-body { padding: 14px; }
  .table-toolbar { padding: 10px 14px; flex-direction: column; align-items: stretch; }
  .table-search input { min-width: 100%; width: 100%; }
  .pagination-custom { padding: 10px 14px; flex-direction: column; align-items: center; }
  .profile-grid { grid-template-columns: 1fr; }
  .page-header { gap: 8px; }
  .page-header-left h2 { font-size: 17px; }
}
