/* ============================================
   CLOUDCAIRN CONTROL SERVER - ADMIN STYLES
   Same design language as the website: navy, sky blue and slate from the logo; Montserrat headings, Inter text.
   ============================================ */
@font-face { font-family: "Montserrat"; src: url("/website/fonts/montserrat-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/website/fonts/inter-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --navy: #0B2142;
  --navy-2: #13305C;
  --sky: #5BB9E9;
  --sky-ink: #1B6FA3;
  --sky-soft: #E6F4FC;
  --display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --primary: #0B2142;
  --primary-dark: #13305C;
  --primary-light: #5BB9E9;
  --secondary: #1B6FA3;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --dark: #0B2142;
  --darker: #081932;
  --light: #F6F8FB;
  --gray-100: #F1F4F8;
  --gray-200: #DCE3EC;
  --gray-300: #C9D3DF;
  --gray-400: #94A3B8;
  --gray-500: #5B6880;
  --gray-600: #46546B;
  --gray-700: #33415A;
  --sidebar-width: 260px;
  --topbar-height: 64px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.5;
  background: var(--light);
  color: var(--dark);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: linear-gradient(180deg, var(--darker) 0%, var(--dark) 100%);
  color: white;
  z-index: 1000;
  overflow-y: auto;
}

.sidebar-header {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: white;
}

.sidebar-logo i {
  font-size: 28px;
  color: var(--primary-light);
}

.sidebar-logo span {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.sidebar-logo small {
  display: block;
  font-size: 11px;
  color: var(--gray-400);
  font-weight: 400;
}

.sidebar-nav { padding: 16px 0; }

.nav-section {
  padding: 8px 24px;
  margin-top: 8px;
}

.nav-section-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-500);
  margin-bottom: 8px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  color: var(--gray-300);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s;
  border-left: 3px solid transparent;
}

.nav-item:hover {
  background: rgba(255,255,255,0.05);
  color: white;
}

.nav-item.active {
  background: rgba(27,111,163, 0.15);
  color: var(--primary-light);
  border-left-color: var(--primary);
}

.nav-item i { width: 20px; text-align: center; }

.nav-badge {
  margin-left: auto;
  background: var(--primary);
  color: white;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
}

.nav-badge.danger {
  background: var(--danger);
}

/* ============================================
   TOPBAR
   ============================================ */
.topbar {
  position: fixed;
  top: 0;
  left: var(--sidebar-width);
  right: 0;
  height: var(--topbar-height);
  background: white;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 999;
}

.topbar-left { display: flex; align-items: center; gap: 16px; }
.topbar-title { font-size: 18px; font-weight: 600; }
.topbar-right { display: flex; align-items: center; gap: 16px; }

.topbar-search {
  position: relative;
}

.topbar-search input {
  width: 280px;
  padding: 10px 16px 10px 40px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-size: 14px;
  background: var(--gray-100);
}

.topbar-search input:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
}

.topbar-search i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
}

.topbar-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
}

.topbar-icon:hover {
  background: var(--gray-100);
  color: var(--primary);
}

.topbar-icon .badge {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 8px;
  height: 8px;
  background: var(--danger);
  border-radius: 50%;
}

.topbar-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
}

.topbar-user:hover { background: var(--gray-100); }

.topbar-avatar {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
}

.topbar-user-info { text-align: right; }
.topbar-user-name { font-size: 14px; font-weight: 500; }
.topbar-user-role { font-size: 12px; color: var(--gray-500); }

/* ============================================
   MAIN CONTENT
   ============================================ */
.main-content {
  margin-left: var(--sidebar-width);
  margin-top: var(--topbar-height);
  padding: 24px;
  min-height: calc(100vh - var(--topbar-height));
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  overflow: hidden;
}

.card-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-title {
  font-size: 16px;
  font-weight: 600;
}

.card-body { padding: 20px; }

/* ============================================
   STATS GRID
   ============================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.stat-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.stat-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.stat-icon.primary { background: rgba(27,111,163,0.15); color: var(--primary); }
.stat-icon.success { background: rgba(16,185,129,0.15); color: var(--success); }
.stat-icon.warning { background: rgba(245,158,11,0.15); color: var(--warning); }
.stat-icon.secondary { background: rgba(14,165,233,0.15); color: var(--secondary); }
.stat-icon.danger { background: rgba(239,68,68,0.15); color: var(--danger); }

.stat-trend {
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 6px;
}

.stat-trend.up { background: rgba(16,185,129,0.15); color: var(--success); }
.stat-trend.down { background: rgba(239,68,68,0.15); color: var(--danger); }

.stat-value {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 13px;
  color: var(--gray-500);
}

/* ============================================
   GRID LAYOUTS
   ============================================ */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.grid-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }
