/* ==========================================================================
   Sie Pedia v1.0.1 — stylesheet gaya Telekos
   Token warna mengikuti telekos.id publik (dibaca live 2026-11-07):
   latar #17181b, aksen indigo #6366f1. Ditulis dari nol mengikuti token
   gaya Telekos (bukan salinan file lama).
   Sidebar 248px di desktop (>=1024px), navigasi bawah di HP.
   ========================================================================== */

:root {
  --tk-bg: #17181b;
  --tk-panel: #1e1f23;
  --tk-panel-2: #232428;
  --tk-panel-3: #26272c;
  --tk-input: #202126;
  --tk-line: rgba(255, 255, 255, .09);
  --tk-text: #f2f4ff;
  --tk-text-2: #c3c9dd;
  --tk-muted: #8b93b0;
  --tk-purple: #6366f1;
  --tk-purple-2: #5558e6;
  --tk-purple-3: #4a4cd0;
  --tk-blue: #4d7cff;
  --tk-green: #22c55e;
  --tk-green-bg: rgba(34, 197, 94, .14);
  --tk-red: #ef4444;
  --tk-red-bg: rgba(239, 68, 68, .14);
  --tk-amber: #f59e0b;
  --tk-amber-bg: rgba(245, 158, 11, .14);
  --tk-radius: 16px;
  --tk-radius-sm: 10px;
  --tk-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Reset & dasar ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0;
  font-family: var(--tk-font);
  background:
    radial-gradient(circle at 15% 0%, rgba(99, 102, 241, .10), transparent 30rem),
    radial-gradient(circle at 90% 10%, rgba(77, 124, 255, .08), transparent 28rem),
    var(--tk-bg);
  color: var(--tk-text);
  font-size: 14px;
  line-height: 1.55;
  min-height: 100vh;
}
h1, h2, h3, h4 { margin: 0 0 8px; line-height: 1.25; color: #fff; }
h1 { font-size: 24px; font-weight: 800; }
h2 { font-size: 19px; font-weight: 700; }
h3 { font-size: 16px; font-weight: 700; }
p { margin: 0 0 12px; color: var(--tk-text-2); }
a { color: var(--tk-purple); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
code {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 12px;
  background: rgba(99, 102, 241, .16);
  color: #c4b5fd;
  padding: 2px 6px;
  border-radius: 6px;
}
pre {
  background: #141518;
  color: #dbe4ff;
  border: 1px solid var(--tk-line);
  border-radius: var(--tk-radius-sm);
  padding: 14px;
  overflow-x: auto;
  font-size: 12px;
  line-height: 1.6;
  margin: 0 0 16px;
  white-space: pre-wrap;
  word-break: break-word;
}
pre code { background: none; padding: 0; color: inherit; }
.hidden { display: none !important; }
.muted { color: var(--tk-muted); font-size: 12px; }
.text-center { text-align: center; }
.mt-2 { margin-top: 8px; } .mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; }
.mb-2 { margin-bottom: 8px; } .mb-3 { margin-bottom: 12px; } .mb-4 { margin-bottom: 16px; }

/* ---------- Layout: sidebar + konten ---------- */
.tk-layout { display: block; }
.tk-sidebar { display: none; }
.tk-content { min-width: 0; padding: 0 16px 96px; }
.tk-main { max-width: 1080px; margin: 0 auto; padding-top: 20px; }
.tk-main-narrow { max-width: 560px; margin: 0 auto; padding-top: 32px; }
.tk-page-head { margin-bottom: 20px; }
.tk-page-head p { margin-bottom: 0; }
.tk-page-head .tk-kicker {
  display: block; font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--tk-purple); margin-bottom: 6px;
}

@media (min-width: 1024px) {
  body.has-tk-sidebar .tk-sidebar {
    display: flex; flex-direction: column; position: fixed;
    left: 0; top: 0; bottom: 0; width: 248px; z-index: 90;
    background: #17181b; border-right: 1px solid var(--tk-line);
    padding: 0 14px 20px; overflow-y: auto;
  }
  body.has-tk-sidebar .tk-content { margin-left: 248px; padding-bottom: 40px; }
  body.has-tk-sidebar .tk-topbar-inner { margin-left: 248px; }
}

