/* ═══════════════════════════════════════════════════════════
   canlitvizle.tv — "Sunset" warm-dark
   Kömür-kahve zemin, mercan/turuncu vurgu, krem metin, kırmızı
   "Canlı". Üstte ilerleme çubuklu "Şimdi Ekranda" vitrini +
   masonry kanal kartları. Outfit. Önek: cz-
═══════════════════════════════════════════════════════════ */

:root {
  --bg:       #15110d;
  --bg2:      #1d1711;
  --surf:     #241c15;
  --surf2:    #2e2419;
  --line:     #3a2d20;
  --line2:    #2f251a;
  --acc:      #fb923c;
  --acc2:     #f97316;
  --acc-soft: rgba(251,146,60,.14);
  --live:     #f43f5e;
  --live-soft:rgba(244,63,94,.15);
  --ink:      #f4eadf;
  --ink2:     #cab4a1;
  --ink3:     #8d7a67;
  --r:        14px;
  --r-sm:     9px;
  --pill:     999px;
  --tr:       .18s ease;
  --top-h:    62px;
  --wrap:     1200px;

  /* legacy — admin panel (değiştirilmedi) */
  --cream:#fef9f0; --white:#fff; --orange:#f97316; --orange-dark:#ea580c;
  --orange-light:#fff7ed; --border:#fde8d0; --text:#1c1917; --text-dim:#78716c;
  --text-mute:#a8a29e; --radius:8px; --transition:.18s ease; --nav-h:58px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background:
    radial-gradient(820px 460px at 92% -8%, rgba(251,146,60,.10), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  color: var(--ink);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px; line-height: 1.6; min-height: 100vh;
  display: flex; flex-direction: column; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .cz-logo { font-family: 'Outfit', system-ui, sans-serif; }
a { color: var(--acc); text-decoration: none; }
a:hover { color: #fdba74; }

/* ════════ HEADER ════════ */
.cz-bar { position: sticky; top: 0; z-index: 100; background: rgba(21,17,13,.85); backdrop-filter: blur(11px); border-bottom: 1px solid var(--line); }
.cz-bar__in { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; height: var(--top-h); display: flex; align-items: center; gap: 18px; }
.cz-logo { display: inline-flex; align-items: center; gap: 9px; font-size: 19px; font-weight: 700; letter-spacing: -.4px; color: var(--ink); white-space: nowrap; flex-shrink: 0; }
.cz-logo:hover { color: var(--ink); }
.cz-logo i { color: var(--acc); font-style: normal; }
.cz-logo__b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--acc), #fbbf24); color: #2a1505; font-size: 14px; font-weight: 900; box-shadow: 0 4px 14px rgba(251,146,60,.45); }
.cz-nav { display: flex; align-items: center; gap: 3px; margin-left: 6px; }
.cz-nav a { color: var(--ink2); font-size: 13.5px; font-weight: 600; padding: 7px 13px; border-radius: var(--pill); transition: var(--tr); }
.cz-nav a:hover { color: var(--ink); background: var(--surf2); }
.cz-nav a.on { color: var(--acc); background: var(--acc-soft); }
.cz-find { display: flex; align-items: center; margin-left: auto; background: var(--surf); border: 1px solid var(--line); border-radius: var(--pill); overflow: hidden; transition: var(--tr); }
.cz-find:focus-within { border-color: var(--acc); }
.cz-find input { background: transparent; border: none; color: var(--ink); padding: 8px 15px; font-size: 13px; width: 190px; outline: none; }
.cz-find input::placeholder { color: var(--ink3); }
.cz-find button { background: transparent; border: none; color: var(--ink2); padding: 8px 13px; cursor: pointer; font-size: 14px; transition: var(--tr); }
.cz-find button:hover { color: var(--acc); }
.cz-clock { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--acc); font-size: 14px; letter-spacing: .5px; flex-shrink: 0; }
.cz-burger { display: none; margin-left: auto; background: var(--surf); border: 1px solid var(--line); color: var(--ink); border-radius: var(--r-sm); width: 40px; height: 38px; font-size: 19px; cursor: pointer; }

/* ad slots */
.cz-ad { display: flex; align-items: center; justify-content: center; }
.cz-ad--top { background: var(--bg2); border-bottom: 1px solid var(--line); min-height: 54px; padding: 6px; }
.cz-ad--mid { max-width: var(--wrap); margin: 24px auto; padding: 0 22px; }

.cz-main { flex: 1; padding: 24px 0 50px; }

/* ════════ INTRO ════════ */
.cz-intro { max-width: var(--wrap); margin: 0 auto 20px; padding: 0 22px; }
.cz-intro__h { font-size: 27px; font-weight: 700; letter-spacing: -.6px; line-height: 1.2; margin-bottom: 9px; }
.cz-intro__h b { color: var(--acc); }
.cz-intro__p { color: var(--ink2); font-size: 14.5px; line-height: 1.75; max-width: 880px; }
.cz-intro__p strong { color: var(--ink); }
.cz-intro__p em { color: var(--acc); font-style: normal; font-weight: 600; }

/* ════════ SPOTLIGHT (now playing + progress) ════════ */
.cz-spot { max-width: var(--wrap); margin: 0 auto 24px; padding: 0 22px; }
.cz-spot__head { display: flex; align-items: center; gap: 9px; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 16px; color: var(--ink); margin-bottom: 13px; }
.cz-spot__pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 4px var(--live-soft); animation: cz-pulse 1.4s ease-in-out infinite; }
.cz-spot__rail { display: flex; gap: 13px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.cz-spot__rail::-webkit-scrollbar { height: 8px; }
.cz-spot__rail::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
.cz-spot__card { flex: 0 0 280px; background: linear-gradient(150deg, var(--surf2), var(--surf)); border: 1px solid var(--line); border-radius: var(--r); padding: 15px 16px; transition: var(--tr); }
.cz-spot__card:hover { border-color: var(--acc); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.4); }
.cz-spot__card.is-hidden { display: none; }
.cz-spot__top { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; }
.cz-spot__dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.cz-spot__ch { font-size: 12px; font-weight: 700; color: var(--acc); text-transform: uppercase; letter-spacing: .4px; flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cz-spot__badge { display: inline-flex; align-items: center; gap: 4px; background: var(--live); color: #fff; font-size: 9px; font-weight: 800; padding: 2px 7px; border-radius: var(--pill); }
.cz-spot__prog { font-family: 'Outfit', sans-serif; font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.3; margin-bottom: 10px; min-height: 42px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cz-spot__bar { height: 6px; background: var(--bg); border-radius: var(--pill); overflow: hidden; margin-bottom: 6px; }
.cz-spot__fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--acc), #fbbf24); border-radius: var(--pill); transition: width .6s ease; }
.cz-spot__time { font-size: 11.5px; color: var(--ink3); font-variant-numeric: tabular-nums; }

/* ════════ CATEGORY CHIPS ════════ */
.cz-chips { max-width: var(--wrap); margin: 0 auto 18px; padding: 0 22px; display: flex; gap: 8px; flex-wrap: wrap; }
.cz-chip { background: var(--surf); border: 1px solid var(--line); color: var(--ink2); border-radius: var(--pill); padding: 7px 16px; font-size: 13px; font-weight: 600; cursor: pointer; transition: var(--tr); white-space: nowrap; font-family: inherit; }
.cz-chip:hover { border-color: var(--acc); color: var(--ink); }
.cz-chip.on { background: linear-gradient(135deg, var(--acc), #fbbf24); border-color: transparent; color: #2a1505; box-shadow: 0 4px 14px rgba(251,146,60,.35); }

/* ════════ MASONRY CHANNEL CARDS ════════ */
.cz-grid { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; column-count: 3; column-gap: 16px; }
.cz-card { break-inside: avoid; width: 100%; margin-bottom: 16px; background: var(--surf); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.cz-card.is-hidden { display: none; }
.cz-card__hd { display: flex; align-items: center; gap: 10px; padding: 13px 15px; border-bottom: 1px solid var(--line2); background: linear-gradient(180deg, var(--surf2), transparent); }
.cz-card__bar { width: 4px; height: 22px; border-radius: 3px; flex-shrink: 0; }
.cz-card__name { flex: 1; min-width: 0; font-family: 'Outfit', sans-serif; font-size: 15px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cz-card__name:hover { color: var(--acc); }
.cz-card__cat { font-size: 9.5px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--ink3); background: var(--bg2); border: 1px solid var(--line); border-radius: 6px; padding: 3px 7px; flex-shrink: 0; }
.cz-card__list { list-style: none; }
.cz-prog { display: flex; align-items: center; gap: 11px; padding: 8px 15px; border-bottom: 1px solid var(--line2); transition: background var(--tr); }
.cz-prog:last-child { border-bottom: none; }
.cz-prog__t { font-size: 11.5px; font-weight: 700; color: var(--ink2); font-variant-numeric: tabular-nums; width: 40px; flex-shrink: 0; }
.cz-prog__n { flex: 1; min-width: 0; font-size: 12.5px; color: var(--ink); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cz-prog__air { color: var(--live); font-size: 10px; flex-shrink: 0; }
.cz-prog.air { background: var(--live-soft); }
.cz-prog.air .cz-prog__t { color: var(--live); }
.cz-prog.air .cz-prog__n { font-weight: 600; }
.cz-prog.past { opacity: .4; }
.cz-card__empty { padding: 16px 15px; font-size: 12.5px; color: var(--ink3); font-style: italic; }

/* empty */
.cz-empty { max-width: var(--wrap); margin: 0 auto; padding: 56px 22px; text-align: center; color: var(--ink3); }
.cz-empty__i { font-size: 44px; margin-bottom: 12px; }
.cz-empty p { font-size: 15px; margin-bottom: 12px; }
.cz-empty a { font-weight: 700; }

/* ════════ ABOUT / DOC ════════ */
.cz-about, .cz-doc { max-width: var(--wrap); margin: 30px auto 0; padding: 0 22px; }
.cz-doc { max-width: 820px; }
.cz-slab { background: var(--surf); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 30px; }
.cz-about h2, .cz-doc h1 { font-size: 21px; font-weight: 700; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.cz-about h2 { font-size: 18px; }
.cz-doc h2 { font-size: 15px; font-weight: 700; color: var(--acc); margin: 22px 0 8px; }
.cz-about p, .cz-doc p, .cz-doc li { color: var(--ink2); font-size: 14px; line-height: 1.85; margin-bottom: 11px; }
.cz-about strong, .cz-doc strong { color: var(--ink); }
.cz-about { background: var(--surf); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 26px; }
.cz-doc ul { padding-left: 20px; }
.cz-doc a { color: var(--acc); font-weight: 600; }

/* FAQ */
.cz-faq { max-width: var(--wrap); margin: 28px auto 0; padding: 0 22px; }
.cz-faq__h { font-size: 18px; font-weight: 700; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.cz-faq__item { background: var(--surf); border: 1px solid var(--line); border-radius: var(--r-sm); margin-bottom: 9px; overflow: hidden; transition: var(--tr); }
.cz-faq__item[open] { border-color: var(--acc); }
.cz-faq__q { list-style: none; cursor: pointer; user-select: none; padding: 14px 46px 14px 18px; font-weight: 700; font-size: 14px; color: var(--ink); position: relative; }
.cz-faq__q::-webkit-details-marker { display: none; }
.cz-faq__q::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 20px; font-weight: 400; color: var(--acc); transition: var(--tr); }
.cz-faq__item[open] .cz-faq__q::after { transform: translateY(-50%) rotate(45deg); }
.cz-faq__a { padding: 2px 18px 16px; font-size: 13.5px; color: var(--ink2); line-height: 1.8; }

/* ════════ CHANNEL DETAIL ════════ */
.cz-hero { max-width: 900px; margin: 0 auto 18px; padding: 0 22px; display: flex; align-items: center; gap: 16px; }
.cz-hero__bar { width: 6px; height: 50px; border-radius: 4px; flex-shrink: 0; }
.cz-hero__meta { flex: 1; min-width: 0; }
.cz-hero__name { font-size: 28px; font-weight: 700; letter-spacing: -.5px; line-height: 1.1; }
.cz-hero__cat { font-size: 12.5px; color: var(--ink2); margin-top: 4px; text-transform: capitalize; }
.cz-hero__back { font-size: 13px; font-weight: 600; color: var(--ink2); white-space: nowrap; border: 1px solid var(--line); border-radius: var(--pill); padding: 8px 14px; transition: var(--tr); }
.cz-hero__back:hover { color: var(--acc); border-color: var(--acc); }

.cz-lead { max-width: 900px; margin: 0 auto 18px; padding: 16px 20px; background: var(--surf); border: 1px solid var(--line); border-left: 4px solid var(--acc); border-radius: var(--r); font-size: 14px; color: var(--ink2); line-height: 1.85; }
.cz-lead strong { color: var(--ink); }

.cz-nn { max-width: 900px; margin: 0 auto 18px; padding: 0 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cz-nn__box { background: var(--surf); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.cz-nn__box--now { border-left: 4px solid var(--live); }
.cz-nn__box--next { border-left: 4px solid var(--acc); }
.cz-nn__k { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; }
.cz-nn__box--now .cz-nn__k { color: var(--live); }
.cz-nn__box--next .cz-nn__k { color: var(--acc); }
.cz-nn__n { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 3px; }
.cz-nn__t { font-size: 12.5px; color: var(--ink2); font-variant-numeric: tabular-nums; }

.cz-sched { max-width: 900px; margin: 0 auto 24px; padding: 0 22px; }
.cz-row { display: flex; align-items: center; gap: 14px; padding: 11px 14px; background: var(--surf); border: 1px solid var(--line); border-radius: var(--r-sm); margin-bottom: 6px; transition: var(--tr); }
.cz-row:hover { border-color: var(--acc); }
.cz-row__t { font-size: 13px; font-weight: 800; color: var(--acc); font-variant-numeric: tabular-nums; background: var(--acc-soft); border-radius: var(--r-sm); padding: 6px 10px; flex-shrink: 0; width: 60px; text-align: center; }
.cz-row__n { flex: 1; font-size: 14px; color: var(--ink); }
.cz-row__air { display: inline-flex; align-items: center; gap: 5px; background: var(--live); color: #fff; font-size: 10px; font-weight: 800; padding: 3px 9px; border-radius: var(--pill); flex-shrink: 0; }
.cz-row.air { border-color: var(--live); background: var(--live-soft); }
.cz-row.air .cz-row__t { background: var(--live); color: #fff; }
.cz-row.air .cz-row__n { font-weight: 700; }
.cz-row.past { opacity: .45; }

.cz-prime { max-width: 900px; margin: 0 auto 24px; padding: 0 22px; }
.cz-prime__h { font-size: 17px; font-weight: 700; margin-bottom: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.cz-prime__lead { font-size: 13.5px; color: var(--ink2); margin-bottom: 14px; }
.cz-prime__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 9px; }
.cz-prime__i { display: flex; align-items: center; gap: 12px; background: var(--surf); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 11px 14px; transition: var(--tr); }
.cz-prime__i:hover { border-color: var(--acc); }
.cz-prime__t { font-size: 13px; font-weight: 700; color: var(--acc); font-variant-numeric: tabular-nums; min-width: 46px; flex-shrink: 0; }
.cz-prime__n { font-size: 13px; color: var(--ink); }

/* ════════ SEARCH ════════ */
.cz-search { max-width: 820px; margin: 0 auto 22px; padding: 0 22px; }
.cz-search__box { background: var(--surf); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.cz-search__h { font-size: 20px; font-weight: 700; margin-bottom: 16px; }
.cz-search__form { display: flex; gap: 10px; }
.cz-search__form input { flex: 1; background: var(--bg2); border: 1px solid var(--line); color: var(--ink); border-radius: var(--r-sm); padding: 12px 16px; font-size: 14px; outline: none; transition: var(--tr); font-family: inherit; }
.cz-search__form input:focus { border-color: var(--acc); box-shadow: 0 0 0 3px var(--acc-soft); }
.cz-search__form input::placeholder { color: var(--ink3); }
.cz-search__form button { background: linear-gradient(135deg, var(--acc), #fbbf24); border: none; color: #2a1505; border-radius: var(--r-sm); padding: 12px 26px; font-weight: 700; font-size: 14px; cursor: pointer; transition: var(--tr); font-family: inherit; }
.cz-search__form button:hover { box-shadow: 0 4px 16px rgba(251,146,60,.4); }
.cz-count { max-width: 820px; margin: 14px auto; padding: 0 22px; font-size: 13px; color: var(--ink2); }
.cz-count strong { color: var(--ink); }
.cz-hit { display: flex; align-items: center; gap: 13px; max-width: 820px; margin: 0 auto 8px; background: var(--surf); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 13px 16px; transition: var(--tr); }
.cz-hit:hover { border-color: var(--acc); transform: translateX(3px); }
.cz-hit__bar { width: 4px; height: 36px; border-radius: 3px; flex-shrink: 0; }
.cz-hit__ch { font-size: 12px; font-weight: 700; color: var(--ink2); width: 110px; flex-shrink: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cz-hit__t { font-size: 12px; font-weight: 800; color: var(--acc); width: 50px; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.cz-hit__n { flex: 1; font-size: 14px; color: var(--ink); }
.cz-hit__air { display: inline-flex; align-items: center; gap: 4px; background: var(--live); color: #fff; font-size: 10px; font-weight: 800; padding: 2px 8px; border-radius: var(--pill); }

/* forms */
.cz-form label { display: block; font-size: 11.5px; font-weight: 700; color: var(--ink2); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .4px; }
.cz-form input, .cz-form textarea { width: 100%; background: var(--bg2); border: 1px solid var(--line); color: var(--ink); border-radius: var(--r-sm); padding: 12px 14px; font-size: 14px; margin-bottom: 16px; outline: none; transition: var(--tr); font-family: inherit; }
.cz-form input:focus, .cz-form textarea:focus { border-color: var(--acc); box-shadow: 0 0 0 3px var(--acc-soft); }
.cz-form textarea { resize: vertical; min-height: 130px; }
.cz-btn { background: linear-gradient(135deg, var(--acc), #fbbf24); border: none; color: #2a1505; border-radius: var(--r-sm); padding: 12px 28px; font-size: 14px; font-weight: 700; cursor: pointer; transition: var(--tr); font-family: inherit; }
.cz-btn:hover { box-shadow: 0 6px 18px rgba(251,146,60,.4); }
.cz-msg { padding: 13px 16px; border-radius: var(--r-sm); font-size: 13.5px; font-weight: 500; margin-bottom: 18px; }
.cz-msg--ok { background: var(--acc-soft); border: 1px solid var(--acc); color: var(--acc); }
.cz-msg--err { background: var(--live-soft); border: 1px solid var(--live); color: var(--live); }

.cz-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: cz-pulse 1.3s ease-in-out infinite; }
@keyframes cz-pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.65); } }

/* footer */
.cz-foot { margin-top: auto; background: var(--bg2); border-top: 1px solid var(--line); padding: 30px 0; }
.cz-foot__in { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; text-align: center; }
.cz-foot__note { font-size: 12px; color: var(--ink3); line-height: 1.75; max-width: 880px; margin: 0 auto 16px; }
.cz-foot__nav { display: flex; justify-content: center; gap: 22px; margin-bottom: 12px; flex-wrap: wrap; }
.cz-foot__nav a { font-size: 13px; color: var(--ink2); font-weight: 600; transition: var(--tr); }
.cz-foot__nav a:hover { color: var(--acc); }
.cz-foot__copy { font-size: 11.5px; color: var(--ink3); }

/* responsive */
@media (max-width: 1000px) { .cz-grid { column-count: 2; } }
@media (max-width: 760px) {
  .cz-bar__in { gap: 10px; }
  .cz-nav, .cz-clock { display: none; }
  .cz-burger { display: inline-flex; align-items: center; justify-content: center; }
  .cz-nav { position: absolute; top: var(--top-h); left: 0; right: 0; flex-direction: column; gap: 4px; padding: 12px; background: var(--bg2); border-bottom: 1px solid var(--line); margin-left: 0; }
  .cz-nav.open { display: flex; }
  .cz-nav a { width: 100%; }
  .cz-find { order: 3; flex: 1; }
  .cz-find input { width: 100%; }
  .cz-grid { column-count: 1; }
  .cz-nn { grid-template-columns: 1fr; }
  .cz-intro__h { font-size: 21px; }
  .cz-hero__name { font-size: 22px; }
  .cz-prime__grid { grid-template-columns: 1fr; }
  .cz-search__form { flex-direction: column; }
}

/* ═══════════════ ADMIN PANEL — değiştirilmedi ═══════════════ */
.admin-layout { display: flex; min-height: 100vh; background: var(--cream); color: var(--text); }
.admin-sidebar { width: 220px; min-height: 100vh; background: var(--white); border-right: 1.5px solid var(--border); padding: 20px 0; flex-shrink: 0; display: flex; flex-direction: column; }
.admin-sidebar .brand { padding: 0 16px 16px; font-family: Georgia, serif; font-weight: 700; font-size: 15px; border-bottom: 1.5px solid var(--border); margin-bottom: 12px; color: var(--text); }
.admin-nav-link { display: flex; align-items: center; gap: 10px; padding: 10px 16px; color: var(--text-dim); font-size: 13px; font-weight: 500; text-decoration: none; transition: all var(--transition); border-left: 3px solid transparent; }
.admin-nav-link:hover { background: var(--orange-light); color: var(--text); text-decoration: none; }
.admin-nav-link.active { color: var(--orange-dark); background: var(--orange-light); border-left-color: var(--orange); }
.admin-content { flex: 1; padding: 30px; max-width: 1300px; color: var(--text); }
.admin-content h1 { font-family: Georgia, serif; font-size: 22px; margin-bottom: 24px; font-weight: 700; letter-spacing: -.3px; color: var(--text); }
.admin-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 18px; }
.admin-card h2 { font-size: 14px; margin-bottom: 18px; color: var(--text); font-weight: 700; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; color: var(--text-dim); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .3px; }
.form-ctrl { width: 100%; background: var(--cream); border: 1.5px solid var(--border); color: var(--text); border-radius: var(--radius); padding: 10px 14px; font-size: 13px; outline: none; transition: border-color var(--transition), box-shadow var(--transition); font-family: inherit; }
.form-ctrl:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(249,115,22,.15); }
select.form-ctrl { cursor: pointer; }
.btn { border: none; border-radius: var(--radius); padding: 9px 18px; font-size: 13px; font-weight: 600; cursor: pointer; transition: all var(--transition); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; font-family: inherit; }
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); box-shadow: 0 2px 8px rgba(249,115,22,.3); }
.btn-danger  { background: #dc2626; color: var(--white); }
.btn-sm      { padding: 6px 11px; font-size: 12px; }
.btn-ghost   { background: var(--cream); color: var(--text); border: 1.5px solid var(--border); }
.btn-ghost:hover { background: var(--border); }
.w-100 { width: 100%; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th { text-align: left; padding: 10px 14px; font-size: 11px; text-transform: uppercase; letter-spacing: .4px; color: var(--text-mute); border-bottom: 2px solid var(--border); font-weight: 700; }
.admin-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; color: var(--text); }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--orange-light); }
.admin-table code { background: var(--cream); padding: 3px 8px; border-radius: 4px; font-size: 11px; color: var(--orange-dark); }
.badge { display: inline-block; padding: 3px 10px; border-radius: 10px; font-size: 11px; font-weight: 700; }
.badge-green { background: #dcfce7; color: #15803d; }
.badge-red   { background: #fee2e2; color: #b91c1c; }
.admin-login { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--cream); color: var(--text); padding: 20px; }
.login-card { background: var(--white); border: 1.5px solid var(--border); border-radius: 12px; padding: 40px; width: 360px; box-shadow: 0 8px 30px rgba(0,0,0,.08); }
.login-card h2 { font-family: Georgia, serif; text-align: center; margin-bottom: 28px; font-size: 18px; font-weight: 700; color: var(--text); }
.alert { padding: 12px 16px; border-radius: var(--radius); font-size: 13px; font-weight: 500; margin-bottom: 16px; }
.alert-danger  { background: #fee2e2; border: 1px solid #fecaca; color: #b91c1c; }
.alert-success { background: #dcfce7; border: 1px solid #bbf7d0; color: #15803d; }
@media (max-width: 768px) {
  .admin-layout { flex-direction: column; }
  .admin-sidebar { width: 100%; min-height: auto; border-right: none; border-bottom: 1.5px solid var(--border); flex-direction: row; flex-wrap: wrap; padding: 10px; }
  .admin-sidebar .brand { width: 100%; border-bottom: none; padding-bottom: 8px; }
  .admin-nav-link { border-left: none; border-radius: 6px; flex: 1; justify-content: center; }
  .admin-content { padding: 16px; }
}