.mb-24 { margin-bottom: 24px; }

/* ============================================
   APP CARDS
   ============================================ */
.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.app-card {
  background: white;
  border-radius: 10px;
  padding: 16px;
  border: 1px solid var(--gray-200);
  cursor: pointer;
  transition: all 0.2s;
}

.app-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(27,111,163,0.15);
}

.app-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.app-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.app-name { font-weight: 600; font-size: 14px; }
.app-slug { font-size: 12px; color: var(--gray-500); }

.app-stats {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--gray-600);
}

.app-stats span { display: flex; align-items: center; gap: 4px; }

/* ============================================
   STATUS BADGES
   ============================================ */
.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.badge-active { background: rgba(16,185,129,0.15); color: var(--success); }
.badge-trial { background: rgba(14,165,233,0.15); color: var(--secondary); }
.badge-expired { background: rgba(239,68,68,0.15); color: var(--danger); }
.badge-warning { background: rgba(245,158,11,0.15); color: var(--warning); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

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

.btn-primary:hover { background: var(--primary-dark); }

.btn-sm { padding: 6px 12px; font-size: 12px; }
a.btn { text-decoration: none; }

.btn-outline {
  background: white;
  border: 1px solid var(--gray-300);
  color: var(--gray-600);
}

.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

/* ============================================
   TABLES
   ============================================ */
.table-wrapper { overflow-x: auto; }

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}

th {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--gray-100);
}

td { font-size: 14px; }

tr:hover { background: var(--gray-100); }

.customer-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.customer-avatar {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 14px;
}

.customer-name { font-weight: 500; }
.customer-email { font-size: 12px; color: var(--gray-500); }

/* ============================================
   PROGRESS BAR
   ============================================ */
.progress-bar {
  height: 6px;
  background: var(--gray-200);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.3s;
}

.progress-fill.success { background: var(--success); }
.progress-fill.warning { background: var(--warning); }
.progress-fill.danger { background: var(--danger); }

/* ============================================
   TABS
   ============================================ */
.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 20px;
}

.tab {
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-500);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
}

.tab:hover { color: var(--primary); }

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

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

/* ============================================
   ACTIVITY FEED
   ============================================ */
.activity-feed { display: flex; flex-direction: column; gap: 16px; }

.activity-item {
  display: flex;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
}

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

.activity-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.activity-content { flex: 1; }
.activity-text { font-size: 13px; line-height: 1.4; }
.activity-time { font-size: 12px; color: var(--gray-500); margin-top: 2px; }

/* ============================================
   CODE STYLING
   ============================================ */
code {
  background: var(--gray-100);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
  font-family: 'Monaco', 'Consolas', monospace;
}

/* ============================================
   MODALS
   ============================================ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: white;
  border-radius: 12px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow: hidden;
  transform: translateY(-20px);
  transition: transform 0.2s;
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal-lg { max-width: 800px; }

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title { font-size: 18px; font-weight: 600; }

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: none;
  background: var(--gray-100);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
}

.modal-close:hover { background: var(--gray-200); }

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

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

/* ============================================
   FORMS
   ============================================ */
.form-group { margin-bottom: 16px; }

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--gray-600);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.2s;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27,111,163,0.1);
}

.form-textarea { min-height: 100px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-hint { font-size: 12px; color: var(--gray-500); margin-top: 4px; }

/* ============================================
   VIEW SECTIONS
   ============================================ */
.view-section { display: none; }
.view-section.active { display: block; }

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray-500);
}

.empty-state > i {
  font-size: 48px;
  color: var(--gray-300);
  margin-bottom: 16px;
}

.empty-state h3 {
  font-size: 18px;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.empty-state p {
  font-size: 14px;
  margin-bottom: 20px;
}

/* ============================================
   SETTINGS NAVIGATION
   ============================================ */
.settings-nav { padding: 8px 0; }

.settings-nav-item {
  padding: 12px 20px;
  font-size: 14px;
  color: var(--gray-600);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.15s ease;
}

.settings-nav-item:hover { background: var(--gray-100); }

.settings-nav-item.active {
  background: rgba(27,111,163,0.1);
  color: var(--primary);
  border-left: 3px solid var(--primary);
}

.settings-nav-item i { width: 18px; text-align: center; }

/* ============================================
   USER DROPDOWN
   ============================================ */
.topbar-user-dropdown {
  position: relative;
}

.topbar-user-dropdown .topbar-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.topbar-user-dropdown .topbar-user:hover {
  background: var(--gray-100);
}

.topbar-user-dropdown .dropdown-arrow {
  font-size: 10px;
  color: var(--gray-400);
  margin-left: 4px;
  transition: transform 0.2s;
}

.topbar-user-dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}

