/*
 * HerbaScript Patient Portal Styles
 * Warm brick/terracotta sidebar with shared design system
 */

/* Remove spinner arrows from all number inputs */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] {
  -moz-appearance: textfield;
}

:root {
  /* Primary palette - warm, earthy tones (shared) */
  --primary: #5d7a5f;           /* Sage green */
  --primary-dark: #4a6349;      /* Deeper sage */
  --primary-light: #7a9a7c;     /* Light sage */

  /* Accent colors */
  --accent: #c4a35a;            /* Warm gold */
  --accent-light: #d4b76a;      /* Light gold */
  --accent-muted: #b89f6a;      /* Muted gold */

  /* Neutral palette - warm tones */
  --bg: #faf8f5;                /* Warm cream background */
  --bg-card: #ffffff;           /* White for cards */
  --bg-subtle: #f5f2ed;         /* Subtle warm gray */
  --white: #ffffff;

  /* Text colors */
  --text: #3d3d3d;              /* Warm dark gray */
  --text-light: #6b6b6b;        /* Medium gray */
  --text-muted: #8a8a8a;        /* Light gray */

  /* Borders */
  --border: #e5e0d8;            /* Warm border */
  --border-light: #f0ebe3;      /* Light border */

  /* Status colors */
  --success: #5d7a5f;           /* Sage green */
  --warning: #c4a35a;           /* Warm gold */
  --danger: #b85450;            /* Muted red */
  --info: #6a8caf;              /* Soft blue */

  /* Patient Portal Sidebar - Warm brick/terracotta */
  --sidebar-width: 220px;
  --sidebar-bg: #8b5a4a;        /* Warm brick */
  --sidebar-hover: #9d6b5a;     /* Lighter brick on hover */
  --sidebar-active: #a67c6b;    /* Even lighter for active */
  --sidebar-border: rgba(0,0,0,0.15);
  --sidebar-text: #faf5f0;      /* Warm white */
  --sidebar-text-muted: rgba(250,245,240,0.65);
  --sidebar-icon: #d4a574;      /* Warm gold/tan */

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing */
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.05), 0 2px 4px rgba(0,0,0,0.03);
}

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

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-dark);
}

/* Layout */
.portal-layout {
  display: flex;
  min-height: 100vh;
}

/* Sidebar Navigation */
.sidebar {
  width: var(--sidebar-width);
  background: var(--sidebar-bg);
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 100;
  border-right: 1px solid var(--sidebar-border);
  display: flex;
  flex-direction: column;
}

.sidebar-brand {
  padding: 1.25rem 1rem;
  border-bottom: 1px solid var(--sidebar-border);
}

.sidebar-brand a {
  color: var(--sidebar-text);
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  display: block;
  letter-spacing: -0.02em;
}

.sidebar-brand .brand-subtitle {
  font-size: 0.7rem;
  color: var(--sidebar-icon);
  font-weight: 500;
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sidebar-nav {
  padding: 0.5rem 0;
}

.nav-section {
  margin-bottom: 0.5rem;
}

.nav-section-title {
  padding: 0.75rem 1rem 0.5rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sidebar-text-muted);
  font-weight: 700;
}

.nav-item {
  display: block;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 0.625rem 1rem;
  color: var(--sidebar-text);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 450;
  transition: all 0.15s ease;
  border-left: 3px solid transparent;
}

.nav-link:hover {
  background: var(--sidebar-hover);
  color: var(--sidebar-text);
}

.nav-link.active {
  background: var(--sidebar-active);
  border-left-color: var(--sidebar-icon);
  font-weight: 500;
}

.nav-link svg {
  width: 18px;
  height: 18px;
  margin-right: 0.75rem;
  color: var(--sidebar-icon);
  flex-shrink: 0;
}

.nav-link.active svg {
  color: var(--sidebar-text);
}

.sidebar-footer {
  padding: 1rem;
  border-top: 1px solid var(--sidebar-border);
  margin-top: auto;
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--sidebar-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sidebar-text);
  font-weight: 600;
  font-size: 0.875rem;
}

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

.user-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--sidebar-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-role {
  font-size: 0.7rem;
  color: var(--sidebar-text-muted);
}

