/* Yönetim paneli */
:root { --a-accent: #4f46e5; --a-bg: #f4f6fb; --a-card: #fff; --a-text: #1e293b; --a-muted: #64748b; --a-border: #e6e9f0; --a-side: #0f172a; --a-side-text: #cbd5e1; --a-radius: 12px; --a-shadow: 0 1px 2px rgba(15,23,42,.04), 0 8px 24px -12px rgba(15,23,42,.12); }
* { box-sizing: border-box; }
body { margin: 0; font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-size: 14px; color: var(--a-text); background: var(--a-bg); line-height: 1.5; }
a { color: var(--a-accent); text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; color: #0f172a; }
h4 { margin: 20px 0 8px; font-size: 14px; }
input, select, textarea, button { font: inherit; color: inherit; }
input[type=text], input[type=email], input[type=url], input[type=number], input[type=password], input[type=search], input[type=date], input[type=datetime-local], input[type=tel], select, textarea {
  width: 100%; padding: 9px 12px; border: 1px solid #d7dce5; border-radius: 8px; background: #fff; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--a-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--a-accent) 18%, transparent); }
textarea { resize: vertical; }
code, .a-mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12.5px; }
[hidden] { display: none !important; }

.a-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 14px; border-radius: 8px; border: 1px solid transparent; font-weight: 600; font-size: 13px; cursor: pointer; white-space: nowrap; background: #fff; color: var(--a-text); transition: all .15s; line-height: 1.3; }
.a-btn i { font-size: 16px; }
.a-btn-primary { background: var(--a-accent); color: #fff; }
.a-btn-primary:hover { filter: brightness(1.08); color: #fff; }
.a-btn-light { background: #fff; border-color: #d7dce5; color: var(--a-text); }
.a-btn-light:hover { border-color: var(--a-accent); color: var(--a-accent); }
.a-btn-ghost { background: transparent; color: var(--a-muted); }
.a-btn-danger-ghost { background: transparent; color: #dc2626; border-color: transparent; }
.a-btn-danger-ghost:hover { background: #fef2f2; }
.a-btn-whatsapp { background: #25d366; color: #fff; }
.a-btn-whatsapp:hover { color: #fff; filter: brightness(.95); }
.a-btn-sm { padding: 6px 10px; font-size: 12.5px; }
.a-btn-xs { padding: 5px 7px; font-size: 12px; }
.a-btn-lg { padding: 12px 18px; font-size: 15px; }
.a-btn-block { width: 100%; }

/* Düzen */
.a-sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: 256px; background: var(--a-side); color: var(--a-side-text); display: flex; flex-direction: column; z-index: 50; transition: transform .25s; }
.a-brand { padding: 18px 18px 14px; border-bottom: 1px solid rgba(255,255,255,.06); }
.a-brand-link { display: flex; align-items: center; gap: 10px; color: #fff; }
.a-brand-mark { width: 38px; height: 38px; border-radius: 10px; background: var(--a-accent); color: #fff; display: grid; place-items: center; font-size: 20px; flex-shrink: 0; }
.a-brand-lg { width: 64px; height: 64px; font-size: 32px; border-radius: 16px; }
.a-brand-text { display: flex; flex-direction: column; min-width: 0; }
.a-brand-text strong { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-brand-text small { font-size: 11px; color: #94a3b8; }
.a-nav { flex: 1; overflow-y: auto; padding: 10px 10px 20px; }
.a-nav::-webkit-scrollbar { width: 6px; }
.a-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 3px; }
.a-nav-title { font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; color: #64748b; padding: 16px 10px 6px; font-weight: 700; }
.a-nav-link { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--a-side-text); font-weight: 500; margin-bottom: 1px; }
.a-nav-link i { font-size: 18px; opacity: .85; }
.a-nav-link:hover { background: rgba(255,255,255,.06); color: #fff; }
.a-nav-link.is-active { background: var(--a-accent); color: #fff; }
.a-nav-link.is-sub { padding-left: 38px; font-size: 13px; }
.a-nav-link.is-sub i { font-size: 15px; }
.a-badge { margin-left: auto; background: #ef4444; color: #fff; font-style: normal; font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 999px; }
.a-sidebar-foot { padding: 12px 18px; border-top: 1px solid rgba(255,255,255,.06); }
.a-sidebar-foot a { color: #94a3b8; display: flex; gap: 8px; align-items: center; }
.a-sidebar-foot a:hover { color: #fff; }
.a-main { margin-left: 256px; min-height: 100vh; display: flex; flex-direction: column; }
.a-topbar { position: sticky; top: 0; z-index: 40; height: 60px; background: rgba(255,255,255,.9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--a-border); display: flex; align-items: center; gap: 14px; padding: 0 24px; }
.a-menu-btn { display: none; border: 0; background: transparent; font-size: 22px; padding: 6px; }
.a-top-search { position: relative; flex: 1; max-width: 460px; }
.a-top-search i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--a-muted); }
.a-top-search input { padding-left: 36px; background: var(--a-bg); border-color: transparent; }
.a-top-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.a-icon-btn { position: relative; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: var(--a-muted); font-size: 19px; }
.a-icon-btn:hover { background: var(--a-bg); color: var(--a-text); }
.a-icon-btn em { position: absolute; top: 8px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: #ef4444; border: 2px solid #fff; }
.a-user { position: relative; }
.a-user-btn { display: flex; align-items: center; gap: 8px; border: 0; background: transparent; padding: 4px 6px; border-radius: 10px; cursor: pointer; }
.a-user-btn:hover { background: var(--a-bg); }
.a-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--a-accent); color: #fff; display: grid; place-items: center; font-weight: 700; }
.a-user-name { font-weight: 600; }
.a-dropdown { position: absolute; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--a-border); border-radius: 10px; box-shadow: var(--a-shadow); min-width: 210px; padding: 6px; display: none; }
.a-user.is-open .a-dropdown { display: block; }
.a-dropdown a, .a-dropdown button { display: flex; width: 100%; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 6px; color: var(--a-text); border: 0; background: transparent; cursor: pointer; text-align: left; }
.a-dropdown a:hover, .a-dropdown button:hover { background: var(--a-bg); }
.a-dropdown form { margin: 0; }
.a-demo-bar { background: #fffbeb; color: #92400e; border-bottom: 1px solid #fde68a; padding: 9px 24px; display: flex; gap: 8px; align-items: center; }
.a-content { padding: 24px; flex: 1; width: 100%; max-width: 1480px; }
.a-page-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.a-page-head h1 { font-size: 22px; }
.a-page-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.a-footer { display: flex; justify-content: space-between; padding: 14px 24px; color: var(--a-muted); font-size: 12px; border-top: 1px solid var(--a-border); }
.a-overlay { display: none; }
@media (max-width: 960px) {
  .a-sidebar { transform: translateX(-100%); }
  body.side-open .a-sidebar { transform: none; }
  body.side-open .a-overlay { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 45; }
  .a-main { margin-left: 0; }
  .a-menu-btn { display: block; }
  .a-user-name { display: none; }
  .a-content { padding: 16px; }
}

/* Kartlar */
.a-card { background: var(--a-card); border: 1px solid var(--a-border); border-radius: var(--a-radius); box-shadow: var(--a-shadow); margin-bottom: 18px; }
.a-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--a-border); flex-wrap: wrap; }
.a-card-head h3 { font-size: 15px; display: flex; align-items: center; gap: 8px; }
.a-card-head h3 i { color: var(--a-accent); }
.a-card-body { padding: 18px; }
.a-card-foot { display: flex; gap: 8px; padding: 14px 18px; border-top: 1px solid var(--a-border); background: #fafbfd; border-radius: 0 0 var(--a-radius) var(--a-radius); flex-wrap: wrap; }
.a-narrow { max-width: 820px; }
.a-link { font-weight: 600; font-size: 13px; }
.a-muted { color: var(--a-muted); }
.a-small { font-size: 12px; }
small.a-muted { display: block; font-size: 12px; margin-top: 2px; }
.a-nowrap { white-space: nowrap; }
.a-ok { color: #16a34a; }
.a-bad { color: #dc2626; }
.a-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1100px) { .a-grid-2 { grid-template-columns: 1fr; } }
.a-alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; margin-bottom: 16px; border: 1px solid; }
.a-alert i { font-size: 18px; }
.a-alert-success { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.a-alert-error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.a-alert-info { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }
.a-note { background: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 10px; padding: 12px 14px; color: var(--a-muted); margin: 10px 0; }
.a-pill { display: inline-block; padding: 2px 9px; border-radius: 999px; background: #eef2f7; font-size: 12px; font-weight: 600; color: #334155; }
.a-pill-warn { background: #fef3c7; color: #92400e; }

/* Dashboard */
.a-welcome { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.a-welcome h2 { font-size: 20px; }
.a-welcome p { margin: 4px 0 0; color: var(--a-muted); }
.a-quick { display: flex; gap: 8px; flex-wrap: wrap; }
.a-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; }
.a-stats-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .a-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .a-stats, .a-stats-3 { grid-template-columns: 1fr; } }
.a-stat { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--a-border); border-radius: var(--a-radius); padding: 18px; box-shadow: var(--a-shadow); color: var(--a-text); }
.a-stat:hover { border-color: var(--a-accent); }
.a-stat-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-size: 24px; flex-shrink: 0; }
.a-stat-body { display: flex; flex-direction: column; }
.a-stat-body strong { font-size: 24px; line-height: 1.1; }
.a-stat-body span { color: var(--a-muted); font-weight: 500; }
.a-stat-body small { color: #94a3b8; font-size: 12px; }
.tone-blue .a-stat-icon { background: #dbeafe; color: #1d4ed8; }
.tone-green .a-stat-icon { background: #dcfce7; color: #15803d; }
.tone-orange .a-stat-icon { background: #ffedd5; color: #c2410c; }
.tone-purple .a-stat-icon { background: #ede9fe; color: #6d28d9; }
.a-chart { display: flex; align-items: flex-end; gap: 6px; height: 190px; }
.a-chart-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; }
.a-chart-bars { flex: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 3px; }
.a-chart-bars span { width: 42%; border-radius: 4px 4px 0 0; min-height: 0; }
.bar-v { background: color-mix(in srgb, var(--a-accent) 75%, #fff); }
.bar-q { background: #f59e0b; }
.a-chart-col small { color: var(--a-muted); font-size: 11px; }
.a-legend { font-size: 12px; color: var(--a-muted); display: flex; align-items: center; gap: 6px; }
.a-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-left: 6px; }
.lg-v { background: var(--a-accent); }
.lg-q { background: #f59e0b; }
.a-seo-health { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; }
.a-seo-health > .a-btn { grid-column: 1 / -1; justify-self: start; }
.a-gauge { width: 140px; height: 140px; border-radius: 50%; background: conic-gradient(var(--a-accent) calc(var(--val) * 1%), #e9edf5 0); display: grid; place-items: center; }
.a-gauge > div { width: 110px; height: 110px; border-radius: 50%; background: #fff; display: grid; place-items: center; align-content: center; }
.a-gauge strong { font-size: 30px; line-height: 1; }
.a-gauge small { color: var(--a-muted); }
.a-list-plain { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.a-list-plain li { display: flex; gap: 8px; align-items: center; color: var(--a-muted); }
.a-list-plain i { color: var(--a-accent); }
.a-content-counts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-bottom: 18px; }
.a-mini { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--a-border); border-radius: 10px; padding: 12px 14px; color: var(--a-text); }
.a-mini i { font-size: 20px; color: var(--a-accent); }
.a-mini strong { font-size: 18px; }
.a-mini span { color: var(--a-muted); font-size: 12.5px; }
.a-mini:hover { border-color: var(--a-accent); }
.a-rank { list-style: none; margin: 0; padding: 0; counter-reset: r; }
.a-rank li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--a-border); counter-increment: r; }
.a-rank li::before { content: counter(r); width: 22px; color: var(--a-muted); font-weight: 700; }
.a-rank li a { flex: 1; color: var(--a-text); }
.a-kv { list-style: none; margin: 0; padding: 0; }
.a-kv li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid #f1f4f8; }
.a-kv li span { color: var(--a-muted); }
.a-kv-lg li strong { text-align: right; max-width: 60%; }

/* Tablolar */
.a-toolbar { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--a-border); flex-wrap: wrap; }
.a-toolbar select { width: auto; min-width: 150px; }
.a-toolbar-info { margin-left: auto; color: var(--a-muted); font-size: 12.5px; }
.a-push-right { margin-left: auto; }
.a-search { position: relative; min-width: 220px; flex: 0 1 300px; }
.a-search i { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--a-muted); }
.a-search input { padding-left: 32px; }
.a-date { display: flex; align-items: center; gap: 6px; color: var(--a-muted); font-size: 12.5px; }
.a-date input { width: auto; }
.a-table-wrap { overflow-x: auto; }
.a-table { width: 100%; border-collapse: collapse; }
.a-table th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--a-muted); font-weight: 700; padding: 10px 12px; background: #fafbfd; border-bottom: 1px solid var(--a-border); white-space: nowrap; }
.a-table td { padding: 10px 12px; border-bottom: 1px solid #f0f2f7; vertical-align: middle; }
.a-table tbody tr:hover { background: #fafbff; }
.a-table tr.is-unread td { background: #f8faff; }
.a-table tr.is-unread .a-row-title { font-weight: 700; }
.a-table-compact td { padding: 9px 14px; }
.col-check { width: 36px; }
.col-actions { width: 1%; white-space: nowrap; text-align: right; }
.col-image, .col-logo { width: 64px; }
.col-sort { width: 80px; }
.a-row-title { font-weight: 600; color: var(--a-text); }
.a-row-title:hover { color: var(--a-accent); }
.a-thumb { width: 52px; height: 40px; object-fit: cover; border-radius: 6px; display: block; background: #eef2f7; }
.a-thumb-empty { display: grid; place-items: center; color: #94a3b8; }
.a-actions { display: flex; gap: 4px; justify-content: flex-end; }
.a-sort-input { width: 64px !important; padding: 5px 8px !important; }
.a-empty { text-align: center; padding: 32px !important; color: var(--a-muted); }
.a-empty i { font-size: 20px; vertical-align: middle; }
.a-table-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; flex-wrap: wrap; }
.a-bulk { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.a-bulk select { width: auto; }
.a-pager { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 10px; }
.a-pager a { min-width: 32px; height: 32px; display: grid; place-items: center; border-radius: 7px; border: 1px solid var(--a-border); color: var(--a-text); padding: 0 8px; }
.a-pager a.is-active { background: var(--a-accent); border-color: var(--a-accent); color: #fff; }
.a-toggle { width: 38px; height: 22px; border-radius: 999px; border: 0; background: #cbd5e1; position: relative; cursor: pointer; transition: background .2s; padding: 0; }
.a-toggle span { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.a-toggle.is-on { background: #22c55e; }
.a-toggle.is-on span { transform: translateX(16px); }
.a-star { border: 0; background: transparent; font-size: 18px; color: #cbd5e1; cursor: pointer; }
.a-star.is-on { color: #f59e0b; }
.a-seo { display: inline-grid; place-items: center; width: 36px; height: 26px; border-radius: 6px; font-weight: 700; font-size: 12.5px; }
.a-seo-good { background: #dcfce7; color: #15803d; }
.a-seo-mid { background: #fef3c7; color: #b45309; }
.a-seo-bad { background: #fee2e2; color: #b91c1c; }
.a-status { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #eef2f7; color: #334155; white-space: nowrap; }
.status-yeni { background: #dbeafe; color: #1e40af; }
.status-inceleniyor, .status-hazirlaniyor, .status-devam { background: #fef3c7; color: #92400e; }
.status-teklif-verildi, .status-onaylandi, .status-gonderildi, .status-planlanan { background: #ede9fe; color: #5b21b6; }
.status-kabul, .status-tamamlandi { background: #dcfce7; color: #166534; }
.status-red, .status-iptal { background: #fee2e2; color: #991b1b; }
.a-tabs-inline { display: flex; gap: 4px; margin-bottom: 14px; flex-wrap: wrap; }
.a-tabs-inline a { padding: 7px 12px; border-radius: 8px; color: var(--a-muted); font-weight: 600; background: transparent; }
.a-tabs-inline a em { font-style: normal; background: #e2e8f0; color: #334155; font-size: 11px; padding: 1px 7px; border-radius: 999px; margin-left: 4px; }
.a-tabs-inline a.is-active { background: #fff; color: var(--a-text); box-shadow: var(--a-shadow); }
.a-issues { margin: 0; padding-left: 16px; color: var(--a-muted); font-size: 12.5px; }
.a-search-results { list-style: none; margin: 0; padding: 0; }
.a-search-results a { display: flex; align-items: center; gap: 10px; padding: 10px; border-bottom: 1px solid var(--a-border); color: var(--a-text); }
.a-search-results a:hover { background: var(--a-bg); }
.a-search-results em { margin-left: auto; font-style: normal; color: var(--a-muted); font-size: 12px; }

/* Formlar */
.a-form-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
@media (max-width: 1100px) { .a-form-grid { grid-template-columns: 1fr; } }
.a-sticky { position: sticky; top: 76px; }
@media (max-width: 1100px) { .a-sticky { position: static; } }
.f-group { margin-bottom: 16px; }
.f-label { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13px; margin-bottom: 6px; color: #334155; }
.f-label b { color: #dc2626; }
.f-label small { font-weight: 400; color: var(--a-muted); }
.f-help { display: block; color: var(--a-muted); font-size: 12px; margin-top: 5px; }
.f-code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12.5px; background: #0f172a !important; color: #e2e8f0; border-color: #0f172a !important; }
.a-fields-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 16px; }
.a-fields-grid > .f-group { grid-column: 1 / -1; }
.a-fields-grid > .f-col-half { grid-column: span 3; }
.a-fields-grid > .f-col-third { grid-column: span 2; }
.a-card-body > .f-col-half { display: inline-block; width: calc(50% - 8px); vertical-align: top; }
.a-card-body > .f-col-half + .f-col-half { margin-left: 12px; }
@media (max-width: 700px) { .a-fields-grid > .f-col-half, .a-fields-grid > .f-col-third { grid-column: 1 / -1; } .a-card-body > .f-col-half { width: 100%; margin-left: 0 !important; } }
.f-full { grid-column: 1 / -1; }
.slug-input { display: flex; align-items: stretch; border: 1px solid #d7dce5; border-radius: 8px; overflow: hidden; }
.slug-input span { background: #f1f4f9; color: var(--a-muted); padding: 9px 10px; font-size: 12.5px; white-space: nowrap; max-width: 50%; overflow: hidden; text-overflow: ellipsis; direction: rtl; }
.slug-input input { border: 0; border-radius: 0; }
.switch { display: flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.switch input[type=checkbox] { position: absolute; opacity: 0; width: 0; height: 0; }
.switch-ui { width: 38px; height: 22px; border-radius: 999px; background: #cbd5e1; position: relative; flex-shrink: 0; transition: background .2s; }
.switch-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 2px rgba(0,0,0,.25); }
.switch input:checked + .switch-ui { background: var(--a-accent); }
.switch input:checked + .switch-ui::after { transform: translateX(16px); }
.switch input:focus-visible + .switch-ui { box-shadow: 0 0 0 3px color-mix(in srgb, var(--a-accent) 25%, transparent); }
.switch-label { font-weight: 500; }
.inline-check { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; color: #334155; }
.img-field { border: 1px dashed #cbd5e1; border-radius: 10px; padding: 10px; background: #fafbfd; }
.img-preview { aspect-ratio: 16/10; border-radius: 8px; background: #eef2f7; display: grid; place-items: center; overflow: hidden; color: #94a3b8; text-align: center; margin-bottom: 8px; }
.img-preview i { font-size: 30px; display: block; }
.img-preview span { font-size: 12px; }
.img-preview img { width: 100%; height: 100%; object-fit: contain; background: repeating-conic-gradient(#f1f5f9 0 25%, #fff 0 50%) 50% / 16px 16px; }
.doc-preview { padding: 10px; background: #fff; border-radius: 8px; margin-bottom: 8px; }
.doc-preview i { color: #dc2626; font-size: 18px; vertical-align: middle; }
.img-actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.img-actions label { cursor: pointer; }
.gallery-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; margin-bottom: 10px; }
.gallery-list:empty { display: none; }
.gallery-thumb { position: relative; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: #eef2f7; cursor: grab; border: 2px solid transparent; }
.gallery-thumb.is-dragging { opacity: .4; }
.gallery-thumb.is-over { border-color: var(--a-accent); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.gallery-thumb button { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(15,23,42,.75); color: #fff; display: grid; place-items: center; cursor: pointer; padding: 0; }
.gallery-thumb.is-new::after { content: "Yeni"; position: absolute; left: 4px; bottom: 4px; background: var(--a-accent); color: #fff; font-size: 10px; padding: 1px 6px; border-radius: 4px; }
.repeater { border: 1px solid var(--a-border); border-radius: 10px; padding: 10px; background: #fafbfd; }
.rep-rows { display: grid; gap: 8px; margin-bottom: 10px; }
.rep-rows:empty { margin: 0; }
.rep-row { display: flex; gap: 8px; align-items: center; }
.rep-kv input:first-child { flex: 0 0 38%; }
.rep-doc input[type=text] { flex: 1; }
.rep-doc input[type=file] { flex: 1; font-size: 12px; }
.rep-file { flex: 1; display: flex; align-items: center; gap: 6px; font-size: 12.5px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.rep-file i { color: #dc2626; }
.rep-cards { gap: 10px; }
.rep-card { background: #fff; border: 1px solid var(--a-border); border-radius: 10px; padding: 10px; align-items: flex-start; }
.rep-card-fields { flex: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; }
.rep-field { display: flex; flex-direction: column; gap: 3px; font-size: 12px; color: var(--a-muted); font-weight: 600; }
.rep-field.rep-textarea { grid-column: 1 / -1; }
.rep-field.rep-checkbox { flex-direction: row; align-items: center; gap: 6px; align-self: end; padding-bottom: 8px; }
.rep-card-actions { display: flex; flex-direction: column; gap: 2px; }
.icon-input { display: flex; align-items: center; gap: 6px; }
.icon-input > i { width: 38px; height: 38px; border-radius: 8px; background: #eef2f7; display: grid; place-items: center; font-size: 20px; color: var(--a-accent); flex-shrink: 0; }
.color-input { display: flex; gap: 8px; }
.color-input input[type=color] { width: 46px; height: 38px; padding: 2px; border: 1px solid #d7dce5; border-radius: 8px; background: #fff; flex-shrink: 0; }
.a-meta { color: var(--a-muted); font-size: 12px; margin: 10px 0 0; line-height: 1.8; }
.a-inline-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.a-inline-form input { width: auto; flex: 1; min-width: 140px; }
.a-input-full { margin-bottom: 12px; }
.a-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.a-check-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid #d7dce5; border-radius: 8px; cursor: pointer; background: #fff; }
.a-check-chip:has(input:checked) { border-color: var(--a-accent); background: color-mix(in srgb, var(--a-accent) 8%, #fff); }
.a-title-row { display: grid; grid-template-columns: 180px 1fr 1.4fr; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--a-border); }
@media (max-width: 800px) { .a-title-row { grid-template-columns: 1fr; } }

/* Editör */
.editor-wrap { border: 1px solid #d7dce5; border-radius: 10px; overflow: hidden; background: #fff; position: relative; }
.editor-wrap .ql-toolbar.ql-snow { border: 0; border-bottom: 1px solid var(--a-border); background: #fafbfd; padding-right: 80px; }
.editor-wrap .ql-container.ql-snow { border: 0; font-size: 15px; font-family: inherit; }
.editor-wrap .ql-editor { min-height: 320px; max-height: 70vh; overflow-y: auto; line-height: 1.7; }
.editor-wrap .ql-editor h2 { font-size: 1.45em; margin: 1em 0 .4em; }
.editor-wrap .ql-editor h3 { font-size: 1.2em; margin: 1em 0 .4em; }
.editor-toolbar-extra { position: absolute; right: 8px; top: 7px; z-index: 2; }
.editor-source { display: none; border: 0 !important; border-radius: 0 !important; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12.5px; min-height: 360px; }
.editor-wrap.is-html .editor-source { display: block; }
.editor-wrap.is-html .editor-area, .editor-wrap.is-html .ql-toolbar { display: none; }
.no-quill .editor-source { display: block; }

/* SEO kutusu */
.seo-box .a-card-head { background: linear-gradient(90deg, color-mix(in srgb, var(--a-accent) 7%, #fff), #fff); border-radius: var(--a-radius) var(--a-radius) 0 0; }
.seo-score { display: flex; align-items: baseline; gap: 2px; font-weight: 800; }
.seo-score span { font-size: 22px; color: #dc2626; }
.seo-score.mid span { color: #d97706; }
.seo-score.good span { color: #16a34a; }
.seo-score small { color: var(--a-muted); }
.serp-preview { border: 1px solid var(--a-border); border-radius: 10px; padding: 14px 16px; margin-bottom: 14px; font-family: Arial, sans-serif; background: #fff; }
.serp-url { color: #202124; font-size: 13px; margin-bottom: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.serp-title { color: #1a0dab; font-size: 19px; line-height: 1.3; margin-bottom: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.serp-desc { color: #4d5156; font-size: 13.5px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.serp-lg { max-width: 640px; }
.seo-auto { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; padding: 10px; background: #f8fafc; border-radius: 8px; }
.counter { margin-left: auto; font-weight: 600; color: var(--a-muted); }
.counter.is-good { color: #16a34a; }
.counter.is-bad { color: #dc2626; }
.seo-advanced { margin-bottom: 12px; }
.seo-advanced summary { cursor: pointer; font-weight: 600; color: var(--a-muted); margin-bottom: 10px; }
.seo-checks { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.seo-checks li { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: #334155; }
.seo-checks li i { font-size: 16px; margin-top: 1px; }
.seo-checks li.ok i { color: #16a34a; }
.seo-checks li.bad i { color: #dc2626; }
.a-json pre { background: #0f172a; color: #e2e8f0; padding: 14px; border-radius: 8px; overflow: auto; font-size: 12px; max-height: 360px; }
.a-json summary { cursor: pointer; font-weight: 600; margin: 10px 0; }
.a-redirect-form { display: grid; grid-template-columns: 1fr auto 1fr 130px auto; gap: 8px; align-items: center; }
@media (max-width: 900px) { .a-redirect-form { grid-template-columns: 1fr; } }
.a-bulk-modules { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; margin: 16px 0; }
.a-bulk-mod { position: relative; cursor: pointer; }
.a-bulk-mod input { position: absolute; top: 12px; right: 12px; }
.a-bulk-mod span { display: flex; flex-direction: column; gap: 2px; padding: 14px; border: 1px solid var(--a-border); border-radius: 10px; background: #fff; }
.a-bulk-mod span i { font-size: 22px; color: var(--a-accent); }
.a-bulk-mod small { color: var(--a-muted); }
.a-bulk-mod:has(input:checked) span { border-color: var(--a-accent); box-shadow: inset 0 0 0 1px var(--a-accent); }

/* Ayarlar */
.a-settings { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 900px) { .a-settings { grid-template-columns: 1fr; } }
.a-settings-nav { background: #fff; border: 1px solid var(--a-border); border-radius: var(--a-radius); padding: 8px; position: sticky; top: 76px; box-shadow: var(--a-shadow); }
@media (max-width: 900px) { .a-settings-nav { position: static; display: flex; overflow-x: auto; } }
.a-settings-nav a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; color: #334155; font-weight: 500; white-space: nowrap; }
.a-settings-nav a i { font-size: 17px; color: var(--a-muted); }
.a-settings-nav a:hover { background: var(--a-bg); }
.a-settings-nav a.is-active { background: color-mix(in srgb, var(--a-accent) 10%, #fff); color: var(--a-accent); font-weight: 700; }
.a-settings-nav a.is-active i { color: var(--a-accent); }

/* Detay sayfaları */
.a-contact-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.a-message { background: #f8fafc; border: 1px solid var(--a-border); border-radius: 10px; padding: 14px 16px; white-space: normal; line-height: 1.7; margin-bottom: 16px; }
.a-attachments { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.a-attach { display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--a-border); border-radius: 10px; padding: 8px; color: var(--a-text); font-size: 12px; }
.a-attach img { aspect-ratio: 4/3; object-fit: cover; border-radius: 6px; width: 100%; }
.a-attach i { font-size: 36px; color: #dc2626; text-align: center; padding: 14px 0; }
.a-attach span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Menü */
.menu-rows { display: grid; gap: 8px; }
.menu-row { display: grid; grid-template-columns: 18px 1fr 1fr 170px 70px auto auto auto; gap: 6px; align-items: center; padding: 8px; background: #fafbfd; border: 1px solid var(--a-border); border-radius: 8px; }
.menu-row.depth-1 { margin-left: 28px; }
.menu-row.depth-2 { margin-left: 56px; }
.menu-row > i { color: #94a3b8; }
@media (max-width: 900px) { .menu-row { grid-template-columns: 1fr 1fr; } .menu-row > i { display: none; } .menu-row.depth-1, .menu-row.depth-2 { margin-left: 12px; } }

/* Medya */
.media-library { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.media-item { border: 1px solid var(--a-border); border-radius: 10px; overflow: hidden; background: #fff; }
.media-thumb { display: grid; place-items: center; aspect-ratio: 4/3; background: #eef2f7; }
.media-thumb img { width: 100%; height: 100%; object-fit: cover; }
.media-thumb i { font-size: 40px; color: #dc2626; }
.media-info { padding: 8px 10px 0; display: flex; flex-direction: column; font-size: 12px; }
.media-info small { color: var(--a-muted); }
.media-actions { display: flex; justify-content: flex-end; gap: 4px; padding: 4px 6px 8px; }
.a-modal { position: fixed; inset: 0; background: rgba(15,23,42,.55); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.a-modal-box { background: #fff; border-radius: 14px; width: 100%; max-width: 640px; max-height: 90vh; display: flex; flex-direction: column; box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.a-modal-lg { max-width: 980px; }
.a-modal-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--a-border); }
.a-modal-head h3 { font-size: 16px; display: flex; gap: 8px; align-items: center; }
.a-modal-head button { border: 0; background: transparent; font-size: 22px; cursor: pointer; color: var(--a-muted); }
.a-modal-body { padding: 16px 18px; overflow-y: auto; }
.a-modal-foot { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; border-top: 1px solid var(--a-border); }
.media-toolbar { display: flex; gap: 8px; margin-bottom: 12px; }
.media-toolbar label { cursor: pointer; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.media-grid button { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; aspect-ratio: 1; background: #eef2f7; cursor: pointer; position: relative; }
.media-grid button img { width: 100%; height: 100%; object-fit: cover; }
.media-grid button.is-selected { border-color: var(--a-accent); }
.media-grid button.is-selected::after { content: "✓"; position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--a-accent); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.icon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 6px; max-height: 50vh; overflow-y: auto; margin-bottom: 10px; }
.icon-grid button { aspect-ratio: 1; border: 1px solid var(--a-border); border-radius: 8px; background: #fff; font-size: 22px; cursor: pointer; }
.icon-grid button:hover { border-color: var(--a-accent); color: var(--a-accent); }

/* Giriş */
.a-login-body { background: #fff; }
.a-login { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 100vh; }
.a-login-art { background: radial-gradient(circle at 20% 20%, color-mix(in srgb, var(--a-accent) 70%, #fff) 0, var(--a-accent) 35%, #0f172a 100%); color: #fff; display: flex; align-items: center; padding: 60px; }
.a-login-art h1 { color: #fff; font-size: 34px; margin: 22px 0 6px; }
.a-login-art p { opacity: .8; font-size: 16px; }
.a-login-art ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; font-size: 15px; }
.a-login-art li { display: flex; gap: 10px; align-items: center; }
.a-login-art .a-brand-mark { background: rgba(255,255,255,.15); }
.a-login-form { display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.a-login-form form { width: 100%; max-width: 380px; }
.a-login-form h2 { font-size: 26px; margin-bottom: 4px; }
.a-login-form .f-label { margin-top: 16px; }
.a-input-icon { position: relative; }
.a-input-icon > i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--a-muted); font-size: 17px; }
.a-input-icon input { padding: 12px 40px; font-size: 15px; }
.a-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--a-muted); font-size: 17px; cursor: pointer; padding: 6px; }
.a-login-form .a-btn-primary { margin-top: 22px; }
.a-login-back { display: inline-flex; gap: 6px; align-items: center; margin-top: 18px; color: var(--a-muted); }
@media (max-width: 860px) { .a-login { grid-template-columns: 1fr; } .a-login-art { display: none; } }
@media print { .a-sidebar, .a-topbar, .a-footer, .a-page-actions, .a-form-side { display: none !important; } .a-main { margin: 0; } .a-form-grid { grid-template-columns: 1fr; } }
