/**
 * BIMANO FINTAX - PARTNER & AGENT PORTAL
 * Bespoke SaaS Theme & Design System
 */

:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Primary Brand - Bimano Navy & Royal Blue */
  --primary: #1e3a8a;
  --primary-hover: #172554;
  --primary-light: #eff6ff;
  --primary-border: #bfdbfe;
  
  --secondary: #475569;
  --accent: #0284c7;
  --accent-light: #e0f2fe;

  /* Surfaces & Backgrounds */
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-elevated: #ffffff;

  /* Text Colors */
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  /* Borders & Shadows */
  --border-color: #e2e8f0;
  --border-subtle: #f1f5f9;
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.04);

  /* Status Colors */
  --success: #10b981;
  --success-light: #ecfdf5;
  --warning: #f59e0b;
  --warning-light: #fffbeb;
  --danger: #ef4444;
  --danger-light: #fef2f2;
  --info: #0ea5e9;
  --info-light: #f0f9ff;

  /* Dimensions */
  --sidebar-width: 260px;
  --topbar-height: 68px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
}

* {
  box-sizing: border-box;
}

body.app-body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  font-size: 0.935rem;
}

/* ==========================================================================
   APP LAYOUT (SIDEBAR + MAIN CONTENT)
   ========================================================================== */
