/* SONTEKLİF Yönetim Paneli */

/* Özel Şık Scrollbar (Tüm Admin Paneli, Tablolar & Bildirim Geçmişi) */
body.admin,
body.admin *,
.table-wrap,
.notif-table-wrap,
.admin-detail {
    scrollbar-width: thin;
    scrollbar-color: rgba(240, 137, 46, 0.45) #0b0e17;
}
body.admin *::-webkit-scrollbar,
.table-wrap::-webkit-scrollbar,
.notif-table-wrap::-webkit-scrollbar,
.admin-detail::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}
body.admin *::-webkit-scrollbar-track,
.table-wrap::-webkit-scrollbar-track,
.notif-table-wrap::-webkit-scrollbar-track,
.admin-detail::-webkit-scrollbar-track {
    background: #0b0e17;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}
body.admin *::-webkit-scrollbar-thumb,
.table-wrap::-webkit-scrollbar-thumb,
.notif-table-wrap::-webkit-scrollbar-thumb,
.admin-detail::-webkit-scrollbar-thumb {
    background: rgba(240, 137, 46, 0.38);
    border-radius: 6px;
    border: 1px solid rgba(240, 137, 46, 0.2);
    transition: all .2s ease;
}
body.admin *::-webkit-scrollbar-thumb:hover,
.table-wrap::-webkit-scrollbar-thumb:hover,
.notif-table-wrap::-webkit-scrollbar-thumb:hover,
.admin-detail::-webkit-scrollbar-thumb:hover {
    background: var(--orange, #f0892e);
    box-shadow: 0 0 10px rgba(240, 137, 46, 0.6);
}

/* ================= ADMIN LOGIN (Split Layout) ================= */
.admin-login { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: var(--bg); position: relative; overflow-x: hidden; }
.al-bg { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.al-orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; animation: alFloat 14s ease-in-out infinite; }
.al-orb--1 { width: 520px; height: 520px; background: rgba(240,137,46,.22); top: -160px; left: -120px; }
.al-orb--2 { width: 420px; height: 420px; background: rgba(255,170,51,.12); bottom: -140px; right: -100px; animation-delay: -7s; }
.al-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
@keyframes alFloat { 0%,100% { transform: translate(0,0); } 50% { transform: translate(40px, 30px); } }

.al-shell { position: relative; z-index: 1; width: min(980px, 100%); display: grid; grid-template-columns: 1.05fr 1fr; border-radius: 24px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); background: rgba(16,21,32,.72); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: none !important; animation: alIn .6s cubic-bezier(.16,1,.3,1); }
@keyframes alIn { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }

/* Sol marka paneli */
.al-brand { position: relative; padding: 44px 44px 36px; display: flex; flex-direction: column; gap: 36px; background: linear-gradient(160deg, rgba(240,137,46,.14) 0%, rgba(16,21,32,0) 55%), linear-gradient(180deg, #151b28, #0f131d); border-right: 1px solid rgba(255,255,255,.06); overflow: hidden; }
.al-brand::after { content: ''; position: absolute; width: 340px; height: 340px; right: -170px; bottom: -170px; border-radius: 50%; border: 1px dashed rgba(240,137,46,.25); animation: rotate 50s linear infinite; }
.al-brand__logo { height: 34px; width: auto; align-self: flex-start; }
.al-brand__body { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 20px; position: relative; z-index: 1; }
.al-chip { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 6px 12px; border-radius: 99px; font-size: 12px; font-weight: 700; color: var(--orange-2); background: rgba(240,137,46,.1); border: 1px solid rgba(240,137,46,.28); }
.al-chip__dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; animation: livePulse 2s infinite; }
.al-brand h2 { font-size: 26px; line-height: 1.3; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.al-features { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 12px; }
.al-features li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.06); transition: border-color .25s, background .25s, transform .25s; }
.al-features li:hover { border-color: rgba(240,137,46,.3); background: rgba(240,137,46,.05); transform: translateX(4px); }
.al-features__icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; background: rgba(240,137,46,.12); border: 1px solid rgba(240,137,46,.25); color: var(--orange-2); }
.al-features__icon svg { width: 18px; height: 18px; }
.al-features strong { display: block; font-size: 14px; color: #fff; }
.al-features small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 1px; }
.al-brand__foot { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted-2); position: relative; z-index: 1; }
.al-brand__foot svg { width: 18px; height: 18px; color: #4ade80; flex-shrink: 0; }

/* Sağ form paneli */
.al-panel { padding: 48px 48px 28px; display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.al-form { display: flex; flex-direction: column; }
.al-form__logo-mobile { display: none; height: 30px; width: auto; margin: 0 auto 22px; }
.al-form__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px; background: linear-gradient(135deg, rgba(240,137,46,.2), rgba(240,137,46,.06)); border: 1px solid rgba(240,137,46,.35); color: var(--orange-2); }
.al-form__icon svg { width: 24px; height: 24px; }
.al-form h1 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.al-form__lead { margin: 8px 0 26px; color: var(--muted); font-size: 14.5px; }

.al-alert { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; margin-bottom: 20px; border-radius: 12px; font-size: 13.5px; font-weight: 500; color: #fca5a5; background: rgba(239,68,68,.08); border: 1px solid rgba(239,68,68,.28); animation: stepIn .3s ease; }
.al-alert svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }

.al-label { font-size: 13.5px; font-weight: 600; color: #d6dbe5; margin-bottom: 8px; }
.al-input { position: relative; display: flex; align-items: center; height: 52px; border-radius: 13px; background: #0c1018; border: 1px solid var(--border-strong); transition: border-color .2s, background .2s; }
.al-input:focus-within { border-color: var(--orange); background: #0e131c; outline: 3px solid rgba(240,137,46,.14); }
.al-input.is-error { border-color: rgba(239,68,68,.6); animation: alShake .4s ease; }
@keyframes alShake { 0%,100% { transform: translateX(0); } 20%,60% { transform: translateX(-6px); } 40%,80% { transform: translateX(6px); } }
.al-input__icon { width: 18px; height: 18px; margin-left: 16px; color: var(--muted-2); flex-shrink: 0; transition: color .2s; }
.al-input:focus-within .al-input__icon { color: var(--orange-2); }
.al-input input { flex: 1; min-width: 0; height: 100%; padding: 0 12px; background: transparent; border: 0; outline: none; color: var(--text); font: 600 15px var(--font); letter-spacing: .04em; }
.al-input input::placeholder { color: var(--muted-2); letter-spacing: .15em; }
.al-input__toggle { width: 44px; height: 100%; display: grid; place-items: center; background: none; border: 0; color: var(--muted); cursor: pointer; transition: color .2s; }
.al-input__toggle:hover { color: #fff; }
.al-input__toggle svg { width: 18px; height: 18px; }
.al-input__toggle .eye-off { display: none; }
.al-input__toggle.is-shown .eye-on { display: none; }
.al-input__toggle.is-shown .eye-off { display: block; }
.al-caps { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 12.5px; font-weight: 600; color: #fbbf24; }
.al-caps[hidden] { display: none; }
.al-caps svg { width: 14px; height: 14px; }

.al-submit { margin-top: 22px; height: 52px; gap: 10px; position: relative; }
.al-submit__arrow { width: 18px; height: 18px; transition: transform .25s; }
.al-submit:hover .al-submit__arrow { transform: translateX(4px); }
.al-submit__spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: alSpin .7s linear infinite; }
.al-submit.is-loading .al-submit__spinner { display: inline-block; }
.al-submit.is-loading .al-submit__arrow { display: none; }
.al-submit.is-loading { pointer-events: none; opacity: .85; }
@keyframes alSpin { to { transform: rotate(360deg); } }

.al-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0 16px; font-size: 12px; color: var(--muted-2); text-transform: uppercase; letter-spacing: .08em; }
.al-divider::before, .al-divider::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,.07); }
.al-back { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 12px; font-size: 14px; font-weight: 600; color: var(--muted); border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.02); transition: color .2s, border-color .2s, background .2s; }
.al-back:hover { color: #fff; border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.05); }
.al-back svg { width: 16px; height: 16px; }
.al-copy { font-size: 11.5px; color: var(--muted-2); text-align: center; margin: 0; }

@media (max-width: 860px) {
    .al-shell { grid-template-columns: 1fr; max-width: 460px; }
    .al-brand { display: none; }
    .al-form__logo-mobile { display: block; }
    .al-form__icon { margin-left: auto; margin-right: auto; }
    .al-form h1, .al-form__lead { text-align: center; }
    .al-panel { padding: 36px 26px 24px; }
}

/* (Eski login kartı — geriye dönük uyumluluk) */
.login-card { width: min(420px, 100%); padding: 40px; display: grid; gap: 18px; }
.login-logo { height: 36px; width: auto; margin-bottom: 8px; }
.login-card h1 { font-size: 24px; }
.login-card p { color: var(--muted); font-size: 14px; margin-top: -10px; }
.login-card input[type=password] { width: 100%; height: 50px; padding: 0 16px; background: var(--bg-2); color: var(--text); border: 1px solid var(--border-strong); border-radius: 12px; font: 500 15px var(--font); outline: none; }
.login-card input:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(240,137,46,.15); }
.back-link { color: var(--muted); font-size: 14px; text-align: center; }

.admin-top { position: sticky; top: 0; z-index: 50; background: rgba(10,13,20,.9); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.admin-top__inner { display: flex; align-items: center; gap: 20px; height: 70px; }
.admin-top .brand__logo { height: 30px; }
.admin-top__title { color: var(--muted); font-weight: 600; padding-left: 20px; border-left: 1px solid var(--border); }
.admin-top__actions { margin-left: auto; display: flex; gap: 8px; }
.admin .container { width: min(1440px, 100% - 40px); }
.admin-main { padding: 30px 0 60px; }
.admin-flash { padding: 14px 18px; border-radius: 12px; background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.3); color: #4ade80; margin-bottom: 20px; font-weight: 600; font-size: 14px; }

.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin-bottom: 24px; }
.admin-stat { padding: 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); transition: .2s; }
.admin-stat:hover { border-color: var(--border-strong); }
.admin-stat.is-active { border-color: var(--orange); background: var(--orange-soft); }
.admin-stat span { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 600; }
.admin-stat span i { width: 8px; height: 8px; border-radius: 50%; }
.admin-stat strong { display: block; font-size: 28px; margin-top: 4px; }

