/* ============================================================
   DESIGN SYSTEM — Doctor Engagement Tracking Platform
   Dark mode, glassmorphism, premium pharma feel
   ============================================================ */

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

/* ---- CSS VARIABLES ---- */
:root {
  /* Brand Colors (from concortinsight.mediception.com) */
  --brand-primary:   #db2777;   /* Merck Vibrant Magenta / Pink */
  --brand-secondary: #7924c2;   /* Merck Royal Purple */
  --brand-accent:    #f59e0b;   /* Amber Gold */
  --brand-danger:    #f43f5e;   /* Rose Red */
  --brand-info:      #00b7d7;   /* Cyan Blue */
  --brand-success:   #10b981;   /* Emerald Green */

  /* Dark Backgrounds (#0c0721 palette) */
  --bg-base:    #0c0721;
  --bg-surface: #140c30;
  --bg-card:    #1a103c;
  --bg-card-2:  #22164d;
  --bg-input:   #261854;
  --bg-hover:   #32206b;

  /* Glass */
  --glass-bg:     rgba(26, 16, 60, 0.82);
  --glass-border: rgba(219, 39, 119, 0.25);
  --glass-blur:   blur(20px);

  /* Text */
  --text-primary:   #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted:     #8e82b5;
  --text-inverse:   #ffffff;

  /* Borders */
  --border-subtle:  rgba(168, 85, 247, 0.14);
  --border-default: rgba(168, 85, 247, 0.25);
  --border-active:  rgba(219, 39, 119, 0.65);

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(12, 7, 33, 0.4);
  --shadow-md:  0 4px 24px rgba(12, 7, 33, 0.6);
  --shadow-lg:  0 8px 48px rgba(12, 7, 33, 0.75);
  --shadow-glow: 0 0 32px rgba(219, 39, 119, 0.22);

  /* Gradients (Merck Concor-T signature) */
  --grad-brand:    linear-gradient(135deg, #7924c2 0%, #cc33b2 50%, #e7318f 100%);
  --grad-header:   linear-gradient(to right, #7924c2, #cc33b2, #e7318f);
  --grad-danger:   linear-gradient(135deg, #f43f5e, #fb7185);
  --grad-gold:     linear-gradient(135deg, #f59e0b, #fbbf24);
  --grad-surface:  linear-gradient(135deg, #140c30 0%, #0c0721 100%);

  /* Spacing */
  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  /* Radius */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast:   all 0.15s ease;
  --transition-normal: all 0.25s ease;
  --transition-slow:   all 0.4s ease;

  /* Sidebar */
  --sidebar-width: 260px;
  --topbar-height: 64px;
}

/* ============================================================
   LIGHT MODE THEME (from concortinsight.mediception.com bg-[#f4f3f8])
   ============================================================ */
[data-theme="light"] {
  --brand-primary:   #db2777;   /* Magenta / Pink */
  --brand-secondary: #7924c2;   /* Royal Purple */
  --brand-accent:    #d97706;   /* Amber */
  --brand-danger:    #e11d48;   /* Rose Red */
  --brand-info:      #0284c7;   /* Sky Blue */
  --brand-success:   #059669;   /* Emerald */

  --bg-base:    #f4f3f8;   /* Exact concortinsight light background */
  --bg-surface: #ffffff;
  --bg-card:    #ffffff;
  --bg-card-2:  #faf8fd;
  --bg-input:   #f0eef6;
  --bg-hover:   #e8e4f3;

  --glass-bg:     rgba(255, 255, 255, 0.92);
  --glass-border: rgba(121, 36, 194, 0.18);
  --glass-blur:   blur(20px);

  --text-primary:   #1e1441;   /* Deep violet black */
  --text-secondary: #4c436b;   /* Slate violet */
  --text-muted:     #7e759c;
  --text-inverse:   #ffffff;

  --border-subtle:  rgba(121, 36, 194, 0.08);
  --border-default: rgba(121, 36, 194, 0.18);
  --border-active:  rgba(219, 39, 119, 0.6);

  --shadow-sm:  0 1px 4px rgba(30, 20, 65, 0.06);
  --shadow-md:  0 4px 20px rgba(30, 20, 65, 0.08);
  --shadow-lg:  0 8px 40px rgba(30, 20, 65, 0.12);
  --shadow-glow: 0 0 28px rgba(219, 39, 119, 0.12);

  --grad-brand:   linear-gradient(135deg, #7924c2 0%, #cc33b2 50%, #e7318f 100%);
  --grad-header:  linear-gradient(to right, #7924c2, #cc33b2, #e7318f);
  --grad-danger:  linear-gradient(135deg, #e11d48, #fb7185);
  --grad-gold:    linear-gradient(135deg, #d97706, #fbbf24);
  --grad-surface: linear-gradient(135deg, #ffffff 0%, #f4f3f8 100%);
}

[data-theme="light"] body            { background: var(--bg-base); color: var(--text-primary); }
[data-theme="light"] #sidebar        { background: #ffffff; border-right: 1px solid rgba(121,36,194,0.1); box-shadow: 2px 0 16px rgba(30,20,65,0.05); }
[data-theme="light"] .sidebar-logo   { border-bottom-color: rgba(121,36,194,0.1); }
[data-theme="light"] .sidebar-user   { background: #faf8fd; border-color: rgba(121,36,194,0.12); }
[data-theme="light"] .nav-item       { color: var(--text-secondary); }
[data-theme="light"] .nav-item:hover  { background: rgba(121,36,194,0.07); color: var(--brand-secondary); }
[data-theme="light"] .nav-item.active { background: linear-gradient(135deg, rgba(121,36,194,0.12), rgba(219,39,119,0.12)); color: var(--brand-primary); }
[data-theme="light"] .sidebar-footer  { border-top-color: rgba(121,36,194,0.1); }
[data-theme="light"] #topbar          { background: rgba(255,255,255,0.92); border-bottom: 1px solid rgba(121,36,194,0.1); backdrop-filter: blur(12px); }
[data-theme="light"] .topbar-scope    { background: rgba(219,39,119,0.08); border-color: rgba(219,39,119,0.25); color: var(--brand-primary); }
[data-theme="light"] .card            { background: #ffffff; border-color: rgba(121,36,194,0.1); box-shadow: 0 1px 6px rgba(30,20,65,0.05); }
[data-theme="light"] .card:hover      { border-color: rgba(219,39,119,0.25); box-shadow: 0 4px 18px rgba(30,20,65,0.08); }
[data-theme="light"] .kpi-card        { background: #ffffff; border-color: rgba(121,36,194,0.1); }
[data-theme="light"] .table-wrapper   { border-color: rgba(121,36,194,0.1); }
[data-theme="light"] th               { background: #faf8fd; color: var(--text-secondary); border-bottom-color: rgba(121,36,194,0.1); }
[data-theme="light"] td               { border-bottom-color: rgba(121,36,194,0.07); color: var(--text-primary); }
[data-theme="light"] tr:hover td      { background: #f7f5fc; }
[data-theme="light"] .filter-chip     { background: rgba(121,36,194,0.05); border-color: rgba(121,36,194,0.15); color: var(--text-secondary); }
[data-theme="light"] .filter-chip.active { background: linear-gradient(135deg, rgba(121,36,194,0.15), rgba(219,39,119,0.15)); border-color: rgba(219,39,119,0.4); color: var(--brand-primary); }
[data-theme="light"] .filter-chip:hover  { background: rgba(121,36,194,0.1); }
[data-theme="light"] .form-input,
[data-theme="light"] .form-select,
[data-theme="light"] .form-textarea   { background: #faf8fd; border-color: rgba(121,36,194,0.2); color: var(--text-primary); }
[data-theme="light"] .form-input:focus,
[data-theme="light"] .form-select:focus,
[data-theme="light"] .form-textarea:focus { background: #ffffff; border-color: var(--brand-primary); box-shadow: 0 0 0 3px rgba(219,39,119,0.12); }
[data-theme="light"] .form-input::placeholder { color: #9a91b8; }
[data-theme="light"] .form-select option { background: #ffffff; color: var(--text-primary); }
[data-theme="light"] .btn-ghost       { background: rgba(121,36,194,0.05); border-color: rgba(121,36,194,0.15); color: var(--text-primary); }
[data-theme="light"] .btn-ghost:hover { background: rgba(121,36,194,0.1); }
[data-theme="light"] .modal-overlay   { background: rgba(30,20,65,0.45); }
[data-theme="light"] .modal           { background: #ffffff; border-color: rgba(121,36,194,0.12); box-shadow: 0 16px 64px rgba(30,20,65,0.15); }
[data-theme="light"] .autocomplete-dropdown { background: #ffffff; border-color: rgba(121,36,194,0.2); box-shadow: 0 8px 32px rgba(30,20,65,0.12); }
[data-theme="light"] .autocomplete-item:hover { background: #f7f5fc; }
[data-theme="light"] .notif-panel     { background: #ffffff; border-left-color: rgba(121,36,194,0.1); box-shadow: -4px 0 20px rgba(30,20,65,0.1); }
[data-theme="light"] .notif-panel-header { border-bottom-color: rgba(121,36,194,0.1); }
[data-theme="light"] .notif-item      { border-bottom-color: rgba(121,36,194,0.07); }
[data-theme="light"] .notif-item:hover { background: #f7f5fc; }
[data-theme="light"] ::-webkit-scrollbar-track { background: #f4f3f8; }
[data-theme="light"] ::-webkit-scrollbar-thumb { background: #d3cde0; }
[data-theme="light"] ::-webkit-scrollbar-thumb:hover { background: #9a91b8; }
[data-theme="light"] #login-page { background: linear-gradient(135deg, #fbf7ff 0%, #f4f3f8 50%, #fdf2f8 100%); }
[data-theme="light"] #login-page::before {
  background: radial-gradient(ellipse 80% 60% at 20% 20%, rgba(219,39,119,0.1) 0%, transparent 60%),
              radial-gradient(ellipse 60% 80% at 80% 80%, rgba(121,36,194,0.08) 0%, transparent 60%);
}
[data-theme="light"] .login-card {
  background: rgba(255,255,255,0.92);
  border-color: rgba(121,36,194,0.15);
  box-shadow: 0 8px 48px rgba(30,20,65,0.1);
}

/* Theme toggle button */
.theme-toggle {
  width: 36px; height: 36px;
  border-radius: var(--radius-md);
  background: var(--bg-card-2);
  border: 1px solid var(--border-subtle);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 17px;
  transition: var(--transition-fast);
  flex-shrink: 0; user-select: none;
}
.theme-toggle:hover { background: var(--bg-hover); border-color: var(--brand-primary); transform: scale(1.08) rotate(15deg); }
[data-theme="light"] .theme-toggle { background: #faf8fd; border-color: rgba(121,36,194,0.2); }
[data-theme="light"] .theme-toggle:hover { background: #f0eef6; border-color: var(--brand-primary); }



/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-surface); }
::-webkit-scrollbar-thumb { background: var(--bg-card-2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ---- UTILITY CLASSES ---- */
.hidden { display: none !important; }
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.w-full { width: 100%; }
.text-right { text-align: right; }
.text-center { text-align: center; }
.font-mono { font-family: 'JetBrains Mono', monospace; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---- LOGIN PAGE ---- */
#login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-base);
  position: relative;
  overflow: hidden;
}

#login-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 20%, rgba(219,39,119,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 80%, rgba(121,36,194,0.14) 0%, transparent 60%);
  pointer-events: none;
}

#login-page::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(219,39,119,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(219,39,119,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.login-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  padding: var(--space-2xl);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  animation: slideUp 0.5s ease;
}

.login-logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.login-logo-icon,
.login-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(219,39,119,0.3));
  flex-shrink: 0;
}

.login-logo h1 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.3px;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.login-logo p {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.login-title {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.5px;
}

.login-subtitle {
  color: var(--text-secondary);
  font-size: 13px;
  margin-bottom: var(--space-xl);
}

.login-demo-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.demo-pill {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  border: 1px solid;
}

.demo-pill.admin { background: rgba(219,39,119,0.15); border-color: rgba(219,39,119,0.35); color: var(--brand-primary); }
.demo-pill.zbm   { background: rgba(121,36,194,0.15); border-color: rgba(121,36,194,0.35); color: #a78bfa; }
.demo-pill.abm   { background: rgba(245,158,11,0.15); border-color: rgba(245,158,11,0.35); color: var(--brand-accent); }

.demo-pill:hover { transform: translateY(-1px); opacity: 0.9; }

/* ---- FORM ELEMENTS ---- */
.form-group { margin-bottom: var(--space-md); }

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--space-xs);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 14px;
  transition: var(--transition-fast);
  outline: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(219,39,119,0.18);
  background: var(--bg-hover);
}

.form-input::placeholder { color: var(--text-muted); }

.form-select { cursor: pointer; }
.form-select option { background: var(--bg-surface); }

.form-textarea { resize: vertical; min-height: 80px; }

/* Input with icon */
.input-wrapper { position: relative; }
.input-wrapper .input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 16px;
  pointer-events: none;
}
.input-wrapper .form-input { padding-left: 44px; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 10px 20px;
  border: none;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
  outline: none;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--grad-brand);
  color: var(--text-inverse);
  box-shadow: 0 4px 16px rgba(219,39,119,0.3);
}
.btn-primary:hover { box-shadow: 0 6px 24px rgba(219,39,119,0.5); transform: translateY(-1px); }

.btn-secondary {
  background: var(--bg-card-2);
  color: var(--text-primary);
  border: 1px solid var(--border-default);
}
.btn-secondary:hover { background: var(--bg-hover); border-color: var(--border-active); }

.btn-danger {
  background: var(--grad-danger);
  color: white;
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}
.btn-ghost:hover { background: var(--bg-hover); color: var(--text-primary); }

.btn-sm { padding: 6px 14px; font-size: 12px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-icon { padding: 8px; border-radius: var(--radius-sm); }
.btn-block { width: 100%; }

/* ---- APP LAYOUT ---- */
#app {
  display: flex;
  min-height: 100vh;
}

/* SIDEBAR */
#sidebar {
  width: var(--sidebar-width);
  min-height: 100vh;
  background: var(--bg-surface);
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  position: fixed;
  left: 0; top: 0;
  z-index: 100;
  transition: transform 0.3s ease;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-md);
  border-bottom: 1px solid var(--border-subtle);
  text-decoration: none;
}

.sidebar-logo-icon,
.sidebar-logo-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(219,39,119,0.25));
  flex-shrink: 0;
}

.sidebar-logo-text strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: var(--text-primary);
}

.sidebar-logo-text span {
  font-size: 11px;
  color: var(--text-muted);
}

.sidebar-user {
  margin: var(--space-md);
  padding: var(--space-md);
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.sidebar-user-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-inverse);
  flex-shrink: 0;
}

.sidebar-user-info { min-width: 0; }
.sidebar-user-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-user-role {
  font-size: 11px;
  color: var(--text-muted);
}

.sidebar-nav { flex: 1; padding: var(--space-sm) 0; overflow-y: auto; }

.nav-section-label {
  padding: var(--space-md) var(--space-md) var(--space-xs);
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px var(--space-md);
  margin: 2px var(--space-sm);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
  border: none;
  background: none;
  width: calc(100% - var(--space-md));
  text-align: left;
  text-decoration: none;
  position: relative;
}

.nav-item:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.nav-item.active {
  background: linear-gradient(135deg, rgba(121,36,194,0.18), rgba(219,39,119,0.18));
  color: #f472b6;
  font-weight: 600;
}

.nav-item.active::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 50%; transform: translateY(-50%);
  width: 3px; height: 60%;
  background: var(--brand-primary);
  border-radius: 0 3px 3px 0;
}

.nav-item-icon {
  font-size: 16px;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-item-icon svg {
  display: block;
}
.nav-item-badge {
  margin-left: auto;
  background: var(--brand-danger);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: var(--radius-full);
}

.sidebar-footer {
  padding: var(--space-md);
  border-top: 1px solid var(--border-subtle);
}

/* MAIN CONTENT */
#main-content {
  margin-left: var(--sidebar-width);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* TOPBAR */
#topbar {
  height: var(--topbar-height);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-xl);
  position: sticky;
  top: 0;
  z-index: 50;
}

#topbar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-header);
}

.topbar-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.topbar-scope {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 6px 14px;
  background: rgba(219,39,119,0.1);
  border: 1px solid rgba(219,39,119,0.3);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: #f472b6;
}

.topbar-action-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0;
  transition: var(--transition-fast);
  position: relative;
  user-select: none;
}

.topbar-action-btn:hover {
  background: var(--bg-hover);
  color: var(--brand-primary);
  border-color: rgba(219,39,119,0.4);
  transform: translateY(-1px);
}

.topbar-action-btn.logout-btn:hover {
  color: var(--brand-danger);
  border-color: rgba(239,68,68,0.4);
}

[data-theme="light"] .topbar-action-btn {
  background: #ffffff;
  border-color: rgba(121,36,194,0.15);
  color: var(--text-secondary);
}

[data-theme="light"] .topbar-action-btn:hover {
  background: #f7f5fc;
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.notif-dot {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 8px;
  height: 8px;
  background: var(--brand-danger);
  border-radius: 50%;
  border: 2px solid var(--bg-surface);
}

/* PAGE CONTAINER */
.page {
  display: none;
  padding: var(--space-xl);
  flex: 1;
}
.page.active { display: block; }

/* ---- CARDS ---- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: var(--transition-normal);
}

.card:hover { border-color: var(--border-default); }

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
}

.card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.card-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* KPI CARDS */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 136px;
  transition: var(--transition-normal);
}

.kpi-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--kpi-color, var(--grad-brand));
}

.kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-default);
}

.quick-stat-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 24px rgba(121,36,194,0.18) !important;
  border-color: var(--card-accent, var(--brand-primary)) !important;
}

[data-theme="light"] .quick-stat-card:hover {
  box-shadow: 0 8px 24px rgba(30,20,65,0.12) !important;
  border-color: var(--card-accent, var(--brand-primary)) !important;
}

.kpi-icon {
  display: none;
}

.kpi-value {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 6px;
}

.kpi-label {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 600;
  line-height: 1.3;
}

.kpi-change {
  font-size: 12px;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
}
.kpi-change.up { color: var(--brand-primary); font-weight: 600; }
.kpi-change.down { color: var(--brand-danger); font-weight: 600; }

/* CHART CARDS */
.charts-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.chart-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.chart-container {
  position: relative;
  height: 220px;
}

/* ---- TABLES ---- */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

thead tr {
  background: var(--bg-card-2);
}

th {
  padding: 12px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
  border-bottom: 1px solid var(--border-subtle);
}

td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
  vertical-align: middle;
}

tbody tr {
  transition: var(--transition-fast);
}
tbody tr:hover { background: var(--bg-hover); }
tbody tr:last-child td { border-bottom: none; }

/* ---- BADGES ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.badge-teal   { background: rgba(16,185,129,0.15); color: #34d399; border: 1px solid rgba(16,185,129,0.3); }
.badge-purple { background: rgba(121,36,194,0.18); color: #c084fc; border: 1px solid rgba(121,36,194,0.35); }
.badge-amber  { background: rgba(245,158,11,0.15); color: #fbbf24; border: 1px solid rgba(245,158,11,0.3); }
.badge-red    { background: rgba(244,63,94,0.15);  color: #fb7185; border: 1px solid rgba(244,63,94,0.3); }
.badge-blue   { background: rgba(0,183,215,0.15);  color: #38bdf8; border: 1px solid rgba(0,183,215,0.3); }
.badge-gray   { background: rgba(255,255,255,0.08); color: var(--text-secondary); border: 1px solid rgba(255,255,255,0.1); }
.badge-new    { background: var(--grad-brand); color: #ffffff; animation: pulse-glow 2s infinite; }

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(219,39,119,0.4); }
  50%       { box-shadow: 0 0 0 6px rgba(219,39,119,0); }
}

/* ---- SEARCH & LOOKUP ---- */
.search-container {
  position: relative;
  margin-bottom: var(--space-xl);
}

.search-input-wrapper {
  position: relative;
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.search-input-big {
  flex: 1;
  padding: 16px 20px 16px 52px;
  font-size: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  font-family: inherit;
  outline: none;
  transition: var(--transition-normal);
}

.search-input-big:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 4px rgba(0,200,160,0.1), var(--shadow-glow);
}

.search-icon-big {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--text-muted);
  pointer-events: none;
}

.autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 200;
  max-height: 340px;
  overflow-y: auto;
}

.autocomplete-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 12px 16px;
  cursor: pointer;
  transition: var(--transition-fast);
  border-bottom: 1px solid var(--border-subtle);
}

.autocomplete-item:last-child { border-bottom: none; }
.autocomplete-item:hover { background: var(--bg-hover); }

.autocomplete-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-inverse);
  flex-shrink: 0;
}

.autocomplete-name { font-size: 14px; font-weight: 600; }
.autocomplete-sub { font-size: 11px; color: var(--text-muted); }

/* DOCTOR PROFILE CARD */
.doctor-profile {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md), var(--shadow-glow);
  animation: slideUp 0.3s ease;
}

