/* =========================================
   Health Tracker — Design System
   ========================================= */

:root {
  /* Color Palette — Health-themed deep teal + warm accents */
  --bg-primary: #0a0f1a;
  --bg-secondary: #111827;
  --bg-card: rgba(17, 24, 39, 0.8);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --bg-glass-hover: rgba(255, 255, 255, 0.08);

  --accent-primary: #14b8a6;
  --accent-primary-rgb: 20, 184, 166;
  --accent-secondary: #6366f1;
  --accent-danger: #ef4444;
  --accent-warning: #f59e0b;
  --accent-success: #22c55e;

  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(20, 184, 166, 0.3);

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-xs: 0.75rem;
  --font-sm: 0.875rem;
  --font-base: 1rem;
  --font-lg: 1.125rem;
  --font-xl: 1.25rem;
  --font-2xl: 1.5rem;
  --font-3xl: 1.875rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 20px rgba(var(--accent-primary-rgb), 0.15);

  /* Layout */
  --sidebar-width: 240px;
  --nav-height: 60px;

  /* Transitions */
  --transition: all 0.2s ease;
  --transition-slow: all 0.3s ease;
}

/* =========================================
   Reset & Base
   ========================================= */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Background gradient effect */
body::before {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 20%, rgba(var(--accent-primary-rgb), 0.06) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(99, 102, 241, 0.04) 0%, transparent 50%);
  z-index: -1;
  pointer-events: none;
}

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

/* =========================================
   Glass Card System
   ========================================= */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
}

.glass-nav {
  background: rgba(10, 15, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
}

/* =========================================
   Screens
   ========================================= */
.screen { display: none; }
.screen.active { display: block; }

/* =========================================
   Login
   ========================================= */
.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}

.login-card {
  width: 100%;
  max-width: 400px;
  padding: var(--space-10);
  animation: fadeInUp 0.5s ease;
}

.login-header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.logo-icon {
  font-size: 3rem;
  margin-bottom: var(--space-3);
  animation: pulse 2s infinite;
}

.login-header h1 {
  font-size: var(--font-2xl);
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.login-header .subtitle {
  color: var(--text-secondary);
  font-size: var(--font-sm);
  margin-top: var(--space-1);
}

/* =========================================
   Form Elements
   ========================================= */
.form-group {
  margin-bottom: var(--space-5);
}

.form-group label {
  display: block;
  font-size: var(--font-sm);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: var(--font-base);
  transition: var(--transition);
  outline: none;
}

/* Fix select dropdown and option elements */
.form-group select,
select {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

select option,
.form-group select option {
  background-color: #1e293b;
  color: var(--text-primary);
  padding: 8px;
}

select option:checked {
  background-color: var(--accent-primary);
  color: white;
}

/* Filters bar selects too */
.filters-bar select {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  padding-right: 28px;
}

.filters-bar select option {
  background-color: #1e293b;
  color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(var(--accent-primary-rgb), 0.15);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

/* =========================================
   Buttons
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-family: var(--font-family);
  font-size: var(--font-sm);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary), #0d9488);
  color: white;
  border-color: transparent;
}
.btn-primary:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-glass);
  color: var(--text-primary);
  border-color: var(--border-color);
}
.btn-secondary:hover {
  background: var(--bg-glass-hover);
}

.btn-danger {
  background: rgba(239, 68, 68, 0.15);
  color: var(--accent-danger);
  border-color: rgba(239, 68, 68, 0.3);
}
.btn-danger:hover {
  background: rgba(239, 68, 68, 0.25);
}

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

.btn-sm { padding: var(--space-1) var(--space-3); font-size: var(--font-xs); }
.btn-full { width: 100%; padding: var(--space-4); }

.btn-icon {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: var(--radius-md);
  font-size: var(--font-lg);
}

.btn-taken {
  background: rgba(34, 197, 94, 0.15);
  color: var(--accent-success);
  border-color: rgba(34, 197, 94, 0.3);
}

.btn-group {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

/* =========================================
   Navigation
   ========================================= */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-6);
  z-index: 100;
}

.nav-left { display: flex; align-items: center; gap: var(--space-4); }
.nav-right { display: flex; align-items: center; gap: var(--space-4); }

.nav-logo {
  font-size: var(--font-lg);
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.nav-logo span {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-user {
  font-size: var(--font-sm);
  color: var(--text-secondary);
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  bottom: 0;
  width: var(--sidebar-width);
  padding: var(--space-4);
  border-radius: 0;
  border-right: 1px solid var(--border-color);
  border-top: none;
  border-bottom: none;
  border-left: none;
  z-index: 50;
  overflow-y: auto;
}

.sidebar-nav { display: flex; flex-direction: column; gap: var(--space-1); }

.nav-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: var(--font-sm);
  font-weight: 500;
  transition: var(--transition);
  text-decoration: none;
}
.nav-item:hover {
  background: var(--bg-glass-hover);
  color: var(--text-primary);
  text-decoration: none;
}
.nav-item.active {
  background: rgba(var(--accent-primary-rgb), 0.1);
  color: var(--accent-primary);
}

.nav-icon { font-size: var(--font-lg); }

/* =========================================
   Content Area
   ========================================= */
.content {
  margin-left: var(--sidebar-width);
  margin-top: var(--nav-height);
  padding: var(--space-8);
  min-height: calc(100vh - var(--nav-height));
}

/* Page Header */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
  gap: var(--space-4);
}

.page-header h2 {
  font-size: var(--font-2xl);
  font-weight: 700;
}

/* =========================================
   Cards & Grids
   ========================================= */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-6);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.stat-card {
  padding: var(--space-5);
  transition: var(--transition);
}
.stat-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}

