/* AECInspire IT Ticketing & Management Portal
   Color Palette: Deep Midnight Navy (#0B132B / #0F1B2B) + Vibrant Warm Orange (#F97316 / #EA580C)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Brand Navy & Dark Palette */
  --navy-darkest: #070e1b;
  --navy-header: #0b1424;
  --navy: #0f1c30;
  --navy-light: #182b47;
  --navy-hover: #223a5e;
  --navy-border: rgba(255, 255, 255, 0.12);

  /* Signature Warm Orange Accent (as per image) */
  --orange: #f97316;
  --orange-hover: #ea580c;
  --orange-dark: #c2410c;
  --orange-light: #ffedd5;
  --orange-glow: rgba(249, 115, 22, 0.25);

  /* Text & Surfaces */
  --ink: #0f172a;
  --ink-secondary: #475569;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --bg: #f8fafc;
  --card-bg: #ffffff;
  --subtle-bg: #f1f5f9;

  /* Status Colors */
  --green: #10b981;
  --green-bg: #ecfdf5;
  --green-border: #a7f3d0;
  
  --amber: #f59e0b;
  --amber-bg: #fffbeb;
  --amber-border: #fde68a;

  --red: #ef4444;
  --red-bg: #fef2f2;
  --red-border: #fecaca;

  --blue: #3b82f6;
  --blue-bg: #eff6ff;
  --blue-border: #bfdbfe;

  --purple: #8b5cf6;
  --purple-bg: #f5f3ff;
  --purple-border: #ddd6fe;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 16px 36px -4px rgba(15, 23, 42, 0.15);
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 16px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 14px/1.5 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea {
  font: inherit;
}

button {
  cursor: pointer;
  transition: all 0.15s ease;
}

button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

/* App Layout */
.app {
  display: flex;
  min-height: 100vh;
}

/* Sidebar (Midnight Navy) */
.sidebar {
  width: 260px;
  flex: 0 0 260px;
  background: var(--navy-header);
  color: #f1f5f9;
  display: flex;
  flex-direction: column;
  padding: 20px 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.25s ease;
  z-index: 40;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 8px 20px;
  border-bottom: 1px solid var(--navy-border);
}

.brandmark {
  height: 40px;
  width: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--orange), #fb923c);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 20px;
  box-shadow: 0 4px 12px var(--orange-glow);
}

.brand b {
  display: block;
  font-size: 15px;
  color: #fff;
  letter-spacing: -0.2px;
}

.brand small {
  display: block;
  color: #94a3b8;
  font-size: 11px;
  margin-top: 1px;
}

.navlabel {
  padding: 20px 12px 8px;
  color: #64748b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow-y: auto;
  max-height: calc(100vh - 280px);
}

.nav button {
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #cbd5e1;
  text-align: left;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 13.5px;
}

.nav button:hover {
  background: var(--navy-light);
  color: #fff;
}

.nav button.active {
  background: var(--navy-hover);
  color: #fff;
  font-weight: 700;
  box-shadow: inset 4px 0 0 var(--orange);
}

.nav .ico {
  width: 20px;
  text-align: center;
  font-size: 16px;
  color: #94a3b8;
}

.nav button.active .ico {
  color: var(--orange);
}

.nav-badge {
  margin-left: auto;
  background: var(--orange);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
}

.sidefoot {
  margin-top: auto;
  border-top: 1px solid var(--navy-border);
  padding: 14px 10px 0;
  color: #94a3b8;
  font-size: 11.5px;
}

.sidefoot strong {
  display: block;
  color: #f8fafc;
  font-size: 12px;
  margin-bottom: 2px;
}

.user-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #a7f3d0;
  font-size: 11px;
  margin-top: 4px;
}

.dot-green {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

/* Main Area & Dark Topbar */
.main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.topbar {
  height: 72px;
  background: var(--navy-header);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 30;
  box-shadow: var(--shadow-sm);
}

.crumb {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 500;
}

.crumb span {
  color: #f8fafc;
}

.topbar h1 {
  margin: 2px 0 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: #fff;
}

.topright {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Signature Header Orange Pill Button (matching user image) */
.btn-orange-header {
  background: var(--orange);
  color: #fff;
  border: 1px solid var(--orange);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.3px;
  padding: 8px 14px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 2px 8px var(--orange-glow);
  text-transform: uppercase;
}

.btn-orange-header:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  transform: translateY(-1px);
}

.role-badge-top {
  background: var(--navy-light);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f1f5f9;
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--orange-light);
  color: var(--orange-dark);
  font-weight: 800;
  font-size: 13px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
}

.menu-btn {
  display: none;
  background: var(--navy-light);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 11px;
  border-radius: 8px;
}

/* Main Content Area */
.content {
  max-width: 1560px;
  width: 100%;
  margin: 0 auto;
  padding: 24px 28px 48px;
  flex: 1;
}

.page {
  display: none;
}

