/* Modern Medical Dashboard Design Systems */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --primary-light: #e0e7ff;
  --success: #10b981;
  --success-light: #d1fae5;
  --warning: #f59e0b;
  --warning-light: #fef3c7;
  --danger: #ef4444;
  --danger-light: #fee2e2;
  --info: #06b6d4;
  --info-light: #ecfeff;

  /* Text */
  --dark: #0f172a;
  --slate-700: #334155;
  --slate-400: #94a3b8;

  /* Surfaces */
  --page-bg: #f6f8fa;
  --surface: #ffffff;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --border: #e2e8f0;

  /* Fixed regardless of theme (sidebar keeps its dark brand look) */
  --sidebar-bg: #0f172a;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-md: 0 20px 25px -5px rgb(0 0 0 / 0.05), 0 8px 10px -6px rgb(0 0 0 / 0.05);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Outfit', sans-serif;
}

/* ── Dark theme overrides ─────────────────────────────────────────────────── */
html[data-theme="dark"] {
  --primary-light: rgba(99, 102, 241, 0.18);
  --success-light: rgba(16, 185, 129, 0.16);
  --warning-light: rgba(245, 158, 11, 0.16);
  --danger-light: rgba(239, 68, 68, 0.18);
  --info-light: rgba(6, 182, 212, 0.16);

  --dark: #e2e8f0;
  --slate-700: #cbd5e1;
  --slate-400: #8a96ab;

  --page-bg: #0b1120;
  --surface: #141b2d;
  --slate-100: #1c2438;
  --slate-50: #182036;
  --border: #262f45;
}

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

body {
  font-family: var(--font);
  background-color: var(--page-bg);
  color: var(--dark);
  min-height: 100vh;
  display: flex;
  overflow-x: hidden;
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* Sidebar Navigation Layout */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 260px;
  height: 100vh;
  background-color: var(--sidebar-bg);
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 24px;
  z-index: 100;
  box-shadow: 4px 0 24px rgba(15, 23, 42, 0.15);
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}

.brand-logo {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}

.brand-logo svg {
  color: #fff;
  width: 22px;
  height: 22px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  background: linear-gradient(to right, #ffffff, #cbd5e1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-tagline {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--slate-400);
  text-transform: uppercase;
}

/* Profile page */
.profile-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  margin: 0 auto;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35);
}

.field-hint {
  font-size: 12px;
  color: var(--slate-400);
  margin-top: 4px;
}

.nav-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-height: 0;          /* allow the flex child to shrink so it can scroll */
  overflow-y: auto;       /* scroll the nav when items exceed the viewport height */
  overflow-x: hidden;
}

/* Slim scrollbar for the sidebar nav */
.nav-menu::-webkit-scrollbar { width: 6px; }
.nav-menu::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.18); border-radius: 3px; }

.nav-item a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  color: var(--slate-400);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-radius: 12px;
  transition: var(--transition);
}

.nav-item a i, .nav-item a svg {
  width: 20px;
  height: 20px;
  color: var(--slate-400);
  transition: var(--transition);
}

.nav-item.active a {
  background-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}

.nav-item.active a i, .nav-item.active a svg {
  color: #fff;
}

.nav-item a:hover:not(.active a) {
  background-color: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.nav-item a:hover:not(.active a) i, .nav-item a:hover:not(.active a) svg {
  color: #fff;
  transform: translateX(2px);
}

.sidebar-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

/* Main Content Area */
.main-wrapper {
  margin-left: 260px;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.top-header {
  height: 70px;
  background-color: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  /* Extra right padding keeps doctor-profile clear of the fixed theme toggle in the corner */
  padding: 0 80px 0 40px;
  position: sticky;
  top: 0;
  z-index: 90;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

/* Theme toggle: always fixed to the top-right of the viewport, on every page.
   Kept deliberately understated (no border/fill at rest) so it doesn't compete
   with page content - it reveals itself on hover. */
.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background-color: transparent;
  color: var(--slate-400);
  opacity: 0.6;
  cursor: pointer;
  transition: var(--transition), opacity 0.2s ease;
}

.theme-toggle:hover {
  opacity: 1;
  background-color: var(--slate-100);
  color: var(--primary);
}

.theme-toggle svg {
  width: 16px;
  height: 16px;
  pointer-events: none;
}

.theme-icon-dark { display: none; }
html[data-theme="dark"] .theme-icon-light { display: none; }
html[data-theme="dark"] .theme-icon-dark { display: inline-block; }

.doctor-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.global-search {
  width: 100%;
  max-width: 360px;
  min-width: 0;
}

.global-search input {
  background-color: var(--slate-50);
}

.global-search input:focus {
  background-color: var(--surface);
}

.doc-avatar {
  width: 38px;
  height: 38px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
}

.doc-name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.container {
  padding: 40px;
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
}

/* Page Headers */
.page-header {
  margin-bottom: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.page-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--dark);
}

.page-subtitle {
  font-size: 14px;
  color: var(--slate-400);
  margin-top: 4px;
}

/* Cards & Layout Grid */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.grid-4 > * {
  min-width: 0;
}

.grid-3-2 {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 24px;
  margin-bottom: 32px;
}

.grid-3-2 > * {
  min-width: 0;
}

@media (max-width: 1240px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1000px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1200px) {
  .grid-3-2 {
    grid-template-columns: 1fr;
  }
}

.card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition), background-color 0.2s ease, border-color 0.2s ease;
}

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