.stat-card .stat-label {
  font-size: var(--font-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-2);
}

.stat-card .stat-value {
  font-size: var(--font-2xl);
  font-weight: 700;
}

.stat-card .stat-sub {
  font-size: var(--font-xs);
  color: var(--text-secondary);
  margin-top: var(--space-1);
}

/* Profile Card */
.profile-card {
  padding: var(--space-6);
  cursor: pointer;
  transition: var(--transition-slow);
}
.profile-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.profile-card .profile-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-xl);
  font-weight: 700;
  color: white;
  margin-bottom: var(--space-3);
}

.profile-card .profile-name {
  font-size: var(--font-lg);
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.profile-card .profile-info {
  font-size: var(--font-sm);
  color: var(--text-secondary);
}

.profile-card .profile-stats {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-color);
}

.profile-card .profile-stat {
  font-size: var(--font-xs);
}

.profile-card .profile-stat-label {
  color: var(--text-muted);
}

/* =========================================
   Tabs
   ========================================= */
.tabs {
  display: flex;
  gap: var(--space-1);
  margin-bottom: var(--space-6);
  border-bottom: 1px solid var(--border-color);
  overflow-x: auto;
}

.tab {
  padding: var(--space-3) var(--space-5);
  font-size: var(--font-sm);
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: var(--font-family);
}
.tab:hover { color: var(--text-primary); }
.tab.active {
  color: var(--accent-primary);
  border-bottom-color: var(--accent-primary);
}

/* Tab Content */
.tab-content { display: none; }
.tab-content.active { display: block; }

/* =========================================
   Data Tables
   ========================================= */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-sm);
}

.data-table th {
  text-align: left;
  padding: var(--space-3) var(--space-4);
  color: var(--text-muted);
  font-weight: 500;
  font-size: var(--font-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-color);
}

.data-table td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.data-table tr:hover td {
  background: var(--bg-glass-hover);
}

.data-table .value-normal { color: var(--accent-success); }
.data-table .value-warning { color: var(--accent-warning); }
.data-table .value-danger { color: var(--accent-danger); }

/* =========================================
   Medication List
   ========================================= */
.med-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.med-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}
.med-item:hover { border-color: var(--border-glow); }

.med-item .med-check {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  background: transparent;
  color: transparent;
  font-size: var(--font-lg);
}
.med-item .med-check:hover { border-color: var(--accent-success); }
.med-item .med-check.checked {
  background: var(--accent-success);
  border-color: var(--accent-success);
  color: white;
}

.med-item .med-info { flex: 1; }
.med-item .med-name { font-weight: 500; }
.med-item .med-dosage { font-size: var(--font-xs); color: var(--text-muted); }

.med-schedule-badge {
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--font-xs);
  font-weight: 500;
  background: rgba(var(--accent-primary-rgb), 0.1);
  color: var(--accent-primary);
}

/* =========================================
   Charts
   ========================================= */
.chart-container {
  padding: var(--space-6);
  margin-bottom: var(--space-6);
}

.chart-container h3 {
  font-size: var(--font-lg);
  margin-bottom: var(--space-4);
}

.chart-wrapper {
  position: relative;
  height: 300px;
}

/* =========================================
   Modal
   ========================================= */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: var(--space-4);
}

.modal {
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  padding: var(--space-8);
  animation: fadeInUp 0.3s ease;
}