.admin-layout { display: grid; gap: 20px; grid-template-columns: 1fr; align-items: start; }
.admin-layout.has-detail { grid-template-columns: 1fr 460px; }
.admin-list { padding: 0; overflow: hidden; }
.admin-search { display: flex; gap: 10px; padding: 16px; border-bottom: 1px solid var(--border); }
.admin-search input { flex: 1; height: 40px; padding: 0 14px; background: var(--bg-2); color: var(--text); border: 1px solid var(--border-strong); border-radius: 10px; font: 500 14px var(--font); outline: none; }
.admin-search input:focus { border-color: var(--orange); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; padding: 12px 16px; color: var(--muted-2); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; background: var(--bg-2); white-space: nowrap; }
td { padding: 14px 16px; border-top: 1px solid var(--border); vertical-align: middle; }
td small { display: block; color: var(--muted-2); font-size: 12px; }
tbody tr { cursor: pointer; transition: background .15s; }
tbody tr:hover { background: rgba(255,255,255,.03); }
tbody tr.is-selected { background: var(--orange-soft); }
.mono { font-family: ui-monospace, Consolas, monospace; letter-spacing: .03em; }
.muted { color: var(--muted); white-space: nowrap; }
.empty { text-align: center; color: var(--muted); padding: 40px; }
.mini-plats { display: flex; gap: 4px; }
.mini-plats img { width: 22px; height: 22px; border-radius: 50%; }

