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

/* ─── CSS Variables ─────────────────────────────────────────────────────────── */
:root {
  --navy:       #0F1B2D;
  --navy-l:     #1A2942;
  --teal:       #1A73E8;
  --teal-h:     #1557B0;
  --teal-bg:    #E8F0FE;
  --accent:     #E8731A;
  --sidebar-w:  260px;
  --topbar-h:   56px;
  --sh:         0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.03);
  --sh2:        0 4px 16px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04);
  --sh3:        0 10px 32px rgba(0,0,0,.10), 0 4px 8px rgba(0,0,0,.04);
  --radius:     10px;
}

/* ─── Global ────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  background: #F2F4F8;
  color: #344054;
  font-size: 13px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: #1A73E8; text-decoration: none; }
a:hover { color: #1557B0; text-decoration: none; }

/* ─── App Shell ─────────────────────────────────────────────────────────────── */
.app-wrapper {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

/* ─── Sidebar ───────────────────────────────────────────────────────────────── */
.sidebar {
  width: var(--sidebar-w);
  background: #0F1B2D;
  color: #fff;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  overflow: hidden;
  z-index: 100;
  box-shadow: 1px 0 0 rgba(255,255,255,.04), 2px 0 8px rgba(0,0,0,.12);
}

.sidebar-header {
  padding: 0 18px;
  height: var(--topbar-h);
  border-bottom: 1px solid rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.sidebar-logo {
  width: 32px;
  height: 32px;
  background: #1A73E8;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(26,115,232,.45);
  letter-spacing: -.5px;
}

.sidebar-brand {
  font-size: 14.5px;
  font-weight: 600;
  color: rgba(255,255,255,.88);
  white-space: nowrap;
  letter-spacing: -.1px;
}
.sidebar-brand b { color: #1A73E8; font-weight: 700; }

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0 12px;
}
.sidebar-nav::-webkit-scrollbar { width: 2px; }
.sidebar-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,.08); border-radius: 2px; }

.nav-section {
  padding: 16px 18px 4px;
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,.26);
}
.nav-section:first-of-type { padding-top: 8px; }

.nav-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  margin: 1px 8px;
  border-radius: 8px;
  color: rgba(255,255,255,.58);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: background .15s, color .15s, box-shadow .15s;
  cursor: pointer;
  white-space: nowrap;
}
.nav-item:hover {
  color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.07);
  text-decoration: none;
}
.nav-item.active {
  color: #fff;
  background: rgba(26,115,232,.16);
  font-weight: 600;
  box-shadow: inset 3px 0 0 #1A73E8;
}
.nav-item.disabled {
  opacity: .3;
  pointer-events: none;
  cursor: default;
}
.nav-item.disabled::after {
  content: 'Soon';
  margin-left: auto;
  font-size: 9px;
  font-weight: 700;
  color: rgba(255,255,255,.35);
  background: rgba(255,255,255,.06);
  padding: 2px 7px;
  border-radius: 20px;
  letter-spacing: .3px;
}
.nav-icon {
  width: 18px;
  text-align: center;
  font-size: 14px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .9;
}
.nav-badge {
  margin-left: auto;
  background: #E8731A;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
}

.sidebar-footer {
  padding: 10px;
  border-top: 1px solid rgba(255,255,255,.06);
  flex-shrink: 0;
  background: rgba(0,0,0,.15);
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 8px;
  padding: 7px 8px;
  cursor: pointer;
  transition: background .15s;
}
.sidebar-user:hover { background: rgba(255,255,255,.06); }

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #1A73E8;
  flex-shrink: 0;
}
.user-avatar.avatar-sm {
  width: 28px;
  height: 28px;
  font-size: 10px;
  border-radius: 7px;
  background: #E8F0FE;
  color: #1A73E8;
  font-weight: 700;
}
.user-avatar.avatar-md {
  width: 36px;
  height: 36px;
  font-size: 13px;
  border-radius: 9px;
}

.user-info { min-width: 0; flex: 1; }
.user-info .user-name {
  font-weight: 600;
  color: rgba(255,255,255,.88);
  font-size: 12.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}
.user-info .user-role {
  color: rgba(255,255,255,.38);
  font-size: 10.5px;
  line-height: 1.3;
}

/* ─── Main Content ──────────────────────────────────────────────────────────── */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
}

