/* assets/css/modern.css */
:root[data-color-mode="light"] {
  --bg-base: #f8fafc;
  --bg-surface: #ffffff;
  --border-color: #e2e8f0;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --brand-primary: #4f46e5;
  --brand-hover: #4338ca;
  --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
  --header-bg: rgba(255, 255, 255, 0.85);
  --radius-lg: 16px;
  --radius-md: 10px;
}

:root[data-color-mode="dark"] {
  --bg-base: #0f172a;
  --bg-surface: #1e293b;
  --border-color: #334155;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --brand-primary: #6366f1;
  --brand-hover: #4f46e5;
  --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
  --header-bg: rgba(30, 41, 59, 0.85);
  --radius-lg: 16px;
  --radius-md: 10px;
}

body {
  margin: 0;
  background-color: var(--bg-base);
  color: var(--text-main);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.modern-nav {
  backdrop-filter: blur(8px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 50;
}

.modern-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  padding: 1.75rem;
}

.modern-btn-primary {
  background: var(--brand-primary);
  color: #ffffff;
  border-radius: 9999px;
  padding: 0.65rem 1.4rem;
  font-weight: 600;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.modern-btn-primary:hover {
  background: var(--brand-hover);
  color: #ffffff;
  transform: translateY(-1px);
}