.admin-detail { padding: 26px; position: sticky; top: 90px; max-height: calc(100vh - 110px); overflow-y: auto; }
.admin-detail__head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.admin-detail__head small { color: var(--muted-2); font-size: 12px; text-transform: uppercase; }
.admin-detail__head h2 { font-size: 22px; color: var(--orange-2); }
.admin-detail__head .modal__close { display: grid; place-items: center; }
.dl { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0 0 24px; padding: 18px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--border); }
.dl .full { grid-column: 1 / -1; }
.dl dt { font-size: 12px; color: var(--muted-2); }
.dl dd { margin: 2px 0 0; font-size: 14px; font-weight: 600; word-break: break-word; }
.dl dd a { color: var(--orange-2); }
.dl .about { font-weight: 400; color: #cfd5e0; line-height: 1.6; }
.admin-update { display: grid; gap: 14px; padding-bottom: 24px; border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.admin-update h3, .hist-title { font-size: 16px; }
.hist-title { margin-bottom: 16px; }
.admin-update input[type=text] { width: 100%; height: 46px; padding: 0 14px; background: var(--bg-2); color: var(--text); border: 1px solid var(--border-strong); border-radius: 12px; font: 500 14px var(--font); outline: none; }
.admin-update .field select { height: 46px; }

@media (max-width: 1100px) {
    .admin-layout.has-detail { grid-template-columns: 1fr; }
    .admin-detail { position: static; max-height: none; }
    .admin-stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
    .admin-stats { grid-template-columns: repeat(2, 1fr); }
    .admin-top__title { display: none; }
    .admin-top__actions .btn--ghost { display: none; }
}

/* ---------- Liste: Detay butonu ---------- */
.td-action { text-align: right; width: 1%; white-space: nowrap; }
.detail-btn { --h: 34px; padding: 0 12px; font-size: 13px; }
.detail-btn svg { width: 16px; height: 16px; transition: transform .2s; }
tbody tr:hover .detail-btn { background: var(--orange); border-color: var(--orange); color: #fff; }
tbody tr:hover .detail-btn svg { transform: translateX(2px); }

/* ---------- Detay sayfası ---------- */
.detail-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.detail-nav__pager { display: flex; gap: 8px; }
.btn.is-disabled { opacity: .35; pointer-events: none; }

.profile { padding: 30px; margin-bottom: 22px; position: relative; overflow: hidden; }
.profile::before { content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: rgba(240,137,46,.13); filter: blur(90px); top: -220px; right: -120px; pointer-events: none; }
.profile__main { display: flex; align-items: center; gap: 22px; position: relative; }
.avatar { width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center; background: var(--gradient); color: #fff; font-size: 28px; font-weight: 800; flex-shrink: 0; box-shadow: 0 14px 30px -12px rgba(240,137,46,.8); }
.profile__info { flex: 1; min-width: 0; }
.profile__ref { color: var(--orange-2); font-size: 14px; font-weight: 700; }
.profile h1 { font-size: 28px; font-weight: 800; margin: 2px 0 6px; text-transform: capitalize; }
.profile__meta { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 14px; }
.profile__badge { font-size: 14px; padding: 9px 16px; }
.profile__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--border); position: relative; }
.profile__actions svg { width: 17px; height: 17px; }
.profile__actions .btn--primary { margin-left: auto; }
.profile__tracker { margin: 26px 0 0; position: relative; }

.detail-grid { display: grid; grid-template-columns: 1fr 400px; gap: 22px; align-items: start; }
.detail-col { display: grid; gap: 22px; min-width: 0; }
.detail-side { position: sticky; top: 90px; }
.info-card { padding: 26px; }
.info-card h2 { display: flex; align-items: center; gap: 10px; font-size: 16px; margin-bottom: 20px; }
.info-card h2 svg { width: 32px; height: 32px; padding: 7px; border-radius: 9px; background: var(--orange-soft); color: var(--orange); }
.info-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 24px; margin: 0; }
.info-list .full { grid-column: 1 / -1; }
.info-list dt { font-size: 12px; color: var(--muted-2); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; margin-bottom: 4px; }
.info-list dd { margin: 0; font-size: 15px; font-weight: 600; word-break: break-word; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.info-list dd a { color: var(--orange-2); }
.info-list dd small { color: var(--muted); font-weight: 500; }
.copy { width: 26px; height: 26px; border-radius: 7px; border: 1px solid var(--border); background: rgba(255,255,255,.04); color: var(--muted); cursor: pointer; font-size: 13px; line-height: 1; }
.copy:hover { color: var(--orange); border-color: rgba(240,137,46,.4); }

.plat-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.plat-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 99px; background: var(--bg-2); border: 1px solid var(--border-strong); font-size: 14px; font-weight: 600; }
.plat-chip img { width: 26px; height: 26px; border-radius: 50%; }

/* Çoklu platform kanalları tablosu */
.channel-accounts-table {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    margin-bottom: 8px;
}
.notif-table-wrap {
    max-height: 480px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(240, 137, 46, 0.45) #0b0e17;
}
.notif-table-wrap::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}
.notif-table-wrap::-webkit-scrollbar-track {
    background: #0b0e17;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}
.notif-table-wrap::-webkit-scrollbar-thumb {
    background: rgba(240, 137, 46, 0.38);
    border-radius: 6px;
    border: 1px solid rgba(240, 137, 46, 0.2);
    transition: all .2s ease;
}
.notif-table-wrap::-webkit-scrollbar-thumb:hover {
    background: var(--orange, #f0892e);
    box-shadow: 0 0 10px rgba(240, 137, 46, 0.6);
}
.notif-table-wrap table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}
.channel-accounts-table table {
    width: 100%;
    border-collapse: collapse;
}
.channel-accounts-table th {
    background: #0f131c;
    padding: 10px 14px;
    font-size: 11.5px;
}
.channel-accounts-table td {
    padding: 12px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.plat-chip-mini {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.plat-chip-mini img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}
.link-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--orange-2);
    font-size: 13.5px;
    white-space: nowrap;
}
.link-btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}
.link-btn:hover {
    text-decoration: underline;
}
.metric-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 22px; }
.metric { padding: 16px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--border); }
.metric span { display: block; font-size: 12px; color: var(--muted-2); margin-bottom: 4px; }
.metric strong { font-size: 16px; color: var(--orange-2); }
.about-text { margin: 0; padding: 20px 22px; border-radius: 14px; background: var(--bg-2); border-left: 3px solid var(--orange); color: #d4d9e3; font-size: 15px; line-height: 1.75; white-space: normal; }

.status-pick { display: grid; gap: 8px; }
.status-pick input { position: absolute; opacity: 0; pointer-events: none; }
.status-pick span { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border-strong); background: var(--bg-2); cursor: pointer; font-size: 14px; font-weight: 600; color: var(--muted); transition: .2s; }
.status-pick span i { width: 10px; height: 10px; border-radius: 50%; }
.status-pick label:hover span { color: var(--text); border-color: rgba(255,255,255,.22); }
.status-pick input:checked + span { color: var(--text); border-color: var(--orange); background: var(--orange-soft); }
.detail-side .admin-update { border: 0; padding: 0; margin: 0; }
.detail-side .admin-update input[type=text], .detail-side .admin-update textarea { width: 100%; }

.timeline li.tl-inceleniyor::before { background: var(--info); box-shadow: 0 0 0 4px rgba(59,130,246,.15); }
.timeline li.tl-gorusme::before { background: var(--violet); box-shadow: 0 0 0 4px rgba(168,85,247,.15); }
.timeline li.tl-onaylandi::before { background: var(--success); box-shadow: 0 0 0 4px rgba(34,197,94,.15); }
.timeline li.tl-reddedildi::before { background: var(--danger); box-shadow: 0 0 0 4px rgba(239,68,68,.15); }
.timeline li.tl-pasif::before { background: #ef4444; box-shadow: 0 0 0 4px rgba(239,68,68,.25); }

/* Yayıncı Onay Sonrası Durum Seçimi (Aktif / Pasif) */
.status-pick .status-option--active input:checked + span {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.12);
    color: #fff;
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.15);
}
.status-pick .status-option--passive input:checked + span {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.12);
    color: #fff;
    box-shadow: 0 0 16px rgba(239, 68, 68, 0.15);
}
.badge--pasif {
    background: rgba(239, 68, 68, 0.14) !important;
    color: #f87171 !important;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
}
.s-pasif {
    background: #ef4444 !important;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.25) !important;
}

@media (max-width: 1100px) {
    .detail-grid { grid-template-columns: 1fr; }
    .detail-side { position: static; }
}
@media (max-width: 700px) {
    .profile { padding: 22px; }
    .profile__main { flex-wrap: wrap; }
    .profile__badge { order: -1; margin-left: auto; }
    .profile h1 { font-size: 22px; }
    .profile__actions .btn { flex: 1; }
    .profile__actions .btn--primary { margin-left: 0; }
    .info-list, .metric-row { grid-template-columns: 1fr 1fr; }
    .info-card { padding: 20px; }
}

/* ========================================================
   YÖNETİM PANELİ: SEKMELER, DASHBOARD & YAYINCI YÖNETİMİ
   ======================================================== */