/* ─── Topbar ────────────────────────────────────────────────────────────────── */
.topbar {
  height: var(--topbar-h);
  background: #fff;
  border-bottom: 1px solid #E4E7EC;
  display: flex;
  align-items: center;
  padding: 0 26px;
  gap: 14px;
  flex-shrink: 0;
  z-index: 50;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #98A2B3;
  flex-shrink: 0;
}
.breadcrumb-nav .bc-sep { color: #CDD3DC; font-size: 10px; }
.breadcrumb-nav .bc-current { color: #1D2939; font-weight: 600; font-size: 13px; }

.topbar-search {
  margin-left: auto;
  position: relative;
  flex-shrink: 0;
}
.topbar-search .search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #98A2B3;
  font-size: 12px;
  pointer-events: none;
}
.topbar-search input {
  background: #FAFBFC;
  border: 1px solid #E4E7EC;
  border-radius: 8px;
  padding: 7px 12px 7px 32px;
  font-size: 12.5px;
  width: 240px;
  outline: none;
  font-family: inherit;
  transition: width .2s, border-color .15s, box-shadow .15s;
  color: #344054;
}
.topbar-search input:focus {
  border-color: #1A73E8;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(26,115,232,.10);
  width: 280px;
}
.topbar-search input::placeholder { color: #98A2B3; }

.topbar-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }

.topbar-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid #E4E7EC;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #667085;
  transition: all .15s;
  position: relative;
  text-decoration: none;
}
.topbar-btn:hover { border-color: #1A73E8; color: #1A73E8; background: #E8F0FE; }
.topbar-btn .notif-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 6px;
  height: 6px;
  background: #E74C3C;
  border-radius: 50%;
  border: 2px solid #fff;
}

