/* ================================================================
   ANABAYİNİZ — SMM Panel  ·  Arayüz stil dosyası
   ================================================================ */

:root {
    --blue-800: #1E40AF;
    --blue-700: #1D4ED8;   /* ana renk — royal blue */
    --blue-600: #2563EB;
    --blue-500: #3B82F6;
    --blue-050: #EEF3FF;

    --ink-900: #141B2D;
    --ink-700: #384056;
    --ink-500: #6B7488;
    --ink-300: #9AA2B4;

    --bg:        #F3F6FC;
    --card:      #FFFFFF;
    --line:      #E4E9F2;
    --line-soft: #EEF1F7;
    --thead:     #FBFCFE;

    --ok: #12B76A;     --ok-bg: #E7F8F0;
    --proc: #2563EB;   --proc-bg: #E9F1FE;
    --wait: #F79009;   --wait-bg: #FEF3E2;
    --cancel: #98A2B3; --cancel-bg: #F1F3F7;

    --radius:    12px;
    --radius-sm: 9px;
    --shadow:     0 1px 2px rgba(16, 24, 40, .04), 0 1px 3px rgba(16, 24, 40, .06);
    --shadow-pop: 0 8px 28px rgba(16, 24, 40, .14);

    --sidebar-w: 248px;
    --topbar-h:  64px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink-900);
    font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2 { margin: 0; }

:focus-visible {
    outline: 2px solid var(--blue-600);
    outline-offset: 2px;
    border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

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

.app-main {
    flex: 1;
    min-width: 0;
    margin-left: var(--sidebar-w);
    display: flex;
    flex-direction: column;
}

/* ---------- Sol menü ---------- */
.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--sidebar-w);
    background: var(--blue-700);
    color: #fff;
    display: flex;
    flex-direction: column;
    z-index: 60;
    transition: transform .24s ease;
}

.side-user {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px;
    margin: 10px 10px 2px;
    border-radius: var(--radius-sm);
    transition: background .15s;
}
.side-user:hover { background: rgba(255, 255, 255, .1); }
.side-user__av {
    width: 42px; height: 42px;
    flex: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    display: grid; place-items: center;
    font-weight: 700; font-size: 14px;
    border: 2px solid rgba(255, 255, 255, .3);
}
.side-user__meta { display: flex; flex-direction: column; gap: 4px; line-height: 1.2; min-width: 0; }
.side-user__name { font-weight: 700; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-user__role {
    align-self: flex-start;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    color: rgba(255, 255, 255, .9);
}

.sidebar__nav { flex: 1; overflow-y: auto; padding: 12px 0; }

.nav-group { padding: 0 10px; }
.nav-group + .nav-group { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .14); }
.nav-group__label {
    display: block;
    padding: 2px 13px 7px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .07em;
    color: rgba(255, 255, 255, .55);
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 2px 0;
    padding: 8px 11px;
    border-radius: var(--radius-sm);
    color: rgba(255, 255, 255, .88);
    font-weight: 500;
    font-size: 13.5px;
    transition: background .15s, color .15s;
}
.nav-link i { width: 20px; text-align: center; font-size: 15px; opacity: .9; }
.nav-link__ico {
    display: grid;
    place-items: center;
    width: 27px; height: 27px;
    flex: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, .14);
    transition: background .15s, color .15s;
}
.nav-link__ico i { width: auto; font-size: 12.5px; opacity: 1; }
.nav-link:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.nav-link.is-active {
    background: #fff;
    color: var(--blue-700);
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(2, 16, 60, .22);
}
.nav-link.is-active i { opacity: 1; color: var(--blue-700); }
.nav-link.is-active .nav-link__ico { background: var(--blue-050); }

.sidebar__foot {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px;
    padding: 11px 12px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, .12);
    transition: background .15s;
}
.sidebar__foot:hover { background: rgba(255, 255, 255, .2); }
.sidebar__foot-ico {
    display: grid;
    place-items: center;
    width: 30px; height: 30px;
    flex: none;
    border-radius: 9px;
    background: rgba(255, 255, 255, .18);
    font-size: 13px;
}
.sidebar__foot-txt { flex: 1; min-width: 0; font-size: 11.5px; color: rgba(255, 255, 255, .8); line-height: 1.35; }
.sidebar__foot-txt strong { display: block; font-size: 12.5px; font-weight: 700; color: #fff; }
.sidebar__foot-arrow { font-size: 11px; opacity: .7; }

/* ---------- Üst bar ---------- */
.topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    height: var(--topbar-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 22px;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}

.topbar__left { display: flex; align-items: center; gap: 12px; }
.topbar__right { display: flex; align-items: center; gap: 8px; }

.hamburger {
    display: none;
    width: 38px; height: 38px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--ink-700);
    place-items: center;
}
.hamburger:hover { background: var(--blue-050); color: var(--blue-700); }

.brand { display: flex; align-items: center; gap: 10px; }
.brand__txt { font-weight: 800; font-size: 16px; letter-spacing: .04em; }

.topbar__sep { width: 1px; height: 26px; background: var(--line); margin: 0 4px; }

.balance-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--blue-700);
    color: #fff;
    border: 0;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 13px;
}
.balance-btn:hover { background: var(--blue-600); }
.balance-btn__amt { font-weight: 700; }
.balance-btn__caret { font-size: 10px; opacity: .85; }

.icon-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    color: var(--ink-700);
    font-size: 13px;
    font-weight: 500;
}
.icon-link:hover { background: var(--blue-050); color: var(--blue-700); }
.icon-link--danger:hover { background: #FEECEC; color: #D92D20; }

/* ---------- Açılır menü ---------- */
.dropdown { position: relative; }
.dropdown__menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 224px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-pop);
    padding: 8px;
    display: none;
}
.dropdown.is-open .dropdown__menu { display: block; }
.dropdown__menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 8px;
    color: var(--ink-700);
    font-size: 13.5px;
    font-weight: 500;
}
.dropdown__menu a:hover { background: var(--blue-050); color: var(--blue-700); }
.dd-balance {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 10px 10px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--line-soft);
}
.dd-balance span { font-size: 12px; color: var(--ink-500); }
.dd-balance strong { font-size: 17px; color: var(--blue-700); }