.doctor-profile-header {
  background: linear-gradient(135deg, var(--bg-card-2), var(--bg-hover));
  padding: var(--space-xl);
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.doctor-avatar-lg {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: var(--text-inverse);
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0,200,160,0.3);
}

.doctor-profile-info h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: var(--space-xs);
  letter-spacing: -0.3px;
}

.doctor-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
  align-items: center;
}

.doctor-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text-secondary);
}

.doctor-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-subtle);
}

.doctor-stat {
  background: var(--bg-card);
  padding: var(--space-lg);
  text-align: center;
}

.doctor-stat-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.doctor-stat-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.doctor-profile-body { padding: var(--space-xl); }

/* TABS */
.tabs {
  display: flex;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: var(--space-xl);
  overflow-x: auto;
}

.tab {
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: var(--transition-fast);
  white-space: nowrap;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: inherit;
}

.tab:hover { color: var(--text-primary); }
.tab.active {
  color: var(--brand-primary);
  border-bottom-color: var(--brand-primary);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ---- ACTIVITY LOG ---- */
.activity-timeline {
  position: relative;
  padding-left: var(--space-xl);
}

.activity-timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--brand-primary), transparent);
  border-radius: 1px;
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-lg);
  animation: fadeInLeft 0.3s ease;
}

.timeline-dot {
  position: absolute;
  left: calc(-1 * var(--space-xl) - 4px);
  top: 4px;
  width: 10px; height: 10px;
  background: var(--brand-primary);
  border-radius: 50%;
  border: 2px solid var(--bg-base);
  box-shadow: 0 0 8px rgba(0,200,160,0.5);
}