.modal h3 {
  font-size: var(--font-xl);
  margin-bottom: var(--space-6);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

/* =========================================
   Toast Notifications
   ========================================= */
.toast-container {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.toast {
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: var(--font-sm);
  box-shadow: var(--shadow-lg);
  animation: slideInRight 0.3s ease;
  min-width: 250px;
}

.toast.success { border-left: 3px solid var(--accent-success); }
.toast.error { border-left: 3px solid var(--accent-danger); }
.toast.warning { border-left: 3px solid var(--accent-warning); }

/* =========================================
   Status Badges
   ========================================= */
.badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--font-xs);
  font-weight: 500;
}

.badge-success { background: rgba(34, 197, 94, 0.1); color: var(--accent-success); }
.badge-warning { background: rgba(245, 158, 11, 0.1); color: var(--accent-warning); }
.badge-danger { background: rgba(239, 68, 68, 0.1); color: var(--accent-danger); }
.badge-info { background: rgba(var(--accent-primary-rgb), 0.1); color: var(--accent-primary); }

/* =========================================
   Filters Bar
   ========================================= */
.filters-bar {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
  align-items: center;
}

.filters-bar input,
.filters-bar select {
  padding: var(--space-2) var(--space-3);
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: var(--font-sm);
  outline: none;
}

.filters-bar input:focus,
.filters-bar select:focus {
  border-color: var(--accent-primary);
}

/* =========================================
   Empty State
   ========================================= */
.empty-state {
  text-align: center;
  padding: var(--space-12);
  color: var(--text-muted);
}

.empty-state .empty-icon {
  font-size: 3rem;
  margin-bottom: var(--space-4);
  opacity: 0.5;
}

.empty-state p {
  margin-bottom: var(--space-4);
}

/* =========================================
   Error & Helper
   ========================================= */
.error-msg {
  color: var(--accent-danger);
  font-size: var(--font-sm);
  margin-top: var(--space-3);
  text-align: center;
}

.hidden { display: none !important; }

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }

/* =========================================
   Adherence Bar
   ========================================= */
.adherence-bar {
  width: 100%;
  height: 8px;
  background: var(--bg-glass);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-top: var(--space-2);
}

.adherence-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-success));
  border-radius: var(--radius-full);
  transition: width 0.5s ease;
}

/* =========================================
   Animations
   ========================================= */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

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

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

  .sidebar { display: none; }

  .content {
    margin-left: 0;
    padding: var(--space-4);
  }

  .top-nav {
    padding: 0 var(--space-4);
  }

  .nav-logo span { display: none; }

  .page-header {
    flex-direction: column;
    align-items: flex-start;
  }

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

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .chart-wrapper {
    height: 220px;
  }

  .modal {
    max-width: 100%;
    padding: var(--space-5);
  }

  /* Mobile bottom nav */
  .mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 15, 26, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    padding: var(--space-2) 0;
    z-index: 100;
    justify-content: space-around;
  }

  .mobile-nav .nav-item {
    flex-direction: column;
    gap: var(--space-1);
    font-size: var(--font-xs);
    padding: var(--space-2);
  }

  .content {
    padding-bottom: 80px;
  }
}

@media (min-width: 769px) {
  .mobile-nav { display: none; }
}

/* =========================================
   Scrollbar
   ========================================= */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* =========================================
   Loading Spinner
   ========================================= */
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border-color);
  border-top-color: var(--accent-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: var(--space-8) auto;
}

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

/* =========================================
   Copy Medications Calendar
   ========================================= */
.copy-calendar {
  user-select: none;
}

.cal-header,
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cal-day-label {
  text-align: center;
  font-size: var(--font-xs);
  font-weight: 600;
  color: var(--text-muted);
  padding: var(--space-2) 0;
}

.cal-cell {
  text-align: center;
  padding: var(--space-2);
  border-radius: var(--radius-md);
  font-size: var(--font-sm);
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-secondary);
  border: 1px solid transparent;
}

.cal-cell:hover:not(.empty):not(.cal-today) {
  background: var(--bg-glass-hover);
  border-color: var(--border-color);
}

.cal-cell.empty {
  cursor: default;
}

.cal-cell.cal-today {
  background: rgba(var(--accent-primary-rgb), 0.15);
  color: var(--accent-primary);
  font-weight: 700;
  border-color: rgba(var(--accent-primary-rgb), 0.3);
  cursor: default;
}

.cal-cell.cal-selected {
  background: var(--accent-primary);
  color: white;
  font-weight: 600;
  border-color: var(--accent-primary);
}

.cal-cell.cal-selected:hover {
  background: #0d9488;
  border-color: #0d9488;
}