/* ---------- Bildirim çanı ---------- */
.bell-btn {
    position: relative;
    flex: none;
    width: 36px; height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: transparent;
    color: var(--ink-500);
    font-size: 14px;
    cursor: pointer;
    transition: color .15s, border-color .15s, background .15s;
}
.bell-btn:hover { color: var(--blue-700); border-color: var(--blue-500); background: var(--blue-050); }
.bell-btn.has-unread { color: var(--blue-700); }
.bell-btn__dot {
    position: absolute;
    top: -5px; right: -5px;
    min-width: 16px; height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: #D92D20;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    line-height: 16px;
    text-align: center;
    border: 2px solid var(--card);
}
.dropdown__menu--notif { min-width: 320px; max-width: 360px; padding: 0; overflow: hidden; }
.dd-notif__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--line-soft);
    font-weight: 700;
    font-size: 13.5px;
    color: var(--ink-900);
}
.dd-notif__head button {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--blue-700);
    background: none;
    border: 0;
    cursor: pointer;
    padding: 0;
}
.dd-notif__head button:hover { text-decoration: underline; }
.dd-notif__list { max-height: 360px; overflow-y: auto; }
.dd-notif__empty { padding: 26px 14px; text-align: center; font-size: 13px; color: var(--ink-500); }
.dropdown__menu .dd-notif__item {
    display: block;
    padding: 11px 14px;
    border-bottom: 1px solid var(--line-soft);
    border-radius: 0;
    font-size: 13px;
}
.dropdown__menu .dd-notif__item:last-child { border-bottom: 0; }
.dropdown__menu .dd-notif__item.is-unread { background: var(--blue-050); }
.dd-notif__item strong { display: block; font-size: 13px; color: var(--ink-900); margin-bottom: 2px; }
.dd-notif__item p { margin: 0 0 4px; color: var(--ink-500); font-size: 12.5px; line-height: 1.4; }
.dd-notif__item time { font-size: 11px; color: var(--ink-300); }

/* ---------- İçerik ---------- */
.content { width: 100%; max-width: 1360px; margin-inline: auto; padding: 24px 26px 44px; }

.page-head { margin-bottom: 20px; }
.page-head h1 { font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.page-head p { margin: 4px 0 0; color: var(--ink-500); font-size: 14px; max-width: 62ch; }

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 18px;
    border-bottom: 1px solid var(--line-soft);
}
.card__head h2 { font-size: 15px; font-weight: 700; }
.card__link { font-size: 13px; font-weight: 600; color: var(--blue-600); }
.card__link:hover { color: var(--blue-800); }
.card__body { padding: 18px; }

/* ---------- Özet kartları ---------- */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}
.stat { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.stat__top { display: flex; align-items: center; justify-content: space-between; }
.stat__label { color: var(--ink-500); font-size: 13px; font-weight: 500; }
.stat__ico {
    width: 34px; height: 34px;
    border-radius: var(--radius-sm);
    background: var(--blue-050);
    color: var(--blue-700);
    display: grid; place-items: center;
    font-size: 14px;
}
.stat__value { font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.stat__foot { font-size: 12.5px; color: var(--ink-500); }
.stat__foot a { color: var(--blue-600); font-weight: 600; }

/* ---------- İki sütunlu blok ---------- */
.grid-2 {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

/* ---------- Form ---------- */
.field { margin-bottom: 14px; }
.field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-700);
    margin-bottom: 6px;
}
.field__hint { font-weight: 500; font-size: 12px; color: var(--ink-300); margin-left: 6px; }
.field select,
.field input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
    font: inherit;
    font-size: 14px;
    color: var(--ink-900);
}
.field select:focus,
.field input:focus {
    border-color: var(--blue-500);
    outline: none;
    box-shadow: 0 0 0 3px var(--blue-050);
}

.svc-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: -2px 0 14px; }
.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--blue-050);
    color: var(--blue-700);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 9px;
    border-radius: 999px;
}
.chip i { font-size: 11px; }

/* ---------- Servis açıklaması kutusu ---------- */
.svc-desc {
    margin: -2px 0 14px;
    border: 1px solid var(--line);
    background: var(--blue-050);
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 13px;
}
.svc-desc__title {
    display: flex;
    align-items: center;
    gap: 7px;
    font-weight: 700;
    color: var(--blue-700);
    margin-bottom: 8px;
}
.svc-desc__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.svc-desc__list li { display: flex; gap: 8px; align-items: baseline; color: var(--ink-700); line-height: 1.45; }
.svc-desc__list li::before { content: "\25C6"; color: var(--blue-600); font-size: 8px; flex: none; position: relative; top: -1px; }
.svc-desc__k { flex: none; min-width: 112px; font-weight: 700; color: var(--ink-900); }
.svc-desc__warn { margin-top: 10px; padding-top: 9px; border-top: 1px dashed var(--line); }
.svc-desc__warn > strong { display: flex; align-items: center; gap: 6px; color: var(--wait); font-size: 12.5px; margin-bottom: 5px; }
.svc-desc__warn ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.svc-desc__warn li { display: flex; gap: 8px; color: var(--ink-500); font-size: 12px; line-height: 1.4; }
.svc-desc__warn li::before { content: "\25C6"; color: var(--wait); font-size: 7px; flex: none; position: relative; top: 3px; }

.estimate {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    background: var(--blue-050);
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 14px;
}
.estimate__lbl { font-size: 13px; font-weight: 600; color: var(--ink-700); }
.estimate__val { font-size: 20px; font-weight: 800; color: var(--blue-700); }

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: var(--blue-700);
    color: #fff;
    border: 0;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 14.5px;
}
.btn-primary:hover { background: var(--blue-600); }

/* ---------- Güncellemeler ---------- */
.update {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line-soft);
}
.update:first-child { padding-top: 0; }
.update:last-child { padding-bottom: 0; border-bottom: 0; }
.update__date {
    flex: none;
    min-width: 64px;
    padding-top: 2px;
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-300);
}
.update__body { display: flex; flex-direction: column; gap: 3px; }
.update__tag {
    align-self: flex-start;
    font-size: 11px;
    font-weight: 700;
    color: var(--blue-700);
    background: var(--blue-050);
    padding: 2px 7px;
    border-radius: 6px;
}
.update__text { font-size: 13.5px; color: var(--ink-700); }