.timeline-card {
  background: var(--bg-card-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  transition: var(--transition-fast);
}

.timeline-card:hover { border-color: var(--border-default); }

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 4px;
}

.timeline-type { font-size: 13px; font-weight: 700; }
.timeline-date { font-size: 11px; color: var(--text-muted); }
.timeline-spend { font-size: 13px; font-weight: 700; color: var(--brand-primary); }

/* ---- FILTERS BAR ---- */
.filters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  align-items: center;
}

.filter-select {
  padding: 8px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  outline: none;
  transition: var(--transition-fast);
}

.filter-select:focus { border-color: var(--brand-primary); }
.filter-select option { background: var(--bg-surface); }

.filter-chip {
  padding: 8px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: var(--text-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.filter-chip:hover, .filter-chip.active {
  background: rgba(219,39,119,0.12);
  border-color: rgba(219,39,119,0.35);
  color: var(--brand-primary);
}

/* ---- NOTIFICATIONS ---- */
.notif-panel {
  position: fixed;
  top: var(--topbar-height);
  right: 0;
  width: 380px;
  max-height: calc(100vh - var(--topbar-height));
  background: var(--bg-surface);
  border-left: 1px solid var(--border-subtle);
  z-index: 300;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: var(--shadow-lg);
}

.notif-panel.open { transform: translateX(0); }

.notif-panel-header {
  padding: var(--space-lg);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.notif-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-sm);
}

.notif-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-xs);
  transition: var(--transition-fast);
  cursor: pointer;
}