/* ─── Content Area ──────────────────────────────────────────────────────────── */
.content-area {
  flex: 1;
  overflow-y: auto;
  padding: 26px 30px;
}
.content-area::-webkit-scrollbar { width: 4px; }
.content-area::-webkit-scrollbar-thumb { background: #CDD3DC; border-radius: 3px; }

/* ─── Page Header ───────────────────────────────────────────────────────────── */
.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid #E4E7EC;
  gap: 16px;
}
.page-title {
  font-size: 21px;
  font-weight: 700;
  color: #0F1B2D;
  line-height: 1.2;
  letter-spacing: -.4px;
}
.page-subtitle {
  font-size: 13px;
  color: #667085;
  margin-top: 3px;
  font-weight: 400;
}
.page-back {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #667085;
  text-decoration: none;
  margin-bottom: 6px;
  transition: color .15s;
}
.page-back:hover { color: #1A73E8; text-decoration: none; }

/* ─── Cards ─────────────────────────────────────────────────────────────────── */
.card {
  border: 1px solid #E4E7EC;
  border-radius: 12px;
  box-shadow: var(--sh);
  background: #fff;
}
.card .card-header {
  padding: 14px 20px;
  border-bottom: 1px solid #F0F2F5;
  background: transparent;
  border-radius: 12px 12px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.card .card-header .card-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #0F1B2D;
  margin: 0;
  letter-spacing: -.1px;
}
.card .card-body { padding: 20px; }
.card .card-footer {
  padding: 12px 20px;
  border-top: 1px solid #F0F2F5;
  background: #FAFBFC;
  border-radius: 0 0 12px 12px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

/* ─── Card Table ────────────────────────────────────────────────────────────── */
.card-table {
  background: #fff;
  border: 1px solid #E4E7EC;
  border-radius: 12px;
  box-shadow: var(--sh);
  overflow: hidden;
}

/* ─── Stat Cards ────────────────────────────────────────────────────────────── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.stat-card {
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  border: 1px solid #E4E7EC;
  box-shadow: var(--sh);
  transition: box-shadow .2s, transform .2s;
}
.stat-card:hover { box-shadow: var(--sh2); transform: translateY(-1px); }
.stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 14px;
}
.stat-label {
  font-size: 11px;
  font-weight: 600;
  color: #98A2B3;
  text-transform: uppercase;
  letter-spacing: .6px;
}
.stat-value {
  font-size: 28px;
  font-weight: 700;
  color: #0F1B2D;
  margin-top: 4px;
  line-height: 1.1;
  letter-spacing: -.5px;
}
.stat-change {
  font-size: 11.5px;
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 3px;
  color: #667085;
}

/* ─── Tables ────────────────────────────────────────────────────────────────── */
.table { margin-bottom: 0; }
.table thead th {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #98A2B3;
  background: #FAFBFC;
  border-bottom: 1px solid #E4E7EC;
  padding: 10px 16px;
  white-space: nowrap;
  vertical-align: middle;
}
.table thead th:first-child { padding-left: 20px; }
.table thead th:last-child { padding-right: 20px; }
.table tbody td {
  padding: 12px 16px;
  font-size: 13px;
  color: #344054;
  vertical-align: middle;
  border-bottom: 1px solid #F0F2F5;
}
.table tbody td:first-child { padding-left: 20px; }
.table tbody td:last-child { padding-right: 20px; }
.table tbody tr { transition: background .1s; }
.table tbody tr:hover td { background: #E8F0FE; }
.table tbody tr:last-child td { border-bottom: none; }

/* ─── Badges ────────────────────────────────────────────────────────────────── */
.badge,
.badge-success,
.badge-danger,
.badge-warning,
.badge-primary,
.badge-purple,
.badge-neutral {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
  line-height: 1.5;
  letter-spacing: .1px;
}
.badge-success { background: rgba(39,174,96,.10);  color: #1a7a42; border: 1px solid rgba(39,174,96,.18); }
.badge-danger  { background: rgba(231,76,60,.08);  color: #C0392B; border: 1px solid rgba(231,76,60,.18); }
.badge-warning { background: rgba(243,156,18,.10); color: #9a6500; border: 1px solid rgba(243,156,18,.25); }
.badge-primary { background: #E8F0FE;              color: #1562C5; border: 1px solid rgba(26,115,232,.2); }
.badge-purple  { background: rgba(142,68,173,.08); color: #7B3FA0; border: 1px solid rgba(142,68,173,.18); }
.badge-neutral { background: #F0F2F5;              color: #475467; border: 1px solid #E4E7EC; }

/* ─── Icon Buttons ──────────────────────────────────────────────────────────── */
.btn-icon {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  border: 1px solid #E4E7EC;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #667085;
  font-size: 13px;
  cursor: pointer;
  transition: all .15s;
  text-decoration: none;
  flex-shrink: 0;
}
.btn-icon:hover { border-color: #1A73E8; color: #1A73E8; background: #E8F0FE; text-decoration: none; }
.btn-icon.btn-icon-danger:hover { border-color: #E74C3C; color: #E74C3C; background: rgba(231,76,60,.06); }

/* ─── Buttons ───────────────────────────────────────────────────────────────── */
.btn { border-radius: 8px; font-weight: 600; font-size: 13px; transition: all .15s; }
.btn-sm { padding: 5px 12px; font-size: 12px; border-radius: 6px; }

.btn-primary { background: #1A73E8; border-color: #1A73E8; color: #fff; box-shadow: 0 1px 3px rgba(26,115,232,.3); }
.btn-primary:hover { background: #1557B0; border-color: #1557B0; color: #fff; box-shadow: 0 2px 8px rgba(26,115,232,.4); }
.btn-primary:focus { box-shadow: 0 0 0 3px rgba(26,115,232,.25); }

.btn-outline-primary { color: #1A73E8; border-color: #1A73E8; background: transparent; }
.btn-outline-primary:hover { background: #1A73E8; border-color: #1A73E8; color: #fff; }
.btn-outline-primary:focus { box-shadow: 0 0 0 3px rgba(26,115,232,.2); }

.btn-outline-secondary { color: #475467; border-color: #E4E7EC; background: #fff; }
.btn-outline-secondary:hover { background: #F0F2F5; border-color: #CDD3DC; color: #344054; }

.btn-danger { background: #E74C3C; border-color: #E74C3C; color: #fff; box-shadow: 0 1px 3px rgba(231,76,60,.25); }
.btn-danger:hover { background: #C0392B; border-color: #C0392B; color: #fff; }

/* ─── Forms ─────────────────────────────────────────────────────────────────── */
.form-label {
  font-size: 12px;
  font-weight: 600;
  color: #344054;
  margin-bottom: 5px;
  display: block;
}
.form-text { font-size: 11.5px; color: #98A2B3; margin-top: 4px; }

.form-control, .form-select {
  font-size: 13px;
  border-color: #E4E7EC;
  border-radius: 8px;
  padding: 8px 12px;
  font-family: inherit;
  background: #fff;
  color: #1D2939;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  transition: border-color .15s, box-shadow .15s;
}
.form-control:focus, .form-select:focus {
  border-color: #1A73E8;
  box-shadow: 0 0 0 3px rgba(26,115,232,.10);
  outline: none;
  background: #fff;
}
.form-control.is-invalid, .form-select.is-invalid { border-color: #E74C3C; }
.form-control.is-invalid:focus, .form-select.is-invalid:focus { box-shadow: 0 0 0 3px rgba(231,76,60,.10); }
.form-control::placeholder, .form-select::placeholder { color: #98A2B3; }
.form-select { padding-right: 32px; }

.form-check-input:checked { background-color: #1A73E8; border-color: #1A73E8; }

.invalid-feedback { font-size: 11.5px; }

.form-divider { border: none; border-top: 1px solid #F0F2F5; margin: 20px 0; }

/* ─── Empty State ───────────────────────────────────────────────────────────── */
.empty-state { padding: 54px 24px; text-align: center; }
.empty-state > i { font-size: 38px; color: #CDD3DC; display: block; margin-bottom: 14px; }
.empty-state .empty-state-title { font-size: 14px; font-weight: 600; color: #475467; margin-bottom: 5px; }
.empty-state .empty-state-text { font-size: 12.5px; color: #98A2B3; }

/* ─── Auth Layout ───────────────────────────────────────────────────────────── */
.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0F1B2D 0%, #1A2942 50%, #111D30 100%);
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.auth-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 800px 600px at 60% 40%, rgba(26,115,232,.12) 0%, transparent 70%);
  pointer-events: none;
}
.auth-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0,0,0,.3);
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.auth-header {
  background: #0F1B2D;
  padding: 30px 32px 26px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.auth-logo {
  width: 46px;
  height: 46px;
  background: #1A73E8;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  box-shadow: 0 4px 14px rgba(26,115,232,.45);
}
.auth-brand { font-size: 18px; font-weight: 700; color: rgba(255,255,255,.9); }
.auth-brand b { color: #1A73E8; }
.auth-tagline { font-size: 12px; color: rgba(255,255,255,.38); margin-top: 4px; }
.auth-body { padding: 28px 32px 24px; }
.auth-title { font-size: 17px; font-weight: 700; color: #0F1B2D; margin-bottom: 4px; letter-spacing: -.2px; }
.auth-subtitle { font-size: 12.5px; color: #667085; margin-bottom: 24px; }
.auth-footer {
  padding: 14px 32px;
  background: #FAFBFC;
  border-top: 1px solid #F0F2F5;
  text-align: center;
  font-size: 11px;
  color: #667085;
}

/* ─── Filter Bar ────────────────────────────────────────────────────────────── */
.filter-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  background: #fff;
  border: 1px solid #E4E7EC;
  color: #475467;
  transition: all .15s;
}
.filter-chip:hover, .filter-chip.active { background: #E8F0FE; border-color: #1A73E8; color: #1A73E8; }

/* ─── Tabs ──────────────────────────────────────────────────────────────────── */
.nav-tabs { border-bottom: 1px solid #E4E7EC; margin-bottom: 18px; }
.nav-tabs .nav-link {
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 500;
  color: #667085;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: .15s;
  border-radius: 0;
}
.nav-tabs .nav-link:hover { color: #344054; background: none; }
.nav-tabs .nav-link.active { color: #1A73E8; border-bottom-color: #1A73E8; background: none; font-weight: 600; }

/* ─── Alert Row ─────────────────────────────────────────────────────────────── */
.alert-row {
  padding: 12px 20px;
  border-bottom: 1px solid #F0F2F5;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background .12s;
}
.alert-row:last-child { border-bottom: none; }
.alert-row:hover { background: #FAFBFC; }

/* ─── Info Row ──────────────────────────────────────────────────────────────── */
.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #F0F2F5;
}
.info-row:last-child { border-bottom: none; }
.info-label { font-size: 12px; color: #667085; }
.info-value { font-size: 12px; font-weight: 600; color: #344054; }

/* ─── Pagination ────────────────────────────────────────────────────────────── */
.pagination { margin: 0; gap: 3px; }
.pagination .page-item .page-link {
  font-size: 12px;
  font-weight: 500;
  color: #475467;
  border: 1px solid #E4E7EC;
  border-radius: 7px !important;
  padding: 5px 11px;
  background: #fff;
  transition: all .15s;
  line-height: 1.5;
}
.pagination .page-item .page-link:hover { background: #E8F0FE; color: #1A73E8; border-color: #1A73E8; }
.pagination .page-item.active .page-link { background: #1A73E8; border-color: #1A73E8; color: #fff; box-shadow: 0 1px 4px rgba(26,115,232,.3); }
.pagination .page-item.disabled .page-link { color: #CDD3DC; background: #FAFBFC; }

/* ─── Btn Icon Danger (standalone) ──────────────────────────────────────────── */
.btn-icon-danger {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  border: 1px solid #E4E7EC;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #C0392B;
  font-size: 13px;
  cursor: pointer;
  transition: all .15s;
  flex-shrink: 0;
}
.btn-icon-danger:hover { border-color: #E74C3C; color: #E74C3C; background: rgba(231,76,60,.06); }

/* ─── Filter Bar Search ─────────────────────────────────────────────────────── */
.filter-search { position: relative; flex: 1; min-width: 200px; max-width: 320px; }
.filter-search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #98A2B3;
  font-size: 12px;
  pointer-events: none;
}
.filter-search-input {
  width: 100%;
  background: #fff;
  border: 1px solid #E4E7EC;
  border-radius: 8px;
  padding: 7px 12px 7px 30px;
  font-size: 13px;
  font-family: inherit;
  color: #344054;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.filter-search-input:focus { border-color: #1A73E8; box-shadow: 0 0 0 3px rgba(26,115,232,.10); }
.filter-search-input::placeholder { color: #98A2B3; }
.filter-select {
  font-size: 13px;
  border-color: #E4E7EC;
  border-radius: 8px;
  padding: 7px 30px 7px 10px;
  font-family: inherit;
  background: #fff;
  color: #344054;
  outline: none;
  cursor: pointer;
  transition: border-color .15s;
}
.filter-select:focus { border-color: #1A73E8; box-shadow: 0 0 0 3px rgba(26,115,232,.10); }

/* ─── Ghost Button ──────────────────────────────────────────────────────────── */
.btn-ghost { background: none; border: none; color: #667085; font-size: 12px; font-weight: 500; padding: 5px 10px; border-radius: 6px; cursor: pointer; }
.btn-ghost:hover { background: #F0F2F5; color: #344054; text-decoration: none; }

/* ─── Type Toggle Buttons (contact type selector) ───────────────────────────── */
.type-toggle-btn {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border: 1.5px solid #E4E7EC;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #667085;
  background: #fff;
  cursor: pointer;
  transition: all .15s;
  user-select: none;
}
.type-toggle-btn:hover { border-color: #1A73E8; color: #1A73E8; background: #E8F0FE; }
.type-toggle-btn.active { border-color: #1A73E8; color: #1A73E8; background: #E8F0FE; font-weight: 600; }

/* ─── Permission Checkbox Row ───────────────────────────────────────────────── */
.perm-check-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1.5px solid #E4E7EC;
  border-radius: 7px;
  font-size: 12.5px;
  font-weight: 500;
  color: #475467;
  cursor: pointer;
  transition: all .12s;
  background: #fff;
}
.perm-check-row:hover { border-color: #1A73E8; background: #F0F5FF; color: #1A73E8; }
.perm-check-row.checked { border-color: #1A73E8; background: #E8F0FE; color: #1562C5; }

/* ─── Tag Input ─────────────────────────────────────────────────────────────── */
.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #E8F0FE;
  color: #1562C5;
  font-size: 12px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 20px;
}
.tag-pill button { background: none; border: none; padding: 0; cursor: pointer; color: #1562C5; font-size: 14px; line-height: 1; }

/* ─── Coming Soon Tab ───────────────────────────────────────────────────────── */
.coming-soon-tab {
  padding: 56px 24px;
  text-align: center;
}
.coming-soon-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: #F0F2F5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #98A2B3;
  margin-bottom: 18px;
}
.coming-soon-phase {
  display: inline-flex;
  align-items: center;
  padding: 3px 12px;
  border-radius: 20px;
  background: #E8F0FE;
  color: #1562C5;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.coming-soon-title {
  font-size: 16px;
  font-weight: 700;
  color: #1D2939;
  margin-bottom: 8px;
  letter-spacing: -.2px;
}
.coming-soon-desc {
  font-size: 13px;
  color: #667085;
  max-width: 420px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ─── Property Tabs ─────────────────────────────────────────────────────────── */
.property-tabs { background: #fff; border-radius: var(--radius); box-shadow: var(--sh2); padding: 0 20px 20px; }
.property-tabs .nav-tabs { padding-top: 4px; }
.property-tabs .tab-content { padding-top: 20px; }

/* ─── Utilities ─────────────────────────────────────────────────────────────── */
.text-navy    { color: #0F1B2D !important; }
.text-teal    { color: #1A73E8 !important; }
.text-accent  { color: #E8731A !important; }
.bg-navy      { background: #0F1B2D !important; }
.bg-teal      { background: #1A73E8 !important; }
.bg-teal-soft { background: #E8F0FE !important; }
.fw-500       { font-weight: 500 !important; }
.fw-600       { font-weight: 600 !important; }
.divider      { border-top: 1px solid #F0F2F5; margin: 14px 0; }

/* ─── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .sidebar { position: fixed; left: -260px; transition: left .25s; height: 100vh; z-index: 200; }
  .sidebar.open { left: 0; }
  .content-area { padding: 16px; }
  .topbar { padding: 0 16px; }
  .topbar-search input { width: 160px; }
  .page-header { flex-direction: column; gap: 12px; }
}