/* ---------- Tablo ---------- */
.table-wrap { overflow-x: auto; }
.orders {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    font-size: 13.5px;
}
.orders th {
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    color: var(--ink-500);
    padding: 11px 16px;
    background: var(--thead);
    border-bottom: 1px solid var(--line);
}
.orders td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--line-soft);
    color: var(--ink-700);
    white-space: nowrap;
}
.orders tbody tr:last-child td { border-bottom: 0; }
.orders tbody tr:hover td { background: #FAFBFE; }
.orders__id { font-weight: 700; color: var(--ink-900); }
.orders__amt { font-weight: 700; color: var(--ink-900); }
.orders__muted { color: var(--ink-500); }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 999px;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--ok     { color: var(--ok);     background: var(--ok-bg); }
.badge--proc   { color: var(--proc);   background: var(--proc-bg); }
.badge--wait   { color: var(--wait);   background: var(--wait-bg); }
.badge--cancel { color: var(--cancel); background: var(--cancel-bg); }

/* ---------- Örtü + toast ---------- */
.scrim {
    position: fixed;
    inset: 0;
    background: rgba(16, 24, 40, .42);
    z-index: 55;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease;
}
.scrim.is-open { opacity: 1; visibility: visible; }

.toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translate(-50%, 16px);
    background: var(--ink-900);
    color: #fff;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    box-shadow: var(--shadow-pop);
    opacity: 0;
    max-width: 90vw;
    text-align: center;
    z-index: 100;
    transition: opacity .25s ease, transform .25s ease;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ================================================================
   Duyarlı (responsive) düzen
   ================================================================ */
@media (max-width: 1023px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.is-open { transform: translateX(0); box-shadow: var(--shadow-pop); }
    .app-main { margin-left: 0; }
    .hamburger { display: grid; }
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .content { padding: 18px 14px 34px; }
    .stat-grid { grid-template-columns: 1fr; }
    .topbar { padding: 0 14px; gap: 10px; }
    .icon-link span { display: none; }
    .topbar__sep { display: none; }
    .brand__txt { font-size: 15px; }
}

/* ================================================================
   Buton sistemi
   ================================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 15px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 13.5px;
    line-height: 1;
    white-space: nowrap;
    transition: background .15s, border-color .15s, color .15s;
}
.btn--primary { background: var(--blue-700); color: #fff; }
.btn--primary:hover { background: var(--blue-600); }
.btn--ghost { background: #fff; border-color: var(--line); color: var(--ink-700); }
.btn--ghost:hover { border-color: var(--blue-500); color: var(--blue-700); background: var(--blue-050); }
.btn--light { background: rgba(255, 255, 255, .16); color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn--light:hover { background: rgba(255, 255, 255, .26); }
.btn--white { background: #fff; color: var(--blue-700); }
.btn--white:hover { background: #EAF0FF; }
.btn--google { background: #fff; border-color: var(--line); color: var(--ink-700); }
.btn--google:hover { background: #F7F8FB; }
.btn--google i { color: #EA4335; }
.btn--block { width: 100%; }
.btn--lg { padding: 13px 22px; font-size: 14.5px; }
.btn--sm { padding: 6px 11px; font-size: 12.5px; }
.btn-primary--inline { width: auto; }

.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--blue-050);
    color: var(--blue-700);
    font-size: 12px;
    font-weight: 600;
}

/* ================================================================
   Açık site — üst menü
   ================================================================ */
body.is-public { background: #fff; }

.pubnav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.pubnav__inner {
    max-width: 1180px;
    margin: 0 auto;
    height: 66px;
    padding: 0 22px;
    display: flex;
    align-items: center;
    gap: 22px;
}
.pubnav .brand__txt { font-weight: 800; font-size: 18px; letter-spacing: .04em; }
.pubnav__links {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: auto;
    font-size: 14px;
    font-weight: 500;
}
.pubnav__links > a { color: var(--ink-700); }
.pubnav__links > a:hover,
.pubnav__links > a.is-here { color: var(--blue-700); }
.pubnav__cta { display: flex; align-items: center; gap: 10px; }
.pubnav__burger {
    display: none;
    width: 38px; height: 38px;
    margin-left: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--ink-700);
    place-items: center;
}

.public { display: block; }
.public .wrap { max-width: 1180px; margin: 0 auto; padding: 28px 22px 48px; }
.brand--center { justify-content: center; margin-bottom: 14px; }

/* ================================================================
   Hero
   ================================================================ */
.hero {
    background:
        radial-gradient(1100px 380px at 15% -10%, rgba(255, 255, 255, .16), transparent 60%),
        linear-gradient(160deg, var(--blue-700), var(--blue-800));
    color: #fff;
}
.hero__grid {
    max-width: 1180px;
    margin: 0 auto;
    padding: 60px 22px 68px;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 48px;
    align-items: center;
}
.hero__kicker {
    display: inline-block;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .01em;
    margin-bottom: 16px;
}
.hero__copy h1 {
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: -.02em;
    margin: 0 0 14px;
}
.hero__copy > p {
    margin: 0 0 20px;
    font-size: 15.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .82);
    max-width: 52ch;
}
.hero__points {
    list-style: none;
    margin: 0 0 26px;
    padding: 0;
    display: grid;
    gap: 9px;
    font-size: 14px;
    color: rgba(255, 255, 255, .9);
}
.hero__points i { color: #fff; width: 18px; margin-right: 8px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.auth-card {
    background: #fff;
    color: var(--ink-900);
    border-radius: 16px;
    padding: 26px;
    box-shadow: 0 24px 60px rgba(3, 12, 40, .3);
}
.auth-card h1, .auth-card h2 { font-size: 19px; font-weight: 700; margin: 0 0 4px; }
.auth-card__sub { margin: 0 0 18px; color: var(--ink-500); font-size: 13.5px; }
.auth-form .field { margin-bottom: 12px; }
.auth-form__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4px 0 16px;
    font-size: 13px;
}
.auth-form__row a { color: var(--blue-600); font-weight: 600; }
.check { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-700); cursor: pointer; }
.check input { width: auto; }
.check--block { display: flex; align-items: flex-start; margin-bottom: 16px; font-size: 13px; line-height: 1.45; }
.check--block a { color: var(--blue-600); font-weight: 600; }
.auth-sep {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0;
    color: var(--ink-300);
    font-size: 12px;
}
.auth-sep::before, .auth-sep::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-card__foot { margin: 16px 0 0; text-align: center; font-size: 13.5px; color: var(--ink-500); }
.auth-card__foot a { color: var(--blue-600); font-weight: 600; }
.auth-note { margin: 12px 0 0; font-size: 12px; color: var(--ink-300); text-align: center; }

.auth-page {
    max-width: 440px;
    margin: 0 auto;
    padding: 54px 22px 70px;
}
.auth-card--solo { box-shadow: var(--shadow); border: 1px solid var(--line); }