/* Üst Sekmeler / Butonlar */
.admin-tabs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 26px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
    overflow-x: auto;
}
.admin-tab {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 44px;
    padding: 0 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    color: var(--muted);
    text-decoration: none;
    border: 1px solid var(--border-strong);
    background: var(--bg-2);
    transition: all .2s ease;
    white-space: nowrap;
    box-shadow: none !important;
}
.admin-tab svg {
    width: 17px;
    height: 17px;
    color: var(--muted);
    transition: color .2s;
}
.admin-tab:hover {
    color: var(--text);
    border-color: rgba(240, 137, 46, 0.45);
    background: rgba(240, 137, 46, 0.08);
}
.admin-tab:hover svg {
    color: var(--orange-2);
}
.admin-tab.is-active {
    color: #ffffff;
    background: #f0892e;
    background: linear-gradient(135deg, #f0892e 0%, #e07216 100%);
    border-color: #f0892e;
}
.admin-tab.is-active svg {
    color: #ffffff;
}
.admin-tab.is-active:hover {
    color: #ffffff;
    background: #e07216;
    border-color: #e07216;
}
.tab-badge {
    padding: 3px 8px;
    font-size: 11.5px;
    font-weight: 800;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--muted);
    border: 1px solid var(--border);
    line-height: 1;
    transition: all .2s;
}
.tab-badge--pending {
    background: rgba(240, 137, 46, 0.16);
    color: var(--orange-2);
    border-color: rgba(240, 137, 46, 0.35);
}
.tab-badge--approved {
    background: rgba(16, 185, 129, 0.16);
    color: #34d399;
    border-color: rgba(16, 185, 129, 0.35);
}
.admin-tab.is-active .tab-badge {
    background: rgba(0, 0, 0, 0.22);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.32);
}

/* Dashboard KPI Kartları */
.dashboard-kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}
.kpi-card {
    padding: 22px;
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: none !important;
}
.kpi-card__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.kpi-card__title {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .04em;
}
.kpi-card__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--bg-2);
    border: 1px solid var(--border);
    color: var(--muted);
}
.kpi-card__icon svg {
    width: 18px;
    height: 18px;
}
.kpi-card--primary .kpi-card__icon { color: var(--orange); background: var(--orange-soft); border-color: rgba(240,137,46,.25); }
.kpi-card--success .kpi-card__icon { color: #10b981; background: rgba(16,185,129,.12); border-color: rgba(16,185,129,.25); }
.kpi-card--info .kpi-card__icon { color: #3b82f6; background: rgba(59,130,246,.12); border-color: rgba(59,130,246,.25); }
.kpi-card--danger .kpi-card__icon { color: #ef4444; background: rgba(239,68,68,.12); border-color: rgba(239,68,68,.25); }

.kpi-card__value {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1;
}
.kpi-card__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--muted);
}
.trend-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}
.trend-badge--up {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}
.trend-badge--down {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Grafik Kartları */
.charts-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}
.charts-grid--sub {
    grid-template-columns: 1fr 1fr;
}
.chart-card {
    padding: 22px;
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: none !important;
    display: flex;
    flex-direction: column;
}
.chart-card__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 18px;
}
.chart-card__head h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.chart-card__head p {
    margin: 0;
    font-size: 13px;
    color: var(--muted);
}
.chart-container {
    position: relative;
    width: 100%;
    min-height: 280px;
    flex: 1;
}

/* Yıllık Karşılaştırma / Trend Tablosu */
.yearly-analysis-card {
    padding: 20px;
    border-radius: 12px;
    background: var(--bg-2);
    border: 1px solid var(--border);
    margin-top: 16px;
}
.yearly-analysis-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.analysis-stat {
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 8px;
}
.analysis-stat span {
    display: block;
    font-size: 11.5px;
    color: var(--muted-2);
    margin-bottom: 4px;
    text-transform: uppercase;
}
.analysis-stat strong {
    font-size: 16px;
    font-weight: 700;
}

/* Yayıncı Yönetimi Sayfası */
.streamers-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}
.streamers-header h2 {
    font-size: 20px;
    font-weight: 800;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.streamers-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    background: var(--surface);
    padding: 14px;
    border-radius: 12px;
    border: 1px solid var(--border);
}
.streamers-filter-bar .search-input {
    flex: 1;
    min-width: 240px;
    height: 40px;
    padding: 0 14px;
    background: var(--bg-2);
    color: var(--text);
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    font: 500 13.5px var(--font);
    outline: none;
}
.streamers-filter-bar select {
    height: 40px;
    padding: 0 14px;
    background: var(--bg-2);
    color: var(--text);
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    font: 500 13px var(--font);
    outline: none;
    cursor: pointer;
}

.streamer-user-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}
.streamer-avatar-sm {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--gradient);
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    flex-shrink: 0;
}
.streamer-name {
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 6px;
}
.verified-icon {
    color: #10b981;
    display: inline-flex;
}
.verified-icon svg {
    width: 14px;
    height: 14px;
}
.contact-links {
    display: flex;
    align-items: center;
    gap: 8px;
}
.wa-link {
    color: #25d366;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
}
.wa-link svg {
    width: 14px;
    height: 14px;
}

/* ========================================================
   YAYINCI YÖNETİMİ: EXECUTIVE CREATOR ROSTER (KART & TABLO)
   ======================================================== */

.streamers-stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 20px;
}
@media (max-width: 1024px) {
    .streamers-stats-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .streamers-stats-strip { grid-template-columns: 1fr; }
}

.streamer-stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.streamer-stat-card__icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--bg-2);
    border: 1px solid var(--border);
    color: var(--orange-2);
    flex-shrink: 0;
}
.streamer-stat-card__val {
    font-size: 21px;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.02em;
}
.streamer-stat-card__lbl {
    font-size: 12px;
    color: var(--muted);
    margin-top: 3px;
    font-weight: 500;
}

/* Görünüm Değiştirici (Kart / Tablo) */
.streamers-view-toggle {
    display: inline-flex;
    background: var(--bg-2);
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    padding: 3px;
    margin-left: auto;
}
.view-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: none;
    background: transparent;
    color: var(--muted);
    font: 600 12.5px var(--font);
    border-radius: 6px;
    cursor: pointer;
    transition: all .15s ease;
}
.view-toggle-btn.is-active {
    background: var(--surface);
    color: #fff;
    border: 1px solid var(--border);
}
.view-toggle-btn:hover:not(.is-active) {
    color: var(--text);
}