.page.active {
  display: block;
  animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.pagehead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.pagehead h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.6px;
  margin: 0 0 5px;
  color: var(--navy);
}

.pagehead p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
}

.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  font-weight: 600;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  white-space: nowrap;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: #334155;
  border-radius: 9px;
  padding: 9px 14px;
  box-shadow: var(--shadow-sm);
}

.btn:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

.btn.primary {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  box-shadow: 0 3px 12px var(--orange-glow);
}

.btn.primary:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  transform: translateY(-1px);
}

.btn.navy {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.btn.navy:hover {
  background: var(--navy-light);
}

.btn.success {
  background: #10b981;
  border-color: #10b981;
  color: #fff;
}

.btn.success:hover {
  background: #059669;
}

.btn.danger {
  color: var(--red);
  border-color: var(--red-border);
}

.btn.danger:hover {
  background: var(--red-bg);
}

.btn.small {
  padding: 5px 9px;
  font-size: 12px;
  border-radius: 7px;
}

/* Metric Cards */
.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.metric {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.metric:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.metric .mtop {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.mico {
  height: 36px;
  width: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--orange-light);
  color: var(--orange-dark);
  font-size: 17px;
}

.mico.green {
  background: var(--green-bg);
  color: var(--green);
}

.mico.blue {
  background: var(--blue-bg);
  color: var(--blue);
}

.mico.purple {
  background: var(--purple-bg);
  color: var(--purple);
}

.metric strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.7px;
  margin: 10px 0 2px;
  color: var(--navy);
}

.metric small {
  font-size: 11.5px;
  color: var(--muted);
}

/* Panels */
.grid2 {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 1fr);
  gap: 18px;
}

.grid-equal {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  overflow: hidden;
}

.panelhead {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #ffffff;
}

.panelhead h3 {
  font-size: 14.5px;
  font-weight: 700;
  margin: 0;
  color: var(--navy);
}

.panelhead p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 11.5px;
}

.panelbody {
  padding: 18px 20px;
}

/* Quick Actions Grid */
.quickgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.quick {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 14px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  transition: all 0.15s ease;
}

.quick:hover {
  border-color: var(--orange);
  background: #fffaf5;
  transform: translateY(-1px);
}

.quick .qico {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--orange-light);
  color: var(--orange-dark);
  display: grid;
  place-items: center;
  font-size: 19px;
}

.quick strong {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
}

.quick small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 2px;
}

/* Attention Notice */
.notice {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
}

.notice:last-child {
  border-bottom: 0;
}

.ndot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  margin-top: 5px;
  flex-shrink: 0;
  box-shadow: 0 0 6px var(--orange-glow);
}

.notice strong {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
}

.notice p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 11.5px;
}

/* Tables & Toolbars */
.toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: #fafbfc;
}

.search {
  flex: 1;
  min-width: 220px;
  position: relative;
}

.search input {
  width: 100%;
  padding: 9px 12px 9px 36px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: #fff;
  font-size: 13px;
}

.search:before {
  content: "⌕";
  position: absolute;
  left: 12px;
  top: 6px;
  color: #94a3b8;
  font-size: 18px;
  pointer-events: none;
}

.filter {
  padding: 9px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: #fff;
  color: #334155;
  font-size: 13px;
  font-weight: 500;
}

.tablewrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
}

th {
  text-align: left;
  background: #f8fafc;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
}

td {
  padding: 13px 18px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 13px;
  vertical-align: middle;
}

tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr:hover {
  background: #fbfcfe;
}

.primarycell {
  font-weight: 700;
  color: var(--navy);
}

.subcell {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 2px;
  white-space: normal;
  max-width: 320px;
}

/* Status Pills */
.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 20px;
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 700;
  background: #f1f5f9;
  color: #475569;
}