/* ---------- Topbar ---------- */
.tk-topbar {
  position: sticky; top: 0; z-index: 80;
  background: rgba(23, 24, 27, .85);
  border-bottom: 1px solid var(--tk-line);
  backdrop-filter: blur(20px) saturate(150%);
}
.tk-topbar-inner {
  display: flex; align-items: center; gap: 16px;
  max-width: 1320px; margin: 0 auto; padding: 10px 16px;
}
.tk-brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.tk-brand:hover { text-decoration: none; }
.tk-brand-mark {
  width: 38px; height: 38px; flex: 0 0 38px; border-radius: 10px;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px;
}
.tk-brand-copy strong { display: block; font-size: 15px; line-height: 1.2; }
.tk-brand-copy small { display: block; font-size: 11px; color: var(--tk-muted); font-weight: 500; }
.tk-desktop-nav { display: none; align-items: center; gap: 4px; margin-left: 8px; }
.tk-desktop-nav a {
  padding: 8px 12px; border-radius: 10px; color: #aab1c8;
  font-size: 13px; font-weight: 600;
}
.tk-desktop-nav a:hover { background: rgba(255, 255, 255, .05); color: #fff; text-decoration: none; }
.tk-desktop-nav a.active { background: rgba(99, 102, 241, .22); color: #fff; }
@media (min-width: 1024px) { .tk-desktop-nav { display: flex; } }
.tk-top-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.tk-balance-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--tk-line);
  color: var(--tk-text); border-radius: 10px; padding: 8px 12px;
  font-size: 12px; font-weight: 600; white-space: nowrap;
}
.tk-balance-pill:hover { text-decoration: none; border-color: var(--tk-purple); }
.tk-balance-pill span { color: var(--tk-muted); font-weight: 500; }
.tk-balance-pill strong { color: #fff; }
@media (max-width: 1023px) { .tk-balance-pill { display: none; } }
.tk-user-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--tk-text);
}
.tk-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px; color: #fff;
}
.tk-login-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--tk-purple-2); color: #fff; font-weight: 700; font-size: 13px;
  padding: 8px 16px; border-radius: 10px;
}
.tk-login-pill:hover { background: var(--tk-purple-3); text-decoration: none; }

