/* ============================================================
   FIXERS — shared design system ("daylight" / app-like light)
   Used by every page. Page-specific layout lives in each file.
   ============================================================ */

/* ------------------------------------------------------------
   TOKENS
   ------------------------------------------------------------ */
:root {
  /* ============================================================
     ADDIS SPOT BRAND TOKENS — mirrors the main site's premium.css
     so /fixers/ reads as part of the same product.
     ========================================================== */
  --as-bg: #0b1724;
  --as-bg-2: #0d1b2a;
  --as-surface: #14263a;
  --as-surface-2: #1a2a3a;
  --as-border: rgba(255, 255, 255, 0.09);
  --as-border-strong: rgba(255, 255, 255, 0.16);
  --as-ink: #ffffff;
  --as-body-text: #b9c6d2;
  --as-muted: #9db0c2;
  --as-primary: #f0b429;
  --as-primary-hover: #ffc94d;
  --as-accent: #36bfa8;
  --as-orange: #f5941d;
  --as-on-primary: #16263a;

  --bg: #0b1724;
  --bg-elev: #0d1b2a;

  --surface: #14263a;
  --surface-strong: #1a2a3a;
  --surface-solid: #14263a;
  --field-bg: #10202f;

  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  --text: #ffffff;
  --text-dim: #b9c6d2;
  --muted: #9db0c2;

  --primary: #f0b429;
  --primary-strong: #ffc94d;
  --primary-soft: rgba(240, 180, 41, 0.14);

  --cyan: #36bfa8;
  --teal: #36bfa8;
  --indigo: #f5941d;
  --violet: #d99a12;
  --pink: #ef7d4e;
  --lime: #5fd3b0;
  --amber: #f0b429;
  --danger: #ff6b6b;

  --accent-grad: linear-gradient(115deg, #f0b429 0%, #f5941d 100%);
  --warm-grad: linear-gradient(120deg, #f0b429 0%, #f5941d 100%);
  --emerald-grad: linear-gradient(120deg, #36bfa8 0%, #1f9c88 100%);

  --on-accent: #16263a;

  --glow-cyan: rgba(240, 180, 41, 0.18);
  --glow-violet: rgba(245, 148, 29, 0.14);
  --glow-teal: rgba(54, 191, 168, 0.18);

  --radius: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 6px 18px -8px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 14px 34px -14px rgba(0, 0, 0, 0.6);

  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Manrope', system-ui, sans-serif;
  --font-eth: 'Noto Sans Ethiopic', 'Plus Jakarta Sans', sans-serif;

  --wrap: 1160px;
}

/* ------------------------------------------------------------
   RESET + BACKGROUND
   ------------------------------------------------------------ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  overflow-x: hidden;
  min-height: 100vh;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(760px 540px at 8% -10%, rgba(59, 130, 246, 0.08), transparent 60%),
    radial-gradient(700px 520px at 96% 0%, rgba(139, 92, 246, 0.07), transparent 60%),
    radial-gradient(900px 600px at 50% 115%, rgba(14, 165, 233, 0.07), transparent 65%);
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 78%);
}
a { -webkit-tap-highlight-color: transparent; color: inherit; }
img { max-width: 100%; }
::selection { background: #bfdbfe; color: #1e3a8a; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 999px; border: 2px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; border: 2px solid transparent; background-clip: content-box; }

/* ------------------------------------------------------------
   LAYOUT + UTILITIES
   ------------------------------------------------------------ */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 18px; }
.wrap-narrow { width: 100%; max-width: 820px; margin: 0 auto; padding: 0 18px; }
.am { font-family: var(--font-eth); }
.display { font-family: var(--font-display); }
.grad-text {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.muted { color: var(--muted); }
.dim { color: var(--text-dim); }
.center { text-align: center; }
.stack { display: grid; gap: 16px; }
.row-2 { display: grid; gap: 15px; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Orb decorations (soft pastel blobs on light bg) */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
  opacity: .3;
}
.orb.a { width: 280px; height: 280px; background: #7dd3fc; top: -90px; left: -90px; }
.orb.b { width: 260px; height: 260px; background: #c4b5fd; bottom: -100px; right: -90px; opacity: .26; }

/* ------------------------------------------------------------
   TYPOGRAPHY BLOCKS
   ------------------------------------------------------------ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-grad);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(23px, 6.2vw, 34px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.14;
  text-wrap: balance;
}
.section-sub { font-size: 14.5px; color: var(--muted); margin-top: 9px; max-width: 58ch; }

/* ------------------------------------------------------------
   NAVIGATION
   ------------------------------------------------------------ */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  max-width: var(--wrap);
  margin: 0 auto;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--text);
  min-width: 0;
}
.logo-mark {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 18px;
  background: var(--accent-grad);
  color: #fff;
  box-shadow: 0 6px 16px -6px var(--glow-cyan);
}
.logo-text { line-height: 1.05; }
.logo-text .tag {
  display: block;
  font-family: var(--font);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}
.nav-links { display: none; align-items: center; gap: 4px; }
.nav-link {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
  padding: 9px 14px;
  border-radius: 11px;
  transition: color .18s, background .18s;
}
.nav-link:hover { color: var(--text); background: #f1f5f9; }
.nav-link.is-active { color: var(--primary); background: var(--primary-soft); }
.nav-actions { display: flex; align-items: center; gap: 8px; flex: none; }

/* ------------------------------------------------------------
   BUTTONS
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  padding: 13px 22px;
  border-radius: 13px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s cubic-bezier(.16,1,.3,1), box-shadow .2s, border-color .2s, background .2s, color .2s, filter .2s;
  background: transparent;
  color: inherit;
}
.btn svg { transition: transform .2s; }
.btn:hover svg { transform: translateX(2px); }
.btn-grad {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 8px 20px -8px rgba(37, 99, 235, 0.5);
}
.btn-grad:hover { background: var(--primary-strong); transform: translateY(-1px); box-shadow: 0 10px 24px -8px rgba(37, 99, 235, 0.55); }
.btn-ghost {
  color: var(--text-dim);
  background: var(--surface);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { color: var(--text); border-color: var(--line-strong); background: #f8fafc; transform: translateY(-1px); }
.btn-danger {
  color: #b91c1c;
  background: #fef2f2;
  border-color: #fecaca;
}
.btn-danger:hover { background: #fee2e2; }
.btn-sm { padding: 9px 15px; font-size: 13px; border-radius: 11px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

/* ------------------------------------------------------------
   CHIPS / PILLS / BADGES
   ------------------------------------------------------------ */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-dim);
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .16s, border-color .16s, color .16s, box-shadow .16s;
}
.chip:hover {
  transform: translateY(-2px);
  color: var(--text);
  border-color: #93c5fd;
  box-shadow: 0 6px 16px -8px rgba(37, 99, 235, 0.35);
}
.chip-cat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-dim);
  background: #f1f5f9;
  border: 1px solid var(--line);
  padding: 4px 11px;
  border-radius: 999px;
  text-decoration: none;
  transition: color .16s, border-color .16s;
}
.chip-cat:hover { color: var(--text); border-color: var(--line-strong); }
.badge-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dim);
  background: #f1f5f9;
  border: 1px solid var(--line);
  padding: 3px 10px;
  border-radius: 999px;
}
.pill {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  white-space: nowrap;
  padding: 8px 15px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .16s, color .16s, border-color .16s, box-shadow .16s, background .16s;
}
.pill .count { font-size: 11.5px; opacity: .65; }
.pill:hover { transform: translateY(-2px); color: var(--text); border-color: var(--line-strong); background: #f8fafc; }
.pill.active {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 6px 16px -6px rgba(37, 99, 235, 0.5);
}
.pill-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 18px 2px 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 12px), transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 12px), transparent);
}
.pill-scroll::-webkit-scrollbar { display: none; }

