/* Bonus Keyfim — kırmızı koyu tema */
:root {
  --bg-primary: #120a0d;
  --bg-secondary: #1a0e12;
  --bg-card: #221015;
  --bg-card-hover: #2b151b;
  --accent-main: #e11d48;
  --accent-light: #fb7185;
  --accent-cta: #dc2626;
  --accent-cta-hover: #b91c1c;
  --accent-subtle: rgba(225, 29, 72, 0.12);
  --border-color: #4a1d27;
  --text-primary: #fdf2f4;
  --text-secondary: #d6b4ba;
  --text-muted: #9c737b;
  --success: #22c55e;
  --radius: 12px;
  --header-h: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
}
img, video, svg { max-width: 100%; }
a { color: var(--accent-light); text-decoration: none; }
a:hover { color: var(--text-primary); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 14px; font-weight: 800; color: var(--text-primary); }
h1 { font-size: clamp(1.7rem, 5vw, 3rem); }
h2 { font-size: clamp(1.35rem, 3.4vw, 1.75rem); margin-top: 38px; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 16px; }
ul, ol { margin: 0 0 18px; padding-left: 22px; }
li { margin-bottom: 9px; }
strong { color: var(--text-primary); }
:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 3px; }
.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;
}
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 800;
  height: var(--header-h);
  background: rgba(18, 10, 13, 0.97);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 20px; }
.logo { font-size: 20px; font-weight: 800; color: var(--text-primary); letter-spacing: -0.3px; white-space: nowrap; }
.logo span { color: var(--accent-light); }
.logo small { color: var(--text-muted); font-size: 12px; font-weight: 600; margin-left: 6px; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: var(--text-secondary); font-size: 14px; font-weight: 600;
  padding: 7px 11px; border-radius: 6px; transition: background 0.15s, color 0.15s;
}
.main-nav a:hover, .main-nav a.active { color: var(--text-primary); background: var(--accent-subtle); }
.menu-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--border-color);
  background: var(--bg-card); border-radius: 8px; cursor: pointer; padding: 10px;
}
.menu-toggle span { display: block; height: 2px; background: var(--text-primary); margin: 4px 0; border-radius: 2px; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #120a0d 0%, #1a0e12 50%, #2a0f16 100%);
  border-bottom: 1px solid var(--border-color);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 55% at 50% 0%, rgba(225, 29, 72, 0.18), transparent 70%);
}
.hero-inner { position: relative; padding: 54px 20px 46px; text-align: center; }
.hero-small .hero-inner { padding: 40px 20px 36px; }
.pill {
  display: inline-block; padding: 5px 15px; margin-bottom: 16px;
  background: var(--accent-subtle); border: 1px solid var(--border-color);
  color: var(--accent-light); border-radius: 100px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.4px;
}
.hero h1 { margin-bottom: 14px; }
.hero h1 .accent { color: var(--accent-light); }
.hero-text { color: var(--text-secondary); max-width: 720px; margin: 0 auto 24px; font-size: 16.5px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.updated { color: var(--text-muted); font-size: 13px; margin: 18px 0 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 9px; border: 1px solid transparent;
  font-size: 15px; font-weight: 700; line-height: 1.2; cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
  text-align: center;
}
.btn-accent { background: var(--accent-cta); color: #fff; }
.btn-accent:hover { background: var(--accent-cta-hover); color: #fff; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--text-primary); border-color: var(--border-color); }
.btn-outline:hover { border-color: var(--accent-main); background: var(--accent-subtle); color: var(--text-primary); }
.btn-small { padding: 8px 14px; font-size: 13px; }
.btn-mini { padding: 4px 9px; font-size: 12px; background: var(--bg-card); color: var(--text-secondary); border: 1px solid var(--border-color); border-radius: 6px; cursor: pointer; font-weight: 600; }
.btn-mini:hover { color: var(--text-primary); border-color: var(--accent-main); }
.btn-danger { color: #fecaca; }
.btn-danger:hover { background: rgba(220, 38, 38, 0.2); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 28px 0 6px; }
.stat-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius); padding: 18px 14px; text-align: center; }
.stat-card strong { display: block; color: var(--accent-light); font-size: 2rem; line-height: 1.1; font-weight: 800; }
.stat-card span { color: var(--text-secondary); font-size: 13px; }

/* Sections */
.section { padding-top: 44px; padding-bottom: 8px; }
.section-alt { margin-top: 44px; padding: 48px 0; background: var(--bg-secondary); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.section-label { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 1.4px; color: var(--accent-light); background: var(--accent-subtle); border: 1px solid var(--border-color); border-radius: 100px; padding: 3px 12px; margin-bottom: 12px; }
.section-desc { color: var(--text-secondary); max-width: 780px; margin-bottom: 22px; }
.section-sub { margin-top: 42px; }

/* Announce */
.announce {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  margin: 26px 0 0; padding: 18px 22px;
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.16), rgba(34, 16, 21, 0.9));
  border: 1px solid var(--accent-main); border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(220, 38, 38, 0.14);
}
.announce-label { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.5px; color: var(--accent-light); }
.announce-bonus { display: block; font-size: 1.08rem; margin-top: 2px; }
.announce .btn { flex-shrink: 0; }

/* Brand cards */
.brand-list { display: flex; flex-direction: column; gap: 14px; }
.brand-card {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center;
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius); padding: 20px 22px;
  transition: border-color 0.18s, transform 0.18s, background 0.18s;
}
.brand-card:hover { border-color: var(--accent-main); background: var(--bg-card-hover); transform: translateY(-2px); }
.brand-featured {
  grid-template-columns: 1fr auto; padding: 26px 24px;
  border: 2px solid var(--accent-main);
  box-shadow: 0 0 0 1px rgba(251, 113, 133, 0.22), 0 12px 32px rgba(220, 38, 38, 0.22);
  background: linear-gradient(145deg, #2a1017 0%, #221015 60%);
}
.brand-ribbon {
  position: absolute; top: -11px; left: 20px;
  background: var(--accent-cta); color: #fff; font-size: 11.5px; font-weight: 800;
  letter-spacing: 0.5px; padding: 4px 12px; border-radius: 100px;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}
.brand-rank {
  width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%;
  background: var(--accent-subtle); border: 1px solid var(--border-color);
  color: var(--accent-light); font-weight: 800; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.brand-body { min-width: 0; }
.brand-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 5px; }
.brand-name { margin: 0; font-size: 1.22rem; }
.brand-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.2px;
  color: var(--accent-light); background: var(--accent-subtle);
  border-radius: 100px; padding: 3px 10px;
}
.tag-outline { background: transparent; border: 1px solid var(--border-color); color: var(--text-secondary); }
.brand-bonus { color: var(--text-primary); font-weight: 600; margin-bottom: 5px; }
.brand-cycle { color: var(--text-secondary); font-size: 14px; margin-bottom: 4px; }
.brand-cycle span { color: var(--text-muted); font-weight: 600; }
.brand-desc { color: var(--text-secondary); font-size: 14.5px; margin: 0; }
.brand-action { flex-shrink: 0; }

/* Tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--border-color); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; background: var(--bg-card); font-size: 14.5px; }
.compare-table th, .compare-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border-color); vertical-align: top; }
.compare-table thead th { background: var(--bg-secondary); color: var(--accent-light); font-size: 12.5px; letter-spacing: 0.6px; text-transform: uppercase; }
.compare-table tbody th { color: var(--text-primary); font-weight: 700; white-space: nowrap; }
.compare-table tbody td { color: var(--text-secondary); }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: 0; }

/* Content */
.content { color: var(--text-secondary); }
.content p { font-size: 16px; line-height: 1.78; }
.content .lead { color: var(--text-primary); font-size: 17px; }
.steps { counter-reset: step; list-style: none; padding-left: 0; }
.steps li { position: relative; padding-left: 44px; margin-bottom: 14px; color: var(--text-secondary); }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px; background: var(--accent-subtle); border: 1px solid var(--border-color);
  color: var(--accent-light); font-weight: 800; font-size: 13px;
}
.check-list { list-style: none; padding-left: 0; }
.check-list li { position: relative; padding-left: 26px; color: var(--text-secondary); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent-light); font-weight: 800; }
.example-box {
  margin: 6px 0 22px; padding: 16px 18px; border-radius: 10px;
  background: var(--accent-subtle); border: 1px solid var(--border-color);
  color: var(--text-primary); font-size: 15px;
}

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 10px; padding: 0 18px; }
.faq-item summary {
  cursor: pointer; padding: 15px 0; font-weight: 700; color: var(--text-primary);
  list-style: none; position: relative; padding-right: 26px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 13px; color: var(--accent-light); font-size: 20px; font-weight: 700; }
.faq-item[open] summary { color: var(--accent-light); }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding-bottom: 15px; color: var(--text-secondary); }
.faq-answer p { margin: 0; }

/* Related */
.related { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius); padding: 24px; }
.related h2 { margin-top: 0; font-size: 1.2rem; }
.related-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 22px; }
.related-list li { margin: 0; }
.related-list a { color: var(--text-secondary); font-size: 14.5px; }
.related-list a:hover { color: var(--accent-light); }