/* ---------- Sidebar ---------- */
.tk-sidebar-brand { padding: 18px 6px 16px; border-bottom: 1px solid var(--tk-line); margin-bottom: 14px; }
.tk-sidebar-logo { display: flex; align-items: center; gap: 10px; color: #fff; }
.tk-sidebar-logo:hover { text-decoration: none; }
.tk-sidebar-logo strong { display: block; font-size: 15px; line-height: 1.2; }
.tk-sidebar-logo small { display: block; font-size: 11px; color: var(--tk-muted); font-weight: 500; }
.tk-sidebar-nav { display: flex; flex-direction: column; gap: 4px; }
.tk-sidebar-nav a {
  display: flex; align-items: center; gap: 12px; padding: 11px 12px;
  border-radius: 10px; color: #aab1c8; font-size: 13px; font-weight: 600;
}
.tk-sidebar-nav a:hover { background: rgba(255, 255, 255, .05); color: #fff; text-decoration: none; }
.tk-sidebar-nav a.active { background: rgba(99, 102, 241, .22); color: #fff; }
.tk-sidebar-divider { height: 1px; background: var(--tk-line); margin: 14px 6px; }
.tk-sidebar-foot { margin-top: auto; padding: 12px 6px 0; font-size: 11px; color: var(--tk-muted); }

/* ---------- Navigasi bawah (HP) ---------- */
.tk-bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: flex; justify-content: space-around;
  background: rgba(23, 24, 27, .96); border-top: 1px solid var(--tk-line);
  padding: 8px 4px calc(8px + env(safe-area-inset-bottom));
}
.tk-bottom-nav a {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  color: var(--tk-muted); font-size: 11px; font-weight: 600; padding: 2px 8px;
}
.tk-bottom-nav a.active { color: #fff; }
.tk-bottom-nav a:hover { text-decoration: none; color: #fff; }
.tk-bottom-nav .tk-nav-ico { font-size: 18px; line-height: 1; }
@media (min-width: 1024px) { .tk-bottom-nav { display: none; } }

/* ---------- Kartu & grid ---------- */
.tk-card {
  background: var(--tk-panel); border: 1px solid var(--tk-line);
  border-radius: var(--tk-radius); padding: 20px; margin-bottom: 16px;
}
.tk-card h2 { margin-bottom: 4px; }
.tk-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.tk-card-head h2, .tk-card-head h3 { margin-bottom: 2px; }
.tk-grid { display: grid; gap: 16px; }
.tk-grid-2 { grid-template-columns: 1fr; }
.tk-grid-3 { grid-template-columns: 1fr; }
.tk-grid-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) {
  .tk-grid-2 { grid-template-columns: 1fr 1fr; }
  .tk-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .tk-grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.tk-stat { background: var(--tk-panel); border: 1px solid var(--tk-line); border-radius: var(--tk-radius); padding: 18px; }
.tk-stat span { display: block; font-size: 12px; color: var(--tk-muted); font-weight: 600; margin-bottom: 6px; }
.tk-stat strong { display: block; font-size: 22px; font-weight: 800; color: #fff; }
.tk-stat small { color: var(--tk-muted); font-size: 12px; }
.tk-balance-card {
  background: linear-gradient(135deg, #26273a, #1e1f23 60%, #1e1f23);
  border: 1px solid var(--tk-line); border-radius: var(--tk-radius);
  padding: 22px; margin-bottom: 16px;
}
.tk-balance-card span { color: var(--tk-muted); font-size: 12px; font-weight: 600; }
.tk-balance-value { font-size: 32px; font-weight: 800; color: #fff; margin: 6px 0 14px; }
.tk-balance-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Tombol ---------- */
.tk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-size: 13px; font-weight: 700;
  padding: 10px 18px; border-radius: 10px; border: 1px solid transparent;
  cursor: pointer; color: #fff; background: var(--tk-purple-2);
  transition: background .15s ease, border-color .15s ease;
}
.tk-btn:hover { background: var(--tk-purple-3); text-decoration: none; }
.tk-btn:disabled { opacity: .55; cursor: not-allowed; }
.tk-btn-sm { padding: 7px 12px; font-size: 12px; }
.tk-btn-block { width: 100%; }
.tk-btn-success { background: #16a34a; }
.tk-btn-success:hover { background: #15803d; }
.tk-btn-danger { background: #dc2626; }
.tk-btn-danger:hover { background: #b91c1c; }
.tk-btn-ghost { background: rgba(255, 255, 255, .05); border-color: var(--tk-line); color: var(--tk-text); }
.tk-btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.tk-btn-light { background: rgba(255, 255, 255, .08); border-color: var(--tk-line); color: #fff; }
.tk-btn-light:hover { background: rgba(255, 255, 255, .14); }
.tk-link-btn { background: none; border: none; padding: 0; font: inherit; color: var(--tk-purple); cursor: pointer; font-weight: 600; }
.tk-link-btn:hover { text-decoration: underline; }
.tk-link-btn.danger { color: var(--tk-red); }

/* ---------- Form ---------- */
.tk-form label { display: block; font-size: 12px; font-weight: 700; color: var(--tk-text-2); margin: 0 0 6px; text-transform: uppercase; letter-spacing: .04em; }
.tk-form input[type="text"], .tk-form input[type="email"], .tk-form input[type="password"],
.tk-form input[type="number"], .tk-form input[type="url"], .tk-form select, .tk-form textarea {
  width: 100%; font-family: inherit; font-size: 14px;
  background: var(--tk-input); border: 1px solid var(--tk-line);
  color: var(--tk-text); border-radius: 10px; padding: 11px 12px; margin-bottom: 14px;
}
.tk-form input:focus, .tk-form select:focus, .tk-form textarea:focus {
  outline: none; border-color: var(--tk-purple);
  box-shadow: 0 0 0 1px var(--tk-purple);
}
.tk-form input::placeholder, .tk-form textarea::placeholder { color: #6b7280; }
.tk-form select option { background: var(--tk-input); color: var(--tk-text); }
.tk-field-row { display: grid; grid-template-columns: 1fr; gap: 0 14px; }
@media (min-width: 640px) { .tk-field-row { grid-template-columns: 1fr 1fr; } }
.tk-form-hint { font-size: 12px; color: var(--tk-muted); margin: -8px 0 14px; }
.tk-checkbox-row { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--tk-text-2); margin-bottom: 14px; }
.tk-checkbox-row input { accent-color: var(--tk-purple); width: 16px; height: 16px; }

/* ---------- Alert ---------- */
.tk-alert {
  border-radius: var(--tk-radius-sm); padding: 12px 14px; margin-bottom: 16px;
  font-size: 13px; border: 1px solid var(--tk-line);
  background: rgba(255, 255, 255, .04); color: var(--tk-text);
}
.tk-alert strong { color: #fff; }
.tk-alert-error { background: var(--tk-red-bg); border-color: rgba(239, 68, 68, .4); }
.tk-alert-success { background: var(--tk-green-bg); border-color: rgba(34, 197, 94, .4); }
.tk-alert-warning { background: var(--tk-amber-bg); border-color: rgba(245, 158, 11, .4); }
.tk-alert-info { background: rgba(77, 124, 255, .12); border-color: rgba(77, 124, 255, .4); }

/* ---------- Tabel ---------- */
.tk-table-wrap { overflow-x: auto; margin: 0 -20px; padding: 0 20px; }
table.tk-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.tk-table th {
  text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .06em;
  color: var(--tk-muted); padding: 10px 12px; background: rgba(255, 255, 255, .03);
  border-bottom: 1px solid var(--tk-line); white-space: nowrap;
}
.tk-table td { padding: 12px; border-bottom: 1px solid var(--tk-line); vertical-align: middle; }
.tk-table tbody tr:hover { background: rgba(255, 255, 255, .02); }
.tk-table tbody tr:last-child td { border-bottom: none; }
.tk-table .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.tk-mono { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: 13px; }
.tk-empty { text-align: center; padding: 32px 16px; color: var(--tk-muted); }
.tk-empty strong { display: block; color: var(--tk-text); font-size: 15px; margin-bottom: 4px; }

/* ---------- Badge status ---------- */
.tk-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
  white-space: nowrap; text-transform: uppercase; letter-spacing: .03em;
}
.tk-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.tk-badge-waiting { background: var(--tk-amber-bg); color: var(--tk-amber); }
.tk-badge-ok { background: var(--tk-green-bg); color: var(--tk-green); }
.tk-badge-success { background: var(--tk-green-bg); color: var(--tk-green); }
.tk-badge-cancelled { background: var(--tk-red-bg); color: var(--tk-red); }
.tk-badge-expired { background: rgba(139, 147, 176, .16); color: var(--tk-muted); }
.tk-badge-held { background: var(--tk-amber-bg); color: var(--tk-amber); }
.tk-badge-failed { background: var(--tk-red-bg); color: var(--tk-red); }
.tk-badge-refunded { background: rgba(77, 124, 255, .14); color: var(--tk-blue); }
.tk-badge-completed { background: var(--tk-green-bg); color: var(--tk-green); }
.tk-badge-pending { background: var(--tk-amber-bg); color: var(--tk-amber); }
.tk-badge-paid { background: var(--tk-green-bg); color: var(--tk-green); }
.tk-badge-active { background: var(--tk-green-bg); color: var(--tk-green); }
.tk-badge-blocked { background: var(--tk-red-bg); color: var(--tk-red); }
.tk-badge-muted { background: rgba(139, 147, 176, .16); color: var(--tk-muted); }

/* ---------- Hero & landing ---------- */
.tk-hero { text-align: center; padding: 48px 16px 32px; }
.tk-hero h1 { font-size: 34px; }
@media (min-width: 768px) { .tk-hero h1 { font-size: 44px; } }
.tk-hero .tk-hero-sub { font-size: 16px; max-width: 640px; margin: 0 auto 24px; }
.tk-hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.tk-hero-actions .tk-btn { padding: 12px 26px; font-size: 14px; }
.tk-live-strip {
  display: flex; gap: 10px; overflow-x: auto; padding: 6px 2px 16px;
  scrollbar-width: none;
}
.tk-live-strip::-webkit-scrollbar { display: none; }
.tk-live-chip {
  flex: 0 0 auto; background: var(--tk-panel); border: 1px solid var(--tk-line);
  border-radius: 12px; padding: 10px 14px; font-size: 12px;
}
.tk-live-chip strong { display: block; color: #fff; font-size: 13px; }
.tk-live-chip small { color: var(--tk-muted); }
.tk-service-card { text-align: left; }
.tk-service-card .tk-service-ico { font-size: 28px; margin-bottom: 8px; }
.tk-service-card h3 { margin-bottom: 4px; }
.tk-service-card p { font-size: 13px; margin-bottom: 0; }
.tk-faq details {
  background: var(--tk-panel); border: 1px solid var(--tk-line);
  border-radius: 12px; padding: 14px 16px; margin-bottom: 10px;
}
.tk-faq summary { cursor: pointer; font-weight: 700; color: #fff; }
.tk-faq summary::marker { color: var(--tk-purple); }
.tk-faq p { margin: 10px 0 0; font-size: 13px; }

/* ---------- Order: server, aplikasi, harga ---------- */
.tk-server-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 768px) { .tk-server-grid { grid-template-columns: repeat(5, 1fr); } }
.tk-server-card {
  background: var(--tk-panel-2); border: 2px solid var(--tk-line);
  border-radius: 14px; padding: 16px 12px; text-align: center; cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.tk-server-card:hover { border-color: var(--tk-purple); }
.tk-server-card.selected { border-color: var(--tk-purple); background: rgba(99, 102, 241, .16); }
.tk-server-card.disabled { opacity: .45; cursor: not-allowed; }
.tk-server-card strong { display: block; color: #fff; font-size: 14px; }
.tk-server-card small { color: var(--tk-muted); font-size: 11px; }
.tk-server-card .tk-server-dot {
  width: 10px; height: 10px; border-radius: 50%; margin: 0 auto 8px;
  background: var(--tk-green);
}
.tk-server-card.disabled .tk-server-dot { background: var(--tk-red); }
.tk-search { position: relative; margin-bottom: 12px; }
.tk-search input {
  width: 100%; font-family: inherit; font-size: 14px;
  background: var(--tk-input); border: 1px solid var(--tk-line);
  color: var(--tk-text); border-radius: 10px; padding: 11px 12px 11px 38px;
}
.tk-search input:focus { outline: none; border-color: var(--tk-purple); box-shadow: 0 0 0 1px var(--tk-purple); }
.tk-search::before { content: "🔍"; position: absolute; left: 12px; top: 10px; font-size: 14px; }
.tk-list { display: flex; flex-direction: column; gap: 8px; max-height: 360px; overflow-y: auto; padding-right: 4px; }
.tk-list-item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--tk-panel-2); border: 1px solid var(--tk-line);
  border-radius: 10px; padding: 11px 14px; cursor: pointer; text-align: left;
  font-family: inherit; font-size: 13px; color: var(--tk-text); width: 100%;
}
.tk-list-item:hover { border-color: var(--tk-purple); }
.tk-list-item.selected { border-color: var(--tk-purple); background: rgba(99, 102, 241, .16); }
.tk-list-item strong { color: #fff; }
.tk-list-item small { color: var(--tk-muted); display: block; font-size: 11px; }
.tk-list-item .tk-price { font-weight: 800; color: #fff; white-space: nowrap; }
.tk-steps { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.tk-step {
  font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .05); color: var(--tk-muted); border: 1px solid var(--tk-line);
}
.tk-step.done { background: rgba(99, 102, 241, .2); color: #fff; border-color: var(--tk-purple); }
.tk-otp-code {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 15px; font-weight: 800; color: #fff; letter-spacing: .06em;
  background: rgba(34, 197, 94, .12); border: 1px dashed rgba(34, 197, 94, .5);
  border-radius: 8px; padding: 6px 10px; display: inline-block;
}
.tk-countdown { font-variant-numeric: tabular-nums; font-weight: 800; color: var(--tk-amber); }
.tk-countdown.expired { color: var(--tk-red); }

/* ---------- Deposit ---------- */
.tk-quick-amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.tk-quick-amounts button {
  background: rgba(255, 255, 255, .04); border: 1px solid var(--tk-line);
  color: var(--tk-text); border-radius: 10px; padding: 10px 6px;
  font-size: 12px; font-weight: 600; cursor: pointer; font-family: inherit;
}
.tk-quick-amounts button:hover, .tk-quick-amounts button.selected {
  background: rgba(99, 102, 241, .18); border-color: var(--tk-purple);
}
.tk-qr-box {
  text-align: center; background: #fff; border-radius: 14px;
  padding: 16px; margin: 0 auto 14px; max-width: 280px;
}
.tk-qr-box img { display: block; margin: 0 auto; width: 220px; height: 220px; object-fit: contain; }
.tk-qr-box p { color: #334155; margin: 10px 0 0; font-size: 12px; }
.tk-kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 13px; }
.tk-kv dt { color: var(--tk-muted); }
.tk-kv dd { margin: 0; color: #fff; text-align: right; word-break: break-all; }

/* ---------- Pengaturan / API key ---------- */
.tk-key-box {
  display: flex; gap: 8px; align-items: stretch; flex-wrap: wrap;
  background: #141518; border: 1px solid var(--tk-line); border-radius: 10px; padding: 12px;
}
.tk-key-box code { flex: 1; min-width: 180px; background: none; padding: 8px 4px; font-size: 13px; word-break: break-all; }
.tk-ip-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--tk-line); }
.tk-ip-row:last-child { border-bottom: none; }

/* ---------- Dokumen API ---------- */
.tk-endpoint { border: 1px solid var(--tk-line); border-radius: 12px; overflow: hidden; margin-bottom: 16px; }
.tk-endpoint-head {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: var(--tk-panel-2); padding: 12px 14px; border-bottom: 1px solid var(--tk-line);
}
.tk-method {
  font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 6px;
  background: var(--tk-green-bg); color: var(--tk-green); letter-spacing: .04em;
}
.tk-method-post { background: rgba(77, 124, 255, .16); color: var(--tk-blue); }
.tk-endpoint-head code { font-size: 13px; }
.tk-endpoint-body { padding: 14px; }
.tk-endpoint-body p { font-size: 13px; }
.tk-param-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-bottom: 12px; }
.tk-param-table th { text-align: left; color: var(--tk-muted); font-size: 11px; text-transform: uppercase; padding: 6px 8px; border-bottom: 1px solid var(--tk-line); }
.tk-param-table td { padding: 8px; border-bottom: 1px solid var(--tk-line); vertical-align: top; }

/* ---------- Admin ---------- */
.tk-admin-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.tk-admin-nav a {
  font-size: 12px; font-weight: 700; padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--tk-line); color: var(--tk-text-2);
}
.tk-admin-nav a:hover { color: #fff; text-decoration: none; }
.tk-admin-nav a.active { background: rgba(99, 102, 241, .22); border-color: var(--tk-purple); color: #fff; }
.tk-secret-status { font-size: 12px; font-weight: 700; }
.tk-secret-status.filled { color: var(--tk-green); }
.tk-secret-status.empty { color: var(--tk-amber); }

/* ---------- Footer ---------- */
.tk-footer {
  border-top: 1px solid var(--tk-line); margin-top: 32px; padding: 20px 0 8px;
  color: var(--tk-muted); font-size: 12px; text-align: center;
}
.tk-footer strong { color: var(--tk-text); }

/* ---------- Toast ---------- */
.tk-toast-wrap {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: 76px; z-index: 200; display: flex; flex-direction: column; gap: 8px;
  width: min(92vw, 420px); pointer-events: none;
}
@media (min-width: 1024px) { .tk-toast-wrap { bottom: 24px; } }
.tk-toast {
  background: var(--tk-panel-2); border: 1px solid var(--tk-line); color: var(--tk-text);
  border-radius: 12px; padding: 12px 16px; font-size: 13px; font-weight: 600;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .5);
  animation: tk-toast-in .2s ease;
}
.tk-toast-error { border-color: rgba(239, 68, 68, .5); }
.tk-toast-success { border-color: rgba(34, 197, 94, .5); }
@keyframes tk-toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Auth ---------- */
.tk-auth-card { max-width: 440px; margin: 0 auto; }
.tk-auth-logo { text-align: center; margin-bottom: 20px; }
.tk-auth-logo .tk-brand-mark { width: 56px; height: 56px; font-size: 26px; border-radius: 14px; margin: 0 auto 10px; }
.tk-auth-links { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; font-size: 13px; }

/* ---------- Responsif kecil ---------- */
@media (max-width: 640px) {
  h1 { font-size: 21px; }
  .tk-content { padding-left: 12px; padding-right: 12px; }
  .tk-card { padding: 16px; }
  .tk-balance-value { font-size: 26px; }
  .tk-table-wrap { margin: 0 -16px; padding: 0 16px; }
  .tk-topbar-inner { padding: 10px 12px; }
  .tk-user-chip span { display: none; }
}

/* ---------- Landing ala Telekos: hero split + kartu auth ---------- */
/* Urutan DOM telekos.id: panel auth dulu, lalu hero — di desktop tampil
   berdampingan (kiri: teks hero, kanan: kartu auth). */
.tk-hero-split {
  display: grid; grid-template-columns: 1fr; gap: 24px;
  align-items: start; padding: 32px 0 8px;
}
@media (min-width: 900px) {
  .tk-hero-split { grid-template-columns: 1.1fr .9fr; gap: 40px; padding: 48px 0 16px; }
}
.tk-hero-split .tk-hero { text-align: left; padding: 8px 0 0; }
.tk-hero-split .tk-hero .tk-hero-sub { margin: 0 0 24px; }
.tk-hero-split .tk-hero-actions { justify-content: flex-start; }
.tk-hero-avail { font-size: 13px; font-weight: 600; color: var(--tk-muted); margin-top: 18px; }
.tk-auth-panel { margin-bottom: 0; }
.tk-auth-panel h2 { font-size: 19px; margin-bottom: 4px; }
.tk-auth-panel .tk-auth-sub { font-size: 13px; color: var(--tk-muted); margin-bottom: 16px; }
.tk-auth-note { font-size: 12px; color: var(--tk-muted); margin-top: 14px; }
.tk-auth-note a { color: var(--tk-purple); }
.tk-auth-switch { text-align: center; font-size: 13px; color: var(--tk-muted); margin-top: 14px; }
.tk-auth-switch a { font-weight: 700; }

/* ---------- Footer kolom ala Telekos ---------- */
.tk-footer-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  text-align: left; max-width: 1080px; margin: 0 auto; padding: 0 16px;
}
@media (min-width: 768px) { .tk-footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; } }
.tk-footer-col strong { display: block; color: #fff; font-size: 14px; margin-bottom: 8px; }
.tk-footer-col h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--tk-muted); margin-bottom: 8px; }
.tk-footer-col a { display: block; color: var(--tk-text-2); font-size: 13px; padding: 3px 0; }
.tk-footer-col p { font-size: 13px; margin-bottom: 0; }
.tk-footer-copy { text-align: center; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--tk-line); }