/* Main Content Area */
.main-content {
  flex: 1;
  margin-left: var(--sidebar-width);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.content-header {
  background: linear-gradient(135deg, var(--sidebar-bg) 0%, #a67c6b 100%);
  border-bottom: 1px solid var(--sidebar-border);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.content-header h1 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--sidebar-text);
}

.content-body {
  flex: 1;
  padding: 1.5rem;
}

/* Cards */
.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

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

.card-header h2 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

.card-body {
  padding: 1.25rem;
}

.card-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
  background: var(--bg-subtle);
}

/* Dashboard Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon svg {
  width: 22px;
  height: 22px;
}

.stat-icon.primary {
  background: rgba(93, 122, 95, 0.1);
  color: var(--primary);
}

.stat-icon.warning {
  background: rgba(196, 163, 90, 0.1);
  color: var(--warning);
}

.stat-icon.info {
  background: rgba(106, 140, 175, 0.1);
  color: var(--info);
}

.stat-icon.danger {
  background: rgba(184, 84, 80, 0.1);
  color: var(--danger);
}

.stat-content h3 {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.stat-content .stat-value {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
}

/* Tables */
.table-container {
  overflow-x: auto;
}

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

table th,
table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

table th {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
  background: var(--bg-subtle);
}

table tbody tr:hover {
  background: var(--bg-subtle);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
}

.btn svg {
  width: 16px;
  height: 16px;
}

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

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

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

.btn-secondary:hover {
  background: var(--border);
}

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

.btn-danger:hover {
  background: #a04540;
  color: var(--white);
}

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

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

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

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

