/* ============================================================
   Agency Cloud - Design System v2  (Modern, animated, attractive)
   Pure CSS (does NOT rely on Tailwind @apply at runtime)
   ============================================================ */

:root {
  --brand: #6366f1;
  --brand-2: #8b5cf6;
  --brand-dark: #4338ca;
  --brand-light: #eef2ff;

  --bg: #f8fafc;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --border-hover: #cbd5e1;

  --success: #10b981;
  --warn: #f59e0b;
  --danger: #ef4444;
  --info: #0ea5e9;

  --shadow-sm: 0 1px 2px rgba(15,23,42,.05);
  --shadow:    0 4px 20px -4px rgba(15,23,42,.1), 0 2px 6px -2px rgba(15,23,42,.06);
  --shadow-lg: 0 20px 50px -10px rgba(15,23,42,.18), 0 6px 20px -8px rgba(15,23,42,.1);
  --shadow-brand: 0 10px 30px -10px color-mix(in srgb, var(--brand) 60%, transparent);

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

* { box-sizing: border-box; }
html, body { margin:0; padding:0; }
body {
  font-family: 'Tajawal', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ========== Animated backgrounds ========== */
.auth-bg {
  min-height: 100vh;
  background:
    radial-gradient(900px 500px at 10% -10%, #c7d2fe 0%, transparent 55%),
    radial-gradient(800px 600px at 100% 15%, #fbcfe8 0%, transparent 55%),
    radial-gradient(700px 500px at 50% 110%, #bae6fd 0%, transparent 60%),
    linear-gradient(180deg, #fafbff 0%, #eef2ff 100%);
  background-attachment: fixed;
  animation: bg-float 18s ease-in-out infinite alternate;
}
@keyframes bg-float {
  0% { background-position: 0 0, 100% 0, 50% 100%, 0 0; }
  100% { background-position: -40px 30px, calc(100% + 40px) -30px, 50% calc(100% + 40px), 0 0; }
}

.mesh-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
}
.mesh-bg::before, .mesh-bg::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(70px); opacity: .45;
}
.mesh-bg::before { width: 380px; height: 380px; top: -120px; right: -120px; background: #a78bfa; animation: blob 14s ease-in-out infinite; }
.mesh-bg::after  { width: 360px; height: 360px; bottom: -140px; left: -80px; background: #38bdf8; animation: blob 18s ease-in-out infinite reverse; }
@keyframes blob {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(30px,-20px) scale(1.08); }
  66% { transform: translate(-20px,40px) scale(.95); }
}

/* ========== Cards ========== */
.card {
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform .25s cubic-bezier(.4,0,.2,1), box-shadow .25s, border-color .25s;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--border-hover);
}
.card-interactive { cursor: pointer; }
.card-gradient {
  background:
    radial-gradient(600px 200px at 0% 0%, color-mix(in srgb, var(--brand) 8%, transparent), transparent 60%),
    var(--card);
}
.card-glow {
  position: relative; overflow: hidden;
}
.card-glow::before {
  content:""; position:absolute; inset:-1px; padding:1px; border-radius:inherit;
  background: linear-gradient(135deg, var(--brand), var(--brand-2), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity:.55; pointer-events:none;
}

/* ========== Buttons ========== */
.btn, .btn-primary, .btn-secondary, .btn-danger, .btn-ghost, .btn-success {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 9px 16px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .18s cubic-bezier(.4,0,.2,1);
  white-space: nowrap;
  font-family: inherit;
  text-decoration: none;
  line-height: 1.2;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 15px 35px -8px color-mix(in srgb, var(--brand) 70%, transparent); }
.btn-primary:active:not(:disabled) { transform: translateY(0); }
.btn-primary:disabled { opacity:.6; cursor:not-allowed; }

.btn-secondary { background:#f1f5f9; color:#1e293b; border-color: var(--border); }
.btn-secondary:hover { background:#e2e8f0; }

.btn-danger { background: linear-gradient(135deg,#ef4444,#e11d48); color:#fff; box-shadow: 0 8px 22px -8px rgba(239,68,68,.55); }
.btn-danger:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -8px rgba(239,68,68,.6); }

.btn-success { background: linear-gradient(135deg,#10b981,#059669); color:#fff; box-shadow: 0 8px 22px -8px rgba(16,185,129,.55); }
.btn-success:hover { transform: translateY(-1px); }

.btn-ghost { background: transparent; color:#475569; border-color: transparent; }
.btn-ghost:hover { background: #f1f5f9; color:#0f172a; }

.btn-lg { padding: 12px 22px; font-size: 15px; }
.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-icon { padding: 8px; width: 36px; height: 36px; }

/* Ripple-ish shine on primary */
.btn-primary::after {
  content:""; position:absolute; inset:0; border-radius:inherit;
  background: linear-gradient(90deg,transparent,rgba(255,255,255,.35),transparent);
  transform: translateX(-100%); transition: transform .6s;
}
.btn-primary { position: relative; overflow: hidden; }
.btn-primary:hover::after { transform: translateX(100%); }

/* ========== Badges / Chips ========== */
.badge {
  display: inline-flex; align-items:center; gap:5px;
  padding: 3px 10px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600;
  letter-spacing: .01em;
}
.badge-hot    { background: #fee2e2; color:#b91c1c; }
.badge-warm   { background: #fef3c7; color:#b45309; }
.badge-cold   { background: #dbeafe; color:#1e40af; }
.badge-new    { background: #f1f5f9; color:#334155; }
.badge-paid   { background: #d1fae5; color:#065f46; }
.badge-pending{ background: #fef3c7; color:#92400e; }
.badge-active { background: #dcfce7; color:#166534; }

.chip {
  display: inline-flex; align-items:center; gap:6px;
  padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 500;
  background: #fff; border: 1px solid var(--border); color: #475569;
}
.chip-brand { background: var(--brand-light); border-color: transparent; color: var(--brand-dark); }

.pulse {
  position: relative;
}
.pulse::before {
  content:""; position:absolute; width:8px; height:8px; background: var(--danger); border-radius:50%;
  top:-2px; right:-2px; box-shadow: 0 0 0 0 rgba(239,68,68,.55);
  animation: pulse-ring 1.6s infinite;
}
@keyframes pulse-ring { 0% { box-shadow:0 0 0 0 rgba(239,68,68,.55);} 70% { box-shadow:0 0 0 8px rgba(239,68,68,0);} 100% { box-shadow:0 0 0 0 rgba(239,68,68,0);} }

/* ========== Inputs ========== */
.input, .select, textarea.input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  transition: border-color .15s, box-shadow .15s, background .15s;
  outline: none;
}
.input:focus, .select:focus, textarea.input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent);
}
.input:hover, .select:hover { border-color: var(--border-hover); }
.label { display:block; font-size: 13px; font-weight: 600; color:#334155; margin-bottom: 6px; }

/* ========== Sidebar ========== */
.sidebar-link {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  color: #475569;
  font-weight: 500;
  font-size: 14px;
  transition: background .15s, color .15s, transform .15s;
  cursor: pointer;
  text-decoration: none;
  border: 0; background: transparent;
  width: 100%;
  text-align: inherit;
  font-family: inherit;
}
.sidebar-link i { width: 20px; text-align:center; opacity:.75; }
.sidebar-link:hover { background: #f1f5f9; color: #0f172a; transform: translateX(-2px); }
.sidebar-link.active {
  background: linear-gradient(135deg, var(--brand-light), #f5f3ff);
  color: var(--brand-dark);
  font-weight: 700;
  box-shadow: inset 3px 0 0 var(--brand);
}
.sidebar-link.active i { opacity: 1; color: var(--brand); }

/* ========== KPIs ========== */
.kpi-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 18px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  animation: kpi-in .5s ease both;
}
.kpi-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.kpi-card::before {
  content:""; position:absolute; inset:0 0 auto auto; width: 160px; height: 160px;
  background: radial-gradient(circle at 80% 20%, color-mix(in srgb, var(--accent,var(--brand)) 20%, transparent), transparent 60%);
  pointer-events:none;
}
.kpi-label { font-size: 12px; color: var(--muted); font-weight: 600; }
.kpi-value { font-size: 22px; font-weight: 800; color: var(--text); margin-top: 6px; letter-spacing: -0.02em; line-height: 1.2; }
@media (min-width: 1600px) {
  .kpi-value { font-size: 26px; }
}
.kpi-trend { font-size: 12px; font-weight: 600; margin-top: 6px; display:inline-flex; gap:4px; align-items:center; }
.kpi-trend.up { color: var(--success); }
.kpi-trend.down { color: var(--danger); }
.kpi-icon {
  width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items:center; justify-content:center;
  font-size: 18px;
}
@keyframes kpi-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ========== Dashboard Layout ========== */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  padding: 18px 22px;
  background: linear-gradient(135deg, #fff, #fafbff);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.page-header-title h1 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.page-header-title .sub { font-size: 13px; color: var(--muted); margin-top: 2px; }
.page-header-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

.toolbar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 14px 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}
.toolbar .toolbar-label { font-size: 12.5px; font-weight: 600; color: var(--muted); }

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
@media (max-width: 1500px) {
  .kpi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.kpi-card { min-width: 0; } /* Prevent grid children from pushing width */
.kpi-value {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ========== Chart containers: strict sizing (no stretching) ========== */
.charts-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
@media (max-width: 1100px) {
  .charts-row { grid-template-columns: 1fr; }
}
.chart-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 18px 20px;
  overflow: hidden;
}
.chart-card-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.chart-card-head h3 { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.chart-card-head .sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.chart-box {
  position: relative;
  width: 100%;
  height: 280px;         /* FIXED height — prevents vertical stretching */
  max-height: 280px;
}
.chart-box.tall { height: 320px; max-height: 320px; }
.chart-box.small { height: 220px; max-height: 220px; }
.chart-box canvas {
  /* Force Chart.js to respect container (override Tailwind preflight) */
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  display: block !important;
  box-sizing: border-box !important;
}

/* Table card with proper padding */
.table-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 0;
  overflow: hidden;
}
.table-card-head {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.table-card-head h3 { margin: 0; font-size: 15px; font-weight: 700; }
.table-card .table-wrap { border-radius: 0; }

/* Platform mini-card inside charts */
.platform-legend {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}
.platform-legend-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px;
}
.platform-legend-item .dot {
  width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
}
.platform-legend-item .name { flex: 1; font-weight: 600; }
.platform-legend-item .value { color: var(--muted); font-variant-numeric: tabular-nums; }

/* Quick-stat tile (compact metric inside cards) */
.quick-stat {
  padding: 14px 16px;
  background: linear-gradient(135deg, #fff, #f8fafc);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.quick-stat .label { font-size: 11.5px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.quick-stat .value { font-size: 20px; font-weight: 800; margin-top: 4px; letter-spacing: -0.01em; }
.quick-stat .sub { font-size: 11px; color: var(--muted); margin-top: 2px; }

/* ========== Tables ========== */
.table-wrap { overflow-x: auto; border-radius: var(--radius); }
table { width: 100%; border-collapse: separate; border-spacing: 0; }
th {
  text-align: right;
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--muted);
  text-transform: uppercase;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0;
}
td { padding: 14px 16px; font-size: 14px; border-bottom: 1px solid #f1f5f9; vertical-align: middle; }
tbody tr { transition: background .15s; }
tbody tr:hover { background: #fafbff; }
tbody tr:last-child td { border-bottom: 0; }

/* ========== Score bar ========== */
.score-bar {
  height: 8px; border-radius: 999px;
  background: #f1f5f9; overflow: hidden; position: relative;
}
.score-bar > div {
  height: 100%;
  border-radius: 999px;
  transition: width .6s cubic-bezier(.4,0,.2,1);
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}

/* ========== Modal ========== */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(15,23,42,.55);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  z-index: 50;
  animation: fade-in .18s ease;
}
.modal {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 30px 80px -20px rgba(15,23,42,.35);
  animation: modal-in .25s cubic-bezier(.4,0,.2,1);
  border: 1px solid var(--border);
}
.modal.modal-lg { max-width: 720px; }
.modal.modal-xl { max-width: 900px; }
@keyframes modal-in {
  from { opacity: 0; transform: translateY(20px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ========== Toast ========== */
#toastEl {
  position: fixed; top: 22px; left: 50%; transform: translateX(-50%);
  padding: 12px 22px; border-radius: 999px; color: #fff;
  font-weight: 600; font-size: 14px;
  box-shadow: 0 15px 35px -10px rgba(15,23,42,.35);
  z-index: 100;
  display: flex; align-items: center; gap: 8px;
  transition: opacity .3s, transform .3s;
}

/* ========== Hero / Landing ========== */
.hero-gradient {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 50%, #ec4899 100%);
  color: #fff;
}
.hero {
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.7) 100%);
}
.hero > * { position: relative; z-index: 1; }

.gradient-text {
  background: linear-gradient(135deg, var(--brand), var(--brand-2), #ec4899);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.gradient-brand {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.gradient-border {
  position: relative; border-radius: var(--radius-lg);
  background: #fff;
  z-index: 0;
}
.gradient-border::before {
  content:""; position:absolute; inset:0; padding:2px; border-radius:inherit;
  background: linear-gradient(135deg, var(--brand), var(--brand-2), #f472b6);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  z-index: -1;
}

/* ========== Platform icon bubbles ========== */
.platform-bubble {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 18px;
}
.platform-meta    { background: linear-gradient(135deg,#1877f2,#6366f1); }
.platform-google  { background: linear-gradient(135deg,#ea4335,#fbbc04); color:#fff; }
.platform-tiktok  { background: linear-gradient(135deg,#000,#ff0050); }
.platform-snapchat{ background: linear-gradient(135deg,#fffc00,#ffd400); color:#111; }
.platform-unified { background: linear-gradient(135deg,#0ea5e9,#6366f1); }

/* ========== Empty state ========== */
.empty-state {
  text-align: center; padding: 60px 20px;
  color: var(--muted);
}
.empty-state .icon {
  width: 72px; height: 72px; margin: 0 auto 16px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--brand-light), #fdf4ff);
  display: flex; align-items:center; justify-content:center;
  font-size: 28px; color: var(--brand);
  animation: float 3s ease-in-out infinite;
}
.empty-state h3 { color: var(--text); font-size: 18px; margin: 0 0 6px; }
.empty-state p  { font-size: 14px; max-width: 420px; margin: 0 auto 20px; line-height:1.6; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ========== Spinner ========== */
.spinner {
  width: 36px; height: 36px;
  border: 3px solid #e2e8f0; border-top-color: var(--brand);
  border-radius: 50%; animation: spin 0.8s linear infinite;
}
.spinner-sm { width: 18px; height: 18px; border-width: 2px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ========== Fade/slide page transitions ========== */
.page-in { animation: page-in .35s cubic-bezier(.4,0,.2,1) both; }
@keyframes page-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.stagger > * { animation: stagger .45s ease both; }
.stagger > *:nth-child(1){ animation-delay:.02s } .stagger > *:nth-child(2){ animation-delay:.07s }
.stagger > *:nth-child(3){ animation-delay:.12s } .stagger > *:nth-child(4){ animation-delay:.17s }
.stagger > *:nth-child(5){ animation-delay:.22s } .stagger > *:nth-child(6){ animation-delay:.27s }
.stagger > *:nth-child(7){ animation-delay:.32s } .stagger > *:nth-child(8){ animation-delay:.37s }
@keyframes stagger { from { opacity:0; transform: translateY(12px); } to { opacity:1; transform: none; } }

/* ========== Step guide card (integrations) ========== */
.step-card {
  display: flex; gap: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  position: relative;
  transition: all .2s;
}
.step-card:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.step-number {
  min-width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-weight: 800; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-brand);
}

/* ========== Code blocks ========== */
pre.code, .code {
  background: #0f172a; color:#e2e8f0;
  padding: 16px; border-radius: 12px;
  font-size: 12.5px; line-height: 1.6;
  overflow-x: auto;
  font-family: 'SF Mono', Menlo, Monaco, Consolas, monospace;
  direction: ltr; text-align: left;
  border: 1px solid #1e293b;
}
pre.code .cmt { color:#94a3b8; }
pre.code .str { color:#86efac; }
pre.code .kw  { color:#a78bfa; }

/* ========== Sidebar header "brand" ========== */
.brand-logo {
  width: 40px; height: 40px; border-radius: 12px;
  display: flex; align-items:center; justify-content:center;
  color:#fff; font-size: 16px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: var(--shadow-brand);
}

/* ========== Tabs ========== */
.tabs {
  display: flex; gap: 4px;
  background: #f1f5f9; padding: 4px; border-radius: 12px;
  margin-bottom: 20px;
  width: fit-content;
}
.tab {
  padding: 8px 16px; border-radius: 8px; font-weight: 600; font-size: 13px;
  cursor: pointer; color: var(--muted); border: 0; background: transparent;
  transition: all .15s; font-family: inherit;
}
.tab.active { background: #fff; color: var(--text); box-shadow: var(--shadow-sm); }

/* ========== Scrollbar ========== */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* ========== Utilities ========== */
.hover-lift { transition: transform .2s; }
.hover-lift:hover { transform: translateY(-3px); }

/* Responsive sidebar */
@media (max-width: 768px) {
  .sidebar { position: fixed; z-index: 40; transform: translateX(100%); transition: transform .3s; }
  .sidebar.open { transform: translateX(0); }
}