.notif-item:hover { background: var(--bg-hover); }
.notif-item.unread { background: rgba(0,200,160,0.04); }

.notif-item-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.notif-high   { background: rgba(255,91,122,0.15); }
.notif-medium { background: rgba(255,181,71,0.15); }
.notif-low    { background: rgba(79,195,247,0.15); }

.notif-item-title { font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.notif-item-body  { font-size: 12px; color: var(--text-secondary); }
.notif-item-time  { font-size: 10px; color: var(--text-muted); margin-top: 2px; }

/* ---- PAGE HEADERS ---- */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
}

.page-header-left h1 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.page-header-left p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ---- GRID LAYOUTS ---- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: var(--space-md); }

/* ---- PROGRESS BARS ---- */
.progress-bar {
  height: 6px;
  background: var(--bg-hover);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--grad-brand);
  border-radius: var(--radius-full);
  transition: width 0.8s ease;
}

/* ---- EMPTY STATE ---- */
.empty-state {
  text-align: center;
  padding: var(--space-3xl) var(--space-xl);
  color: var(--text-muted);
}

.empty-state-icon { font-size: 48px; margin-bottom: var(--space-md); opacity: 0.5; }
.empty-state h3 { font-size: 16px; font-weight: 600; color: var(--text-secondary); margin-bottom: var(--space-sm); }
.empty-state p { font-size: 13px; }