/* Yayıncı Kartları Listesi */
.streamers-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.streamer-card-pro {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px 22px;
    transition: border-color .2s ease;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.streamer-card-pro:hover {
    border-color: rgba(240, 137, 46, 0.4);
}
.streamer-card-pro.is-passive {
    opacity: 0.8;
    border-color: rgba(239, 68, 68, 0.25);
}

/* Kart Başlığı / Kimlik Çubuğu */
.streamer-card-pro__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.streamer-card-pro__identity {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}
.streamer-card-pro__avatar {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--gradient);
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.streamer-status-dot {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: 2px solid var(--surface);
}
.streamer-status-dot--onaylandi { background: #10b981; }
.streamer-status-dot--pasif     { background: #ef4444; }

.streamer-card-pro__meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.streamer-card-pro__title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.streamer-card-pro__name {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
    white-space: nowrap;
}
.streamer-card-pro__verified {
    display: inline-flex;
    align-items: center;
    color: #10b981;
}
.streamer-card-pro__verified svg {
    width: 16px;
    height: 16px;
}
.badge-role {
    font-size: 11.5px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 6px;
    background: rgba(240, 137, 46, 0.1);
    color: var(--orange-2);
    border: 1px solid rgba(240, 137, 46, 0.25);
    white-space: nowrap;
}
.badge-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 6px;
    white-space: nowrap;
}
.badge-status--active {
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.28);
}
.badge-status--active i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
}
.badge-status--passive {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.28);
}
.badge-status--passive i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ef4444;
}

.streamer-card-pro__subtitle {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    font-size: 12.5px;
    color: var(--muted);
}
.streamer-ref-pill {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-weight: 700;
    color: var(--orange-2);
    font-size: 12px;
}
.streamer-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--text);
}
.streamer-date {
    color: var(--muted);
}
.streamer-card-pro__subtitle .sep {
    color: var(--muted-2);
    font-size: 11px;
}

/* Üst Sağ Aksiyon Butonları */
.streamer-card-pro__cta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.btn-pro {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: 8px;
    font: 600 13px var(--font);
    text-decoration: none;
    cursor: pointer;
    transition: all .15s ease;
    white-space: nowrap;
}
.btn-pro--perf {
    background: rgba(240, 137, 46, 0.12);
    border: 1px solid rgba(240, 137, 46, 0.35);
    color: var(--orange-2);
}
.btn-pro--perf:hover {
    background: var(--orange);
    color: #fff;
    border-color: var(--orange);
}
.btn-pro--profile {
    background: var(--bg-2);
    border: 1px solid var(--border-strong);
    color: var(--text);
}
.btn-pro--profile:hover {
    background: var(--surface-2);
    color: #fff;
    border-color: var(--text);
}

/* Kart Gövdesi - 4'lü Modüler Şebeke */
.streamer-card-pro__body {
    display: grid;
    grid-template-columns: 1.4fr 1.1fr 1.35fr 1.15fr;
    gap: 14px;
    align-items: stretch;
}
@media (max-width: 1200px) {
    .streamer-card-pro__body {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 700px) {
    .streamer-card-pro__body {
        grid-template-columns: 1fr;
    }
}

.pro-section {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
}
.pro-section__label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 6px;
}
.pro-section__label svg {
    width: 13px;
    height: 13px;
    color: var(--orange-2);
}

/* Kanallar */
.pro-channels-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.pro-channel-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    text-decoration: none;
    font-size: 12.5px;
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all .15s ease;
}
.pro-channel-chip:hover {
    border-color: rgba(240, 137, 46, 0.4);
    color: #fff;
    background: rgba(240, 137, 46, 0.05);
}
.pro-channel-icon {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    flex-shrink: 0;
}
.pro-channel-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap !important;
    font-size: 12px;
}
.pro-channel-name strong {
    color: #fff;
    margin-right: 4px;
}
.pro-channel-arrow {
    width: 12px;
    height: 12px;
    margin-left: auto;
    flex-shrink: 0;
    opacity: 0.5;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}
.pro-channel-fallback {
    font-size: 12.5px;
    color: var(--muted);
    font-style: italic;
}

/* Kitle & İzleyici */
.pro-audience-box {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 6px 0;
}
.pro-audience-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.pro-audience-val {
    font-size: 15px;
    font-weight: 800;
    color: var(--orange-2);
    line-height: 1.2;
    white-space: nowrap;
}
.pro-audience-lbl {
    font-size: 11px;
    color: var(--muted);
    margin-top: 3px;
    white-space: nowrap;
}
.pro-audience-sep {
    width: 1px;
    height: 30px;
    background: var(--border);
}

/* Performans & Rapor Widget */
.pro-perf-widget {
    display: flex;
    align-items: center;
    gap: 12px;
}
.pro-perf-score {
    --c: #475569;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-decoration: none;
    color: var(--c);
    background: color-mix(in srgb, var(--c) 14%, transparent);
    border: 1px solid color-mix(in srgb, var(--c) 40%, transparent);
    transition: transform .15s ease;
}
.pro-perf-score:hover {
    transform: scale(1.05);
}
.pro-perf-val {
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
}
.pro-perf-sub {
    font-size: 9px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.04em;
    opacity: 0.8;
}
.pro-perf-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}
.pro-perf-headline {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    white-space: nowrap;
}
.pro-perf-headline strong {
    color: #fff;
    font-weight: 700;
}
.pro-perf-trend {
    font-size: 11px;
    font-weight: 700;
}
.pro-perf-trend.is-up { color: #34d399; }
.pro-perf-trend.is-down { color: #f87171; }
.pro-perf-count {
    font-size: 11.5px;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pro-month-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 9px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all .15s ease;
}
.pro-month-btn--done {
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}
.pro-month-btn--draft {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
    border: 1px dashed rgba(251, 191, 36, 0.4);
}
.pro-month-btn--create {
    background: rgba(240, 137, 46, 0.12);
    color: var(--orange-2);
    border: 1px dashed rgba(240, 137, 46, 0.4);
}
.pro-month-btn--create:hover {
    background: var(--orange);
    color: #fff;
    border-style: solid;
}

/* İletişim */
.pro-contact-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.pro-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    text-decoration: none;
    font-size: 12px;
    transition: all .15s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pro-contact-btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}
.pro-contact-btn--wa {
    color: #25d366;
    font-weight: 600;
}
.pro-contact-btn--wa:hover {
    background: rgba(37, 211, 102, 0.1);
    border-color: rgba(37, 211, 102, 0.35);
}
.pro-contact-btn--mail:hover {
    border-color: rgba(240, 137, 46, 0.4);
    color: #fff;
}

/* Tablo Görünümü İyileştirmeleri */
.streamers-table-view {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow-x: auto;
}
.streamers-table-view table {
    width: 100%;
    min-width: 1100px;
    border-collapse: collapse;
}
.streamers-table-view th {
    background: var(--bg-2);
    padding: 13px 16px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
    text-align: left;
}
.streamers-table-view td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
    white-space: normal;
    word-break: normal !important;
    overflow-wrap: normal !important;
}
.streamers-table-view tr:last-child td {
    border-bottom: none;
}
.streamers-table-view tr:hover td {
    background: rgba(255, 255, 255, 0.015);
}
.cell-channel-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 7px;
    background: var(--bg-2);
    border: 1px solid var(--border);
    font-size: 12px;
    color: var(--text);
    text-decoration: none;
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    box-shadow: none !important;
    transition: all .15s ease;
}
.cell-channel-chip:hover {
    border-color: var(--orange-2);
    background: rgba(240, 137, 46, 0.08);
    color: #fff;
}
.cell-channel-chip img {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    flex-shrink: 0;
}
.cell-channel-chip strong {
    color: #fff;
    white-space: nowrap !important;
    word-break: keep-all !important;
}
.cell-channel-chip span {
    white-space: nowrap !important;
    word-break: keep-all !important;
}
.cell-channel-chip svg {
    width: 12px;
    height: 12px;
    margin-left: 2px;
    opacity: 0.55;
    flex-shrink: 0;
}
@media (max-width: 1024px) {
    .dashboard-kpis { grid-template-columns: repeat(2, 1fr); }
    .charts-grid, .charts-grid--sub { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .dashboard-kpis { grid-template-columns: 1fr; }
    .yearly-analysis-grid { grid-template-columns: 1fr; }
    .streamers-header { flex-direction: column; align-items: flex-start; }
}

/* ========================================================
   YÖNETİM PANELİ: GELİŞMİŞ AYARLAR & VERİTABANI YÖNETİMİ
   ======================================================== */

.admin-tab--settings {
    margin-left: auto;
    border-color: rgba(240, 137, 46, 0.4);
    background: rgba(240, 137, 46, 0.06);
}
.admin-tab--settings:hover {
    border-color: var(--orange);
    background: rgba(240, 137, 46, 0.16);
    color: #ffffff;
}
.admin-tab--settings.is-active {
    background: linear-gradient(135deg, #f0892e 0%, #d86812 100%);
    border-color: #f0892e;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(240, 137, 46, 0.35) !important;
}

/* Ayarlar Alt Menüsü (Pill Tabs) */
.settings-subnav {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    background: var(--surface);
    padding: 8px;
    border-radius: 14px;
    border: 1px solid var(--border);
    flex-wrap: wrap;
}
.settings-subnav__item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 42px;
    padding: 0 18px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--muted);
    text-decoration: none;
    transition: all .2s;
}
.settings-subnav__item svg {
    width: 17px;
    height: 17px;
}
.settings-subnav__item:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
}
.settings-subnav__item.is-active {
    color: #fff;
    background: rgba(240, 137, 46, 0.18);
    border: 1px solid rgba(240, 137, 46, 0.4);
}
.settings-subnav__item.is-active svg {
    color: var(--orange-2);
}

