/* Hesap sayfaları. Servis temaları, hareket belirteçleri ve bileşenler CSS değişkenleriyle yeniden kullanılabilir. */
:root {
  --bg: #0a1016; --surface: #111a23; --surface-2: #17232f; --line: #22313f; --text: #e8eef3; --muted: #8fa1b0;
  --svc: #14b8a6; --svc-2: #2dd4bf; --svc-ink: #03211d; --danger: #f87171; --warn: #fbbf24; --ok: #34d399;
  --radius: 16px; --ease: cubic-bezier(.22,.8,.3,1); --dur-1: .18s; --dur-2: .45s;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}
/* Servise özel renk temaları: body[data-service] değiştirilerek tüm arayüz vurgusu değişir. */
[data-service="chatgpt"] { --svc: #10a37f; --svc-2: #34d3a8; --svc-ink: #02201a; }
[data-service="claude"] { --svc: #d97757; --svc-2: #f0a48a; --svc-ink: #2a0f06; }
[data-service="perplexity"] { --svc: #20b8cd; --svc-2: #6fe1ef; --svc-ink: #02222a; }
[data-service="grok"] { --svc: #a78bfa; --svc-2: #c9b8ff; --svc-ink: #150a35; }
[data-service="telegram"] { --svc: #2aabee; --svc-2: #7fd0ff; --svc-ink: #021a29; }
[data-theme="light"] { --bg: #f3f7f9; --surface: #fff; --surface-2: #eef3f6; --line: #d6e0e7; --text: #0f1b24; --muted: #566877; }

* { box-sizing: border-box; }
html { color-scheme: dark; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font: 15px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--svc-2); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--svc-2); outline-offset: 2px; border-radius: 6px; }

.scene { position: fixed; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.scene i { position: absolute; width: 46vmax; height: 46vmax; border-radius: 50%; filter: blur(90px); opacity: .22; background: var(--svc); animation: drift 22s var(--ease) infinite alternate; }
.scene .m1 { top: -18vmax; left: -12vmax; } .scene .m2 { bottom: -22vmax; right: -14vmax; animation-delay: -7s; background: var(--svc-2); opacity: .14; } .scene .m3 { top: 30%; left: 55%; width: 22vmax; height: 22vmax; animation-delay: -13s; opacity: .1; }
@keyframes drift { to { transform: translate3d(5vmax, 4vmax, 0) scale(1.12); } }

.topbar { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px max(16px, 4vw); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; letter-spacing: .4px; }
.brand:hover { text-decoration: none; }
.brand small { display: block; font-weight: 500; font-size: 11px; color: var(--muted); letter-spacing: 0; }
.brand img { border-radius: 10px; }

.lang-selector { position: relative; }
.lang-btn { display: flex; align-items: center; gap: 8px; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font: inherit; font-weight: 600; cursor: pointer; transition: border-color var(--dur-1), transform var(--dur-1); min-height: 40px; }
.lang-btn:hover { border-color: var(--svc); }
.flag { border-radius: 3px; object-fit: cover; }
.lang-dropdown { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; min-width: 230px; margin: 0; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 50px rgba(0,0,0,.45); opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top right; transition: opacity var(--dur-1), transform var(--dur-1) var(--ease), visibility var(--dur-1); }
.lang-dropdown.show { opacity: 1; visibility: visible; transform: none; }
.lang-opt { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; cursor: pointer; min-height: 44px; }
.lang-opt span { flex: 1; }
.lang-opt small { color: var(--muted); font-weight: 700; }
.lang-opt:hover, .lang-opt:focus { background: var(--surface-2); outline: none; }
.lang-opt.active { background: color-mix(in srgb, var(--svc) 22%, transparent); box-shadow: inset 0 0 0 1px var(--svc); }

.wrap { position: relative; z-index: 2; display: grid; place-items: start center; padding: 18px 16px 60px; }
.card { width: min(440px, 100%); background: color-mix(in srgb, var(--surface) 92%, transparent); border: 1px solid var(--line); border-radius: 22px; padding: 30px; box-shadow: 0 30px 70px rgba(0,0,0,.35); backdrop-filter: blur(10px); animation: rise var(--dur-2) var(--ease) both; }
.card-wide { width: min(920px, 100%); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
h1 { font-size: 26px; margin: 0 0 6px; letter-spacing: -.3px; }
h2 { font-size: 17px; margin: 22px 0 12px; }
.sub { color: var(--muted); margin: 0 0 20px; }
.form { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: 13px; color: var(--muted); }
label small { font-weight: 400; }
input, select { width: 100%; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font: inherit; min-height: 46px; transition: border-color var(--dur-1), box-shadow var(--dur-1); }
input:focus, select:focus { outline: none; border-color: var(--svc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--svc) 28%, transparent); }
input:disabled { opacity: .6; }
.btn { background: linear-gradient(135deg, var(--svc), var(--svc-2)); color: var(--svc-ink); border: 0; border-radius: 12px; padding: 13px 18px; font: inherit; font-weight: 800; cursor: pointer; min-height: 46px; transition: transform var(--dur-1) var(--ease), filter var(--dur-1), box-shadow var(--dur-1); }
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 10px 24px color-mix(in srgb, var(--svc) 35%, transparent); }
.btn:active { transform: translateY(0) scale(.99); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--svc); box-shadow: none; }
.links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin: 18px 0 0; font-size: 13px; }
.home { margin: 22px 0 0; font-size: 13px; }
.alert { padding: 12px 14px; border-radius: 12px; margin-bottom: 16px; font-weight: 600; font-size: 14px; border: 1px solid; }
.alert-err { background: color-mix(in srgb, var(--danger) 14%, transparent); border-color: color-mix(in srgb, var(--danger) 50%, transparent); color: #fecaca; }
.alert-ok { background: color-mix(in srgb, var(--ok) 14%, transparent); border-color: color-mix(in srgb, var(--ok) 50%, transparent); color: #bbf7d0; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; border: 1px solid var(--line); margin-left: 6px; }
.pill-ok, .st-completed { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 50%, transparent); }
.pill-warn, .st-pending { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 50%, transparent); }
.st-processing { color: var(--svc-2); border-color: var(--svc); }
.st-failed { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 50%, transparent); }
.acc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.inline { margin: 0 0 8px; }
.empty { color: var(--muted); background: var(--surface-2); border: 1px dashed var(--line); border-radius: 14px; padding: 18px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; min-width: 520px; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14px; }
th { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .5px; }
tbody tr { transition: background var(--dur-1); } tbody tr:hover { background: var(--surface-2); } tbody tr:last-child td { border-bottom: 0; }
.mono { font-family: Consolas, "SFMono-Regular", monospace; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 10px; }
.panel h2 { margin-top: 18px; }
@media (max-width: 720px) { .grid2 { grid-template-columns: 1fr; } .card { padding: 22px 18px; } h1 { font-size: 22px; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Üst menü bileşenleri (site.css yüklenmediği için burada; service-theme.css davranışı tamamlar) */
.top-actions { display: flex; align-items: center; gap: 8px; }
.nav-btn { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-radius: 12px; font-weight: 650; font-size: 13.5px; color: var(--muted); background: var(--surface); border: 1px solid var(--line); transition: all .2s var(--ease); white-space: nowrap; }
.nav-btn:hover { color: var(--text); border-color: var(--svc); text-decoration: none; transform: translateY(-1px); }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--text); cursor: pointer; }
.icon-btn:hover { border-color: var(--svc); }
button.nav-btn { font: inherit; font-weight: 650; font-size: 13.5px; cursor: pointer; }
:root { --surface-solid: #111a23; --border-strong: #2b3d4e; --text-2: #aab8c4; --soft: color-mix(in srgb, var(--svc) 16%, transparent); --shadow: 0 24px 60px -20px rgba(0,0,0,.6); --grad: linear-gradient(135deg, var(--svc), var(--svc-2)); }