/* ---- MODAL ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.2s ease;
}

.modal {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.25s ease;
}

.modal-header {
  padding: var(--space-lg) var(--space-xl);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky; top: 0;
  background: var(--bg-surface);
  z-index: 1;
}

.modal-header h3 { font-size: 18px; font-weight: 700; }

.modal-body { padding: var(--space-xl); }
.modal-footer {
  padding: var(--space-lg) var(--space-xl);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  gap: var(--space-sm);
  justify-content: flex-end;
}

/* ---- TOAST ---- */
#toast-container {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.toast {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  font-size: 13px;
  font-weight: 500;
  min-width: 280px;
  max-width: 380px;
  animation: slideInRight 0.3s ease;
}

.toast.success { border-color: rgba(0,200,160,0.4); }
.toast.error   { border-color: rgba(255,91,122,0.4); }
.toast.info    { border-color: rgba(108,99,255,0.4); }

/* ---- TAG INPUT ---- */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  padding: var(--space-sm);
  background: var(--bg-input);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  min-height: 44px;
  cursor: text;
}

.tag-item {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px 2px 10px;
  background: rgba(0,200,160,0.12);
  border: 1px solid rgba(0,200,160,0.3);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-primary);
}

.tag-remove {
  cursor: pointer;
  opacity: 0.6;
  font-size: 14px;
  line-height: 1;
}
.tag-remove:hover { opacity: 1; }