/* Ayarlar Kart & Izgara Yapısı */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.settings-grid--full {
    grid-template-columns: 1fr;
}
.settings-card--full {
    grid-column: 1 / -1;
}
.settings-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 26px;
    position: relative;
    overflow: hidden;
}
.settings-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(240,137,46,0.8), transparent);
    opacity: 0.6;
}
.settings-card--danger::before {
    background: linear-gradient(90deg, #ef4444, transparent);
}
.settings-card__header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.settings-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(240, 137, 46, 0.14);
    color: var(--orange);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.settings-card--danger .settings-card__icon {
    background: rgba(239, 68, 68, 0.14);
    color: #ef4444;
}
.settings-card__icon svg {
    width: 22px;
    height: 22px;
}
.settings-card__title {
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    margin: 0;
}
.settings-card__desc {
    font-size: 13px;
    color: var(--muted);
    margin: 3px 0 0;
}

/* Form Elemanları */
.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}
.form-row--3 {
    grid-template-columns: repeat(3, 1fr);
}
.form-field {
    margin-bottom: 18px;
}
.form-field label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 8px;
}
.form-field label small {
    color: var(--muted);
    font-weight: 400;
    margin-left: 6px;
}
.form-field input[type="text"],
.form-field input[type="password"],
.form-field input[type="email"],
.form-field input[type="number"],
.form-field input[type="tel"],
.form-field select,
.form-field textarea {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    background: var(--bg-2);
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    color: #fff;
    font: 500 14px var(--font);
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.form-field textarea {
    height: auto;
    padding: 12px 14px;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(240, 137, 46, 0.2);
}
.form-field-help {
    font-size: 12px;
    color: var(--muted);
    margin-top: 6px;
    display: block;
    line-height: 1.5;
}

/* Switch Aç/Kapat Toggle */
.switch-toggle {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}
.switch-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}
.switch-toggle .slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: var(--bg-3, #1a202c);
    border: 1px solid var(--border-strong, rgba(255,255,255,0.15));
    border-radius: 26px;
    transition: .25s ease;
}
.switch-toggle .slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: #fff;
    border-radius: 50%;
    transition: .25s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.switch-toggle input:checked + .slider {
    background-color: var(--orange, #f0892e);
    border-color: var(--orange, #f0892e);
}
.switch-toggle input:checked + .slider:before {
    transform: translateX(22px);
}

/* Özel Checkbox Kutuları */
.custom-chk-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text);
    transition: all .15s ease;
    user-select: none;
}
.custom-chk-box:hover {
    border-color: var(--border-strong);
    background: var(--surface);
}
.custom-chk-box input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-strong);
    border-radius: 5px;
    background: var(--bg-3, #151a24);
    cursor: pointer;
    display: grid;
    place-content: center;
    transition: all .15s ease;
    flex-shrink: 0;
}
.custom-chk-box input[type="checkbox"]:checked {
    background: var(--orange);
    border-color: var(--orange);
}
.custom-chk-box input[type="checkbox"]:checked::before {
    content: "";
    width: 6px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) translate(-1px, -1px);
}
.custom-chk-box:has(input:checked) {
    border-color: rgba(240, 137, 46, 0.4);
    background: rgba(240, 137, 46, 0.08);
    color: #fff;
}

/* Logo & Görsel Yükleme Widget'ı */
.logo-upload-box {
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--bg-2);
    border: 1px solid var(--border);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 16px;
}
.logo-preview-area {
    width: 90px;
    height: 70px;
    border-radius: 10px;
    background: #080b11;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    display: grid;
    place-items: center;
    padding: 8px;
    flex-shrink: 0;
}
.logo-preview-area img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.logo-upload-inputs {
    flex: 1;
    min-width: 0;
}
.logo-upload-inputs .form-field {
    margin-bottom: 8px;
}
.logo-upload-inputs input[type="file"] {
    font-size: 12.5px;
    color: var(--muted);
}

/* Veritabanı Metrikleri & Tabloları */
.db-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}
.db-metric-item {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
}
.db-metric-item__label {
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 6px;
}
.db-metric-item__val {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    font-family: ui-monospace, Consolas, monospace;
}
.db-metric-item__sub {
    font-size: 11.5px;
    color: var(--muted);
    margin-top: 4px;
}

.db-tables-summary {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
.db-tables-summary th {
    padding: 10px 14px;
    background: var(--bg-2);
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-align: left;
}
.db-tables-summary td {
    padding: 12px 14px;
    border-top: 1px solid var(--border);
    font-size: 13.5px;
}

/* İşlem Kartları */
.action-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 12px;
    background: var(--bg-2);
    border: 1px solid var(--border);
    margin-bottom: 12px;
}
.action-box__info h4 {
    margin: 0;
    font-size: 14.5px;
    font-weight: 700;
    color: #fff;
}
.action-box__info p {
    margin: 4px 0 0;
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.4;
}