/* Responsible */
.responsible {
  margin: 34px 0 48px; padding: 18px 20px;
  background: var(--bg-secondary); border: 1px solid var(--border-color);
  border-left: 4px solid var(--accent-main); border-radius: 10px;
}
.responsible strong { display: block; color: var(--accent-light); margin-bottom: 4px; font-size: 14px; letter-spacing: 0.4px; }
.responsible p { margin: 0; color: var(--text-secondary); font-size: 14px; }

/* Breadcrumb */
.breadcrumb { margin-bottom: 18px; text-align: left; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; }
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: 6px; color: var(--text-muted); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent-light); }
.breadcrumb-sep { color: var(--text-muted); }

/* Page hero */
.page-hero {
  background: linear-gradient(135deg, #120a0d 0%, #1a0e12 50%, #2a0f16 100%);
  border-bottom: 1px solid var(--border-color); padding: 40px 0 38px;
}
.page-hero .breadcrumb { margin-bottom: 16px; }
.page-hero h1 { margin-bottom: 8px; }
.page-hero-bonus { color: var(--text-secondary); font-size: 17px; max-width: 780px; margin: 0; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 30px; }
.info-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius); padding: 16px 18px; }
.info-label { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: 0.8px; color: var(--text-muted); text-transform: uppercase; margin-bottom: 4px; }
.info-card strong { display: block; color: var(--text-primary); font-size: 15px; line-height: 1.45; }

/* Better alternative */
.better-alt {
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
  margin: 34px 0 10px; padding: 24px;
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.14), rgba(34, 16, 21, 0.92));
  border: 1px solid var(--accent-main); border-radius: var(--radius);
}
.better-alt h2 { margin: 4px 0 6px; font-size: 1.3rem; }
.better-alt p { margin: 0; color: var(--text-secondary); font-size: 14.5px; }
.better-alt .btn { flex-shrink: 0; }

/* Footer */
.site-footer { background: var(--bg-secondary); border-top: 1px solid var(--border-color); margin-top: 40px; padding: 48px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.footer-logo { display: inline-block; margin-bottom: 12px; }
.footer-col p { color: var(--text-muted); font-size: 14px; margin-bottom: 10px; }
.footer-col h2 { font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col ul a { color: var(--text-secondary); font-size: 14px; }
.footer-col ul a:hover { color: var(--accent-light); }
.footer-not {
  display: flex; align-items: flex-start; gap: 12px; margin-top: 34px;
  padding: 14px 16px; border: 1px solid var(--border-color); border-radius: 10px;
  background: var(--bg-card); color: var(--text-secondary); font-size: 13.5px;
}
.footer-not strong {
  flex-shrink: 0; background: var(--accent-cta); color: #fff;
  border-radius: 6px; padding: 2px 8px; font-size: 12px; letter-spacing: 0.5px;
}
.footer-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border-color); }
.footer-bottom p { margin: 0; color: var(--text-muted); font-size: 12.5px; }

/* Mobile bottom bar */
.mobile-bar { display: none; }
body { padding-bottom: 0; }

