/* =====================================================
   MÜŞTERİ PANELİ + ÜYELİK SAYFALARI
   Tasarımın marka dili: Poppins, #244bff, yumuşak kartlar
===================================================== */

:root {
    --acc-blue: var(--ajansbox-blue, #244bff);
    --acc-blue-dark: var(--ajansbox-blue-dark, #2512c9);
    --acc-navy: #0b0929;
    --acc-text: #252838;
    --acc-muted: #6f7486;
    --acc-faint: #9aa0b1;
    --acc-border: #e8ecf5;
    --acc-soft: #f5f8ff;
    --acc-bg: #f6f8fd;
    --acc-success: #0f9d63;
    --acc-success-bg: #e5f8ef;
    --acc-warning: #b86e00;
    --acc-warning-bg: #fff4e0;
    --acc-danger: #d23b3b;
    --acc-danger-bg: #ffecec;
    --acc-info: #244bff;
    --acc-info-bg: #eaf0ff;
    --acc-muted-bg: #f0f2f7;
    --acc-radius: 18px;
    --acc-shadow: 0 10px 30px rgba(28, 45, 110, .06);
}

.acc-shell, .auth-shell { font-family: 'Poppins', sans-serif; color: var(--acc-text); }
.acc-shell *, .auth-shell * { box-sizing: border-box; }
.acc-shell a, .auth-shell a { color: var(--acc-blue); }

/* ---------- Ortak öğeler ---------- */
.pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 11px; border-radius: 999px;
    font-size: 12px; font-weight: 500; line-height: 1.4; white-space: nowrap;
    background: var(--acc-muted-bg); color: #5d6274;
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .85; }
.pill-success { background: var(--acc-success-bg); color: var(--acc-success); }
.pill-warning { background: var(--acc-warning-bg); color: var(--acc-warning); }
.pill-danger { background: var(--acc-danger-bg); color: var(--acc-danger); }
.pill-info { background: var(--acc-info-bg); color: var(--acc-info); }
.pill-muted { background: var(--acc-muted-bg); color: #6d7285; }

.acc-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; padding: 0 20px; border-radius: 999px;
    border: 1px solid transparent; background: var(--acc-blue); color: #fff !important;
    font: 500 14px/1 'Poppins', sans-serif; text-decoration: none; cursor: pointer;
    transition: background .2s, box-shadow .2s, transform .2s, border-color .2s; white-space: nowrap;
}
.acc-btn:hover { background: var(--acc-blue-dark); box-shadow: 0 10px 22px rgba(36, 75, 255, .22); }
.acc-btn:focus-visible, .acc-input:focus-visible, .acc-nav a:focus-visible { outline: 3px solid rgba(36, 75, 255, .35); outline-offset: 2px; }
.acc-btn svg { width: 17px; height: 17px; }
.acc-btn-ghost { background: #fff; color: var(--acc-blue) !important; border-color: #d9e2ff; }
.acc-btn-ghost:hover { background: var(--acc-soft); box-shadow: none; border-color: var(--acc-blue); }
.acc-btn-light { background: var(--acc-soft); color: var(--acc-blue) !important; }
.acc-btn-light:hover { background: #e6edff; box-shadow: none; }
.acc-btn-danger { background: #fff; color: var(--acc-danger) !important; border-color: #f3cccc; }
.acc-btn-danger:hover { background: var(--acc-danger-bg); box-shadow: none; }
.acc-btn-sm { min-height: 36px; padding: 0 14px; font-size: 13px; }
.acc-btn-block { width: 100%; }
.acc-btn[disabled] { opacity: .55; pointer-events: none; }
.acc-link { font-size: 13px; font-weight: 500; text-decoration: none; }
.acc-link:hover { text-decoration: underline; }

/* ---------- Form ---------- */
.acc-form { display: grid; gap: 18px; }
.acc-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.acc-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.acc-field { display: grid; gap: 7px; }
.acc-field > label, .acc-label { font-size: 13px; font-weight: 500; color: #3a3e50; }
.acc-field > label span.req { color: var(--acc-danger); }
.acc-input, .acc-shell select, .acc-shell textarea, .auth-shell select {
    width: 100%; min-height: 48px; padding: 12px 15px;
    border: 1px solid var(--acc-border); border-radius: 13px; background: #fff;
    font: 400 14px/1.45 'Poppins', sans-serif; color: var(--acc-text);
    transition: border-color .2s, box-shadow .2s;
}
.acc-shell textarea { min-height: 140px; resize: vertical; }
.acc-input:focus, .acc-shell select:focus, .acc-shell textarea:focus { border-color: var(--acc-blue); box-shadow: 0 0 0 4px rgba(36, 75, 255, .1); outline: none; }
.acc-input.is-invalid, .is-invalid { border-color: var(--acc-danger) !important; }
.acc-error { color: var(--acc-danger); font-size: 12.5px; }
.acc-hint { color: var(--acc-muted); font-size: 12.5px; line-height: 1.5; }
.acc-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.55; color: #4a4f62; cursor: pointer; }
.acc-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--acc-blue); flex: 0 0 auto; }
.acc-file {
    display: block; padding: 16px; border: 1.5px dashed #cfd9f5; border-radius: 14px; background: var(--acc-soft);
    font-size: 13px; color: var(--acc-muted); cursor: pointer;
}
.acc-file input { display: block; margin-top: 8px; font: inherit; max-width: 100%; }
.acc-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.acc-radio-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.acc-radio-card { position: relative; display: flex; gap: 10px; padding: 14px; border: 1px solid var(--acc-border); border-radius: 14px; cursor: pointer; font-size: 13px; }
.acc-radio-card:has(input:checked) { border-color: var(--acc-blue); background: var(--acc-soft); }
.acc-radio-card input { accent-color: var(--acc-blue); }
.acc-radio-card strong { display: block; font-weight: 600; font-size: 14px; }
.acc-radio-card small { color: var(--acc-muted); }

/* ---------- Uyarı kutuları ---------- */
.acc-alert {
    display: flex; gap: 12px; align-items: flex-start; padding: 15px 18px; border-radius: 14px;
    background: var(--acc-info-bg); color: #1f3aa8; font-size: 13.5px; line-height: 1.55;
}
.acc-alert svg { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 1px; }
.acc-alert-warning { background: var(--acc-warning-bg); color: #7a4a00; }
.acc-alert-danger { background: var(--acc-danger-bg); color: #9b2020; }
.acc-alert-success { background: var(--acc-success-bg); color: #0b6a43; }
.acc-alert .acc-alert-body { flex: 1; }
.acc-alert strong { font-weight: 600; }
.acc-alert form { display: inline; }
.acc-errors { margin: 0; padding-left: 18px; }

/* =====================================================
   ÜYELİK (giriş / kayıt / şifre)
===================================================== */
.auth-shell {
    background: radial-gradient(1200px 500px at 85% -10%, #e9efff 0%, rgba(233, 239, 255, 0) 60%), linear-gradient(180deg, #f7f9ff 0%, #fff 70%);
    padding: 64px 20px 90px;
}
.auth-wrap { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.auth-wrap.is-narrow { grid-template-columns: 1fr; max-width: 520px; }
.auth-intro h1 { margin: 0 0 14px; font-size: 40px; line-height: 1.15; font-weight: 400; color: var(--acc-navy); letter-spacing: -.02em; }
.auth-intro h1 strong { font-weight: 700; color: var(--acc-blue); }
.auth-intro p { margin: 0 0 26px; color: var(--acc-muted); font-size: 15px; line-height: 1.75; max-width: 460px; }
.auth-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.auth-points li { display: flex; gap: 12px; align-items: center; font-size: 14px; color: #3a3e50; }
.auth-points li span { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: #fff; color: var(--acc-blue); box-shadow: 0 6px 18px rgba(36, 75, 255, .12); flex: 0 0 auto; }
.auth-points svg { width: 18px; height: 18px; }
.auth-card {
    background: #fff; border: 1px solid var(--acc-border); border-radius: 24px;
    padding: 36px; box-shadow: 0 30px 70px rgba(28, 45, 110, .10);
}
.auth-card h2 { margin: 0 0 6px; font-size: 24px; font-weight: 600; color: var(--acc-navy); }
.auth-card > p.lead { margin: 0 0 24px; font-size: 14px; color: var(--acc-muted); line-height: 1.6; }
.auth-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; }
.auth-foot { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--acc-border); text-align: center; font-size: 14px; color: var(--acc-muted); }
.auth-foot a { font-weight: 600; text-decoration: none; }
.auth-pass { position: relative; }
.auth-pass .acc-input { padding-right: 52px; }
.auth-pass button {
    position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
    width: 36px; height: 36px; border: 0; border-radius: 10px; background: transparent; color: var(--acc-faint); cursor: pointer;
}
.auth-pass button:hover { color: var(--acc-blue); background: var(--acc-soft); }
.auth-pass svg { width: 19px; height: 19px; }
.auth-icon-big { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--acc-soft); color: var(--acc-blue); margin-bottom: 18px; }
.auth-icon-big svg { width: 30px; height: 30px; }
.auth-strength { height: 5px; border-radius: 5px; background: var(--acc-muted-bg); overflow: hidden; }
.auth-strength i { display: block; height: 100%; width: 0; background: var(--acc-danger); transition: width .25s, background .25s; }

/* =====================================================
   PANEL İSKELETİ
===================================================== */
.acc-shell { background: var(--acc-bg); padding: 34px 20px 80px; min-height: 60vh; }
.acc-container { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; align-items: start; }

.acc-side {
    position: sticky; top: 96px;
    background: #fff; border: 1px solid var(--acc-border); border-radius: 22px;
    padding: 18px; box-shadow: var(--acc-shadow);
}
.acc-user { display: flex; gap: 12px; align-items: center; padding: 6px 6px 18px; border-bottom: 1px solid var(--acc-border); margin-bottom: 12px; }
.acc-avatar {
    width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; flex: 0 0 auto;
    background: linear-gradient(135deg, #244bff, #5b8cff); color: #fff; font-weight: 600; font-size: 16px; letter-spacing: .02em;
}
.acc-user-name { font-size: 14.5px; font-weight: 600; color: var(--acc-navy); line-height: 1.3; }
.acc-user-mail { font-size: 12px; color: var(--acc-muted); word-break: break-all; }
.acc-nav { display: grid; gap: 2px; }
.acc-nav-label { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--acc-faint); padding: 14px 12px 6px; font-weight: 600; }
.acc-nav a, .acc-nav button {
    display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px;
    color: #4a4f62 !important; text-decoration: none; font: 400 13.5px/1.35 'Poppins', sans-serif;
    border: 0; background: transparent; width: 100%; text-align: left; cursor: pointer; transition: background .15s, color .15s;
}
.acc-nav a svg, .acc-nav button svg { width: 19px; height: 19px; flex: 0 0 auto; color: #8a90a3; transition: color .15s; }
.acc-nav a:hover, .acc-nav button:hover { background: var(--acc-soft); color: var(--acc-blue) !important; }
.acc-nav a:hover svg { color: var(--acc-blue); }
.acc-nav a.is-active { background: var(--acc-blue); color: #fff !important; font-weight: 500; box-shadow: 0 10px 22px rgba(36, 75, 255, .22); }
.acc-nav a.is-active svg { color: #fff; }
.acc-nav .acc-badge { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--acc-danger); color: #fff; font-size: 11px; font-weight: 600; display: grid; place-items: center; }
.acc-nav a.is-active .acc-badge { background: #fff; color: var(--acc-blue); }
.acc-nav form { margin: 6px 0 0; padding-top: 8px; border-top: 1px solid var(--acc-border); }
.acc-side-help { margin-top: 14px; padding: 16px; border-radius: 16px; background: linear-gradient(135deg, #0b0929, #1d2a6b); color: #fff; }
.acc-side-help strong { display: block; font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.acc-side-help p { margin: 0 0 12px; font-size: 12.5px; color: rgba(255, 255, 255, .72); line-height: 1.5; }
.acc-side-help a { color: #fff !important; font-size: 13px; font-weight: 500; text-decoration: none; }

.acc-menu-toggle { display: none; }

.acc-main { min-width: 0; display: grid; gap: 22px; }
.acc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; flex-wrap: wrap; }
.acc-head-text small { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--acc-blue); font-weight: 600; margin-bottom: 6px; }
.acc-head h1 { margin: 0; font-size: 28px; line-height: 1.2; font-weight: 600; color: var(--acc-navy); letter-spacing: -.01em; }
.acc-head p { margin: 6px 0 0; color: var(--acc-muted); font-size: 14px; line-height: 1.6; }
.acc-head-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.acc-crumb { display: flex; gap: 8px; font-size: 12.5px; color: var(--acc-faint); margin-bottom: 8px; flex-wrap: wrap; }
.acc-crumb a { color: var(--acc-muted); text-decoration: none; }
.acc-crumb a:hover { color: var(--acc-blue); }

/* Kart */
.acc-card { background: #fff; border: 1px solid var(--acc-border); border-radius: var(--acc-radius); box-shadow: var(--acc-shadow); }
.acc-card-pad { padding: 24px; }
.acc-card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 24px; border-bottom: 1px solid var(--acc-border); flex-wrap: wrap; }
.acc-card-head h2, .acc-card-head h3 { margin: 0; font-size: 16px; font-weight: 600; color: var(--acc-navy); }
.acc-card-head p { margin: 3px 0 0; font-size: 12.5px; color: var(--acc-muted); }
.acc-card-body { padding: 22px 24px; }
.acc-card-foot { padding: 16px 24px; border-top: 1px solid var(--acc-border); display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.acc-cols { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.acc-cols-even { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.acc-stack { display: grid; gap: 22px; }

/* İstatistik kutuları */
.acc-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.acc-stat {
    position: relative; display: block; padding: 20px; border-radius: var(--acc-radius);
    background: #fff; border: 1px solid var(--acc-border); box-shadow: var(--acc-shadow);
    text-decoration: none; color: inherit !important; transition: transform .2s, box-shadow .2s, border-color .2s; overflow: hidden;
}
.acc-stat:hover { transform: translateY(-2px); border-color: #cfdaff; box-shadow: 0 16px 34px rgba(28, 45, 110, .1); }
.acc-stat-icon { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: var(--acc-soft); color: var(--acc-blue); margin-bottom: 16px; }
.acc-stat-icon svg { width: 20px; height: 20px; }
.acc-stat.tone-warning .acc-stat-icon { background: var(--acc-warning-bg); color: var(--acc-warning); }
.acc-stat.tone-danger .acc-stat-icon { background: var(--acc-danger-bg); color: var(--acc-danger); }
.acc-stat.tone-success .acc-stat-icon { background: var(--acc-success-bg); color: var(--acc-success); }
.acc-stat strong { display: block; font-size: 28px; line-height: 1; font-weight: 600; color: var(--acc-navy); }
.acc-stat span { display: block; margin-top: 8px; font-size: 13px; color: var(--acc-muted); }
.acc-stat em { display: block; margin-top: 4px; font-style: normal; font-size: 12px; color: var(--acc-warning); font-weight: 500; }

/* Hoş geldin şeridi */
.acc-hero {
    position: relative; overflow: hidden; border-radius: 22px; padding: 28px 30px;
    background: linear-gradient(120deg, #244bff 0%, #3b67ff 55%, #5b8cff 100%); color: #fff;
    display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
}
.acc-hero::after { content: ""; position: absolute; right: -80px; top: -120px; width: 320px; height: 320px; border-radius: 50%; border: 50px solid rgba(255, 255, 255, .08); }
.acc-hero h1 { margin: 0 0 6px; font-size: 26px; font-weight: 600; }
.acc-hero p { margin: 0; font-size: 14px; color: rgba(255, 255, 255, .82); }
.acc-hero .acc-head-actions { position: relative; z-index: 1; }
.acc-hero .acc-btn { background: #fff; color: var(--acc-blue) !important; }
.acc-hero .acc-btn:hover { background: #eef2ff; }
.acc-hero .acc-btn-ghost { background: rgba(255, 255, 255, .12); color: #fff !important; border-color: rgba(255, 255, 255, .35); }
.acc-hero .acc-btn-ghost:hover { background: rgba(255, 255, 255, .2); }

/* Liste satırları */
.acc-list { list-style: none; margin: 0; padding: 0; }
.acc-list > li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 24px; border-bottom: 1px solid var(--acc-border); }
.acc-list > li:last-child { border-bottom: 0; }
.acc-list-main { min-width: 0; }
.acc-list-title { display: block; font-size: 14px; font-weight: 500; color: var(--acc-navy) !important; text-decoration: none; overflow: hidden; text-overflow: ellipsis; }
a.acc-list-title:hover { color: var(--acc-blue) !important; }
.acc-list-meta { display: block; font-size: 12.5px; color: var(--acc-muted); margin-top: 3px; }
.acc-list-side { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; text-align: right; }
.acc-amount { font-weight: 600; color: var(--acc-navy); font-size: 14px; white-space: nowrap; }

/* Tablo (mobilde kart) */
.acc-table-wrap { overflow-x: auto; }
.acc-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.acc-table th { text-align: left; font-weight: 500; font-size: 12px; color: var(--acc-muted); text-transform: uppercase; letter-spacing: .05em; padding: 13px 18px; background: #fafbfe; border-bottom: 1px solid var(--acc-border); white-space: nowrap; }
.acc-table td { padding: 15px 18px; border-bottom: 1px solid var(--acc-border); vertical-align: middle; }
.acc-table tr:last-child td { border-bottom: 0; }
.acc-table tbody tr:hover { background: #fbfcff; }
.acc-table .num { text-align: right; white-space: nowrap; }
.acc-table a.strong { font-weight: 600; color: var(--acc-navy); text-decoration: none; }
.acc-table a.strong:hover { color: var(--acc-blue); }
.acc-table small { display: block; color: var(--acc-muted); font-size: 12px; margin-top: 2px; }
.acc-table tfoot td { font-weight: 500; }
.acc-total-row td { font-size: 15px; font-weight: 600 !important; color: var(--acc-navy); }

/* Filtre şeritleri */
.acc-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.acc-tab {
    display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 16px; border-radius: 999px;
    background: #fff; border: 1px solid var(--acc-border); color: #4a4f62 !important; text-decoration: none; font-size: 13px; transition: .15s;
}
.acc-tab:hover { border-color: var(--acc-blue); color: var(--acc-blue) !important; }
.acc-tab.is-active { background: var(--acc-navy); border-color: var(--acc-navy); color: #fff !important; }
.acc-tab b { font-weight: 600; font-size: 11.5px; padding: 1px 7px; border-radius: 999px; background: var(--acc-muted-bg); color: #4a4f62; }
.acc-tab.is-active b { background: rgba(255, 255, 255, .18); color: #fff; }
.acc-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.acc-search { position: relative; min-width: 260px; }
.acc-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--acc-faint); }
.acc-search input { padding-left: 42px !important; min-height: 42px !important; border-radius: 999px !important; }

/* Boş durum */
.acc-empty { text-align: center; padding: 46px 24px; }
.acc-empty-icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 20px; display: grid; place-items: center; background: var(--acc-soft); color: var(--acc-blue); }
.acc-empty-icon svg { width: 28px; height: 28px; }
.acc-empty h3 { margin: 0 0 6px; font-size: 16px; font-weight: 600; color: var(--acc-navy); }
.acc-empty p { margin: 0 auto 18px; max-width: 420px; font-size: 13.5px; color: var(--acc-muted); line-height: 1.6; }

/* Ürün / lisans kartları */
.acc-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.acc-product {
    display: flex; flex-direction: column; gap: 16px; padding: 22px; border-radius: var(--acc-radius);
    background: #fff; border: 1px solid var(--acc-border); box-shadow: var(--acc-shadow); transition: border-color .2s, transform .2s;
}
.acc-product:hover { border-color: #cfdaff; transform: translateY(-2px); }
.acc-product-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.acc-product-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--acc-soft); color: var(--acc-blue); flex: 0 0 auto; }
.acc-product-icon svg { width: 22px; height: 22px; }
.acc-product h3 { margin: 0; font-size: 16px; font-weight: 600; color: var(--acc-navy); }
.acc-product h3 a { color: inherit !important; text-decoration: none; }
.acc-product-sub { font-size: 12.5px; color: var(--acc-muted); margin-top: 3px; }
.acc-product-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 14px; border-radius: 14px; background: #fafbfe; }
.acc-product-meta span { display: block; font-size: 11.5px; color: var(--acc-faint); }
.acc-product-meta strong { display: block; font-size: 13px; font-weight: 500; color: var(--acc-navy); margin-top: 2px; word-break: break-word; }
.acc-product-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; }
.acc-days { font-size: 12.5px; color: var(--acc-muted); }
.acc-days.is-soon { color: var(--acc-warning); font-weight: 500; }
.acc-days.is-over { color: var(--acc-danger); font-weight: 500; }

/* Detay bilgi ızgarası */
.acc-info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
.acc-info > div { padding: 15px 24px; border-bottom: 1px solid var(--acc-border); }
.acc-info > div:nth-child(odd) { border-right: 1px solid var(--acc-border); }
.acc-info span { display: block; font-size: 12px; color: var(--acc-faint); margin-bottom: 4px; }
.acc-info strong { display: block; font-size: 14px; font-weight: 500; color: var(--acc-navy); word-break: break-word; }
.acc-key { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.acc-key code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13.5px; padding: 8px 12px; border-radius: 10px; background: var(--acc-soft); color: var(--acc-navy); letter-spacing: .03em; word-break: break-all; }

.acc-timeline { list-style: none; margin: 0; padding: 0 24px 8px; }
.acc-timeline li { position: relative; padding: 14px 0 14px 26px; border-left: 2px solid var(--acc-border); margin-left: 6px; }
.acc-timeline li::before { content: ""; position: absolute; left: -7px; top: 18px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--acc-blue); }
.acc-timeline li:last-child { border-left-color: transparent; }
.acc-timeline strong { display: block; font-size: 13.5px; font-weight: 500; color: var(--acc-navy); }
.acc-timeline small { display: block; font-size: 12px; color: var(--acc-muted); margin-top: 2px; }

/* Destek konuşması */
.acc-chat { display: grid; gap: 18px; padding: 24px; background: linear-gradient(180deg, #fbfcff, #fff); }
.acc-msg { display: flex; gap: 12px; max-width: 82%; }
.acc-msg-avatar { width: 38px; height: 38px; border-radius: 13px; display: grid; place-items: center; font-size: 13px; font-weight: 600; flex: 0 0 auto; background: var(--acc-navy); color: #fff; }
.acc-msg-bubble { padding: 14px 18px; border-radius: 6px 18px 18px 18px; background: #fff; border: 1px solid var(--acc-border); box-shadow: 0 6px 16px rgba(28, 45, 110, .05); min-width: 0; }
.acc-msg-head { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; margin-bottom: 6px; }
.acc-msg-head strong { font-size: 13px; font-weight: 600; color: var(--acc-navy); }
.acc-msg-head em { font-style: normal; font-size: 11px; color: var(--acc-blue); background: var(--acc-info-bg); padding: 2px 8px; border-radius: 999px; }
.acc-msg-head time { font-size: 11.5px; color: var(--acc-faint); }
.acc-msg-text { font-size: 14px; line-height: 1.7; color: #33374a; overflow-wrap: anywhere; }
.acc-msg-text a { word-break: break-all; }
.acc-msg.is-mine { margin-left: auto; flex-direction: row-reverse; }
.acc-msg.is-mine .acc-msg-avatar { background: linear-gradient(135deg, #244bff, #5b8cff); }
.acc-msg.is-mine .acc-msg-bubble { background: var(--acc-blue); border-color: var(--acc-blue); border-radius: 18px 6px 18px 18px; }
.acc-msg.is-mine .acc-msg-head strong, .acc-msg.is-mine .acc-msg-text { color: #fff; }
.acc-msg.is-mine .acc-msg-head time { color: rgba(255, 255, 255, .7); }
.acc-msg.is-mine .acc-msg-text a { color: #fff; }
.acc-attachments { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.acc-attachment { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 10px; background: var(--acc-soft); font-size: 12.5px; color: var(--acc-navy) !important; text-decoration: none; max-width: 100%; }
.acc-attachment img { width: 44px; height: 44px; object-fit: cover; border-radius: 7px; }
.acc-attachment small { color: var(--acc-muted); }
.acc-msg.is-mine .acc-attachment { background: rgba(255, 255, 255, .16); color: #fff !important; }
.acc-msg.is-mine .acc-attachment small { color: rgba(255, 255, 255, .75); }
.acc-reply { padding: 20px 24px 24px; border-top: 1px solid var(--acc-border); display: grid; gap: 14px; }
.acc-reply-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.acc-ticket-meta { display: grid; gap: 0; }
.acc-ticket-meta > div { display: flex; justify-content: space-between; gap: 12px; padding: 13px 22px; border-bottom: 1px solid var(--acc-border); font-size: 13px; }
.acc-ticket-meta > div:last-child { border-bottom: 0; }
.acc-ticket-meta span { color: var(--acc-muted); }
.acc-ticket-meta strong { font-weight: 500; color: var(--acc-navy); text-align: right; }

/* Bildirimler */
.acc-notes > li { align-items: flex-start; }
.acc-note-icon { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: var(--acc-soft); color: var(--acc-blue); flex: 0 0 auto; }
.acc-note-icon svg { width: 19px; height: 19px; }
.acc-note-unread { background: #f8faff; }
.acc-note-unread .acc-list-title::after { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--acc-blue); margin-left: 8px; vertical-align: middle; }
.acc-note-row { display: flex; gap: 14px; min-width: 0; }

/* Fatura adres kartları */
.acc-addresses { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.acc-address { position: relative; padding: 20px; border: 1px solid var(--acc-border); border-radius: 16px; background: #fff; font-size: 13px; line-height: 1.65; color: #4a4f62; }
.acc-address.is-default { border-color: var(--acc-blue); box-shadow: 0 0 0 3px rgba(36, 75, 255, .08); }
.acc-address h3 { margin: 0 0 8px; font-size: 14.5px; font-weight: 600; color: var(--acc-navy); display: flex; gap: 8px; align-items: center; justify-content: space-between; }
.acc-address-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.acc-address-actions form { margin: 0; }

/* Duyurular */
.acc-announce { padding: 16px 24px; border-bottom: 1px solid var(--acc-border); }
.acc-announce:last-child { border-bottom: 0; }
.acc-announce strong { display: block; font-size: 14px; font-weight: 600; color: var(--acc-navy); margin-bottom: 4px; }
.acc-announce p { margin: 0; font-size: 13px; color: var(--acc-muted); line-height: 1.6; }
.acc-announce small { display: block; margin-top: 6px; font-size: 11.5px; color: var(--acc-faint); }

/* Sipariş özeti */
.acc-summary { display: grid; gap: 10px; font-size: 14px; }
.acc-summary > div { display: flex; justify-content: space-between; gap: 12px; }
.acc-summary span { color: var(--acc-muted); }
.acc-summary .is-total { padding-top: 12px; margin-top: 4px; border-top: 1px dashed var(--acc-border); font-size: 17px; font-weight: 600; color: var(--acc-navy); }
.acc-summary .is-total span { color: var(--acc-navy); }
.acc-summary .is-discount strong { color: var(--acc-success); }

details.acc-details { border-top: 1px solid var(--acc-border); }
details.acc-details > summary { list-style: none; cursor: pointer; padding: 16px 24px; font-size: 14px; font-weight: 500; color: var(--acc-navy); display: flex; justify-content: space-between; align-items: center; }
details.acc-details > summary::-webkit-details-marker { display: none; }
details.acc-details > summary::after { content: "+"; font-size: 20px; color: var(--acc-blue); }
details.acc-details[open] > summary::after { content: "−"; }
details.acc-details > div { padding: 0 24px 22px; }

/* Sayfalama (ortak .pager) */
.acc-shell .pager { margin: 4px 0 0; }

/* =====================================================
   DUYARLI
===================================================== */
@media (max-width: 1280px) {
    .acc-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
    .acc-container { grid-template-columns: 1fr; gap: 18px; }
    .acc-side { position: static; padding: 14px; }
    .acc-menu-toggle {
        display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px;
        min-height: 48px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--acc-border);
        background: var(--acc-soft); font: 500 14px 'Poppins', sans-serif; color: var(--acc-navy); cursor: pointer;
    }
    .acc-menu-toggle svg { width: 20px; height: 20px; transition: transform .2s; }
    .acc-side.is-open .acc-menu-toggle svg { transform: rotate(180deg); }
    .acc-side .acc-user { border-bottom: 0; padding-bottom: 12px; margin-bottom: 0; }
    .acc-side-collapsible { display: none; margin-top: 12px; }
    .acc-side.is-open .acc-side-collapsible { display: block; }
    .acc-cols, .acc-cols-even { grid-template-columns: 1fr; }
    .auth-wrap { grid-template-columns: 1fr; max-width: 560px; }
    .auth-intro { display: none; }
}
@media (max-width: 720px) {
    .acc-shell { padding: 18px 16px 60px; }
    .acc-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
    .acc-stat { padding: 16px; }
    .acc-stat strong { font-size: 24px; }
    .acc-head h1 { font-size: 22px; }
    .acc-hero { padding: 22px; }
    .acc-hero h1 { font-size: 21px; }
    .acc-grid-2, .acc-grid-3, .acc-radio-cards { grid-template-columns: 1fr; }
    .acc-info { grid-template-columns: 1fr; }
    .acc-info > div:nth-child(odd) { border-right: 0; }
    .acc-card-head, .acc-card-body, .acc-list > li { padding-left: 16px; padding-right: 16px; }
    .acc-list > li { flex-wrap: wrap; }
    .acc-chat { padding: 16px; }
    .acc-msg { max-width: 100%; }
    .acc-msg-avatar { display: none; }
    .acc-reply { padding: 16px; }
    .acc-search { min-width: 0; width: 100%; }
    .acc-products { grid-template-columns: 1fr; }
    .auth-shell { padding: 28px 16px 60px; }
    .auth-card { padding: 24px 20px; border-radius: 20px; }

    /* Tablo → kart */
    .acc-table thead { display: none; }
    .acc-table, .acc-table tbody, .acc-table tr, .acc-table td { display: block; width: 100%; }
    .acc-table tr { padding: 12px 16px; border-bottom: 1px solid var(--acc-border); }
    .acc-table td { padding: 5px 0; border: 0; display: flex; justify-content: space-between; gap: 14px; text-align: right; }
    .acc-table td::before { content: attr(data-label); color: var(--acc-muted); font-size: 12px; text-align: left; flex: 0 0 auto; }
    .acc-table td.num { text-align: right; }
    .acc-table tfoot tr { padding: 4px 16px; }
}

/* =====================================================
   YAZDIRMA (fatura)
===================================================== */
.inv-print-page { background: #eef1f7; font-family: 'Poppins', sans-serif; color: #1f2333; margin: 0; }
.inv-toolbar { max-width: 210mm; margin: 24px auto 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 4px; flex-wrap: wrap; }
.inv-toolbar p { margin: 0; font-size: 12.5px; color: #6f7486; }
.inv-sheet { width: 210mm; min-height: 297mm; margin: 16px auto 40px; padding: 18mm 16mm; background: #fff; box-shadow: 0 20px 60px rgba(20, 30, 70, .12); }
.inv-top { display: flex; justify-content: space-between; gap: 24px; padding-bottom: 18px; border-bottom: 2px solid #244bff; }
.inv-top img { max-height: 42px; max-width: 200px; }
.inv-title { text-align: right; }
.inv-title h1 { margin: 0; font-size: 22px; font-weight: 700; color: #0b0929; letter-spacing: .05em; }
.inv-title p { margin: 4px 0 0; font-size: 12px; color: #6f7486; }
.inv-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 22px 0; font-size: 12px; line-height: 1.65; }
.inv-parties h3 { margin: 0 0 6px; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #244bff; }
.inv-parties strong { font-size: 13px; color: #0b0929; }
.inv-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.inv-table th { background: #f3f6ff; text-align: left; padding: 9px 10px; font-weight: 600; font-size: 11px; color: #3a3e50; border-bottom: 1px solid #dfe5f5; }
.inv-table td { padding: 10px; border-bottom: 1px solid #eef1f7; vertical-align: top; }
.inv-table .num { text-align: right; white-space: nowrap; }
.inv-totals { margin-left: auto; width: 280px; margin-top: 16px; font-size: 12.5px; }
.inv-totals div { display: flex; justify-content: space-between; padding: 6px 0; }
.inv-totals .grand { border-top: 2px solid #0b0929; margin-top: 4px; padding-top: 10px; font-size: 15px; font-weight: 700; color: #0b0929; }
.inv-note { margin-top: 28px; padding: 12px 14px; border-radius: 8px; background: #f7f9fe; font-size: 11px; color: #5d6274; line-height: 1.6; }
.inv-stamp { display: inline-block; margin-top: 8px; padding: 4px 12px; border: 2px solid; border-radius: 6px; font-weight: 700; font-size: 12px; letter-spacing: .1em; transform: rotate(-4deg); }
.inv-stamp.paid { color: #0f9d63; } .inv-stamp.unpaid { color: #b86e00; } .inv-stamp.cancelled { color: #8a90a3; }
@media print {
    @page { size: A4; margin: 0; }
    .inv-print-page { background: #fff; }
    .inv-toolbar { display: none !important; }
    .inv-sheet { margin: 0; box-shadow: none; width: auto; min-height: auto; }
}
@media (max-width: 860px) {
    .inv-sheet { width: auto; margin: 12px; padding: 22px 18px; min-height: 0; }
    .inv-parties { grid-template-columns: 1fr; }
    .inv-totals { width: 100%; }
}

.acc-ico-inline, .acc-file > svg { width: 16px; height: 16px; vertical-align: -3px; margin-right: 4px; }
.acc-attachment > svg { width: 16px; height: 16px; flex: 0 0 auto; }

/* Paket yükseltme listesi */
.acc-upgrade-list { display: grid; gap: 10px; margin-top: 14px; }
.acc-upgrade-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border: 1px solid var(--acc-border, #e7ebf3); border-radius: 14px; }
.acc-upgrade-action { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.acc-upgrade-price { font-weight: 600; font-size: 15px; }
.acc-upgrade-price small { font-weight: 400; color: #7a8196; font-size: 11px; }
@media (max-width: 600px) { .acc-upgrade-item { flex-direction: column; align-items: flex-start; } }

/* Kayıtlı kartlar */
.acc-saved-card h3 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.acc-saved-card h3 svg { width: 20px; height: 20px; color: #1e64ff; }
.acc-saved-card small { color: var(--acc-muted, #6b7385); }
.acc-steps-list { margin: 0 0 6px; padding-left: 20px; display: grid; gap: 8px; color: #44506a; line-height: 1.6; font-size: 14px; }
.acc-subtitle { font-size: 15px; font-weight: 600; margin: 22px 0 10px; color: #0b0929; }
.acc-autopay { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 14px 18px; border-radius: 12px; background: #f6f9ff; border: 1px solid #dbe5fb; font-size: 14px; color: #44506a; }
.acc-autopay strong { color: #0b0929; }