.app-layout {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.app-sidebar {
  width: var(--sidebar-width);
  background: #0f172a; /* Deep Navy */
  color: #f8fafc;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
  transition: transform 0.25s ease-in-out;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-header {
  height: var(--topbar-height);
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #ffffff;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #0284c7, #1e3a8a);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.35);
}

.brand-name {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  display: block;
}

.brand-name span {
  color: #38bdf8;
}

.brand-tagline {
  font-size: 0.7rem;
  color: #94a3b8;
  display: block;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.sidebar-close-btn {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.5rem;
  cursor: pointer;
}

/* User Card in Sidebar */
.sidebar-user {
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #3b82f6;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.user-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.user-name {
  font-weight: 600;
  font-size: 0.88rem;
  color: #f1f5f9;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.badge-role-super_admin { color: #c084fc; font-size: 0.72rem; font-weight: 600; }
.badge-role-admin { color: #60a5fa; font-size: 0.72rem; font-weight: 600; }
.badge-role-hr { color: #2dd4bf; font-size: 0.72rem; font-weight: 600; }
.badge-role-partner { color: #34d399; font-size: 0.72rem; font-weight: 600; }

/* Sidebar Navigation Items */
.sidebar-nav {
  padding: 1rem 0.75rem;
  overflow-y: auto;
  flex: 1;
}

.nav-section-title {
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.85rem 0.75rem 0.35rem;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.75rem;
  color: #cbd5e1;
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.88rem;
  transition: all 0.15s ease;
  margin-bottom: 2px;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
}

.nav-item.active {
  background: #1e3a8a;
  color: #ffffff;
  font-weight: 600;
}

.nav-icon {
  font-size: 1.05rem;
  width: 22px;
  display: inline-flex;
  justify-content: center;
}

.sidebar-footer {
  padding: 0.85rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

/* ==========================================================================
   APP MAIN CONTENT
   ========================================================================== */
.app-main {
  flex: 1;
  margin-left: var(--sidebar-width);
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100vh;
}

/* Topbar */
.app-topbar {
  height: var(--topbar-height);
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1020;
  box-shadow: var(--shadow-sm);
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sidebar-toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-toggle-btn .bar {
  width: 20px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
}

.page-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
}

.crumb-app {
  font-weight: 600;
  color: var(--text-muted);
}

.crumb-separator {
  color: var(--text-light);
}

.crumb-current {
  font-weight: 700;
  color: var(--text-main);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.icon-btn {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: background 0.15s;
}

.icon-btn:hover {
  background: #e2e8f0;
}

.notification-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--danger);
  color: #ffffff;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #ffffff;
}

.notification-dropdown {
  width: 320px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.user-menu-btn {
  background: none;
  border: none;
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: background 0.15s;
}

.user-menu-btn:hover {
  background: var(--bg-subtle);
}

.user-avatar-sm {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

/* Page Content Body */
.page-content {
  flex: 1;
  padding: 1.75rem 1.5rem;
}

/* Footer */
.app-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border-color);
  background: var(--bg-surface);
}

/* ==========================================================================
   SAAS CARDS & KPI BLOCKS
   ========================================================================== */
.card-saas {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  overflow: hidden;
}

.card-saas:hover {
  box-shadow: var(--shadow-md);
}

.card-saas .card-header {
  background: transparent;
  border-bottom: 1px solid var(--border-color);
  padding: 1.1rem 1.25rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-saas .card-body {
  padding: 1.25rem;
}

/* Top KPI Cards */
.kpi-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.kpi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--kpi-accent, var(--primary));
}

.kpi-card.accent-primary { --kpi-accent: var(--primary); }
.kpi-card.accent-success { --kpi-accent: var(--success); }
.kpi-card.accent-warning { --kpi-accent: var(--warning); }
.kpi-card.accent-danger  { --kpi-accent: var(--danger); }
.kpi-card.accent-info    { --kpi-accent: var(--info); }

.kpi-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.kpi-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.kpi-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.kpi-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
  font-family: var(--font-sans);
}

.kpi-subtext {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   DATA TABLES & SEARCH FILTER BARS
   ========================================================================== */
.table-responsive-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.table-filter-bar {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
  background: #fafbfc;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
}

.table-saas {
  width: 100%;
  margin-bottom: 0;
  border-collapse: separate;
  border-spacing: 0;
}

.table-saas th {
  background: #f8fafc;
  color: #475569;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

.table-saas td {
  padding: 0.95rem 1rem;
  vertical-align: middle;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 0.88rem;
}

.table-saas tbody tr:last-child td {
  border-bottom: none;
}

.table-saas tbody tr:hover td {
  background-color: #f1f5f9;
}

/* Status Badges */
.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.badge-status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.badge-active     { background: var(--success-light); color: #047857; }
.badge-onboarding { background: var(--info-light); color: #0369a1; }
.badge-pending    { background: var(--warning-light); color: #b45309; }
.badge-inactive   { background: #f1f5f9; color: #475569; }
.badge-suspended  { background: var(--danger-light); color: #b91c1c; }
.badge-approved   { background: var(--success-light); color: #047857; }
.badge-paid       { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.badge-generated  { background: #f8fafc; color: #64748b; border: 1px solid #cbd5e1; }

/* ==========================================================================
   KANBAN BOARD FOR RECRUITMENT PIPELINE
   ========================================================================== */
.kanban-board {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 1.5rem;
  min-height: 520px;
  align-items: flex-start;
}

.kanban-column {
  flex: 0 0 280px;
  background: #f1f5f9;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 200px);
}

.kanban-column-header {
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #cbd5e1;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #334155;
}

.kanban-column.col-new .kanban-column-header { border-bottom-color: #3b82f6; }
.kanban-column.col-screening .kanban-column-header { border-bottom-color: #f59e0b; }
.kanban-column.col-shortlisted .kanban-column-header { border-bottom-color: #8b5cf6; }
.kanban-column.col-interview .kanban-column-header { border-bottom-color: #06b6d4; }
.kanban-column.col-approved .kanban-column-header { border-bottom-color: #10b981; }

.kanban-badge-count {
  background: #e2e8f0;
  color: #1e293b;
  border-radius: 12px;
  padding: 0.15rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
}

.kanban-cards-container {
  padding: 0.75rem;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 120px;
}

.kanban-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  cursor: grab;
  transition: box-shadow 0.15s, transform 0.15s;
}

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

.kanban-card-id {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-mono);
}

.kanban-card-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: #0f172a;
  margin: 0.2rem 0;
}

.kanban-card-meta {
  font-size: 0.78rem;
  color: #64748b;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-top: 0.4rem;
}

/* ==========================================================================
   ONBOARDING CHECKLIST
   ========================================================================== */
.onboarding-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.onboarding-step-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: #ffffff;
  transition: background 0.15s;
}

.onboarding-step-card.completed {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.step-indicator {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

.onboarding-step-card.completed .step-indicator {
  background: #10b981;
  color: #ffffff;
}

.onboarding-step-card:not(.completed) .step-indicator {
  background: #e2e8f0;
  color: #475569;
}

/* ==========================================================================
   PUBLIC RECRUITMENT LANDING PAGE & FORM
   ========================================================================== */
.recruitment-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  color: #ffffff;
  padding: 4rem 1.5rem 3rem;
  text-align: center;
}

.recruitment-form-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  padding: 2.5rem;
  margin-top: -2.5rem;
  position: relative;
  z-index: 10;
}

/* ==========================================================================
   RESPONSIVE OVERRIDES & MOBILE FIRST SYSTEM
   ========================================================================== */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

.app-layout, .app-main, .page-content {
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 991.98px) {
  .app-sidebar {
    transform: translateX(-100%);
  }

  .app-sidebar.sidebar-open {
    transform: translateX(0);
  }

  .app-main {
    margin-left: 0;
  }

  .sidebar-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    z-index: 1030;
  }

  .sidebar-backdrop.active {
    display: block;
  }
}

/* General Mobile Constraints (< 768px) */
@media (max-width: 767.98px) {
  body.app-body {
    font-size: 0.9rem;
  }

  /* Prevent iOS Safari auto-zoom on input focus */
  input.form-control,
  select.form-select,
  textarea.form-control {
    font-size: 16px !important;
    min-height: 44px;
  }

  .btn {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.85rem;
    font-size: 0.88rem;
  }

  .btn-sm {
    min-height: 38px;
    padding: 0.4rem 0.75rem;
    font-size: 0.82rem;
  }

  .sidebar-toggle-btn {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .page-content {
    padding: 1rem 0.85rem;
  }

  .app-topbar {
    padding: 0 1rem;
    height: 62px;
  }

  .crumb-app, .crumb-separator {
    display: none;
  }

  .crumb-current {
    font-size: 0.88rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
  }

  .notification-dropdown {
    width: min(320px, 90vw);
  }

  .table-filter-bar {
    padding: 0.85rem;
    flex-direction: column;
    align-items: stretch;
  }

  .table-filter-bar form {
    width: 100%;
  }

  .table-filter-bar form input,
  .table-filter-bar form select,
  .table-filter-bar form button,
  .table-filter-bar form a {
    width: 100% !important;
  }

  .table-filter-pills {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 4px;
    gap: 0.35rem;
    -webkit-overflow-scrolling: touch;
  }
}

/* Small Phones (< 480px) */
@media (max-width: 479.98px) {
  .page-content {
    padding: 0.85rem 0.65rem;
  }

  .app-topbar {
    padding: 0 0.65rem;
  }

  .crumb-current {
    max-width: 110px;
  }

  .kpi-card {
    padding: 0.85rem 0.75rem;
  }

  .kpi-title {
    font-size: 0.68rem;
  }

  .kpi-icon {
    width: 28px;
    height: 28px;
    font-size: 0.95rem;
  }

  .kpi-value {
    font-size: 1.25rem;
  }

  .kpi-subtext {
    font-size: 0.7rem;
  }

  .recruitment-form-card {
    padding: 1.25rem;
  }
}

/* ==========================================================================
   MOBILE CARD ARCHITECTURE FOR TABLES (DUAL-VIEW PATTERN)
   ========================================================================== */
.mobile-card-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.mobile-card-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.mobile-card-item:active {
  transform: scale(0.99);
}

.mobile-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.65rem;
  gap: 0.5rem;
}

.mobile-card-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 0.2rem;
}

.mobile-card-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.mobile-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 0.75rem;
  padding: 0.65rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin: 0.65rem 0;
}

.mobile-card-col {
  display: flex;
  flex-direction: column;
}

.mobile-card-col.full-width {
  grid-column: span 2;
}

.mobile-card-col-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.15rem;
}

.mobile-card-col-val {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  word-break: break-word;
}

.mobile-card-col-val.money-business {
  color: var(--text-main);
  font-weight: 700;
}

.mobile-card-col-val.money-commission {
  color: #059669;
  font-weight: 800;
}

.mobile-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.mobile-contact-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.mobile-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  min-height: 36px;
}

.mobile-contact-link:hover, .mobile-contact-link:active {
  background: #e2e8f0;
  color: var(--primary);
}

.filter-pills-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
  width: 100%;
}

.filter-pills-scroll::-webkit-scrollbar {
  display: none;
}

.filter-pills-scroll .btn-group {
  display: inline-flex;
  flex-wrap: nowrap;
}

@media (max-width: 767.98px) {
  .table-filter-bar {
    padding: 0.75rem;
  }
  .table-filter-bar .input-group[style*="max-width"],
  .table-filter-bar select[style*="max-width"],
  .table-filter-bar input[style*="width"] {
    max-width: 100% !important;
    width: 100% !important;
  }
}

.chart-container-responsive {
  height: 320px;
}

@media (max-width: 575.98px) {
  .chart-container-responsive {
    height: 220px;
  }
  .login-container {
    padding: 0.75rem !important;
  }
  .login-form-pane {
    padding: 1.5rem 1rem !important;
  }
}

/* Print Styles */
@media print {
  .app-sidebar, .app-topbar, .app-footer, .btn, .no-print {
    display: none !important;
  }
  .app-main {
    margin-left: 0 !important;
    padding: 0 !important;
  }
  .page-content {
    padding: 0 !important;
  }
}