.user-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 280px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--gray-200);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 1000;
}

.topbar-user-dropdown.open .user-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
}

.dropdown-avatar {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 16px;
}

.dropdown-user-info {
  flex: 1;
  min-width: 0;
}

.dropdown-user-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--dark);
}

.dropdown-user-email {
  font-size: 13px;
  color: var(--gray-500);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropdown-divider {
  height: 1px;
  background: var(--gray-200);
  margin: 4px 0;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--gray-600);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.15s;
}

.dropdown-item:hover {
  background: var(--gray-100);
  color: var(--dark);
}

.dropdown-item i {
  width: 18px;
  text-align: center;
  color: var(--gray-400);
}

.dropdown-item:hover i {
  color: var(--primary);
}

.dropdown-item-danger {
  color: var(--danger);
}

.dropdown-item-danger:hover {
  background: #fef2f2;
  color: var(--danger);
}

.dropdown-item-danger i {
  color: var(--danger);
}

.dropdown-item-danger:hover i {
  color: var(--danger);
}

/* ============================================
   FLASH MESSAGES
   ============================================ */
.flash-container {
  position: fixed;
  top: calc(var(--topbar-height) + 16px);
  right: 24px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.flash-message {
  padding: 14px 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  animation: slideIn 0.3s ease;
}

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

.flash-message.success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.flash-message.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.flash-close {
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  opacity: 0.6;
  padding: 0;
  margin-left: auto;
}

.flash-close:hover {
  opacity: 1;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .app-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .topbar { left: 0; }
  .main-content { margin-left: 0; }
  .stats-grid { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: 1fr; }
  .grid-2, .grid-2-1 { grid-template-columns: 1fr; }
}


/* ============================================
   CLOUDCAIRN THEME (28 Nov 2026): one type scale for every page
   ============================================ */
h1, h2, h3, h4, .topbar-title, .modal-title, .card-title, .stat-value, .auth-title { font-family: var(--display); letter-spacing: -0.01em; color: var(--navy); }
button, input, select, textarea { font-family: inherit; }
code, pre { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }

/* Page heading: title, one line saying what the page is for, actions on the right */
.page-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; gap: 16px; flex-wrap: wrap; }
.page-title { font: 700 24px/1.2 var(--display); color: var(--navy); margin: 0 0 6px; letter-spacing: -0.02em; }
.page-intro { color: var(--gray-500); font-size: 14px; max-width: 780px; }
.page-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* Sidebar: the dark navy of the logo, with the white logo blended in */
.sidebar { background: var(--navy); border-right: 1px solid rgba(255,255,255,0.06); }
.sidebar-header { padding: 22px 22px 18px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.sidebar-logo { display: block; }
.sidebar-logo img { display: block; height: 40px; width: auto; }
.sidebar-logo small { display: block; margin-top: 8px; font: 600 10.5px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--sky); }
.nav-section-title { font: 600 10.5px/1 var(--display); letter-spacing: .14em; color: #7F93AE; }
.nav-item { font: 500 13.5px/1.2 var(--display); color: #C3CFDF; padding: 11px 22px; }
.nav-item:hover { background: rgba(255,255,255,0.05); color: #fff; }
.nav-item.active { background: rgba(91,185,233,0.12); color: #fff; border-left-color: var(--sky); }
.nav-item.active i { color: var(--sky); }
.nav-badge { background: var(--sky); color: var(--navy); font-weight: 700; }

/* Top bar */
.topbar { background: #fff; border-bottom: 1px solid var(--gray-200); }   /* no backdrop-filter: it would move the fixed top bar */
.topbar-title { font-size: 17px; font-weight: 700; }

/* Cards, tables, buttons */
.card, .stat-card { border: 1px solid var(--gray-200); border-radius: 14px; box-shadow: 0 1px 2px rgba(11,33,66,0.04); }
.card-header { border-bottom: 1px solid var(--gray-200); }
.card-title { font-size: 16px; font-weight: 700; }
.stat-value { font-weight: 700; }
th { font: 600 11px/1.2 var(--display); letter-spacing: .06em; color: var(--gray-500); }
.btn { font-family: var(--display); font-weight: 600; border-radius: 10px; }
.btn-primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); border-color: var(--navy-2); }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--sky-ink); box-shadow: 0 0 0 3px rgba(91,185,233,0.3); }
a { color: var(--sky-ink); }
.sidebar a, .btn, .nav-item, .topbar a { color: inherit; }
.btn-primary { color: #fff; }
.tab.active { color: var(--navy); border-bottom-color: var(--sky); }
.stat-icon.primary { background: var(--sky-soft); color: var(--sky-ink); }