/* Live/status dot */
.live-dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18);
  animation: pulse 1.9s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.8); }
}

/* ------------------------------------------------------------
   PANELS / CARDS
   ------------------------------------------------------------ */
.panel {
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.panel-head {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px 18px 15px;
  border-bottom: 1px solid #eef2f7;
}
.panel-head .icon {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 20px;
  background: var(--primary-soft);
  border: 1px solid #dbeafe;
}
.panel-head h2 { font-family: var(--font-display); font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.panel-head p { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.panel-body { padding: 18px; }

/* ------------------------------------------------------------
   FORM CONTROLS
   ------------------------------------------------------------ */
.group { display: flex; flex-direction: column; gap: 7px; }
label { font-size: 13px; font-weight: 600; color: var(--text-dim); }
label .req { color: var(--danger); margin-left: 2px; }
label .opt { color: var(--muted); font-weight: 500; }
.input-wrap { position: relative; display: flex; align-items: center; }
.input-icon {
  position: absolute;
  left: 14px;
  font-size: 15px;
  line-height: 1;
  pointer-events: none;
  opacity: .85;
}
input[type=text], input[type=tel], input[type=url], input[type=email],
input[type=password], input[type=search], input[type=number], select, textarea {
  width: 100%;
  padding: 13px 15px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--field-bg);
  border: 1px solid #d8dfe9;
  border-radius: 13px;
  outline: none;
  box-shadow: inset 0 1px 2px rgba(16, 24, 40, 0.04);
  transition: border-color .18s, box-shadow .18s, background .18s;
  -webkit-appearance: none;
  appearance: none;
}
.with-icon input, .with-icon select { padding-left: 44px; }
input::placeholder, textarea::placeholder { color: #94a3b8; }
input:focus, select:focus, textarea:focus {
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12), inset 0 1px 2px rgba(16, 24, 40, 0.04);
}
input.error, select.error, textarea.error { border-color: var(--danger); }
textarea { resize: vertical; min-height: 118px; line-height: 1.6; }
select {
  cursor: pointer;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
}
select option { background: #ffffff; color: var(--text); }
.hint { font-size: 12px; color: var(--muted); }
.prefix {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  padding: 0 13px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  border-right: 1px solid var(--line);
  pointer-events: none;
}
.with-prefix input { padding-left: 46px; }

/* ------------------------------------------------------------
   FIXER CARD (shared: directory, saved, related)
   ------------------------------------------------------------ */
.fixer-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 19px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform .26s cubic-bezier(.16,1,.3,1), border-color .26s, box-shadow .26s;
}
.fixer-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(200px 140px at 100% 0%, var(--tint, rgba(59,130,246,.25)), transparent 70%);
  opacity: .4;
  pointer-events: none;
  transition: opacity .26s;
}
.fixer-card::after {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--c, var(--accent-grad));
  transform: scaleX(.22);
  transform-origin: left;
  transition: transform .34s cubic-bezier(.16,1,.3,1);
}
.fixer-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lg);
}
.fixer-card:hover::after { transform: scaleX(1); }
.fixer-card:hover::before { opacity: .6; }
.fixer-card > * { position: relative; }