/* SMTP Konsol / Log Görüntüleyici */
.smtp-terminal {
    background: #080a10;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    font-family: ui-monospace, Consolas, Monaco, monospace;
    font-size: 12.5px;
    max-height: 260px;
    overflow-y: auto;
    margin-top: 16px;
}
.smtp-terminal-line {
    padding: 3px 0;
    line-height: 1.5;
    white-space: nowrap;
}
.smtp-terminal-line--cmd {
    color: #38bdf8;
}
.smtp-terminal-line--res {
    color: #a3e635;
}
.smtp-terminal-line--err {
    color: #f87171;
    font-weight: 700;
}
.smtp-terminal-line--info {
    color: #94a3b8;
}

@media (max-width: 960px) {
    .settings-grid { grid-template-columns: 1fr; }
    .db-metrics-grid { grid-template-columns: repeat(2, 1fr); }
    .form-row, .form-row--3 { grid-template-columns: 1fr; }
    .action-box { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
    .db-metrics-grid { grid-template-columns: 1fr; }
    .logo-upload-box { flex-direction: column; align-items: flex-start; }
}

/* ========================================================
   E-POSTA BİLDİRİM ŞABLONLARI & CANLI ÖNİZLEME DÜZENLEYİCİ
   ======================================================== */
.tpl-nav-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px 0 20px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 22px;
}
.tpl-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--bg-2);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
    font-family: inherit;
}
.tpl-tab-btn:hover {
    border-color: rgba(240, 137, 46, 0.4);
    background: rgba(240, 137, 46, 0.05);
}
.tpl-tab-btn.is-active {
    background: rgba(240, 137, 46, 0.14);
    border-color: var(--orange);
    color: #fff;
    box-shadow: 0 4px 18px rgba(240, 137, 46, 0.2);
}
.tpl-tab-btn__icon {
    font-size: 15px;
    line-height: 1;
}
.tpl-tab-btn__aud {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: 2px 7px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--muted);
}
.tpl-tab-btn__aud--admin {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.tpl-panel {
    display: none;
}
.tpl-panel.is-active {
    display: block;
    animation: fadeIn .2s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.tpl-split-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 26px;
    align-items: start;
}

.tpl-editor-col {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px;
}
.tpl-form-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--border);
}

/* Dinamik Değişkenler Kutusu */
.tpl-placeholders-wrap {
    background: rgba(240, 137, 46, 0.04);
    border: 1px dashed rgba(240, 137, 46, 0.3);
    border-radius: 12px;
    padding: 12px 16px;
    margin: 16px 0;
}
.tpl-placeholders-header {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 8px;
}
.tpl-placeholders-header strong {
    color: var(--orange-2);
}
.tpl-chips-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.tpl-var-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: rgba(240, 137, 46, 0.1);
    border: 1px solid rgba(240, 137, 46, 0.25);
    border-radius: 6px;
    color: #f0892e;
    font-family: ui-monospace, Consolas, Monaco, monospace;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all .15s ease;
}
.tpl-var-chip:hover {
    background: #f0892e;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(240, 137, 46, 0.3);
}

/* Monospace Textarea */
.tpl-textarea {
    width: 100%;
    box-sizing: border-box;
    font-family: ui-monospace, Consolas, Monaco, monospace;
    font-size: 12.5px;
    line-height: 1.6;
    padding: 14px 16px;
    background: #090c13;
    color: #e2e8f0;
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    outline: none;
    resize: vertical;
    min-height: 240px;
    transition: border-color .15s;
}
.tpl-textarea:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(240, 137, 46, 0.15);
}

.tpl-actions-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

/* Önizleme Alanı */
.tpl-preview-col {
    background: #080a10;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px;
    position: sticky;
    top: 90px;
}
.tpl-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.tpl-preview-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 700;
    color: #fff;
}
.tpl-device-switcher {
    display: flex;
    gap: 4px;
    background: var(--bg-2);
    padding: 3px;
    border-radius: 8px;
    border: 1px solid var(--border);
}
.tpl-device-btn {
    border: none;
    background: transparent;
    color: var(--muted);
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all .15s;
    font-family: inherit;
}
.tpl-device-btn:hover {
    color: #fff;
}
.tpl-device-btn.is-active {
    background: var(--orange);
    color: #fff;
}
.tpl-preview-meta {
    background: #0d111a;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 14px;
}
.tpl-preview-subject {
    font-size: 13px;
    color: #fff;
    word-break: break-word;
}
.tpl-frame-wrapper {
    background: #05070c;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 8px;
    display: flex;
    justify-content: center;
    transition: all .25s ease;
}
.tpl-frame-wrapper.is-mobile {
    max-width: 375px;
    margin: 0 auto;
    border: 2px solid rgba(240, 137, 46, 0.4);
    box-shadow: 0 0 24px rgba(0, 0, 0, 0.5);
}
.tpl-iframe {
    width: 100%;
    height: 520px;
    border: none;
    border-radius: 8px;
    background: #0a0d14;
}

@media (max-width: 1100px) {
    .tpl-split-grid {
        grid-template-columns: 1fr;
    }
    .tpl-preview-col {
        position: static;
        margin-top: 20px;
    }
}
@media (max-width: 640px) {
    .tpl-nav-tabs {
        gap: 6px;
        padding: 10px 0 16px;
    }
    .tpl-tab-btn {
        width: 100%;
        justify-content: space-between;
        padding: 10px 14px;
        font-size: 13px;
    }
    .tpl-editor-col {
        padding: 16px 14px;
    }
    .tpl-preview-col {
        padding: 14px 10px;
    }
    .tpl-frame-wrapper {
        padding: 4px;
    }
    .tpl-iframe {
        height: 520px;
    }
}