.pill.green { background: var(--green-bg); color: var(--green); border: 1px solid var(--green-border); }
.pill.amber { background: var(--amber-bg); color: #b45309; border: 1px solid var(--amber-border); }
.pill.red { background: var(--red-bg); color: var(--red); border: 1px solid var(--red-border); }
.pill.blue { background: var(--blue-bg); color: var(--blue); border: 1px solid var(--blue-border); }
.pill.purple { background: var(--purple-bg); color: var(--purple); border: 1px solid var(--purple-border); }
.pill.orange { background: var(--orange-light); color: var(--orange-dark); border: 1px solid #fed7aa; }

.linkbtn {
  border: 0;
  background: transparent;
  color: var(--orange);
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
}

.linkbtn:hover {
  background: var(--orange-light);
}

.empty {
  padding: 42px 16px;
  text-align: center;
  color: var(--muted);
}

.empty strong {
  display: block;
  color: var(--navy);
  font-size: 15px;
  margin-bottom: 4px;
}

/* Modals */
.modalback {
  position: fixed;
  inset: 0;
  background: rgba(11, 20, 36, 0.65);
  backdrop-filter: blur(4px);
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modalback.show {
  display: flex;
  animation: modalFade 0.2s ease-out;
}

.modalback.auth-mode {
  background: radial-gradient(circle at 50% 35%, #182b47 0%, #0b1424 65%, #070e1b 100%);
  backdrop-filter: blur(10px);
}

@keyframes modalFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal {
  width: min(840px, 100%);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.modalhead {
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fcfdfe;
}

.modalhead h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
}

.xbtn {
  border: 0;
  background: #f1f5f9;
  border-radius: 8px;
  width: 32px;
  height: 32px;
  font-size: 20px;
  color: #64748b;
  display: grid;
  place-items: center;
}

.xbtn:hover {
  background: #e2e8f0;
  color: var(--ink);
}

.modalcontent {
  padding: 22px 24px;
  overflow-y: auto;
  max-height: calc(90vh - 140px);
}

.modalfoot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  background: #fcfdfe;
}

/* Form Controls */
.formgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 12.5px;
  font-weight: 700;
  color: #334155;
}

.field input, .field select, .field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  color: var(--ink);
  background: #fff;
  font-size: 13.5px;
}

.field textarea {
  min-height: 90px;
  resize: vertical;
}

.field .hint {
  font-size: 11.5px;
  color: var(--muted);
}

.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  max-height: 180px;
  overflow-y: auto;
  background: #f8fafc;
}

.checkitem {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
}

.checkitem input {
  width: auto;
  accent-color: var(--orange);
}

/* Timeline */
.timeline {
  border-left: 2px solid #e2e8f0;
  margin: 12px 0 0 8px;
  padding-left: 18px;
}

.timelineitem {
  padding: 0 0 16px;
  position: relative;
  font-size: 13px;
}

.timelineitem:before {
  content: "";
  position: absolute;
  left: -24px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 6px var(--orange-glow);
}

.timelineitem strong {
  font-weight: 700;
  color: var(--navy);
}

.timelineitem small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 3px;
}

/* Toast Notifications */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--navy-header);
  color: #fff;
  border-left: 4px solid var(--orange);
  border-radius: 10px;
  padding: 14px 20px;
  box-shadow: var(--shadow-lg);
  z-index: 99;
  max-width: 380px;
  display: none;
  font-size: 13.5px;
  font-weight: 500;
}

.toast.show {
  display: block;
  animation: toastIn 0.25s ease-out;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Alert Banners */
.banner-info {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.banner-info b {
  color: #7c2d12;
}

.banner-warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 20px;
}

/* User Chip & Cards */
.user-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  margin-bottom: 10px;
  transition: all 0.15s ease;
}

.user-chip:hover {
  border-color: var(--orange);
  background: #fffaf5;
}

.user-chip strong {
  display: block;
  font-size: 13px;
  color: var(--navy);
}

.user-chip small {
  color: var(--muted);
  font-size: 11.5px;
}

/* Summary Rows */
.summaryrow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 13px;
}

.summaryrow:last-child {
  border-bottom: 0;
}

.hidden {
  display: none !important;
}

/* Responsive Media Queries */
@media (max-width: 1100px) {
  .sidebar { width: 230px; flex-basis: 230px; }
  .grid2 { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .app { display: block; }
  .sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 270px;
    transform: translateX(-105%);
    box-shadow: 12px 0 30px rgba(0,0,0,0.3);
  }
  .sidebar.open { transform: translateX(0); }
  .menu-btn { display: inline-flex; }
  .topbar { padding: 0 16px; height: 66px; }
  .content { padding: 18px 16px 36px; }
  .pagehead { display: block; }
/* Notification Button in Topbar */
.btn-notification {
  position: relative;
  background: var(--navy-light);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-size: 16px;
}

.btn-notification:hover {
  background: var(--navy-hover);
  border-color: rgba(255, 255, 255, 0.3);
}

.badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--orange);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 0 6px var(--orange-glow);
}

/* Master Data Tabs */
.tabs-nav {
  display: flex;
  gap: 8px;
  border-bottom: 2px solid var(--line);
  margin-bottom: 20px;
  overflow-x: auto;
  white-space: nowrap;
}

.tab-btn {
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--muted);
  border-radius: 6px 6px 0 0;
  cursor: pointer;
  margin-bottom: -2px;
}

.tab-btn:hover {
  color: var(--navy);
  background: #f1f5f9;
}

.tab-btn.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
  font-weight: 700;
  background: #fff;
}

/* Notification Item */
.notif-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  transition: background 0.15s ease;
}

.notif-item:last-child {
  border-bottom: 0;
}

.notif-item.unread {
  background: #fff7ed;
}

.notif-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  margin-top: 6px;
  flex-shrink: 0;
}

.notif-item.read .notif-dot {
  background: #cbd5e1;
}

.notif-title {
  font-weight: 700;
  font-size: 13px;
  color: var(--navy);
  margin-bottom: 2px;
}

.notif-msg {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

.notif-time {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 4px;
}