.alert {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 14px;
}
.alert--error { background: #FEECEC; color: #B42318; }
.alert--ok { background: var(--ok-bg); color: #067647; }

/* ================================================================
   İstatistik şeridi
   ================================================================ */
.strip { border-bottom: 1px solid var(--line); background: #fff; }
.strip__inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 22px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.strip__item { text-align: center; }
.strip__value { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.01em; color: var(--ink-900); }
.strip__label { font-size: 12.5px; color: var(--ink-500); }

/* ================================================================
   Bölüm iskeleti
   ================================================================ */
.block { padding: 56px 0; background: #fff; }
.block--tint { background: var(--bg); }
.block__inner { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.block__inner--narrow { max-width: 760px; }
.block__head { text-align: center; max-width: 60ch; margin: 0 auto 34px; }
.block__head--left { text-align: left; margin-left: 0; }
.block__head h1, .block__head h2 { font-size: 26px; font-weight: 800; letter-spacing: -.01em; margin: 0 0 8px; }
.block__head p { margin: 0; color: var(--ink-500); font-size: 14.5px; }

/* ---------- Platform kartları ---------- */
.platforms {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
}
.platform {
    --brand: var(--blue-700);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 22px 16px;
    border-radius: var(--radius);
    background: var(--brand);
    color: #fff;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform .15s ease, box-shadow .15s ease;
}
.platform:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(16, 24, 40, .18); }
.platform__ico { font-size: 30px; margin-bottom: 4px; }
.platform__name { font-weight: 700; font-size: 15px; letter-spacing: .02em; }
.platform__meta { font-size: 12px; color: rgba(255, 255, 255, .82); }

/* ---------- Adımlar ---------- */
.steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    counter-reset: step;
}
.step {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow);
}
.step__no {
    display: grid;
    place-items: center;
    width: 34px; height: 34px;
    border-radius: 10px;
    background: var(--blue-700);
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    margin-bottom: 12px;
}
.step h3 { margin: 0 0 6px; font-size: 15.5px; font-weight: 700; }
.step p { margin: 0; font-size: 13.5px; color: var(--ink-500); line-height: 1.5; }

/* ---------- Özellikler ---------- */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.feature {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
}
.feature__ico {
    display: grid;
    place-items: center;
    width: 40px; height: 40px;
    border-radius: 11px;
    background: var(--blue-050);
    color: var(--blue-700);
    font-size: 16px;
    margin-bottom: 12px;
}
.feature h3 { margin: 0 0 5px; font-size: 15px; font-weight: 700; }
.feature p { margin: 0; font-size: 13.5px; color: var(--ink-500); line-height: 1.5; }

/* ---------- SSS ---------- */
.faq { display: grid; gap: 10px; }
.faq__item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 4px 16px;
    box-shadow: var(--shadow);
}
.faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
    font-weight: 600;
    font-size: 14.5px;
    cursor: pointer;
    list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { color: var(--ink-300); transition: transform .2s ease; }
.faq__item[open] summary i { transform: rotate(180deg); }
.faq__item p { margin: 0 0 16px; font-size: 13.5px; color: var(--ink-500); line-height: 1.6; }

/* ---------- CTA bandı ---------- */
.cta-band { background: linear-gradient(160deg, var(--blue-700), var(--blue-800)); color: #fff; }
.cta-band__inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 38px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}
.cta-band h2 { margin: 0 0 4px; font-size: 21px; font-weight: 800; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .82); font-size: 14px; }
.cta-inline { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- Alt bilgi ---------- */
.site-footer { background: #0F1729; color: rgba(255, 255, 255, .72); }
.site-footer__inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 44px 22px 30px;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 28px;
}
.site-footer .brand__txt { color: #fff; font-weight: 800; letter-spacing: .04em; }
.site-footer__brand p { margin: 12px 0 0; font-size: 13px; line-height: 1.6; max-width: 40ch; }
.site-footer__col h3 { margin: 0 0 12px; font-size: 13px; font-weight: 700; color: #fff; }
.site-footer__col a { display: block; padding: 4px 0; font-size: 13px; color: rgba(255, 255, 255, .68); }
.site-footer__col a:hover { color: #fff; }
.site-footer__bar {
    max-width: 1180px;
    margin: 0 auto;
    padding: 16px 22px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
}

/* ---------- Prose / hakkımızda ---------- */
.prose { font-size: 14.5px; line-height: 1.7; color: var(--ink-700); }
.prose h2 { font-size: 17px; font-weight: 700; color: var(--ink-900); margin: 26px 0 10px; }
.prose ul { padding-left: 20px; }
.prose li { margin: 6px 0; }
.mini-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 16px 0 6px;
}
.mini-stats div {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px;
    text-align: center;
}
.mini-stats span { display: block; font-size: 18px; font-weight: 800; color: var(--ink-900); }
.mini-stats small { font-size: 11.5px; color: var(--ink-500); }

/* ---------- Blog ---------- */
.posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.post-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}
.post-card__tag {
    align-self: flex-start;
    font-size: 11px;
    font-weight: 700;
    color: var(--blue-700);
    background: var(--blue-050);
    padding: 3px 8px;
    border-radius: 6px;
    margin-bottom: 10px;
}
.post-card h2 { font-size: 16px; font-weight: 700; margin: 0 0 8px; }
.post-card p { margin: 0 0 16px; font-size: 13.5px; color: var(--ink-500); line-height: 1.55; flex: 1; }

/* ---------- Müşteri yorumları ---------- */
.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}
.testimonial {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}
.testimonial__stars { color: #F5A623; font-size: 12px; margin-bottom: 10px; }
.testimonial__stars i.is-off { color: var(--line); }
.testimonial__body { margin: 0 0 16px; font-size: 13.5px; color: var(--ink-700); line-height: 1.6; flex: 1; }
.testimonial__author { display: flex; align-items: center; gap: 10px; }
.testimonial__av {
    display: grid;
    place-items: center;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--blue-050);
    color: var(--blue-700);
    font-size: 12px;
    font-weight: 700;
    flex: none;
}
.testimonial__author strong { display: block; font-size: 13px; font-weight: 700; color: var(--ink-900); }
.testimonial__author small { font-size: 11.5px; color: var(--ink-500); }

.post-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12.5px;
    color: var(--ink-300);
}
.post-card__foot a { color: var(--blue-600); font-weight: 600; }