/* ================= PERFORMANS RAPORLARI ENTEGRASYONU ================= */
.admin-tab--reports {
    border-style: solid;
}
.admin-tab--reports:hover {
    border-color: rgba(34, 197, 94, 0.45);
}
.score--green  { --c: #22c55e; }
.score--yellow { --c: #eab308; }
.score--orange { --c: #f97316; }
.score--red    { --c: #ef4444; }
.score--none   { --c: #475569; }
.perf-cell { min-width: 190px; }
.perf-mini { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.perf-mini:hover .perf-meta strong { color: var(--orange-2); }
.perf-score { --c: #475569; width: 42px; height: 36px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 15px;
    color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); }
.perf-meta { display: grid; min-width: 0; }
.perf-meta strong { font-size: 13px; transition: color .2s; }
.perf-meta strong em { font-style: normal; font-size: 11.5px; margin-left: 4px; }
.perf-meta small { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 170px; }
.perf-meta .is-up { color: #4ade80; }
.perf-meta .is-down { color: #f87171; }
.perf-month { display: inline-block; margin-top: 7px; padding: 3px 9px; border-radius: 7px; font-size: 11.5px; font-weight: 700; text-decoration: none; }
.perf-month--ok { background: rgba(34,197,94,.1); color: #4ade80; border: 1px solid rgba(34,197,94,.28); }
.perf-month--draft { background: rgba(251,191,36,.08); color: #fbbf24; border: 1px dashed rgba(251,191,36,.35); }
.perf-month--todo { background: rgba(240,137,46,.08); color: var(--orange-2); border: 1px dashed rgba(240,137,46,.4); }
.perf-month--todo:hover, .perf-month--draft:hover { background: rgba(240,137,46,.16); }

/* ================= AYIN YILDIZLARI / 5 YILDIZLI LİDERLİK TABLOSU ================= */
.top-performers-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px;
    margin: 22px 0 26px;
    box-shadow: none !important;
    position: relative;
    overflow: hidden;
}
.top-performers-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #fbbf24 25%, #f59e0b 60%, transparent);
    opacity: 0.9;
}
.top-performers-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.top-performers-title-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}
.top-performers-trophy {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.22), rgba(245, 158, 11, 0.08));
    border: 1px solid rgba(251, 191, 36, 0.4);
    display: grid;
    place-items: center;
    color: #fbbf24;
    flex-shrink: 0;
    box-shadow: none !important;
}
.top-performers-trophy svg {
    width: 22px;
    height: 22px;
}
.top-performers-h3 {
    margin: 0;
    font-size: 17.5px;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.01em;
}
.top-period-pill {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 99px;
    background: rgba(251, 191, 36, 0.12);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.top-performers-sub {
    margin: 3px 0 0;
    font-size: 13px;
    color: var(--muted);
}
.top-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.top-club-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 99px;
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.35);
    letter-spacing: 0.02em;
}

/* ================= AYIN YILDIZLARI · TAM GENİŞLİKTE LİSTE FORMATI ================= */
.top-list-wrap {
    width: 100%;
    overflow-x: auto;
    border-radius: 14px;
    background: var(--bg-2);
    border: 1px solid var(--border);
    box-shadow: none !important;
}

/* Liste Başlık Satırı */
.top-list-table-header {
    display: grid;
    grid-template-columns: minmax(340px, 1.8fr) minmax(180px, 1fr) minmax(160px, 0.9fr) minmax(160px, 0.9fr) 90px 170px;
    gap: 20px;
    align-items: center;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.025);
    border-bottom: 1px solid var(--border);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    min-width: 1080px;
}

/* Liste Satırları */
.top-list-items {
    display: flex;
    flex-direction: column;
}
.top-list-row {
    display: grid;
    grid-template-columns: minmax(340px, 1.8fr) minmax(180px, 1fr) minmax(160px, 0.9fr) minmax(160px, 0.9fr) 90px 170px;
    gap: 20px;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    transition: background .15s ease, border-color .15s ease;
    min-width: 1080px;
    box-shadow: none !important;
}
.top-list-row:last-child {
    border-bottom: none;
}
.top-list-row:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* 1. Sıra (Zirve Altın Vurgusu) */
.top-list-row--rank-1 {
    background: linear-gradient(90deg, rgba(251, 191, 36, 0.07) 0%, rgba(240, 137, 46, 0.03) 40%, transparent 100%);
    border-left: 3px solid #fbbf24;
}
.top-list-row--rank-1:hover {
    background: linear-gradient(90deg, rgba(251, 191, 36, 0.1) 0%, rgba(240, 137, 46, 0.05) 50%, rgba(255, 255, 255, 0.02) 100%);
}

/* 2. Sıra (Gümüş Vurgusu) */
.top-list-row--rank-2 {
    border-left: 3px solid #cbd5e1;
}

/* 3. Sıra (Bronz Vurgusu) */
.top-list-row--rank-3 {
    border-left: 3px solid #d97706;
}

/* Sütun 1: Sıralama Rozeti */
.top-col-rank {
    display: flex;
    align-items: center;
}
.top-rank-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 6px;
    letter-spacing: 0.04em;
    white-space: nowrap;
}
.top-rank-pill--gold {
    background: linear-gradient(135deg, #fbbf24, #d97706);
    color: #111;
}
.top-rank-pill--silver {
    background: linear-gradient(135deg, #cbd5e1, #64748b);
    color: #0b0f19;
}
.top-rank-pill--bronze {
    background: linear-gradient(135deg, #f59e0b, #92400e);
    color: #fff;
}
.top-rank-pill--default {
    background: rgba(255, 255, 255, 0.08);
    color: var(--muted);
    border: 1px solid var(--border);
}

/* Sütun 2: Yayıncı Kimlik */
.top-col-user {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.top-row-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}
.top-row-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--orange), #d97706);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    display: grid;
    place-items: center;
    border: 2px solid transparent;
}
.top-row-avatar.is-gold {
    border-color: #fbbf24;
}
.top-row-crown {
    position: absolute;
    top: -6px;
    right: -5px;
    background: #fbbf24;
    color: #0b0f19;
    font-size: 9px;
    font-weight: 900;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 2px solid #0f131d;
}
.top-row-user-details {
    min-width: 0;
    flex: 1;
}
.top-row-user-name {
    display: flex;
    align-items: center;
    gap: 6px;
}
.top-row-user-name strong {
    font-size: 14.5px;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.top-row-user-sub {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 3px;
    font-size: 11.5px;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Sütun 2: 5 Yıldız */
.top-col-stars {
    min-width: 0;
    padding-left: 12px;
}
.top-row-stars-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.top-stars-row {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}
.top-star-svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}
.top-star-svg.is-gold {
    fill: #fbbf24;
}
.top-star-svg.is-dim {
    fill: rgba(255, 255, 255, 0.15);
}
.top-stars-val {
    font-size: 12.5px;
    font-weight: 800;
    color: #fbbf24;
    margin-left: 5px;
}
.top-tier-tag {
    display: inline-block;
    align-self: flex-start;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 99px;
    background: rgba(251, 191, 36, 0.12);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.28);
    letter-spacing: 0.02em;
}

/* Sütun 4: Kanallar */
.top-col-channels {
    min-width: 0;
}
.top-row-channels-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Sütun 5: Kitle & İzleyici */
.top-col-audience {
    min-width: 0;
}
.top-row-audience-box {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 11.5px;
}
.aud-lbl {
    color: var(--muted);
    margin-right: 4px;
}
.aud-val {
    color: #fff;
    font-weight: 700;
}

/* Sütun 6: Performans Skoru */
.top-col-score {
    display: flex;
    align-items: center;
}
.top-score-badge-list {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 46px;
    border-radius: 10px;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.35);
}
.top-score-num {
    font-size: 18px;
    font-weight: 900;
    font-family: ui-monospace, 'SF Mono', Consolas, monospace;
    line-height: 1;
}
.top-score-sub {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    margin-top: 2px;
}

/* Sütun 7: İşlemler */
.top-col-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: flex-end;
}

/* Boş Durum */
.top-performers-empty {
    padding: 32px 20px;
    text-align: center;
    background: var(--bg-2);
    border: 1px dashed var(--border-strong);
    border-radius: 14px;
    color: var(--muted);
}