.btn-sm {
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

/* Small inline spinner */
.spinner-sm {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
  margin-right: 4px;
}

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

/* Forms */
.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

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

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

.form-hint {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 0.25rem;
}

.form-error {
  font-size: 0.75rem;
  color: var(--danger);
  margin-top: 0.25rem;
}

/* Alerts */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.alert-success {
  background: rgba(93, 122, 95, 0.1);
  border: 1px solid rgba(93, 122, 95, 0.2);
  color: var(--success);
}

.alert-error {
  background: rgba(184, 84, 80, 0.1);
  border: 1px solid rgba(184, 84, 80, 0.2);
  color: var(--danger);
}

.alert-warning {
  background: rgba(196, 163, 90, 0.1);
  border: 1px solid rgba(196, 163, 90, 0.2);
  color: #8b6914;
}

.alert-info {
  background: rgba(106, 140, 175, 0.1);
  border: 1px solid rgba(106, 140, 175, 0.2);
  color: var(--info);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.badge-success {
  background: rgba(93, 122, 95, 0.1);
  color: var(--success);
}

.badge-warning {
  background: rgba(196, 163, 90, 0.1);
  color: #8b6914;
}

.badge-danger {
  background: rgba(184, 84, 80, 0.1);
  color: var(--danger);
}

.badge-info {
  background: rgba(106, 140, 175, 0.1);
  color: var(--info);
}

.badge-neutral {
  background: var(--bg-subtle);
  color: var(--text-light);
}

/* Status badges specific to orders */
.status-pending { background: rgba(196, 163, 90, 0.1); color: #8b6914; }
.status-processing { background: rgba(106, 140, 175, 0.1); color: var(--info); }
.status-shipped { background: rgba(93, 122, 95, 0.1); color: var(--success); }
.status-delivered { background: rgba(93, 122, 95, 0.15); color: var(--success); }
.status-cancelled { background: rgba(184, 84, 80, 0.1); color: var(--danger); }

/* Empty States */
.empty-state {
  text-align: center;
  padding: 3rem 2rem;
}

.empty-state svg {
  width: 64px;
  height: 64px;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.empty-state h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  margin-top: 1.5rem;
}

.pagination a,
.pagination span {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  border-radius: var(--radius);
  text-decoration: none;
}

.pagination a {
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.pagination a:hover {
  background: var(--bg-subtle);
}

.pagination .active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.pagination .disabled {
  color: var(--text-muted);
  pointer-events: none;
}

/* Info Box Notifications (Dashboard) */
.info-box {
  background: linear-gradient(135deg, rgba(93, 122, 95, 0.05) 0%, rgba(196, 163, 90, 0.05) 100%);
  border: 1px solid rgba(93, 122, 95, 0.15);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}

.info-box-title {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.info-box-content {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Acknowledged Modal Cards (shown after dismissing modal) */
.acknowledged-cards-section {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.acknowledged-modal-card {
  border: 1px solid;
  border-left: 4px solid;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  max-width: 400px;
  flex: 1;
  min-width: 280px;
}

.modal-card-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.modal-card-content {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text);
}

.modal-card-content ul {
  margin: 0.25rem 0;
  padding-left: 1rem;
}

.modal-card-content p {
  margin: 0.25rem 0;
}

.modal-card-content p:first-child {
  margin-top: 0;
}

.modal-card-content p:last-child {
  margin-bottom: 0;
}

/* Modal Notifications */
.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: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.modal {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.modal-header h2 {
  font-size: 1.1rem;
  font-weight: 600;
}

.modal-body {
  padding: 1.5rem;
}

.modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* Order List Items */
.order-item {
  display: flex;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s ease;
}

.order-item:hover {
  background: var(--bg-subtle);
}

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

.order-info {
  flex: 1;
}

.order-number {
  font-weight: 600;
  color: var(--text);
}

.order-date {
  font-size: 0.8rem;
  color: var(--text-light);
}

.order-amount {
  font-weight: 600;
  color: var(--text);
  margin-right: 1rem;
}

/* Formula Cards */
.formula-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.formula-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.formula-meta {
  font-size: 0.8rem;
  color: var(--text-light);
}

.formula-refills {
  text-align: right;
}

.refills-count {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
}

.refills-label {
  font-size: 0.7rem;
  color: var(--text-light);
  text-transform: uppercase;
}

.formula-action {
  margin-left: 1rem;
}

/* Payment Pending Card */
.pending-payment-card {
  background: linear-gradient(135deg, rgba(196, 163, 90, 0.08) 0%, rgba(196, 163, 90, 0.02) 100%);
  border: 1px solid rgba(196, 163, 90, 0.25);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.pending-payment-card h4 {
  color: #8b6914;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.pending-payment-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}

/* Auth Pages */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  padding: 2rem;
}

.auth-container {
  width: 100%;
  max-width: 400px;
}

.auth-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 2rem;
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.auth-subtitle {
  font-size: 0.875rem;
  color: var(--text-light);
}

.auth-form .form-group {
  margin-bottom: 1.25rem;
}

.auth-form .btn {
  width: 100%;
  padding: 0.75rem;
}

.auth-footer {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-light);
}

.auth-footer a {
  color: var(--primary);
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  :root {
    --sidebar-width: 100%;
  }

  .portal-layout {
    flex-direction: column;
  }

  .sidebar {
    position: relative;
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--sidebar-border);
  }

  .sidebar-nav {
    display: flex;
    flex-wrap: wrap;
    padding: 0.5rem;
  }

  .nav-section {
    width: 100%;
    margin-bottom: 0;
  }

  .nav-section-title {
    display: none;
  }

  .nav-link {
    padding: 0.5rem 0.75rem;
    border-left: none;
    border-radius: var(--radius);
  }

  .nav-link.active {
    border-left: none;
    background: var(--sidebar-active);
  }

  .nav-link svg {
    margin-right: 0.5rem;
  }

  .sidebar-footer {
    display: none;
  }

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

  .content-body {
    padding: 1rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* Utilities */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--text-light); }
.text-small { font-size: 0.8rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }

/* Constrained content width for wide screens */
.content-constrained {
  max-width: 1200px;
}

/* Page Title Card - floating box style like dashboard cards */
.page-title-card {
  background: linear-gradient(135deg, var(--sidebar-bg, #8b5a4a) 0%, #a67c6b 100%);
  border-radius: var(--radius);
  padding: 0.875rem 1.25rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.page-title-card h1 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
}

.page-title-card .btn {
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
}

.page-title-card .btn:hover {
  background: rgba(255,255,255,0.3);
}

/* Filter/Sort Bar */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.filter-bar label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.filter-bar select {
  padding: 0.35rem 0.6rem;
  font-size: 0.8rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--white);
  color: var(--text);
  cursor: pointer;
}

.filter-bar select:focus {
  outline: none;
  border-color: var(--primary);
}

.filter-bar .filter-group {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.filter-bar .filter-divider {
  width: 1px;
  height: 20px;
  background: var(--border);
  margin: 0 0.25rem;
}

@media (max-width: 768px) {
  .filter-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .filter-bar .filter-divider {
    display: none;
  }
}