/* ================================================================
   Panel — ek bileşenler
   ================================================================ */
.wrap { width: 100%; }
.side-user { text-decoration: none; }
.side-user__home { margin-left: auto; opacity: .5; font-size: 13px; }

.stat-grid--3 { grid-template-columns: repeat(3, 1fr); }

.card__head--filters { flex-wrap: wrap; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; }
.search { position: relative; }
.search i {
    position: absolute;
    left: 11px; top: 50%;
    transform: translateY(-50%);
    color: var(--ink-300);
    font-size: 12px;
}
.search input {
    padding: 8px 12px 8px 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font: inherit;
    font-size: 13px;
    min-width: 220px;
}
.card__head--filters select {
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font: inherit;
    font-size: 13px;
    background: #fff;
}
.search input:focus, .card__head--filters select:focus {
    outline: none;
    border-color: var(--blue-500);
    box-shadow: 0 0 0 3px var(--blue-050);
}

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.side-stack { display: flex; flex-direction: column; gap: 16px; }

.note-card {
    display: flex;
    gap: 12px;
    padding: 16px 18px;
    font-size: 13px;
    color: var(--ink-600, var(--ink-700));
}
.note-card > i { color: var(--blue-600); font-size: 15px; margin-top: 2px; }
.note-card strong { display: block; color: var(--ink-900); font-size: 13.5px; margin-bottom: 3px; }
.note-card p { margin: 0; color: var(--ink-500); line-height: 1.5; }
.note-card--plain > i { color: var(--wait); }

.kv { margin: 0; display: grid; gap: 0; }
.kv > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 13px;
}
.kv > div:last-child { border-bottom: 0; }
.kv dt { color: var(--ink-500); margin: 0; }
.kv dd { margin: 0; font-weight: 600; color: var(--ink-900); text-align: right; }

.form-note { margin: 10px 0 0; font-size: 12px; color: var(--ink-300); }

/* ---------- Bakiye yükleme ---------- */
.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pay { cursor: pointer; }
.pay input { position: absolute; opacity: 0; }
.pay__body {
    display: block;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 12px;
    transition: border-color .15s, background .15s;
}
.pay__body i { color: var(--blue-700); font-size: 15px; }
.pay__name { display: block; font-weight: 600; font-size: 13.5px; margin: 6px 0 2px; }
.pay__note { display: block; font-size: 11.5px; color: var(--ink-500); }
.pay input:checked + .pay__body { border-color: var(--blue-500); background: var(--blue-050); }
.pay input:focus-visible + .pay__body { box-shadow: 0 0 0 3px var(--blue-050); }

.quick-amounts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip--btn { border: 1px solid var(--line); background: #fff; cursor: pointer; }
.chip--btn:hover { border-color: var(--blue-500); background: var(--blue-050); }

/* ---------- Toplu sipariş ---------- */
.field textarea {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font: inherit;
    font-size: 13px;
    line-height: 1.6;
    resize: vertical;
    color: var(--ink-900);
}
.field textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px var(--blue-050); }
.bulk-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 14px 0;
}
.bulk-summary div {
    background: var(--bg);
    border-radius: 10px;
    padding: 12px;
    text-align: center;
}
.bulk-summary__num { display: block; font-size: 17px; font-weight: 800; color: var(--ink-900); }
.bulk-summary small { font-size: 11.5px; color: var(--ink-500); }
.bulk-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.svc-ref { list-style: none; margin: 0; padding: 0; font-size: 12.5px; max-height: 340px; overflow-y: auto; }
.svc-ref li { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line-soft); }
.svc-ref__group {
    font-weight: 700;
    color: var(--ink-900);
    border-bottom: 0 !important;
    padding-top: 12px !important;
}
.svc-ref__id { font-weight: 700; color: var(--blue-700); min-width: 40px; }
.svc-ref__name { flex: 1; color: var(--ink-700); }
.svc-ref__price { color: var(--ink-400, var(--ink-500)); white-space: nowrap; }