.card-title-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
}

/* Stat Cards */
.stat-card {
  display: flex;
  align-items: center;
  gap: 20px;
}

a.stat-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.stat-icon.primary {
  background-color: var(--primary-light);
  color: var(--primary);
}

.stat-icon.success {
  background-color: var(--success-light);
  color: var(--success);
}

.stat-icon.warning {
  background-color: var(--warning-light);
  color: var(--warning);
}

.stat-icon.danger {
  background-color: var(--danger-light);
  color: var(--danger);
}

.stat-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.stat-label {
  font-size: 14px;
  color: var(--slate-400);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

/* Tables Styling */
.table-container {
  overflow-x: auto;
  margin-top: 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

/* Opt-in: cells stay on one line and the container scrolls horizontally
   instead of wrapping/truncating text or badges when squeezed. Used for
   compact status tables (dashboard, appointments) - not applied globally
   since some tables (e.g. feedback comments) want free text to wrap. */
.table-nowrap th, .table-nowrap td {
  white-space: nowrap;
}

th {
  background-color: var(--slate-50);
  padding: 16px 20px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--slate-700);
  border-bottom: 1px solid var(--border);
}

td {
  padding: 16px 20px;
  font-size: 14px;
  color: var(--slate-700);
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

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

tr:hover td {
  background-color: var(--slate-50);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  text-transform: capitalize;
}

.badge.booked {
  background-color: var(--primary-light);
  color: var(--primary);
}

.badge.visited, .badge.yes {
  background-color: var(--success-light);
  color: var(--success);
}

.badge.pending, .badge.scheduled {
  background-color: var(--warning-light);
  color: var(--warning);
}

.badge.cancelled, .badge.no {
  background-color: var(--danger-light);
  color: var(--danger);
}

.badge-flagged {
  background-color: var(--danger-light);
  color: var(--danger);
  animation: pulse 2s infinite;
}

/* Table link (patient name, etc.) */
.table-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.table-link:hover {
  text-decoration: underline;
}

/* Cancelled appointment rows: struck-through and muted instead of a status badge */
tr.row-cancelled td {
  color: var(--slate-400);
  text-decoration: line-through;
  opacity: 0.75;
}

tr.row-cancelled .table-link {
  color: var(--slate-400);
}

.text-cancelled {
  color: var(--slate-400);
  text-decoration: line-through;
  font-weight: 600;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.6; }
  100% { opacity: 1; }
}

/* Alert Items & Feeds */
.alert-feed {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 400px;
  overflow-y: auto;
  padding-right: 4px;
}

.alert-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  border-radius: 12px;
  background-color: var(--slate-50);
  border-left: 4px solid var(--danger);
  transition: var(--transition);
}

.alert-item.resolved {
  border-left-color: var(--success);
  opacity: 0.7;
}

.alert-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--danger-light);
  color: var(--danger);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.alert-avatar.resolved {
  background-color: var(--success-light);
  color: var(--success);
}

.alert-content {
  flex: 1;
  min-width: 0;
}

.alert-patient {
  font-weight: 600;
  font-size: 14px;
}

.alert-msg {
  font-size: 13px;
  color: var(--slate-700);
  margin-top: 4px;
}

.alert-time {
  font-size: 11px;
  color: var(--slate-400);
  margin-top: 6px;
}

.btn-resolve {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  background-color: var(--danger-light);
  color: var(--danger);
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

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

/* Tab controls */
.tabs-header {
  display: flex;
  border-bottom: 1px solid var(--border);
  gap: 24px;
  margin-bottom: 24px;
}

.tab-btn {
  display: inline-block;
  padding: 12px 4px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  color: var(--slate-400);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}

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

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

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

/* Patient Detail Column Styles */
.patient-profile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
  background: linear-gradient(180deg, var(--primary-light) 0%, var(--surface) 140px);
}

.patient-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background-color: var(--surface);
  border: 4px solid var(--surface);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 16px;
}

.patient-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
}

.patient-meta {
  font-size: 14px;
  color: var(--slate-400);
  margin-top: 4px;
}

.patient-info-list {
  width: 100%;
  margin-top: 24px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 14px;
}

.info-label {
  color: var(--slate-400);
  font-weight: 500;
}

.info-val {
  font-weight: 600;
  color: var(--dark);
}

