/* ============================================================
   endcod — Yönetim Paneli Stili (admin.css)
   Panele özel, sade ve koyu tema. Ön yüz stilinden bağımsızdır.
   ============================================================ */

:root {
  --bg:      #0A0F1E;
  --surface: #111827;
  --card:    #1E2533;
  --text:    #F3F4F6;
  --muted:   #9CA3AF;
  --border:  #1F2937;
  --blue:    #2563EB;
  --cyan:    #06B6D4;
  --gradient: linear-gradient(135deg, #2563EB 0%, #06B6D4 100%);
  --radius: 12px;
  --radius-sm: 8px;
}

* { box-sizing: border-box; }
body.admin {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.admin a { color: inherit; text-decoration: none; }
body.admin img { display: block; max-width: 100%; }

/* ---------------- Genel yerleşim ---------------- */
.admin-layout { display: flex; min-height: 100vh; }

/* ---------------- Kenar menü ---------------- */
.admin-sidebar {
  width: 260px; flex-shrink: 0;
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh;
}
.admin-brand {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.admin-brand img { height: 28px; width: auto; }
.admin-brand span { display: block; font-size: 0.75rem; color: var(--muted); margin-top: 0.35rem; }

.admin-nav { flex: 1; padding: 1rem 0.75rem; display: flex; flex-direction: column; gap: 0.25rem; }
.admin-nav a {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.65rem 0.85rem; border-radius: var(--radius-sm);
  color: var(--muted); font-size: 0.9rem; font-weight: 500;
  transition: background .15s ease, color .15s ease;
}
.admin-nav a:hover { background: var(--card); color: var(--text); }
.admin-nav a.active { background: var(--gradient); color: #fff; }
.admin-nav a svg { flex-shrink: 0; }

.admin-sidebar-foot {
  padding: 1rem 1.25rem; border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 0.6rem;
}
.admin-viewsite { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--muted); }
.admin-viewsite:hover { color: var(--cyan); }
.admin-user { font-size: 0.9rem; font-weight: 600; }
.admin-logout { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: #f87171; }
.admin-logout:hover { color: #ef4444; }

/* ---------------- İçerik alanı ---------------- */
.admin-content { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.admin-topbar {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 1rem 1.5rem; border-bottom: 1px solid var(--border);
  background: var(--surface);
  position: sticky; top: 0; z-index: 20;
}
.admin-menu-btn { display: none; background: none; border: none; color: var(--text); cursor: pointer; line-height: 0; }
.admin-topbar-title { font-weight: 700; font-size: 1.05rem; }
.admin-main { padding: 1.5rem; flex: 1; }
@media (min-width: 768px) { .admin-main { padding: 2rem; } }

/* ---------------- Kartlar ---------------- */
.admin-cards {
  display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1.75rem;
}
@media (min-width: 640px) { .admin-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .admin-cards { grid-template-columns: repeat(4, 1fr); } }
.admin-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem;
}
.admin-card-hi { border-color: rgba(6,182,212,0.4); }
.admin-card-label { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.5rem; }
.admin-card-value { font-size: 2rem; font-weight: 800; }

/* ---------------- Paneller / tablolar ---------------- */
.admin-panel {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
}
.admin-panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.admin-panel-head h2 { font-size: 1.1rem; font-weight: 700; margin: 0; }
.admin-link { color: var(--cyan); font-size: 0.85rem; }
.admin-link:hover { text-decoration: underline; }
.admin-empty { color: var(--muted); font-size: 0.9rem; margin: 0; }

.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.admin-table th {
  text-align: left; font-weight: 500; color: var(--muted);
  padding: 0.5rem 0.75rem; border-bottom: 1px solid var(--border); white-space: nowrap;
}
.admin-table td { padding: 0.75rem; border-bottom: 1px solid rgba(255,255,255,0.04); }
.admin-muted { color: var(--muted); }

.admin-badge {
  display: inline-block; padding: 0.15rem 0.6rem; border-radius: 999px;
  font-size: 0.75rem; font-weight: 600;
}
.admin-badge-new { background: rgba(6,182,212,0.15); color: var(--cyan); }
.admin-badge-read { background: rgba(234,179,8,0.15); color: #eab308; }
.admin-badge-replied { background: rgba(34,197,94,0.15); color: #22c55e; }
.admin-badge-archived { background: rgba(107,114,128,0.2); color: #9ca3af; }

/* ---------------- "Yakında" ---------------- */
.admin-soon { text-align: center; padding: 3rem 1.5rem; }
.admin-soon-ico { display: inline-flex; color: var(--cyan); margin-bottom: 1rem; }
.admin-soon h2 { margin: 0 0 0.5rem; font-size: 1.25rem; }
.admin-soon p { color: var(--muted); margin: 0 0 1.25rem; }

/* ============================================================
   GİRİŞ EKRANI
   ============================================================ */
.admin-login-body {
  display: flex; align-items: center; justify-content: center;
  min-height: 100vh; padding: 1.5rem;
  background:
    radial-gradient(1200px 500px at 50% -10%, rgba(37,99,235,0.15), transparent),
    var(--bg);
}
.login-box {
  width: 100%; max-width: 400px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2.25rem 2rem;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
}
.login-logo { display: flex; justify-content: center; margin-bottom: 1.5rem; }
.login-logo img { height: 40px; width: auto; }
.login-box h1 { font-size: 1.35rem; font-weight: 800; text-align: center; margin: 0 0 0.35rem; }
.login-sub { text-align: center; color: var(--muted); font-size: 0.9rem; margin: 0 0 1.5rem; }

.login-error {
  background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3);
  color: #f87171; font-size: 0.85rem; padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm); margin-bottom: 1rem;
}
.login-form { display: flex; flex-direction: column; gap: 1rem; }
.login-field { display: flex; flex-direction: column; }
.login-field label { font-size: 0.85rem; font-weight: 500; margin-bottom: 0.4rem; color: var(--muted); }
.login-field input {
  padding: 0.7rem 0.9rem; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text); font: inherit;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.login-field input:focus {
  outline: none; border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(6,182,212,0.15);
}
.btn-login {
  margin-top: 0.5rem; padding: 0.75rem; border: none; cursor: pointer;
  background: var(--gradient); color: #fff; font: inherit; font-weight: 700;
  border-radius: var(--radius-sm); transition: transform .15s ease;
}
.btn-login:hover { transform: translateY(-1px); }

/* ============================================================
   MOBİL
   ============================================================ */
@media (max-width: 767px) {
  .admin-menu-btn { display: inline-flex; }
  .admin-sidebar {
    position: fixed; z-index: 40; left: 0; top: 0;
    transform: translateX(-100%); transition: transform .2s ease;
  }
  .admin-sidebar.open { transform: translateX(0); }
}

/* ============================================================
   MESAJLAR BÖLÜMÜ (6b)
   ============================================================ */
.admin-flash {
  padding: 0.75rem 1rem; margin-bottom: 1.25rem; border-radius: var(--radius-sm);
  font-size: 0.9rem;
}
.admin-flash-ok  { background: rgba(34,197,94,0.12); border: 1px solid rgba(34,197,94,0.3); color: #4ade80; }
.admin-flash-err { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: #f87171; }

.admin-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.admin-tab {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.45rem 0.9rem; border-radius: 999px;
  background: var(--card); border: 1px solid var(--border);
  color: var(--muted); font-size: 0.85rem; font-weight: 500;
  transition: border-color .15s ease, color .15s ease;
}
.admin-tab:hover { color: var(--text); }
.admin-tab.active { border-color: var(--cyan); color: var(--text); }
.admin-tab-count {
  background: rgba(255,255,255,0.08); border-radius: 999px;
  padding: 0.05rem 0.5rem; font-size: 0.75rem;
}
.admin-tab.active .admin-tab-count { background: rgba(6,182,212,0.2); color: var(--cyan); }

.admin-table-hover tbody tr { cursor: pointer; transition: background .12s ease; }
.admin-table-hover tbody tr:hover { background: rgba(255,255,255,0.03); }

.admin-back { display: inline-block; margin-bottom: 1rem; color: var(--muted); font-size: 0.9rem; }
.admin-back:hover { color: var(--cyan); }

/* Detay + yanıt ızgarası */
.msg-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: start; }
@media (min-width: 1024px) { .msg-grid { grid-template-columns: 1fr 1fr; } }

.msg-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1rem; gap: 1rem; }
.msg-head h2 { margin: 0 0 0.4rem; font-size: 1.25rem; }
.msg-fields { display: grid; gap: 0.75rem; margin: 0 0 1.25rem; padding: 0 0 1.25rem; border-bottom: 1px solid var(--border); }
.msg-fields > div { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.9rem; }
.msg-fields dt { color: var(--muted); margin: 0; }
.msg-fields dd { margin: 0; text-align: right; word-break: break-word; }
.msg-body-label { font-size: 0.8rem; color: var(--muted); margin-bottom: 0.5rem; }
.msg-body-text {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 1rem; line-height: 1.6; white-space: normal; font-size: 0.92rem;
}

.msg-status-form { display: flex; align-items: center; gap: 0.6rem; margin-top: 1.25rem; }
.msg-status-form label { font-size: 0.85rem; color: var(--muted); }
.msg-status-form select, .admin-field select {
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  border-radius: var(--radius-sm); padding: 0.4rem 0.6rem; font: inherit;
}
.msg-delete-form { margin-top: 1rem; }

.admin-btn-danger {
  background: transparent; border: 1px solid rgba(239,68,68,0.4); color: #f87171;
  padding: 0.5rem 1rem; border-radius: var(--radius-sm); font: inherit; cursor: pointer;
  transition: background .15s ease;
}
.admin-btn-danger:hover { background: rgba(239,68,68,0.1); }
.admin-btn-sm { padding: 0.4rem 0.8rem; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; }

/* Yanıt formu */
.msg-reply-title { margin: 0 0 0.25rem; font-size: 1.15rem; }
.msg-reply-sub { margin: 0 0 1.25rem; font-size: 0.85rem; }
.reply-form { display: flex; flex-direction: column; gap: 1rem; }
.admin-field { display: flex; flex-direction: column; }
.admin-field label { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.4rem; }
.admin-field input, .admin-field textarea, .reply-form input[type="text"], .reply-form textarea {
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  border-radius: var(--radius-sm); padding: 0.65rem 0.85rem; font: inherit;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.reply-form input:focus, .reply-form textarea:focus {
  outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(6,182,212,0.15);
}
.reply-form textarea { resize: vertical; }
.reply-quote { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; color: var(--muted); cursor: pointer; }
.reply-quote input { width: 1rem; height: 1rem; accent-color: var(--cyan); }
.admin-btn-primary {
  background: var(--gradient); color: #fff; border: none; cursor: pointer;
  padding: 0.7rem 1.2rem; border-radius: var(--radius-sm); font: inherit; font-weight: 700;
  transition: transform .15s ease;
}
.admin-btn-primary:hover { transform: translateY(-1px); }

/* Yanıt geçmişi */
.reply-history { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.reply-history h3 { font-size: 0.95rem; margin: 0 0 0.75rem; }
.reply-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0.9rem; margin-bottom: 0.75rem; }
.reply-item-head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.35rem; }
.reply-item-meta { font-size: 0.78rem; margin-bottom: 0.5rem; }
.reply-item-body { font-size: 0.88rem; line-height: 1.5; }
.reply-item-error { margin-top: 0.5rem; font-size: 0.8rem; color: #f87171; }

/* ============================================================
   İÇERİK DÜZENLEME (6c)
   ============================================================ */
.admin-intro { margin: 0 0 1.5rem; font-size: 0.9rem; }
.content-group { margin-bottom: 1.5rem; }
.content-group-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.content-group-head h2 { margin: 0; font-size: 1.1rem; }
.admin-btn-compact { padding: 0.5rem 1.1rem; font-size: 0.9rem; }

.content-fields { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .content-fields { grid-template-columns: repeat(2, 1fr); } }
.content-field-wide { grid-column: 1 / -1; }
.content-field label { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.4rem; }
.content-field input, .content-field textarea, .content-field select {
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  border-radius: var(--radius-sm); padding: 0.6rem 0.8rem; font: inherit; width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.content-field input:focus, .content-field textarea:focus, .content-field select:focus {
  outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(6,182,212,0.15);
}
.content-field textarea { resize: vertical; }
.content-hint { font-size: 0.75rem; color: var(--muted); margin-top: 0.35rem; }

/* ============================================================
   PAKETLER (6d)
   ============================================================ */
.pkg-service-title {
  font-size: 1.05rem; font-weight: 700; margin: 1.75rem 0 0.85rem;
  padding-bottom: 0.5rem; border-bottom: 1px solid var(--border); color: var(--cyan);
}
.pkg-card { margin-bottom: 1.25rem; }
.pkg-inactive { opacity: 0.65; }
.pkg-card-head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-bottom: 1.25rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border);
}
.pkg-card-title { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.pkg-card-title strong { font-size: 1.05rem; }
.pkg-card-title .admin-muted { font-size: 0.8rem; }

.pkg-fields { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .pkg-fields { grid-template-columns: repeat(2, 1fr); } }
.pkg-fields .content-field-wide { grid-column: 1 / -1; }
.pkg-fields label { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.4rem; }
.pkg-fields input, .pkg-fields textarea, .pkg-fields select {
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  border-radius: var(--radius-sm); padding: 0.6rem 0.8rem; font: inherit; width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.pkg-fields input:focus, .pkg-fields textarea:focus, .pkg-fields select:focus {
  outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(6,182,212,0.15);
}
.pkg-fields textarea { resize: vertical; line-height: 1.6; }

.pkg-toggles { grid-column: 1 / -1; flex-direction: row !important; flex-wrap: wrap; gap: 1.5rem; }
.pkg-check { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: var(--text); cursor: pointer; margin: 0; }
.pkg-check input { width: 1rem !important; height: 1rem; accent-color: var(--cyan); }

/* ============================================================
   SEO (6e)
   ============================================================ */
.seo-page-card { margin-bottom: 1.25rem; }
.seo-lang-tag {
  display: inline-block; margin-left: 0.5rem; padding: 0.1rem 0.5rem;
  border-radius: 6px; font-size: 0.7rem; font-weight: 700;
  background: rgba(6,182,212,0.15); color: var(--cyan); vertical-align: middle;
}

/* ============================================================
   YASAL METİN EDİTÖRÜ (6f)
   ============================================================ */
.legal-head-actions { display: flex; align-items: center; gap: 1rem; }
.legal-preview { white-space: nowrap; }
.legal-content-area {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.85rem; line-height: 1.6;
}
.admin-intro code {
  background: rgba(255,255,255,0.08); padding: 0.1rem 0.35rem;
  border-radius: 4px; font-size: 0.85em;
}

/* ============================================================
   Mesajlar — çoklu seçim + toplu işlem çubuğu
   ============================================================ */
.msg-check-col { width: 40px; text-align: center; }
.msg-check-col input[type="checkbox"] { width: 16px; height: 16px; cursor: pointer; accent-color: var(--accent, #2563EB); }

.admin-table-hover tbody td:not(.msg-check-col) { cursor: pointer; }

.msg-bulkbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  padding: 0.7rem 1rem;
  background: rgba(37,99,235,0.08);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm, 8px);
}
.msg-bulkbar-count { color: var(--text); font-size: 0.92rem; }
.msg-bulkbar-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* Mesajlar — arama kutusu */
.msg-search {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}
.msg-search-input {
  flex: 1;
  min-width: 220px;
  max-width: 420px;
  padding: 0.6rem 0.9rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm, 8px);
  color: var(--text);
  font-size: 0.92rem;
}
.msg-search-input:focus {
  outline: none;
  border-color: var(--accent, #2563EB);
}
.msg-search-clear { font-size: 0.88rem; white-space: nowrap; }
.msg-search-info {
  margin: 0 0 1rem;
  color: var(--muted, #94a3b8);
  font-size: 0.9rem;
}

/* Mesajlar — tekrar eden kişi uyarı rozeti */
.msg-dup-badge {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #b45309;
  background: rgba(245,158,11,0.15);
  border: 1px solid rgba(245,158,11,0.4);
  white-space: nowrap;
  vertical-align: middle;
}
/* ============================================================
   endcod — Reklam Modülü Stili (ads.css)
   admin.css'in değişkenlerini (koyu tema) kullanır.
   ============================================================ */

/* ---- Sihirbaz adım çubuğu ---- */
.ads-stepper { display: flex; gap: 0.4rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.ads-st {
  flex: 1; min-width: 140px; text-align: center;
  font-size: 0.8rem; font-weight: 600; color: var(--muted);
  padding: 0.6rem 0.4rem; border-bottom: 3px solid var(--border);
}
.ads-st.active { color: var(--cyan); border-color: var(--cyan); }
.ads-st.done { color: #4ade80; border-color: #22c55e; }

/* ---- Adım panelleri ---- */
.ads-step { display: none; }
.ads-step.visible { display: block; }
.ads-row { display: flex; gap: 1rem; align-items: flex-end; flex-wrap: wrap; }
.ads-row .admin-btn-primary { white-space: nowrap; }
.ads-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 1.25rem; gap: 1rem; }

.admin-btn-primary:disabled { opacity: 0.4; cursor: not-allowed; transform: none !important; }

.ads-btn-claude { background: linear-gradient(135deg, #7c3aed 0%, #06B6D4 100%); }
.ads-btn-publish { background: linear-gradient(135deg, #059669 0%, #06B6D4 100%); }

/* ---- Kelime tablosu rekabet rozetleri ---- */
.ads-comp-dusuk  { background: rgba(34,197,94,0.15); color: #4ade80; }
.ads-comp-orta   { background: rgba(234,179,8,0.15); color: #eab308; }
.ads-comp-yuksek { background: rgba(239,68,68,0.15); color: #f87171; }

/* ---- Metin alanları (başlık/açıklama) ---- */
.ads-copy-grid { display: grid; grid-template-columns: 1fr; gap: 0.6rem 1rem; }
@media (min-width: 900px) { .ads-copy-grid { grid-template-columns: 1fr 1fr; } }
.ads-copy-item { position: relative; }
.ads-copy-item input {
  width: 100%; padding: 0.6rem 3.2rem 0.6rem 0.8rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text); font: inherit; font-size: 0.9rem;
}
.ads-copy-item input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(6,182,212,0.15); }
.ads-copy-cnt {
  position: absolute; right: 0.7rem; top: 50%; transform: translateY(-50%);
  font-size: 0.72rem; color: var(--muted);
}
.ads-copy-cnt.over { color: #f87171; font-weight: 700; }
.ads-copy-label { font-size: 0.85rem; color: var(--muted); margin: 1rem 0 0.5rem; font-weight: 600; }

/* ---- Harita ---- */
#adsMap {
  height: 380px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--surface);
}
.leaflet-container { font: inherit; }

/* ---- Özet ---- */
.ads-summary { margin: 1.25rem 0 0; }
.ads-summary dt {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--muted); margin-top: 0.9rem;
}
.ads-summary dd { margin: 0.25rem 0 0; font-size: 0.92rem; line-height: 1.6; }
.ads-kw-pill {
  display: inline-block; background: rgba(6,182,212,0.12); color: var(--cyan);
  font-size: 0.8rem; font-weight: 600; border-radius: 999px;
  padding: 0.15rem 0.6rem; margin: 0.15rem 0.25rem 0.15rem 0;
}

/* ---- Sabit strateji kutusu ---- */
.ads-strategy {
  margin-top: 1.25rem; padding: 0.9rem 1.1rem;
  background: rgba(234,179,8,0.07); border: 1px solid rgba(234,179,8,0.25);
  border-radius: var(--radius-sm); font-size: 0.85rem; line-height: 1.7; color: var(--text);
}

/* ---- Demo modu bilgisi (modül ana sayfası) ---- */
.ads-demo-note {
  background: rgba(234,179,8,0.08); border: 1px solid rgba(234,179,8,0.3); color: #eab308;
}
.ads-demo-note a { font-weight: 600; }

/* ---- Sonuç ekranı ---- */
.ads-success { text-align: center; padding: 2.5rem 1rem; }
.ads-success-ico { font-size: 2.5rem; margin-bottom: 0.75rem; }
.ads-success h2 { margin: 0 0 0.5rem; }
.ads-success p { max-width: 540px; margin: 0 auto; line-height: 1.6; }

/* ---- Yüklenme animasyonu ---- */
.ads-spin {
  display: inline-block; width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.9); border-top-color: transparent;
  border-radius: 50%; animation: ads-sp 0.7s linear infinite;
  vertical-align: -2px; margin-right: 0.45rem;
}
@keyframes ads-sp { to { transform: rotate(360deg); } }

/* ============================================================
   Bağımsız panel ekleri
   ============================================================ */
.brand-txt { font-size: 1.15rem; font-weight: 800; letter-spacing: 0.02em; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mode-badge { display: inline-block; font-size: 0.7rem; font-weight: 700; color: #eab308; background: rgba(234,179,8,0.12); border: 1px solid rgba(234,179,8,0.35); border-radius: 999px; padding: 0.15rem 0.6rem; }
.ads-isbar { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; height: 20px; min-width: 90px; overflow: hidden; }
.ads-isbar-fill { position: absolute; inset: 0 auto 0 0; background: var(--gradient); opacity: 0.55; }
.ads-isbar span { position: relative; display: block; text-align: center; font-size: 0.72rem; font-weight: 700; line-height: 20px; }
.qs-badge { display: inline-block; min-width: 2rem; text-align: center; font-weight: 700; border-radius: 6px; padding: 0.15rem 0.4rem; font-size: 0.8rem; }
.qs-low { background: rgba(239,68,68,0.15); color: #f87171; }
.qs-mid { background: rgba(234,179,8,0.15); color: #eab308; }
.qs-high { background: rgba(34,197,94,0.15); color: #4ade80; }
.ai-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1.1rem 1.25rem; line-height: 1.7; font-size: 0.92rem; white-space: pre-line; }
.ai-actions { margin-top: 0.9rem; }