/* ---------- Zaman çizelgesi (güncellemeler) ---------- */
.chip-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.chip-tab {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink-500);
    cursor: pointer;
}
.chip-tab:hover { border-color: var(--blue-500); color: var(--blue-700); }
.chip-tab.is-active { background: var(--blue-700); border-color: var(--blue-700); color: #fff; }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline__item { display: flex; gap: 16px; padding: 0 0 18px 4px; position: relative; }
.timeline__item::before {
    content: "";
    position: absolute;
    left: 13px; top: 18px; bottom: -2px;
    width: 2px;
    background: var(--line);
}
.timeline__item:last-child::before { display: none; }
.timeline__item[hidden] { display: none; }
.timeline__dot {
    position: relative;
    z-index: 1;
    flex: none;
    width: 20px; height: 20px;
    margin-top: 2px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid var(--blue-500);
}
.timeline__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.timeline__date { font-size: 12px; color: var(--ink-300); font-weight: 600; }
.timeline__body p { margin: 0; font-size: 13.5px; color: var(--ink-700); line-height: 1.5; }

/* ---------- Kopyala / paylaş satırları ---------- */
.copy-row { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.copy-row input {
    flex: 1;
    min-width: 200px;
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font: inherit;
    font-size: 13px;
    background: var(--bg);
    color: var(--ink-700);
}
.share-row { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 13px; color: var(--ink-500); }
.share-btn {
    display: grid;
    place-items: center;
    width: 34px; height: 34px;
    border-radius: 9px;
    background: var(--blue-050);
    color: var(--blue-700);
}
.share-btn:hover { background: var(--blue-700); color: #fff; }

.mini-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.mini-steps li { display: flex; gap: 10px; font-size: 13.5px; color: var(--ink-700); line-height: 1.5; }
.mini-steps span {
    flex: none;
    display: grid;
    place-items: center;
    width: 22px; height: 22px;
    border-radius: 7px;
    background: var(--blue-700);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.switch-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 13.5px;
    color: var(--ink-700);
}
.switch-row:last-child { border-bottom: 0; }
.switch-row input { width: auto; }

.endpoint {
    margin-top: 12px;
    padding: 12px 14px;
    background: var(--ink-900);
    border-radius: 10px;
    color: #E7ECF5;
    font-size: 12.5px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.endpoint code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.endpoint span { color: rgba(255, 255, 255, .55); }

.channel-list { list-style: none; margin: 0; padding: 0; font-size: 13.5px; }
.channel-list li { display: flex; align-items: center; gap: 10px; padding: 8px 0; color: var(--ink-700); }
.channel-list i { color: var(--blue-600); width: 18px; text-align: center; }

.orders--services td { white-space: normal; }
.tag-plain { font-size: 12px; font-weight: 600; color: var(--ink-500); }
.orders__action { text-align: right; white-space: nowrap; }
.link-muted { color: var(--ink-400, var(--ink-500)); font-weight: 600; font-size: 12.5px; }
.link-muted:hover { color: var(--blue-700); }
.orders__fav { width: 1%; white-space: nowrap; }
.icon-fav {
    background: none;
    border: 0;
    padding: 4px;
    font-size: 15px;
    line-height: 1;
    color: var(--ink-300);
    cursor: pointer;
    transition: color .15s, transform .1s;
}
.icon-fav:hover { color: #F5A623; transform: scale(1.12); }
.icon-fav.is-fav { color: #F5A623; }

/* ---------- Favori servis çipleri (sipariş formu) ---------- */
.fav-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; }
.fav-chips__lbl { display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--ink-500); }
.fav-chips__lbl i { color: #F5A623; }
.chip--fav i { color: #F5A623; margin-right: 1px; }
.empty { padding: 26px 16px; text-align: center; color: var(--ink-500); font-size: 13.5px; }
.settings-form .field { margin-bottom: 12px; }

code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .92em;
    background: var(--blue-050);
    color: var(--blue-700);
    padding: 1px 5px;
    border-radius: 5px;
}

/* ================================================================
   Duyarlı — açık site + ek bileşenler
   ================================================================ */
@media (max-width: 1023px) {
    .stat-grid--3 { grid-template-columns: 1fr; }
    .hero__grid { grid-template-columns: 1fr; gap: 30px; padding: 44px 22px 52px; }
    .features, .steps { grid-template-columns: 1fr 1fr; }
    .site-footer__inner { grid-template-columns: 1fr 1fr; }
    .pubnav__links {
        position: absolute;
        left: 0; right: 0; top: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        margin: 0;
        padding: 12px 22px 18px;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-pop);
        display: none;
    }
    .pubnav__links.is-open { display: flex; }
    .pubnav__links > a { padding: 10px 0; }
    .pubnav__cta { flex-wrap: wrap; margin-top: 6px; }
    .pubnav__burger { display: grid; }
}

@media (max-width: 640px) {
    .strip__inner { grid-template-columns: 1fr 1fr; gap: 14px; }
    .features, .steps, .bulk-summary { grid-template-columns: 1fr; }
    .pay-grid, .field-grid { grid-template-columns: 1fr; }
    .mini-stats { grid-template-columns: 1fr 1fr; }
    .site-footer__inner { grid-template-columns: 1fr; }
    .cta-band__inner { flex-direction: column; align-items: flex-start; }
    .block { padding: 40px 0; }
    .hero__cta .btn { flex: 1; }
}

/* ================================================================
   PASTEL TEMA  —  #F9FBC3 · #B4A2F6 · #ECAAFB · #FFFFFF
   Seçilen tema. Koyu hero + koyu metin kurgusuyla çalışır.
   ================================================================ */
:root {
    /* mor (türetilmiş — okunaklı birincil ton) */
    --blue-800: #4A32C4;
    --blue-700: #5B3FD6;
    --blue-600: #6D4FE3;
    --blue-500: #9C8BF2;
    --blue-050: #F1EEFD;

    /* metin — mor-antrasit */
    --ink-900: #241B4A;
    --ink-700: #473F70;
    --ink-500: #7C7599;
    --ink-300: #ABA5C4;

    /* yüzeyler */
    --bg:        #F6F3FF;
    --card:      #FFFFFF;
    --line:      #E9E3F7;
    --line-soft: #F1EDFA;
    --thead:     #FAF8FF;

    /* "işleniyor" durumu leylak */
    --proc: #6D4FE3;  --proc-bg: #EFEBFD;

    --shadow:     0 1px 2px rgba(36, 27, 74, .05), 0 1px 3px rgba(36, 27, 74, .07);
    --shadow-pop: 0 10px 30px rgba(36, 27, 74, .16);
}

/* Hero — üç pastelin yumuşak geçişi, koyu metin */
.hero {
    background:
        radial-gradient(1100px 400px at 12% -10%, rgba(255, 255, 255, .4), transparent 60%),
        linear-gradient(135deg, #B4A2F6 0%, #ECAAFB 54%, #F9FBC3 100%);
    color: var(--ink-900);
}
.hero__kicker { background: rgba(255, 255, 255, .55); color: #3B2E73; }
.hero__copy > p { color: rgba(36, 27, 74, .78); }
.hero__points { color: #382F60; }
.hero__points i { color: var(--blue-700); }
.btn--light { background: rgba(255, 255, 255, .72); color: var(--blue-700); border-color: rgba(255, 255, 255, .9); }
.btn--light:hover { background: #fff; }

/* Alt CTA bandı */
.cta-band { background: linear-gradient(135deg, #B4A2F6, #ECAAFB); color: var(--ink-900); }
.cta-band p { color: rgba(36, 27, 74, .72); }

/* İstatistik şeridi — bir tutam limon */
.strip { background: #FCFDEB; border-bottom-color: #EEF0C9; }

/* Sol menü — leylak→orkide geçiş, koyu metin */
.sidebar {
    background: linear-gradient(180deg, #B4A2F6 0%, #C6A6F7 52%, #ECAAFB 100%);
    color: #2C2258;
}
.side-user__av { background: rgba(255, 255, 255, .6); color: var(--blue-700); border-color: rgba(255, 255, 255, .55); }
.side-user__name { color: #241B4A; }
.side-user__role { background: rgba(44, 34, 88, .14); color: #3B2E73; }
.side-user:hover { background: rgba(255, 255, 255, .28); }
.nav-group + .nav-group { border-top-color: rgba(44, 34, 88, .16); }
.nav-group__label { color: rgba(44, 34, 88, .55); }
.nav-link { color: #362A6B; }
.nav-link__ico { background: rgba(255, 255, 255, .4); }
.nav-link:hover { background: rgba(255, 255, 255, .5); color: #241B4A; }
.nav-link.is-active { background: #fff; color: var(--blue-700); box-shadow: 0 2px 12px rgba(58, 36, 110, .22); }
.nav-link.is-active i { color: var(--blue-700); }
.nav-link.is-active .nav-link__ico { background: var(--blue-050); }
.sidebar__foot { background: rgba(255, 255, 255, .35); }
.sidebar__foot:hover { background: rgba(255, 255, 255, .55); }
.sidebar__foot-ico { background: rgba(255, 255, 255, .55); color: var(--blue-700); }
.sidebar__foot-txt { color: rgba(44, 34, 88, .72); }
.sidebar__foot-txt strong { color: #241B4A; }
.sidebar__foot-arrow { color: rgba(44, 34, 88, .5); }

/* Üst bar — hafif buğulu beyaz */
.topbar { background: rgba(255, 255, 255, .82); }

/* Alt bilgi — koyu mor */
.site-footer { background: #1C1442; }

/* Örtü */
.scrim { background: rgba(36, 27, 74, .42); }

/* ================================================================
   YÖNETİM PANELİ
   ================================================================ */
.sidebar--admin {
    background: linear-gradient(180deg, #4B36C4 0%, #322591 55%, #221A57 100%);
    color: #EDEAFB;
}
.sidebar--admin .side-user__av { background: rgba(255, 255, 255, .16); color: #fff; }
.sidebar--admin .side-user__name { color: #fff; }
.sidebar--admin .side-user:hover { background: rgba(255, 255, 255, .08); }
.sidebar--admin .nav-group + .nav-group { border-top-color: rgba(255, 255, 255, .14); }
.sidebar--admin .nav-link { color: rgba(255, 255, 255, .84); }
.sidebar--admin .nav-link:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.sidebar--admin .nav-link.is-active { background: #fff; color: var(--blue-700); }
.sidebar--admin .nav-link.is-active i { color: var(--blue-700); }
.sidebar--admin .nav-link.is-active .nav-link__ico { background: var(--blue-050); }

.admin-tag {
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 6px;
    background: #FEE2E2;
    color: #B42318;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* Yönetim tabloları — satır içi işlem formları */
.tbl-form { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.tbl-form input[type="text"],
.tbl-form input[type="number"],
.tbl-form select {
    padding: 6px 8px;
    border: 1px solid var(--line);
    border-radius: 7px;
    font: inherit;
    font-size: 12.5px;
    background: #fff;
    max-width: 130px;
}
.tbl-form input:focus, .tbl-form select:focus {
    outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px var(--blue-050);
}
.btn--danger { background: #D92D20; color: #fff; }
.btn--danger:hover { background: #B42318; }
.btn--soft { background: var(--blue-050); color: var(--blue-700); }
.btn--soft:hover { background: #E4DCFC; }

.adm-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
.adm-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.role-pill { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--blue-050); color: var(--blue-700); }
.role-pill--admin { background: #FEE2E2; color: #B42318; }
.state-on  { color: var(--ok); font-weight: 700; }
.state-off { color: var(--cancel); font-weight: 700; }

.thread { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.msg { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 13.5px; }
.msg--staff { background: var(--blue-050); border-color: #E4DCFC; }
.msg__meta { font-size: 11.5px; color: var(--ink-500); margin-bottom: 4px; font-weight: 600; }

.pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 14px 18px;
    border-top: 1px solid var(--line-soft);
}
.pager__info { font-size: 13px; font-weight: 600; color: var(--ink-500); }
.btn.is-disabled { opacity: .45; pointer-events: none; }

.brand-preview {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    background: var(--blue-050);
    border: 1px solid var(--line);
    border-radius: 10px;
    margin-bottom: 8px;
}
.brand-preview img { max-height: 44px; max-width: 220px; }
.brand-preview--fav img { max-height: 32px; max-width: 32px; }

.link-btn {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    font-weight: 600;
    color: var(--blue-600);
    cursor: pointer;
}
.link-btn:hover { color: var(--blue-800); text-decoration: underline; }
.switch-row em { font-style: normal; color: var(--wait); font-size: 12px; }

.orders--services .tbl-form { flex-wrap: nowrap; }
.orders--services td { vertical-align: middle; }

@media (max-width: 1023px) {
    .adm-metrics { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .adm-metrics { grid-template-columns: 1fr; }
    .adm-form-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   Tema değiştirme butonu
   ================================================================ */
.theme-toggle {
    flex: none;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: transparent;
    color: var(--ink-500);
    font-size: 14px;
    cursor: pointer;
    transition: color .15s, border-color .15s, background .15s;
}
.theme-toggle:hover { color: var(--blue-700); border-color: var(--blue-500); background: var(--blue-050); }
.theme-toggle--pub { margin-left: 4px; }

/* ================================================================
   KOYU TEMA  (data-theme="dark")
   ================================================================ */
:root[data-theme="dark"] {
    color-scheme: dark;

    --blue-800: #C4B5FD;
    --blue-700: #8B5CF6;
    --blue-600: #A78BFA;
    --blue-500: #7C5CE0;
    --blue-050: #241C3A;

    --ink-900: #ECEDF3;
    --ink-700: #C1C4D0;
    --ink-500: #8A8EA0;
    --ink-300: #5B5F70;

    --bg:        #0E0F15;
    --card:      #171922;
    --line:      #2A2D3A;
    --line-soft: #22242F;
    --thead:     #1C1E28;

    --ok: #34D399;     --ok-bg: #10231C;
    --proc: #A78BFA;   --proc-bg: #211C36;
    --wait: #FBBF24;   --wait-bg: #2A2213;
    --cancel: #9096A6; --cancel-bg: #23252F;

    --shadow:     0 1px 2px rgba(0, 0, 0, .45), 0 2px 6px rgba(0, 0, 0, .35);
    --shadow-pop: 0 14px 44px rgba(0, 0, 0, .6);
}

:root[data-theme="dark"] body { background: var(--bg); color: var(--ink-900); }
:root[data-theme="dark"] body.is-public { background: var(--bg); }

/* Üst bar / gezinme */
:root[data-theme="dark"] .topbar { background: rgba(16, 18, 26, .82); }
:root[data-theme="dark"] .pubnav { background: rgba(14, 15, 21, .86); border-bottom-color: var(--line); }
:root[data-theme="dark"] .hamburger,
:root[data-theme="dark"] .pubnav__burger { background: var(--card); border-color: var(--line); color: var(--ink-700); }
:root[data-theme="dark"] .dropdown__menu { background: var(--card); border-color: var(--line); }

/* Sol menü (kullanıcı) — koyu yüzey, açık metin */
:root[data-theme="dark"] .sidebar {
    background: #13141C;
    color: var(--ink-500);
}
:root[data-theme="dark"] .sidebar .side-user__av { background: rgba(255, 255, 255, .08); color: var(--blue-600); border-color: var(--line); }
:root[data-theme="dark"] .sidebar .side-user__name { color: var(--ink-900); }
:root[data-theme="dark"] .sidebar .side-user__role { background: rgba(255, 255, 255, .06); color: var(--ink-500); }
:root[data-theme="dark"] .sidebar .side-user:hover { background: rgba(255, 255, 255, .04); }
:root[data-theme="dark"] .sidebar .nav-group + .nav-group { border-top-color: var(--line); }
:root[data-theme="dark"] .sidebar .nav-group__label { color: var(--ink-300); }
:root[data-theme="dark"] .sidebar .nav-link { color: var(--ink-500); }
:root[data-theme="dark"] .sidebar .nav-link__ico { background: rgba(255, 255, 255, .06); }
:root[data-theme="dark"] .sidebar .nav-link:hover { background: rgba(255, 255, 255, .06); color: var(--ink-900); }
:root[data-theme="dark"] .sidebar .nav-link.is-active { background: var(--blue-700); color: #fff; box-shadow: none; }
:root[data-theme="dark"] .sidebar .nav-link.is-active i { color: #fff; }
:root[data-theme="dark"] .sidebar .nav-link.is-active .nav-link__ico { background: rgba(255, 255, 255, .2); }
:root[data-theme="dark"] .sidebar__foot { background: rgba(255, 255, 255, .04); }
:root[data-theme="dark"] .sidebar__foot:hover { background: rgba(255, 255, 255, .08); }
:root[data-theme="dark"] .sidebar__foot-ico { background: rgba(255, 255, 255, .06); color: var(--blue-600); }
:root[data-theme="dark"] .sidebar__foot-txt { color: var(--ink-500); }
:root[data-theme="dark"] .sidebar__foot-txt strong { color: var(--ink-900); }
:root[data-theme="dark"] .sidebar__foot-arrow { color: var(--ink-500); }

/* Sol menü (yönetim) */
:root[data-theme="dark"] .sidebar--admin { background: linear-gradient(180deg, #241A4D 0%, #16112E 55%, #0F0C1E 100%); }

/* Hero / CTA */
:root[data-theme="dark"] .hero {
    background:
        radial-gradient(1100px 400px at 12% -10%, rgba(255, 255, 255, .12), transparent 60%),
        linear-gradient(150deg, #5B28C4 0%, #35208A 55%, #1C1440 100%);
    color: var(--ink-900);
}
:root[data-theme="dark"] .hero__kicker { background: rgba(255, 255, 255, .12); color: #EDE9FE; }
:root[data-theme="dark"] .hero__copy > p { color: rgba(255, 255, 255, .78); }
:root[data-theme="dark"] .hero__points { color: rgba(255, 255, 255, .88); }
:root[data-theme="dark"] .hero__points i { color: #C4B5FD; }
:root[data-theme="dark"] .btn--light { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .24); }
:root[data-theme="dark"] .btn--light:hover { background: rgba(255, 255, 255, .2); }
:root[data-theme="dark"] .btn--white { background: #fff; color: #4C1D95; }
:root[data-theme="dark"] .cta-band { background: linear-gradient(135deg, #5B28C4, #241653); color: var(--ink-900); }
:root[data-theme="dark"] .cta-band p { color: rgba(255, 255, 255, .78); }

/* Şeritler / bölümler / footer / örtü */
:root[data-theme="dark"] .strip { background: var(--card); border-bottom-color: var(--line); }
:root[data-theme="dark"] .strip__value { color: var(--ink-900); }
:root[data-theme="dark"] .block { background: var(--bg); }
:root[data-theme="dark"] .block--tint { background: #14161F; }
:root[data-theme="dark"] .site-footer { background: #0A0B11; }
:root[data-theme="dark"] .scrim { background: rgba(0, 0, 0, .62); }
:root[data-theme="dark"] .pubnav__links { background: var(--card); border-bottom-color: var(--line); }

/* Kartlar & yüzeyler (#fff sabitlerini token'a çevir) */
:root[data-theme="dark"] .auth-card,
:root[data-theme="dark"] .feature,
:root[data-theme="dark"] .step,
:root[data-theme="dark"] .faq__item,
:root[data-theme="dark"] .post-card,
:root[data-theme="dark"] .testimonial,
:root[data-theme="dark"] .mini-stats div { background: var(--card); border-color: var(--line); }
:root[data-theme="dark"] .timeline__dot { background: var(--card); }

/* Form alanları */
:root[data-theme="dark"] .field select,
:root[data-theme="dark"] .field input,
:root[data-theme="dark"] .field textarea,
:root[data-theme="dark"] .search input,
:root[data-theme="dark"] .card__head--filters select,
:root[data-theme="dark"] .tbl-form input,
:root[data-theme="dark"] .tbl-form select,
:root[data-theme="dark"] .copy-row input {
    background: var(--card);
    color: var(--ink-900);
    border-color: var(--line);
}
:root[data-theme="dark"] .pay__body { border-color: var(--line); }

/* Butonlar */
:root[data-theme="dark"] .btn--ghost,
:root[data-theme="dark"] .btn--google,
:root[data-theme="dark"] .chip--btn,
:root[data-theme="dark"] .chip-tab { background: var(--card); border-color: var(--line); color: var(--ink-700); }
:root[data-theme="dark"] .btn--ghost:hover,
:root[data-theme="dark"] .chip--btn:hover { background: var(--blue-050); color: var(--blue-600); }
:root[data-theme="dark"] .btn--soft:hover { background: #2E2450; }

/* Tablolar */
:root[data-theme="dark"] .orders tbody tr:hover td { background: rgba(255, 255, 255, .03); }

/* API uç noktası kutusu (ink-900 artık açık — koyulaştır) */
:root[data-theme="dark"] .endpoint { background: #0A0B12; color: #C7CCE0; }
:root[data-theme="dark"] .toast { background: #000; }

/* Rozet / etiketler — koyu üstünde okunur kalsın */
:root[data-theme="dark"] .role-pill--admin { background: #3A1616; color: #FCA5A5; }
:root[data-theme="dark"] .admin-tag { background: #3A1616; color: #FCA5A5; }
:root[data-theme="dark"] .btn--danger { background: #E5484D; }
:root[data-theme="dark"] .btn--danger:hover { background: #C93B40; }