/* Popup */
.popup-overlay {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 16px; background: rgba(8, 4, 6, 0.78);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.popup-overlay[hidden] { display: none; }
.popup-box {
  position: relative; width: 100%; max-width: 420px; max-height: 92vh; overflow-y: auto;
  background: var(--bg-card); border: 1px solid var(--accent-main); border-radius: 14px;
  padding: 18px 18px 22px; text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  animation: popupIn 0.3s ease-out;
}
@keyframes popupIn { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }
.popup-close {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(18, 10, 13, 0.85); color: #fff; border: 1px solid var(--border-color);
  font-size: 24px; line-height: 1; cursor: pointer;
}
.popup-close:hover { background: var(--accent-cta); }
.bz-video { display: block; margin: 4px auto 14px; border-radius: 12px; overflow: hidden; background: #1a0e12; line-height: 0; }
.bz-video video { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 740; object-fit: cover; pointer-events: none; }
.popup-box h2 { font-size: 1.18rem; margin: 0 0 6px; }
.popup-bonus { color: var(--accent-light); font-weight: 800; font-size: 1.02rem; margin: 0 0 6px; }
.popup-text { color: var(--text-secondary); font-size: 13.5px; margin: 0 0 16px; }
.popup-cta { width: 100%; padding: 14px 20px; font-size: 16px; }
@media (prefers-reduced-motion: reduce) {
  .popup-box { animation: none; }
  html { scroll-behavior: auto; }
  .brand-card, .btn { transition: none; }
}

/* Responsive */
@media (max-width: 991px) {
  .main-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg-secondary); border-bottom: 1px solid var(--border-color);
    padding: 10px 16px 16px; display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 11px 12px; font-size: 15px; }
  .menu-toggle { display: block; }
  .mobile-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
    height: 62px; background: rgba(18, 10, 13, 0.98);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-color);
  }
  .mobile-bar a {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 2px; color: var(--text-muted); font-size: 10.5px; font-weight: 700;
  }
  .mobile-bar a.active, .mobile-bar a:hover { color: var(--accent-light); }
  .mobile-bar a.bonus-link { color: #fff; background: var(--accent-cta); }
  body { padding-bottom: 62px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero-inner { padding: 30px 20px 28px; }
  .hero-text { font-size: 15px; margin-bottom: 18px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .hero-actions .btn { padding: 11px 20px; font-size: 14.5px; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 20px; }
  .brand-card { grid-template-columns: auto 1fr; padding: 18px; gap: 12px; }
  .brand-featured { grid-template-columns: 1fr; }
  .brand-action { grid-column: 1 / -1; }
  .brand-action .btn { width: 100%; }
  .announce { flex-direction: column; align-items: flex-start; }
  .announce .btn { width: 100%; }
  .better-alt { flex-direction: column; align-items: flex-start; }
  .better-alt .btn { width: 100%; }
  .info-grid { grid-template-columns: 1fr; }
  .related-list { grid-template-columns: 1fr; }
  .footer-col h2 { font-size: 11px; }
}
@media (max-width: 420px) {
  .container { padding: 0 14px; }
  .hero h1 { font-size: 1.55rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Admin */
.admin-body { background: var(--bg-primary); color: var(--text-primary); }
.admin-login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.admin-login { width: 100%; max-width: 380px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 14px; padding: 30px 26px; }
.admin-login h1 { font-size: 1.35rem; margin: 18px 0 6px; }
.admin-muted { color: var(--text-muted); font-size: 14px; }
.admin-login label, .admin-form label, .admin-edit-form label { display: block; font-size: 12.5px; font-weight: 700; color: var(--text-secondary); margin: 12px 0 5px; }
.admin-login input, .admin-form input, .admin-form select, .admin-form textarea,
.admin-edit-form input, .admin-edit-form select, .admin-edit-form textarea {
  width: 100%; padding: 10px 12px; background: var(--bg-secondary); color: var(--text-primary);
  border: 1px solid var(--border-color); border-radius: 8px; font: inherit; font-size: 14px;
}
.admin-form textarea, .admin-edit-form textarea { resize: vertical; }
.admin-full { width: 100%; margin-top: 20px; }
.admin-small { margin-top: 18px; font-size: 13px; }
.admin-header { background: var(--bg-secondary); border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 50; }
.admin-header-inner { max-width: 1200px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.admin-header-actions { display: flex; align-items: center; gap: 10px; }
.admin-header-actions form { margin: 0; }
.admin-main { max-width: 1200px; margin: 26px auto 60px; padding: 0 20px; display: flex; flex-direction: column; gap: 22px; }
.admin-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 14px; padding: 22px; }
.admin-card h1 { font-size: 1.25rem; margin-bottom: 16px; }
.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; }
.admin-span-2 { grid-column: 1 / -1; }
.admin-form-actions { grid-column: 1 / -1; margin-top: 14px; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 860px; }
.admin-table th, .admin-table td { padding: 10px; border-bottom: 1px solid var(--border-color); text-align: left; vertical-align: top; }
.admin-table thead th { color: var(--accent-light); font-size: 12px; letter-spacing: 0.6px; text-transform: uppercase; }
.admin-table small { color: var(--text-muted); }
.admin-inline { display: inline-block; margin: 0 4px 4px 0; }
.admin-actions details summary { display: inline-block; list-style: none; cursor: pointer; }
.admin-edit-form { margin-top: 10px; width: 320px; background: var(--bg-secondary); border: 1px solid var(--border-color); padding: 12px; border-radius: 10px; }
.alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 18px; font-size: 14px; }
.alert-ok { background: rgba(34, 197, 94, 0.12); border: 1px solid rgba(34, 197, 94, 0.4); color: #bbf7d0; }
.alert-error { background: rgba(220, 38, 38, 0.12); border: 1px solid rgba(220, 38, 38, 0.45); color: #fecaca; }
@media (max-width: 768px) {
  .admin-form-grid { grid-template-columns: 1fr; }
  .admin-header-inner { flex-direction: column; align-items: flex-start; }
}
