@import url('https://fonts.googleapis.com/css2?family=Sarabun:wght@300;400;500;600;700&display=swap');

:root {
  --vms-primary:    #0f3460;
  --vms-secondary:  #16213e;
  --vms-accent:     #e94560;
  --vms-success:    #27ae60;
  --vms-warning:    #f39c12;
  --vms-danger:     #e74c3c;
  --vms-info:       #3498db;
  --vms-teal:       #1abc9c;
  --vms-bg:         #f0f2f5;
  --vms-card-bg:    #ffffff;
  --vms-text:       #2c3e50;
  --vms-text-light: #7f8c8d;
  --vms-border:     #e0e0e0;
  --vms-radius:     10px;
  --vms-shadow:     0 4px 20px rgba(0,0,0,0.08);
}

/* ══════════════════════════════════════
   BASE
══════════════════════════════════════ */
.vms-app { font-family:'Sarabun',sans-serif; color:var(--vms-text); }
.vms-app * { box-sizing:border-box; }
.vms-hidden { display:none !important; }

/* ══════════════════════════════════════
   LOGIN PAGE
══════════════════════════════════════ */
.vms-login-wrap {
  min-height:100vh;
  background:linear-gradient(135deg,#0f3460 0%,#16213e 50%,#1a1a2e 100%);
  display:flex; align-items:center; justify-content:center; padding:20px;
}
.vms-login-card {
  background:rgba(255,255,255,0.05);
  backdrop-filter:blur(20px);
  border:1px solid rgba(255,255,255,0.1);
  border-radius:20px; padding:40px;
  width:100%; max-width:420px;
  box-shadow:0 25px 50px rgba(0,0,0,0.4);
  animation: vmsSlideUp 0.5s ease;
}
@keyframes vmsSlideUp {
  from { opacity:0; transform:translateY(30px); }
  to   { opacity:1; transform:translateY(0); }
}
.vms-login-logo { text-align:center; margin-bottom:30px; }
.vms-login-logo i { font-size:52px; color:#4ecdc4; }
.vms-login-logo h2 { color:#fff; font-size:22px; font-weight:700; margin-top:12px; }
.vms-login-logo p  { color:rgba(255,255,255,0.55); font-size:13px; margin-top:4px; }

.vms-login-field { margin-bottom:16px; }
.vms-login-field label {
  display:block; color:rgba(255,255,255,0.8);
  font-size:13px; font-weight:500; margin-bottom:6px;
}
.vms-login-field .vms-input-wrap { position:relative; }
.vms-login-field .vms-input-wrap i {
  position:absolute; left:14px; top:50%;
  transform:translateY(-50%); color:rgba(255,255,255,0.4); font-size:14px;
}
.vms-login-field input {
  width:100%; padding:12px 16px 12px 40px;
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.15);
  border-radius:8px; color:#fff;
  font-family:'Sarabun',sans-serif; font-size:14px;
  transition:all 0.2s;
}
.vms-login-field input::placeholder { color:rgba(255,255,255,0.35); }
.vms-login-field input:focus {
  border-color:#4ecdc4; outline:none;
  background:rgba(255,255,255,0.12);
  box-shadow:0 0 0 3px rgba(78,205,196,0.2);
}
.vms-login-remember {
  display:flex; align-items:center; gap:8px;
  color:rgba(255,255,255,0.7); font-size:13px; margin-bottom:20px;
  cursor:pointer;
}
.vms-login-remember input[type="checkbox"] { width:16px; height:16px; accent-color:#4ecdc4; }
.vms-login-btn {
  width:100%; padding:13px;
  background:linear-gradient(135deg,#4ecdc4,#45b7d1);
  border:none; border-radius:8px;
  color:#fff; font-family:'Sarabun',sans-serif;
  font-size:15px; font-weight:700; cursor:pointer;
  transition:all 0.2s; display:flex; align-items:center; justify-content:center; gap:8px;
}
.vms-login-btn:hover { opacity:0.9; transform:translateY(-1px); box-shadow:0 8px 20px rgba(78,205,196,0.3); }
.vms-login-btn:disabled { opacity:0.6; cursor:not-allowed; transform:none; }
.vms-login-error {
  background:rgba(233,69,96,0.15); border:1px solid rgba(233,69,96,0.3);
  border-radius:8px; padding:10px 14px; color:#ff6b8a;
  font-size:13px; margin-bottom:16px; display:none;
}
.vms-login-error.show { display:flex; align-items:center; gap:8px; }

/* ══════════════════════════════════════
   APP LAYOUT (Driver & Supervisor)
══════════════════════════════════════ */
.vms-layout {
  min-height:100vh; background:var(--vms-bg);
  display:flex; flex-direction:column;
}

/* Navbar */
.vms-navbar {
  background:linear-gradient(135deg,var(--vms-primary),var(--vms-secondary));
  padding:0 24px; height:60px;
  display:flex; align-items:center; justify-content:space-between;
  box-shadow:0 2px 15px rgba(0,0,0,0.25); position:sticky; top:0; z-index:100;
}
.vms-navbar__brand {
  display:flex; align-items:center; gap:10px;
  color:#fff; font-size:16px; font-weight:700; text-decoration:none;
}
.vms-navbar__brand i { color:#4ecdc4; font-size:20px; }
.vms-navbar__user {
  display:flex; align-items:center; gap:12px;
}
.vms-navbar__avatar {
  width:36px; height:36px; border-radius:50%;
  background:rgba(255,255,255,0.15);
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-size:14px; font-weight:600;
}
.vms-navbar__name { color:rgba(255,255,255,0.9); font-size:13px; }
.vms-navbar__role {
  background:rgba(78,205,196,0.2); color:#4ecdc4;
  padding:3px 8px; border-radius:20px; font-size:11px; font-weight:600;
}
.vms-navbar__logout {
  background:rgba(233,69,96,0.2); border:1px solid rgba(233,69,96,0.3);
  color:#ff6b8a; padding:6px 12px; border-radius:6px;
  font-size:12px; cursor:pointer; font-family:inherit;
  display:flex; align-items:center; gap:6px; transition:all 0.2s;
}
.vms-navbar__logout:hover { background:rgba(233,69,96,0.35); }

/* Tab Navigation */
.vms-tabs {
  background:#fff; border-bottom:1px solid var(--vms-border);
  display:flex; padding:0 24px; gap:4px;
  position:sticky; top:60px; z-index:90;
  box-shadow:0 2px 8px rgba(0,0,0,0.05);
}
.vms-tab {
  padding:14px 20px; font-size:14px; font-weight:500; color:var(--vms-text-light);
  cursor:pointer; border-bottom:3px solid transparent;
  transition:all 0.2s; display:flex; align-items:center; gap:8px;
  background:none; border-top:none; border-left:none; border-right:none;
  font-family:inherit; white-space:nowrap;
}
.vms-tab:hover { color:var(--vms-primary); }
.vms-tab.active {
  color:var(--vms-primary); border-bottom-color:var(--vms-primary); font-weight:600;
}
.vms-tab i { font-size:15px; }

/* Main Content */
.vms-main { flex:1; padding:24px; max-width:1400px; margin:0 auto; width:100%; }

/* Tab Panels */
.vms-panel { display:none; }
.vms-panel.active { display:block; animation:vmsFadeIn 0.3s ease; }
@keyframes vmsFadeIn { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:translateY(0)} }

/* ══════════════════════════════════════
   CARDS & SUMMARY
══════════════════════════════════════ */
.vms-summary-grid {
  display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
  gap:16px; margin-bottom:24px;
}
.vms-summary-card {
  background:var(--vms-card-bg); border-radius:var(--vms-radius);
  padding:20px; box-shadow:var(--vms-shadow);
  display:flex; align-items:center; gap:14px;
  border-left:4px solid var(--vms-info);
  transition:transform 0.2s,box-shadow 0.2s;
}
.vms-summary-card:hover { transform:translateY(-2px); box-shadow:0 8px 25px rgba(0,0,0,0.12); }
.vms-summary-card.c-blue   { border-color:var(--vms-info); }
.vms-summary-card.c-green  { border-color:var(--vms-success); }
.vms-summary-card.c-orange { border-color:var(--vms-warning); }
.vms-summary-card.c-red    { border-color:var(--vms-danger); }
.vms-summary-card.c-teal   { border-color:var(--vms-teal); }
.vms-summary-card.c-purple { border-color:#9b59b6; }

.vms-sc-icon {
  width:46px; height:46px; border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  font-size:20px; flex-shrink:0;
}
.c-blue   .vms-sc-icon { background:rgba(52,152,219,0.12); color:var(--vms-info); }
.c-green  .vms-sc-icon { background:rgba(39,174,96,0.12);  color:var(--vms-success); }
.c-orange .vms-sc-icon { background:rgba(243,156,18,0.12); color:var(--vms-warning); }
.c-red    .vms-sc-icon { background:rgba(231,76,60,0.12);  color:var(--vms-danger); }
.c-teal   .vms-sc-icon { background:rgba(26,188,156,0.12); color:var(--vms-teal); }
.c-purple .vms-sc-icon { background:rgba(155,89,182,0.12); color:#9b59b6; }

.vms-sc-label { font-size:12px; color:var(--vms-text-light); margin-bottom:4px; }
.vms-sc-value { font-size:22px; font-weight:700; color:var(--vms-text); line-height:1.2; }
.vms-sc-value small { font-size:12px; font-weight:400; color:var(--vms-text-light); }

/* ══════════════════════════════════════
   CHART CONTAINERS
══════════════════════════════════════ */
.vms-charts-row {
  display:grid; grid-template-columns:2fr 1fr; gap:20px; margin-bottom:20px;
}
.vms-chart-card {
  background:var(--vms-card-bg); border-radius:var(--vms-radius);
  padding:20px; box-shadow:var(--vms-shadow);
}
.vms-chart-title {
  font-size:14px; font-weight:600; color:var(--vms-text);
  margin-bottom:16px; padding-bottom:12px;
  border-bottom:1px solid #f0f0f0;
  display:flex; align-items:center; gap:8px;
}
.vms-chart-title i { color:var(--vms-info); }

/* ══════════════════════════════════════
   FORMS
══════════════════════════════════════ */
.vms-form-card {
  background:var(--vms-card-bg); border-radius:var(--vms-radius);
  padding:24px; box-shadow:var(--vms-shadow);
}
.vms-form-title {
  font-size:16px; font-weight:700; color:var(--vms-text);
  margin-bottom:20px; padding-bottom:12px;
  border-bottom:2px solid #f0f0f0;
  display:flex; align-items:center; gap:10px;
}
.vms-form-title i { color:var(--vms-primary); }
.vms-form-section {
  background:#f8f9fa; border-radius:8px;
  padding:16px; margin-bottom:20px;
  border-left:3px solid var(--vms-info);
}
.vms-form-section-title {
  font-size:13px; font-weight:700; color:var(--vms-primary);
  margin-bottom:14px; display:flex; align-items:center; gap:8px;
}
.vms-form-grid {
  display:grid; grid-template-columns:repeat(2,1fr); gap:16px;
}
.vms-form-grid.cols-3 { grid-template-columns:repeat(3,1fr); }
.vms-form-grid.cols-1 { grid-template-columns:1fr; }
.vms-form-group { display:flex; flex-direction:column; }
.vms-form-group.span-2 { grid-column:span 2; }
.vms-form-group label {
  font-size:13px; font-weight:600; color:#555; margin-bottom:6px;
}
.vms-form-group label .required { color:var(--vms-danger); margin-left:2px; }
.vms-input, .vms-select, .vms-textarea {
  padding:9px 12px;
  border:1px solid var(--vms-border); border-radius:7px;
  font-family:'Sarabun',sans-serif; font-size:13px;
  color:var(--vms-text); background:#fff;
  transition:all 0.2s; width:100%;
}
.vms-input:focus, .vms-select:focus, .vms-textarea:focus {
  border-color:var(--vms-info); outline:none;
  box-shadow:0 0 0 3px rgba(52,152,219,0.12);
}
.vms-textarea { resize:vertical; min-height:80px; }
.vms-input-hint { font-size:11px; color:var(--vms-text-light); margin-top:4px; }

/* Fuel Toggle Section */
.vms-fuel-toggle {
  display:flex; align-items:center; gap:10px;
  padding:12px 16px; background:#fff3cd;
  border:1px solid #ffc107; border-radius:8px; margin-bottom:4px;
  cursor:pointer;
}
.vms-fuel-toggle input[type="checkbox"] { width:18px; height:18px; accent-color:var(--vms-warning); }
.vms-fuel-toggle-label { font-weight:600; color:#856404; font-size:14px; }
.vms-fuel-fields { background:#fffdf0; border:1px solid #ffe69c; border-radius:8px; padding:16px; }

/* File Upload */
.vms-file-upload-area {
  border:2px dashed var(--vms-border); border-radius:8px;
  padding:24px; text-align:center; cursor:pointer;
  transition:all 0.2s; position:relative;
}
.vms-file-upload-area:hover, .vms-file-upload-area.dragover {
  border-color:var(--vms-info); background:rgba(52,152,219,0.04);
}
.vms-file-upload-area input[type="file"] {
  position:absolute; inset:0; width:100%; height:100%; opacity:0; cursor:pointer;
}
.vms-file-upload-area i { font-size:32px; color:var(--vms-text-light); margin-bottom:8px; }
.vms-file-upload-area p { color:var(--vms-text-light); font-size:13px; }
.vms-file-upload-area span { color:var(--vms-info); font-weight:600; }
.vms-file-list { margin-top:12px; display:flex; flex-direction:column; gap:8px; }
.vms-file-item {
  display:flex; align-items:center; gap:10px;
  padding:8px 12px; background:#f8f9fa; border-radius:6px;
  border:1px solid var(--vms-border);
}
.vms-file-item i { color:var(--vms-info); }
.vms-file-item span { flex:1; font-size:13px; }
.vms-file-item .remove-file {
  color:var(--vms-danger); cursor:pointer; background:none;
  border:none; font-size:16px; line-height:1; padding:0 4px;
}

/* Existing Attachments */
.vms-attach-list { display:flex; flex-direction:column; gap:8px; margin-top:8px; }
.vms-attach-item {
  display:flex; align-items:center; gap:10px;
  padding:8px 12px; background:#f0f9ff;
  border:1px solid #bee3f8; border-radius:6px;
}
.vms-attach-item i { color:var(--vms-info); }
.vms-attach-item a { flex:1; font-size:13px; color:var(--vms-info); text-decoration:none; }
.vms-attach-item a:hover { text-decoration:underline; }
.vms-attach-item .vms-attach-size { font-size:11px; color:var(--vms-text-light); }
.vms-attach-delete { background:none; border:none; color:var(--vms-danger); cursor:pointer; font-size:14px; }

/* ══════════════════════════════════════
   BUTTONS
══════════════════════════════════════ */
.vms-btn {
  display:inline-flex; align-items:center; gap:7px;
  padding:9px 18px; border-radius:7px; border:none;
  font-family:'Sarabun',sans-serif; font-size:13px; font-weight:600;
  cursor:pointer; transition:all 0.2s; text-decoration:none; white-space:nowrap;
}
.vms-btn-sm { padding:6px 12px; font-size:12px; }
.vms-btn-lg { padding:12px 24px; font-size:15px; }
.vms-btn-block { width:100%; justify-content:center; }

.vms-btn-primary   { background:var(--vms-primary); color:#fff; }
.vms-btn-success   { background:var(--vms-success); color:#fff; }
.vms-btn-warning   { background:var(--vms-warning); color:#fff; }
.vms-btn-danger    { background:var(--vms-danger);  color:#fff; }
.vms-btn-info      { background:var(--vms-info);    color:#fff; }
.vms-btn-secondary { background:#95a5a6; color:#fff; }
.vms-btn-outline   { background:transparent; border:1.5px solid var(--vms-primary); color:var(--vms-primary); }

.vms-btn:hover { opacity:0.88; transform:translateY(-1px); box-shadow:0 4px 12px rgba(0,0,0,0.15); }
.vms-btn:disabled { opacity:0.55; cursor:not-allowed; transform:none; }

.vms-btn-group { display:flex; gap:8px; flex-wrap:wrap; }

/* ══════════════════════════════════════
   TABLE
══════════════════════════════════════ */
.vms-table-wrap { background:var(--vms-card-bg); border-radius:var(--vms-radius); box-shadow:var(--vms-shadow); overflow:hidden; }
.vms-table-header {
  padding:16px 20px; display:flex; align-items:center;
  justify-content:space-between; flex-wrap:wrap; gap:12px;
  border-bottom:1px solid #f0f0f0;
}
.vms-table-title { font-size:15px; font-weight:700; color:var(--vms-text); display:flex; align-items:center; gap:8px; }
.vms-table-title i { color:var(--vms-info); }

.vms-filter-bar {
  padding:12px 20px; background:#f8f9fa;
  border-bottom:1px solid var(--vms-border);
  display:flex; gap:10px; flex-wrap:wrap; align-items:flex-end;
}
.vms-filter-group { display:flex; flex-direction:column; gap:4px; min-width:130px; }
.vms-filter-group label { font-size:11px; font-weight:600; color:var(--vms-text-light); }
.vms-filter-group select,
.vms-filter-group input { padding:6px 10px; border:1px solid var(--vms-border); border-radius:6px; font-family:'Sarabun',sans-serif; font-size:13px; }

.vms-table-responsive { overflow-x:auto; }
.vms-table { width:100%; border-collapse:collapse; font-size:13px; }
.vms-table thead tr { background:#f8f9fa; }
.vms-table thead th {
  padding:12px 14px; text-align:left;
  font-weight:700; color:var(--vms-text-light); font-size:12px;
  border-bottom:2px solid var(--vms-border); white-space:nowrap;
}
.vms-table tbody td {
  padding:12px 14px; border-bottom:1px solid #f5f5f5;
  vertical-align:middle;
}
.vms-table tbody tr:hover { background:#fafbfc; }
.vms-table tbody tr:last-child td { border-bottom:none; }
.vms-table .empty-row td { text-align:center; padding:40px; color:var(--vms-text-light); }

/* ══════════════════════════════════════
   BADGES / STATUS
══════════════════════════════════════ */
.vms-badge {
  display:inline-flex; align-items:center; gap:4px;
  padding:3px 10px; border-radius:20px; font-size:11px; font-weight:700;
}
.vms-badge-success   { background:#d4edda; color:#155724; }
.vms-badge-warning   { background:#fff3cd; color:#856404; }
.vms-badge-danger    { background:#f8d7da; color:#721c24; }
.vms-badge-info      { background:#d1ecf1; color:#0c5460; }
.vms-badge-secondary { background:#e9ecef; color:#495057; }
.vms-badge-purple    { background:#e8d5f5; color:#6f42c1; }

.vms-vehicle-type {
  display:inline-flex; align-items:center; gap:5px;
  padding:3px 9px; border-radius:5px; font-size:11px; font-weight:600;
}
.vms-type-van { background:#e3f2fd; color:#1565c0; }
.vms-type-bus { background:#e8f5e9; color:#2e7d32; }

/* ══════════════════════════════════════
   MODAL
══════════════════════════════════════ */
.vms-modal-wrap {
  position:fixed; inset:0; z-index:9999;
  display:flex; align-items:center; justify-content:center;
  padding:20px;
}
.vms-modal-overlay {
  position:absolute; inset:0; background:rgba(0,0,0,0.55);
  backdrop-filter:blur(3px);
}
.vms-modal-box {
  position:relative; z-index:1;
  background:#fff; border-radius:14px;
  width:100%; max-width:700px;
  max-height:90vh; display:flex; flex-direction:column;
  box-shadow:0 25px 60px rgba(0,0,0,0.3);
  animation:vmsModalIn 0.25s ease;
}
.vms-modal-box.modal-sm { max-width:460px; }
.vms-modal-box.modal-lg { max-width:900px; }
@keyframes vmsModalIn {
  from { opacity:0; transform:scale(0.93) translateY(-20px); }
  to   { opacity:1; transform:scale(1) translateY(0); }
}
.vms-modal-header {
  padding:18px 22px;
  border-bottom:1px solid var(--vms-border);
  display:flex; align-items:center; justify-content:space-between;
  flex-shrink:0;
}
.vms-modal-header h3 { font-size:16px; font-weight:700; margin:0; display:flex; align-items:center; gap:8px; }
.vms-modal-header h3 i { color:var(--vms-primary); }
.vms-modal-close {
  width:32px; height:32px; border-radius:50%;
  background:#f0f0f0; border:none; font-size:18px;
  cursor:pointer; display:flex; align-items:center; justify-content:center;
  color:#666; transition:all 0.2s;
}
.vms-modal-close:hover { background:#e0e0e0; color:#333; }
.vms-modal-body { padding:22px; overflow-y:auto; flex:1; }
.vms-modal-footer {
  padding:14px 22px; border-top:1px solid var(--vms-border);
  display:flex; justify-content:flex-end; gap:10px; flex-shrink:0;
}

/* ══════════════════════════════════════
   TRIP DETAIL VIEW
══════════════════════════════════════ */
.vms-detail-grid { display:grid; grid-template-columns:1fr 1fr; gap:8px 20px; }
.vms-detail-row { padding:8px 0; border-bottom:1px solid #f5f5f5; }
.vms-detail-row:last-child { border-bottom:none; }
.vms-detail-label { font-size:11px; font-weight:700; color:var(--vms-text-light); text-transform:uppercase; letter-spacing:0.5px; margin-bottom:3px; }
.vms-detail-value { font-size:14px; color:var(--vms-text); }
.vms-detail-section {
  margin-bottom:16px;
  background:#f8f9fa; border-radius:8px; padding:14px;
  border-left:3px solid var(--vms-info);
}
.vms-detail-section h4 { font-size:13px; font-weight:700; color:var(--vms-primary); margin-bottom:12px; display:flex; align-items:center; gap:6px; }

/* ══════════════════════════════════════
   ALERTS & NOTICES
══════════════════════════════════════ */
.vms-alert {
  padding:12px 16px; border-radius:8px; margin-bottom:16px;
  display:flex; align-items:center; gap:10px; font-size:13px;
}
.vms-alert-success { background:#d4edda; color:#155724; border:1px solid #c3e6cb; }
.vms-alert-warning { background:#fff3cd; color:#856404; border:1px solid #ffc107; }
.vms-alert-danger  { background:#f8d7da; color:#721c24; border:1px solid #f5c6cb; }
.vms-alert-info    { background:#d1ecf1; color:#0c5460; border:1px solid #bee5eb; }

/* ══════════════════════════════════════
   LOADING SPINNER
══════════════════════════════════════ */
.vms-spinner {
  display:inline-block; width:20px; height:20px;
  border:3px solid rgba(255,255,255,0.3);
  border-top-color:#fff; border-radius:50%;
  animation:vmsSpinAnim 0.8s linear infinite;
}
.vms-spinner.dark {
  border-color:rgba(0,0,0,0.15); border-top-color:var(--vms-primary);
}
@keyframes vmsSpinAnim { to { transform:rotate(360deg); } }

.vms-loading-overlay {
  position:fixed; inset:0; z-index:99999;
  background:rgba(255,255,255,0.7); backdrop-filter:blur(2px);
  display:flex; align-items:center; justify-content:center;
}
.vms-loading-box {
  background:#fff; border-radius:12px; padding:30px 40px;
  text-align:center; box-shadow:0 10px 40px rgba(0,0,0,0.15);
}
.vms-loading-box .vms-spinner { width:36px; height:36px; border-width:4px; }
.vms-loading-box p { margin-top:12px; color:var(--vms-text-light); font-size:14px; }

/* ══════════════════════════════════════
   PAGINATION
══════════════════════════════════════ */
.vms-pagination {
  display:flex; align-items:center; justify-content:center;
  gap:6px; padding:16px 0;
}
.vms-page-btn {
  min-width:36px; height:36px; border-radius:7px;
  border:1px solid var(--vms-border); background:#fff;
  font-family:'Sarabun',sans-serif; font-size:13px;
  color:var(--vms-text); cursor:pointer; transition:all 0.2s;
  display:flex; align-items:center; justify-content:center; padding:0 10px;
}
.vms-page-btn:hover { border-color:var(--vms-info); color:var(--vms-info); }
.vms-page-btn.active { background:var(--vms-primary); color:#fff; border-color:var(--vms-primary); }
.vms-page-btn:disabled { opacity:0.4; cursor:not-allowed; }

/* ══════════════════════════════════════
   SUPERVISOR SPECIFIC
══════════════════════════════════════ */
.vms-supervisor-header {
  background:linear-gradient(135deg,#0f3460,#16213e);
  color:#fff; padding:20px 24px; border-radius:var(--vms-radius);
  margin-bottom:20px; display:flex; align-items:center; justify-content:space-between;
}
.vms-supervisor-header h2 { font-size:20px; margin:0; display:flex; align-items:center; gap:10px; }
.vms-supervisor-header h2 i { color:#4ecdc4; }
.vms-supervisor-header p { margin:4px 0 0; opacity:0.7; font-size:13px; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width:1024px) {
  .vms-charts-row { grid-template-columns:1fr; }
}
@media (max-width:768px) {
  .vms-main { padding:16px; }
  .vms-summary-grid { grid-template-columns:repeat(2,1fr); }
  .vms-form-grid { grid-template-columns:1fr; }
  .vms-form-grid.cols-3 { grid-template-columns:1fr; }
  .vms-form-group.span-2 { grid-column:auto; }
  .vms-detail-grid { grid-template-columns:1fr; }
  .vms-modal-box { margin:10px; max-height:95vh; }
  .vms-tabs { overflow-x:auto; }
  .vms-navbar__name { display:none; }
  .vms-filter-bar { flex-direction:column; }
}
@media (max-width:480px) {
  .vms-summary-grid { grid-template-columns:1fr; }
  .vms-navbar { padding:0 14px; }
}