/* BrySoft Lisans Paneli */
:root {
	--blue: #0b4bab;
	--blue-d: #083a86;
	--blue-50: #eef4fc;
	--blue-100: #dbe7f8;
	--orange: #fa5800;
	--orange-50: #fff1e8;
	--green: #12805c;
	--green-50: #e7f6ef;
	--red: #c62a2a;
	--red-50: #fdecec;
	--amber: #b45309;
	--amber-50: #fef3e2;
	--wa: #1faa59;
	--text: #182230;
	--muted: #667085;
	--faint: #98a2b3;
	--line: #eaecf0;
	--bg: #f6f7f9;
	--card: #fff;
	--r: 12px;
	--font: "Quicksand", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { font: 500 15px/1.55 var(--font); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; line-height: 1.25; }
code, .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; }
.ic { display: inline-block; vertical-align: middle; flex-shrink: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
.hidden { display: none !important; }

/* ── Düğmeler ── */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line);
	background: #fff; color: var(--text); font: 600 14px var(--font); cursor: pointer;
	text-decoration: none !important; white-space: nowrap; transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { border-color: #cfd4dc; background: #fafbfc; }
.btn-primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-d); border-color: var(--blue-d); }
.btn-wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn-wa:hover { background: #178a48; border-color: #178a48; }
.btn-danger { color: var(--red); }
.btn-danger:hover { background: var(--red-50); border-color: #f4c7c7; }
.btn-sm { height: 32px; padding: 0 11px; font-size: 13px; border-radius: 8px; }
.btn-lg { height: 48px; padding: 0 22px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-ghost { border-color: transparent; background: transparent; }
.btn-ghost:hover { background: var(--bg); }
.btn[disabled] { opacity: .55; pointer-events: none; }

/* ── Form ── */
label.f { display: block; margin-bottom: 14px; }
label.f > span { display: block; font-weight: 600; font-size: 13px; margin-bottom: 6px; }
label.f > small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 5px; }
.input, select.input, textarea.input {
	width: 100%; height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid #d0d5dd;
	background: #fff; color: var(--text); font: 500 14.5px var(--font); outline: none; transition: border-color .15s, box-shadow .15s;
}
textarea.input { height: auto; min-height: 90px; padding: 10px 12px; resize: vertical; line-height: 1.5; }
.input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-100); }
.input-group { display: flex; gap: 8px; }
.input-group .input { flex: 1; min-width: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.check {
	display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line);
	border-radius: 10px; cursor: pointer; font-size: 14px; background: #fff;
}
.check:hover { border-color: #cfd4dc; }
.check input { width: 17px; height: 17px; accent-color: var(--blue); margin: 0; flex-shrink: 0; }
.check:has(input:checked) { border-color: var(--blue); background: var(--blue-50); }
.seg { display: inline-flex; padding: 3px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; gap: 2px; flex-wrap: wrap; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 6px 14px; border-radius: 8px; font-weight: 600; font-size: 13.5px; color: var(--muted); }
.seg input:checked + span { background: #fff; color: var(--text); box-shadow: 0 1px 2px rgba(16,24,40,.08); }
.quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }

/* ── Kart, rozet, uyarı ── */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.card-h h2 { font-size: 16px; }
.card-b { padding: 20px; }
.card + .card, .card + form, form + .card { margin-top: 20px; }
.stats .card, .two-col > .card, .two-col > form { margin-top: 0; }
.badge { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px; border-radius: 99px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-ok { background: var(--green-50); color: var(--green); }
.badge-warn { background: var(--amber-50); color: var(--amber); }
.badge-bad { background: var(--red-50); color: var(--red); }
.badge-mute { background: #f2f4f7; color: var(--muted); }
.badge-blue { background: var(--blue-50); color: var(--blue); }
.badge-orange { background: var(--orange-50); color: var(--orange); }
.badge.plain::before { display: none; }
.alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-weight: 600; border: 1px solid; }
.alert-success { background: var(--green-50); color: var(--green); border-color: #bfe6d3; }
.alert-error { background: var(--red-50); color: var(--red); border-color: #f4c7c7; }
.alert-info { background: var(--blue-50); color: var(--blue); border-color: var(--blue-100); }
.empty { padding: 40px 20px; text-align: center; color: var(--muted); }
.empty .ic { color: var(--faint); margin-bottom: 8px; }

/* ── Tablo ── */
.table-wrap { overflow-x: auto; }
table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
table.t th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 700; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fcfcfd; white-space: nowrap; }
table.t td { padding: 14px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.t tr:last-child td { border-bottom: 0; }
table.t tbody tr:hover td { background: #fcfcfd; }
.cell-title { font-weight: 700; color: var(--text); }
.cell-sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.row-actions { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: nowrap; }
.row-actions form { display: inline; margin: 0; }

/* ── İstatistik ── */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; margin-bottom: 20px; }
.stat { padding: 18px 20px; display: block; color: inherit; text-decoration: none !important; transition: border-color .15s; }
.stat:hover { border-color: #cfd4dc; }
.stat small { display: block; color: var(--muted); font-weight: 600; font-size: 13px; }
.stat b { display: block; font-size: 30px; line-height: 1.2; margin-top: 4px; }
.stat.ok b { color: var(--green); } .stat.warn b { color: var(--amber); } .stat.bad b { color: var(--red); }

.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.toolbar .grow { flex: 1; }
.search-box { position: relative; min-width: 220px; flex: 1; max-width: 360px; }
.search-box .ic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--faint); }
.search-box .input { padding-left: 38px; }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.tabs a { padding: 7px 13px; border-radius: 99px; font-weight: 700; font-size: 13.5px; color: var(--muted); text-decoration: none; }
.tabs a:hover { background: #fff; color: var(--text); }
.tabs a.on { background: var(--text); color: #fff; }
.tabs a .n { opacity: .65; margin-left: 3px; }

.key { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12.5px; background: var(--bg); border: 1px solid var(--line); border-radius: 7px; padding: 3px 8px; cursor: pointer; }
.key:hover { border-color: var(--blue); color: var(--blue); }

.list-plain { list-style: none; margin: 0; padding: 0; }
.list-plain li { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.list-plain li:last-child { border-bottom: 0; }

.two-col { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.stack > * + * { margin-top: 20px; }

/* ── Yönetim iskeleti ── */
.shell { display: flex; min-height: 100vh; }
.side {
	width: 248px; flex-shrink: 0; background: #fff; border-right: 1px solid var(--line);
	display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; padding: 16px 12px;
}
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 10px 20px; font-weight: 700; font-size: 17px; color: var(--text); text-decoration: none !important; }
.brand small { color: var(--orange); font-weight: 700; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--blue), #2f6fd6); color: #fff; display: grid; place-items: center; font-weight: 700; }
.side nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.side a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: #475467; font-weight: 600; text-decoration: none !important; }
.side a:hover { background: var(--bg); color: var(--text); }
.side a.on { background: var(--blue-50); color: var(--blue); }
.side-foot { border-top: 1px solid var(--line); padding-top: 10px; display: flex; flex-direction: column; gap: 2px; }
.main { flex: 1; min-width: 0; }
.top { height: 64px; display: flex; align-items: center; gap: 12px; padding: 0 32px; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.top h1 { font-size: 19px; }
.content { padding: 28px 32px 60px; max-width: 1240px; }
.icon-btn { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--text); }
.burger { display: none; }
.overlay { display: none; }

/* ── Giriş / kurulum ── */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.auth .card { width: 100%; max-width: 400px; padding: 32px 28px; }
.auth h1 { font-size: 22px; margin: 16px 0 6px; }
.auth p.muted { margin: 0 0 22px; }

/* ── Herkese açık sorgu sayfası ── */
.public { min-height: 100vh; display: flex; flex-direction: column; background:
	radial-gradient(1000px 500px at 85% -10%, #dfe9fb 0, transparent 60%),
	radial-gradient(800px 400px at -10% 110%, #ffe9dc 0, transparent 60%), var(--bg); }
.pub-head { max-width: 1040px; width: 100%; margin: 0 auto; padding: 22px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pub-main { flex: 1; width: 100%; max-width: 640px; margin: 0 auto; padding: 40px 20px 60px; }
.pub-main h1 { font-size: clamp(28px, 5vw, 40px); letter-spacing: -.02em; text-align: center; }
.pub-main .lead { text-align: center; color: var(--muted); font-size: 16.5px; margin: 12px auto 30px; max-width: 480px; }
.qform { display: flex; gap: 10px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 10px 30px -12px rgba(16,24,40,.18); }
.qform .input { border: 0; height: 50px; font-size: 16px; box-shadow: none !important; }
.qform .btn { height: 50px; border-radius: 12px; padding: 0 24px; }
.result { margin-top: 24px; overflow: hidden; }
.result-top { padding: 22px 24px; display: flex; align-items: center; gap: 16px; }
.result-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; }
.result.ok .result-ic { background: var(--green-50); color: var(--green); }
.result.warn .result-ic { background: var(--amber-50); color: var(--amber); }
.result.bad .result-ic { background: var(--red-50); color: var(--red); }
.result-top h2 { font-size: 19px; }
.result-top p { margin: 3px 0 0; color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.facts div { padding: 16px 24px; border-right: 1px solid var(--line); }
.facts div:last-child { border-right: 0; }
.facts small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.facts b { font-size: 15.5px; }
.result-cta { padding: 18px 24px; border-top: 1px solid var(--line); background: #fcfcfd; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.result-cta p { margin: 0; color: var(--muted); font-size: 14px; }
.pub-foot { text-align: center; padding: 24px; color: var(--faint); font-size: 13px; }

/* ── Mobil ── */
@media (max-width: 900px) {
	.side { position: fixed; left: 0; top: 0; z-index: 20; transform: translateX(-100%); transition: transform .2s; }
	body.nav-open .side { transform: none; box-shadow: 0 0 40px rgba(0,0,0,.15); }
	body.nav-open .overlay { display: block; position: fixed; inset: 0; background: rgba(16,24,40,.35); z-index: 15; }
	.burger { display: grid; }
	.top { padding: 0 16px; }
	.content { padding: 20px 16px 50px; }
	.two-col, .grid-2, .grid-3 { grid-template-columns: 1fr; }
	table.t.stack-sm thead { display: none; }
	table.t.stack-sm, table.t.stack-sm tbody, table.t.stack-sm tr, table.t.stack-sm td { display: block; width: 100%; }
	table.t.stack-sm tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
	table.t.stack-sm td { border: 0; padding: 6px 16px; }
	table.t.stack-sm td[data-l]::before { content: attr(data-l); display: block; font-size: 11.5px; color: var(--faint); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
	.row-actions { justify-content: flex-start; flex-wrap: wrap; }
}
@media (max-width: 560px) {
	.qform { flex-direction: column; }
	.facts { grid-template-columns: 1fr; }
	.facts div { border-right: 0; border-bottom: 1px solid var(--line); }
	.facts div:last-child { border-bottom: 0; }
	.result-cta .btn { width: 100%; }
}
.stack > input[type=hidden] + * { margin-top: 0; }

/* ══════════ Müşteri / bayi paneli ══════════ */
.nav-badge { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--orange); color: #fff; font-style: normal; font-size: 11px; font-weight: 700; line-height: 20px; text-align: center; }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.balance-chip { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 10px; background: var(--green-50); color: var(--green); text-decoration: none !important; font-size: 14px; }
.balance-chip:hover { background: #d6f0e3; }
.who { display: flex; align-items: center; gap: 10px; }
.who-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 700; }
.who-text { display: flex; flex-direction: column; line-height: 1.2; }
.who-text b { font-size: 13.5px; max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who-text small { font-size: 11.5px; color: var(--muted); }
.text-ok { color: var(--green) !important; }
.text-bad { color: var(--red) !important; }
.hide-sm { display: inline; }

.page-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.page-intro h2 { font-size: 22px; }
.page-intro p { margin: 4px 0 0; }
.dealer-strip { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; padding: 14px 18px; }
.dealer-strip > div { flex: 1; display: flex; flex-direction: column; }

/* Lisans kartı */
.lic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 18px; }
.lic-card { padding: 20px; position: relative; overflow: hidden; margin: 0 !important; }
.lic-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--green); }
.lic-card.tone-warn::before { background: var(--amber); }
.lic-card.tone-bad::before { background: var(--red); }
.lic-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.lic-site { display: flex; align-items: center; gap: 12px; min-width: 0; }
.lic-site b { font-size: 16px; overflow-wrap: anywhere; }
.lic-site small { display: block; color: var(--muted); font-size: 12px; }
.lic-ic { width: 42px; height: 42px; border-radius: 12px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; flex-shrink: 0; }
.lic-time { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 18px; }
.lic-days b { font-size: 38px; line-height: 1; letter-spacing: -.02em; }
.lic-days span { color: var(--muted); font-weight: 600; margin-left: 6px; }
.tone-bad .lic-days b { color: var(--red); }
.tone-warn .lic-days b { color: var(--amber); }
.lic-end { text-align: right; }
.lic-end small { display: block; color: var(--muted); font-size: 12px; }
.lic-bar { height: 6px; border-radius: 6px; background: var(--bg); margin: 12px 0 16px; overflow: hidden; }
.lic-bar i { display: block; height: 100%; background: var(--green); border-radius: 6px; }
.tone-warn .lic-bar i { background: var(--amber); }
.lic-key-row small { display: block; color: var(--muted); font-size: 12px; font-weight: 600; margin-bottom: 6px; }
.key-copy {
	width: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 10px; padding: 6px 6px 6px 14px;
	border: 1px dashed #b8c4d6; border-radius: 11px; background: #f9fbfe; cursor: pointer; font: inherit; color: var(--text); text-align: left;
}
.key-copy code { font-size: 13.5px; font-weight: 700; letter-spacing: .03em; white-space: nowrap; }
.key-copy-btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 8px; background: var(--blue); color: #fff; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.key-copy-btn em { font-style: normal; }
.key-copy:hover { border-color: var(--blue); }
.key-copy.copied .key-copy-btn { background: var(--green); }
.key-copy.copied .key-copy-btn em { font-size: 0; }
.key-copy.copied .key-copy-btn em::after { content: "Kopyalandı"; font-size: 13px; }
.key-copy-sm { width: auto; padding: 3px 3px 3px 10px; }
.key-copy-sm code { font-size: 12.5px; white-space: nowrap; }
.key-copy-sm .key-copy-btn { height: 28px; padding: 0 9px; font-size: 12px; }
.key.copied { border-color: var(--green); color: var(--green); }
.lic-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; align-items: center; }
.lic-actions .btn-primary { flex: 1; }
.howto h2 { font-size: 16px; margin-bottom: 10px; }
.howto ol, .steps-list { margin: 0 0 12px; padding-left: 20px; line-height: 1.9; }
.bank-box { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; line-height: 1.7; margin-bottom: 12px; word-break: break-all; }
.row-flash td { background: var(--green-50) !important; }

/* Paket seçimi */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.plan { position: relative; cursor: pointer; }
.plan input { position: absolute; opacity: 0; pointer-events: none; }
.plan-body { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px; border: 2px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.plan:hover .plan-body { border-color: #c8d1de; }
.plan input:checked + .plan-body { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-100); }
.plan input:checked + .plan-body::after { content: "✓"; position: absolute; top: 12px; right: 14px; width: 22px; height: 22px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 13px; display: grid; place-items: center; }
.plan-name { font-size: 14.5px; }
.plan-price { font-size: 24px; font-weight: 700; letter-spacing: -.01em; color: var(--blue); }
.plan-profit { color: var(--green); font-weight: 700; }
.renew-target { display: flex; align-items: center; gap: 14px; }
.renew-target > div { flex: 1; display: flex; flex-direction: column; }

/* Kademeler */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.tier { padding: 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; gap: 2px; position: relative; }
.tier small { color: var(--muted); font-size: 12.5px; }
.tier em { font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--blue); margin-top: 6px; }
.tier-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.tier-pct { font-weight: 700; font-size: 18px; color: var(--orange); }
.tier.on { border: 2px solid var(--blue); background: var(--blue-50); }
.tier.done { opacity: .6; }
.next-tier { margin-top: 18px; padding: 16px; border-radius: 12px; background: var(--bg); }
.next-tier p { margin: 0 0 12px; }
.progress-row { display: grid; grid-template-columns: 1fr; gap: 4px; }
.progress-row span { font-size: 13px; font-weight: 600; }
.progress-row small { color: var(--muted); font-size: 12px; }
.progress { height: 8px; border-radius: 8px; background: #e3e7ee; overflow: hidden; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), #3d7be0); border-radius: 8px; }
.progress-or { text-align: center; font-size: 12px; font-weight: 700; color: var(--faint); margin: 8px 0; text-transform: uppercase; letter-spacing: .08em; }
.tier-stat span { display: block; margin-top: 2px; }
.tier-stat b { font-size: 22px !important; }
.tier-badge.tier-0 { background: #f2f4f7; color: var(--muted); }
.tier-badge.tier-1 { background: #f7ede3; color: #9a5b24; }
.tier-badge.tier-2 { background: #eef1f5; color: #4a5568; }
.tier-badge.tier-3 { background: #fdf3d6; color: #8a6200; }
.tier-stat.tier-1 b { color: #9a5b24; } .tier-stat.tier-2 b { color: #4a5568; } .tier-stat.tier-3 b { color: #8a6200; }

.balance-hero { padding: 24px; background: linear-gradient(135deg, var(--blue), #083a86); color: #fff; border: 0; }
.balance-hero small { color: rgba(255,255,255,.75); font-weight: 600; }
.balance-hero b { display: block; font-size: 38px; letter-spacing: -.02em; margin: 4px 0 6px; }
.balance-hero span { color: rgba(255,255,255,.8); font-size: 13.5px; }

.money-input { position: relative; }
.money-input .input { padding-right: 32px; }
.money-input span { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 700; pointer-events: none; }
.tier-edit { display: grid; gap: 8px; }
.tier-edit-head, .tier-edit-row { display: grid; grid-template-columns: 1.3fr 1.2fr .8fr .8fr; gap: 8px; }
.tier-edit-head span { font-size: 12px; font-weight: 700; color: var(--muted); }
.row-new td { background: #fcfcfd; }

@media (max-width: 900px) {
	.who-text { display: none; }
	.tier-edit-head { display: none; }
	.tier-edit-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
	.hide-sm { display: none; }
	.lic-grid { grid-template-columns: 1fr; }
	.balance-chip b { font-size: 13px; }
}

/* Canlı aramalı seçim */
.lsel { position: relative; }
.lsel-native { position: absolute !important; opacity: 0; pointer-events: none; width: 1px !important; height: 1px !important; }
.lsel-btn { display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; cursor: pointer; height: auto !important; min-height: 46px; padding: 6px 12px !important; }
.lsel-btn svg { flex-shrink: 0; color: var(--muted); transition: transform .15s; }
.lsel.is-open .lsel-btn { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-100); }
.lsel.is-open .lsel-btn svg { transform: rotate(180deg); }
.lsel-text { display: flex; flex-direction: column; min-width: 0; }
.lsel-text b, .lsel-text small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lsel-text b { font-weight: 600; }
.lsel-text small { color: var(--muted); font-size: 12px; }
.lsel-pop { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px -12px rgba(16,24,40,.25); padding: 8px; }
.lsel-search { height: 40px; margin-bottom: 6px; }
.lsel-list { list-style: none; margin: 0; padding: 0; max-height: 280px; overflow-y: auto; }
.lsel-list li { padding: 8px 10px; border-radius: 8px; cursor: pointer; display: flex; flex-direction: column; }
.lsel-list li[hidden] { display: none; }
.lsel-list li b { font-weight: 600; font-size: 14px; }
.lsel-list li small { color: var(--muted); font-size: 12px; }
.lsel-list li.is-active { background: var(--blue-50); }
.lsel-list li.is-selected b::after { content: " ✓"; color: var(--blue); }
.lsel-empty { padding: 14px; text-align: center; color: var(--muted); font-size: 13px; }
.input.just-filled { background: #eef9f2; transition: background .6s; }

/* Bildirim kartı */
.contact-list li { padding: 8px 0; }
.notify-types { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 12px 0; }
.notify-types label { cursor: pointer; }
.notify-types input { position: absolute; opacity: 0; pointer-events: none; }
.notify-types span { display: block; padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; font-weight: 600; text-align: center; color: var(--muted); }
.notify-types input:checked + span { border-color: var(--blue); background: var(--blue-50); color: var(--blue); }
.notify-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.btn.is-disabled { opacity: .45; pointer-events: none; }
.flash-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: -6px 0 16px; }