/* ---- ZONE BREAKDOWN TABLE ---- */
.zone-bar-row {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
}

.zone-name { font-size: 13px; font-weight: 600; width: 80px; flex-shrink: 0; }
.zone-bar-wrap { flex: 1; height: 8px; background: var(--bg-hover); border-radius: 4px; overflow: hidden; }
.zone-bar-fill { height: 100%; border-radius: 4px; background: var(--grad-brand); transition: width 1s ease; }
.zone-bar-val { font-size: 12px; color: var(--text-secondary); width: 80px; text-align: right; flex-shrink: 0; font-family: 'JetBrains Mono', monospace; }

/* ---- ANIMATIONS ---- */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-12px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.spinner {
  width: 20px; height: 20px;
  border: 2px solid var(--border-default);
  border-top-color: var(--brand-primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1100px) {
  .charts-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  :root { --sidebar-width: 0px; }
  #sidebar { transform: translateX(-260px); }
  #sidebar.open { transform: translateX(0); width: 260px; }
  #main-content { margin-left: 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .page { padding: var(--space-md); }
  .kpi-grid { grid-template-columns: 1fr; }
  .doctor-stats-row { grid-template-columns: 1fr 1fr; }
}

/* ---- HIGH VALUE ALERT ---- */
.high-value-banner {
  background: linear-gradient(135deg, rgba(255,181,71,0.08), rgba(255,91,122,0.08));
  border: 1px solid rgba(255,181,71,0.3);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.high-value-icon { font-size: 24px; }

/* ---- ACTIVITY FORM ---- */
.form-section {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.form-section-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.toggle-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  background: var(--bg-card-2);
  border: 1px solid var(--border-subtle);
  user-select: none;
  transition: var(--transition-fast);
}

.toggle-switch:hover {
  border-color: var(--border-default);
}

.toggle-switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.toggle-track {
  width: 44px;
  height: 24px;
  background: var(--bg-hover, #231d42);
  border-radius: var(--radius-full);
  position: relative;
  transition: var(--transition-fast);
  border: 1px solid var(--border-default);
  flex-shrink: 0;
}

.toggle-track::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: #8e82b5;
  border-radius: 50%;
  transition: transform 0.2s ease, background 0.2s ease;
}

.toggle-switch input:checked + .toggle-track {
  background: linear-gradient(135deg, #7924c2, #db2777);
  border-color: #db2777;
}

.toggle-switch input:checked + .toggle-track::after {
  background: #ffffff;
  transform: translateX(20px);
}

/* ---- RECENT ACTIVITY FEED ---- */
.activity-feed-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border-subtle);
}

.activity-feed-item:last-child { border-bottom: none; }

.activity-feed-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.activity-feed-text { flex: 1; font-size: 13px; color: var(--text-secondary); }
.activity-feed-text strong { color: var(--text-primary); font-weight: 600; }
.activity-feed-time { font-size: 11px; color: var(--text-muted); white-space: nowrap; }

/* ---- SPEND THRESHOLD HIGHLIGHT ---- */
.spend-high { color: var(--brand-danger); font-weight: 700; }
.spend-medium { color: var(--brand-accent); font-weight: 600; }
.spend-low { color: var(--text-secondary); }

.validated-tick { color: var(--brand-primary); }
.pending-clock  { color: var(--brand-accent); }