/* Timeline Components */
.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background-color: var(--border);
}

.timeline-item {
  position: relative;
  margin-bottom: 32px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-badge {
  position: absolute;
  left: -27px;
  top: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--surface);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.timeline-badge.visit { border-color: var(--success); }
.timeline-badge.alert { border-color: var(--danger); }
.timeline-badge.feedback { border-color: var(--warning); }
.timeline-badge.appointment { border-color: var(--primary); }

.timeline-badge i, .timeline-badge svg {
  width: 10px;
  height: 10px;
}

.timeline-panel {
  background-color: var(--slate-50);
  border-radius: 12px;
  padding: 16px 20px;
  border: 1px solid var(--border);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.timeline-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
}

.timeline-date {
  font-size: 12px;
  color: var(--slate-400);
}

.timeline-body {
  font-size: 14px;
  color: var(--slate-700);
  margin-top: 8px;
  line-height: 1.5;
}

/* Form Fields */
.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 576px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--slate-700);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="time"],
select,
textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-family: var(--font);
  font-size: 14px;
  background-color: var(--surface);
  color: var(--dark);
  transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

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

.btn-primary:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

.btn-secondary {
  background-color: var(--slate-100);
  color: var(--slate-700);
}

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

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

.btn-danger:hover {
  background-color: #dc2626;
}

/* Authentication Page Styles */
.auth-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  width: 100%;
  padding: 24px;
  background: radial-gradient(circle at top right, var(--primary-light), var(--page-bg) 50%);
  transition: background-color 0.2s ease;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 40px;
  background-color: var(--surface);
}

.auth-header {
  text-align: center;
  margin-bottom: 32px;
}

.auth-header .brand-logo {
  margin: 0 auto 16px;
}

.auth-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
}

.auth-subtitle {
  color: var(--slate-400);
  font-size: 14px;
  margin-top: 4px;
}

.auth-submit {
  width: 100%;
  padding: 14px;
  font-size: 15px;
  margin-top: 10px;
}

.auth-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background-color: var(--danger-light);
  color: var(--danger);
  border: 1px solid var(--danger);
  border-left-width: 4px;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 20px;
}

.auth-alert svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

.input-with-icon {
  position: relative;
}

.input-with-icon svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--slate-400);
  pointer-events: none;
}

.input-with-icon input {
  padding-left: 44px;
}

/* Search bar styling */
.search-wrapper {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin-bottom: 24px;
}

/* input.search-input beats the global input[type=text] specificity so the
   left padding (room for the icon) isn't overridden by the padding shorthand. */
input.search-input {
  padding: 12px 16px 12px 44px;
  background-color: var(--surface);
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--slate-400);
  pointer-events: none;
}

/* Calendar styling override for FullCalendar integration */
.fc {
  font-family: var(--font) !important;
}

.fc-header-toolbar {
  margin-bottom: 24px !important;
  flex-wrap: wrap;
  gap: 12px;
}

.fc-button-primary {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
  font-weight: 600 !important;
  text-transform: capitalize !important;
}

.fc-button-primary:hover {
  background-color: var(--primary-hover) !important;
  border-color: var(--primary-hover) !important;
}

.fc-button-active {
  background-color: var(--primary-hover) !important;
  border-color: var(--primary-hover) !important;
}

.fc-daygrid-event {
  border-radius: 6px !important;
  padding: 2px 6px !important;
  font-weight: 500 !important;
  font-size: 12px !important;
}

/* Truncate long titles cleanly with an ellipsis instead of an abrupt cut-off */
.fc-daygrid-event .fc-event-title,
.fc-daygrid-event .fc-event-time {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fc-daygrid-event .fc-event-title {
  min-width: 0;
}

.fc-daygrid-day-frame {
  min-height: 110px;
}

.fc-daygrid-more-link {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: var(--primary) !important;
}

/* Week (time grid) view: same ellipsis treatment, a bit more room since columns are narrower but taller */
.fc-timegrid-event .fc-event-title,
.fc-timegrid-event .fc-event-time {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px !important;
}

/* List view: align title/time and avoid mid-word wraps */
.fc-list-event-title {
  font-weight: 600 !important;
}

.fc-list-event-time {
  white-space: nowrap;
}

.fc-col-header-cell-cushion {
  color: var(--slate-700) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

.fc-daygrid-day-number {
  color: var(--slate-700) !important;
  font-weight: 500 !important;
  text-decoration: none !important;
}

/* Dialog styles */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

.modal-dialog {
  background-color: var(--surface);
  border-radius: 16px;
  padding: 32px;
  width: 100%;
  max-width: 500px;
  box-shadow: var(--shadow-lg);
  transform: scale(0.9);
  transition: var(--transition);
}

.modal-backdrop.open .modal-dialog {
  transform: scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--slate-400);
}

.modal-close:hover {
  color: var(--dark);
}