.fixer-head { display: flex; align-items: center; gap: 13px; }
.fixer-card.has-fav .fixer-head { padding-right: 34px; }
.avatar {
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--on-accent);
  background: var(--c, var(--accent-grad));
  box-shadow: 0 6px 14px -6px rgba(16, 24, 40, 0.3), inset 0 1px 0 rgba(255, 255, 255, .4);
  overflow: hidden;
  object-fit: cover;
}
.fixer-id { flex: 1; min-width: 0; }
.name-row { display: flex; align-items: center; gap: 7px; }
.fixer-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .16s;
}
.fixer-name:hover { color: var(--primary); }
.verified {
  width: 16px;
  height: 16px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 9.5px;
  color: #fff;
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}
.fixer-meta {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.5;
}
.fixer-meta svg { flex: none; margin-top: 2px; }
.bio {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-dim);
  background: #f8fafc;
  border: 1px solid #eef2f7;
  border-radius: 12px;
  padding: 11px 13px;
}
.fixer-actions { margin-top: auto; display: flex; align-items: stretch; gap: 8px; }
.btn-call {
  flex: 1;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  padding: 12px 14px;
  border-radius: 12px;
  background: #059669;
  box-shadow: 0 8px 18px -8px rgba(5, 150, 105, 0.5);
  transition: transform .16s, filter .16s, background .16s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.btn-call:hover { transform: translateY(-1px); background: #047857; }
.icon-btn {
  flex: none;
  width: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text-dim);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform .16s, color .16s, border-color .16s, box-shadow .16s;
}
.icon-btn:hover { transform: translateY(-1px); }
.icon-btn.wa:hover { color: #16a34a; border-color: #86efac; box-shadow: 0 6px 16px -8px rgba(22, 163, 74, 0.45); }
.icon-btn.tg:hover { color: #0284c7; border-color: #7dd3fc; box-shadow: 0 6px 16px -8px rgba(2, 132, 199, 0.45); }
.icon-btn.fb:hover { color: #1d4ed8; border-color: #93c5fd; box-shadow: 0 6px 16px -8px rgba(29, 78, 216, 0.45); }
.icon-btn.web:hover { color: var(--primary); border-color: #93c5fd; box-shadow: 0 6px 16px -8px rgba(37, 99, 235, 0.45); }

/* Favorite heart */
.fav-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  cursor: pointer;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .18s, color .18s, border-color .18s, box-shadow .18s;
}
.fav-btn:hover { transform: scale(1.08); color: var(--pink); border-color: #f9a8d4; }
.fav-btn.is-on {
  color: #fff;
  background: linear-gradient(135deg, #f472b6, #db2777);
  border-color: transparent;
  box-shadow: 0 8px 18px -8px rgba(219, 39, 119, 0.55);
}

/* Star ratings */
.stars { display: inline-flex; align-items: center; gap: 2px; }
.stars .star { color: #cbd5e1; }
.stars .star.on { color: var(--amber); }
.rating-line {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-dim);
}
.rating-num { font-family: var(--font-display); font-weight: 700; color: var(--text); }

/* ------------------------------------------------------------
   STATES / ALERTS
   ------------------------------------------------------------ */
.state {
  text-align: center;
  padding: 54px 22px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.state .emoji {
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-size: 32px;
  background: var(--primary-soft);
  border: 1px solid #dbeafe;
}
.state h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.state p { font-size: 14px; color: var(--muted); max-width: 44ch; margin: 0 auto 22px; line-height: 1.65; }

.alert {
  padding: 15px 18px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.7;
  border: 1px solid;
}
.alert-error { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }
.alert-error strong { color: #991b1b; }
.alert-success { background: #f0fdf4; border-color: #bbf7d0; color: #15803d; }
.alert-info { background: var(--primary-soft); border-color: #bfdbfe; color: #1d4ed8; }
.alert-info a { color: #1e40af; font-weight: 700; }
.alert-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-size: 32px;
}

/* ------------------------------------------------------------
   PAGINATION
   ------------------------------------------------------------ */
.pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 34px;
}
.pager a, .pager .current, .pager .dots {
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border-radius: 11px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text-dim);
  box-shadow: var(--shadow-sm);
  transition: transform .16s, color .16s, border-color .16s, background .16s;
}
.pager a:hover { transform: translateY(-1px); color: var(--text); border-color: var(--line-strong); background: #f8fafc; }
.pager .current {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 6px 16px -6px rgba(37, 99, 235, 0.5);
}
.pager .dots { background: transparent; border-color: transparent; color: var(--muted); box-shadow: none; }

/* ------------------------------------------------------------
   TOOLBAR (filters / admin actions)
   ------------------------------------------------------------ */
.toolbar {
  padding: 9px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.toolbar form { display: flex; flex-direction: column; flex-wrap: wrap; gap: 9px; }
.toolbar .field { position: relative; display: flex; align-items: center; }
.toolbar .field .ico { position: absolute; left: 15px; display: flex; color: var(--muted); pointer-events: none; }
.toolbar .ico-input { padding-left: 46px; }

/* ------------------------------------------------------------
   DATA TABLE (admin)
   ------------------------------------------------------------ */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  min-width: 620px;
}
table.data th {
  text-align: left;
  padding: 12px 14px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
table.data td {
  padding: 12px 14px;
  border-bottom: 1px solid #eef2f7;
  color: var(--text-dim);
  vertical-align: middle;
}
table.data tr:hover td { background: #f8fafc; }
table.data .cell-strong { color: var(--text); font-weight: 700; }
.table-actions { display: flex; gap: 7px; flex-wrap: wrap; }

/* ------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------ */
footer { border-top: 1px solid var(--line); background: #f8fafc; margin-top: 0; }
.footer-inner { max-width: var(--wrap); margin: 0 auto; padding: 30px 18px; display: flex; flex-direction: column; gap: 12px; font-size: 12.5px; color: var(--muted); }
.footer-inner a { color: var(--primary); text-decoration: none; font-weight: 600; }
.footer-inner a:hover { text-decoration: underline; }

/* ------------------------------------------------------------
   REVEAL
   ------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .65s ease, transform .65s cubic-bezier(.16,1,.3,1); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .orb { animation: none; }
  html { scroll-behavior: auto; }
}

/* ------------------------------------------------------------
   RESPONSIVE  (mobile first)
   ------------------------------------------------------------ */
@media (min-width: 640px) {
  .wrap, .wrap-narrow { padding: 0 24px; }
  .nav { padding: 13px 24px; }
  .nav-links { display: flex; }
  .row-2.cols-2 { grid-template-columns: 1fr 1fr; }
  .toolbar form { flex-direction: row; }
  .toolbar .field.grow { flex: 2; min-width: 220px; }
  .toolbar .field.grow-cat { flex: 1; min-width: 180px; }
  .toolbar .btn { width: auto; }
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: center; }
  .panel-head { padding: 20px 24px 17px; }
  .panel-body { padding: 22px 24px; }
}

@media print {
  body::before, body::after, header, footer, .orb { display: none; }
  body { background: #fff; color: #000; }
}
