/* Onlipr Tahsilat — app-specific styles (design system üstüne) */

/* ---- Sarı marka barı (üst) ---- */
.brandbar { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 50;
  background: linear-gradient(90deg, var(--yellow) 0%, var(--yellow-700) 100%); }

/* ---- Marka işareti ---- */
.brandmark { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brandmark .logo { height: 30px; width: auto; display: block; }
.brandmark .mk { width: 20px; height: 20px; border-radius: 6px; flex: 0 0 20px;
  background: var(--yellow); border: 1px solid var(--yellow-700); box-shadow: var(--sh-brand); }
.brandmark .nm { font-weight: 600; letter-spacing: -0.02em; }
.brandmark .sub { color: var(--ink-4); font-size: 13px; border-left: 1px solid var(--line-2); padding-left: 10px; }

/* ---- Serbest ödeme CTA (landing) ---- */
.hero-cta { margin-top: 24px; }
.hero-cta .btn { padding: 11px 22px; font-size: 15px; }

/* ---- Auth ---- */
.auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px;
  background: radial-gradient(1100px 460px at 50% -12%, var(--yellow-50), var(--bg) 62%); }
.auth-card { width: 100%; max-width: 384px; padding: 30px 28px; }
.auth-card .brandmark { margin-bottom: 18px; }

/* ---- Public wrap + header ---- */
.pub-wrap { max-width: 560px; margin: 0 auto; padding: 26px 20px 60px; }
.pub-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 0 24px; }
.pub-header .secure { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-4); font-size: 12px; }
.pub-header .secure .lock { width: 12px; height: 12px; }

/* ---- Landing hero ---- */
.hero { text-align: center; padding: 10px 0 6px; }
.hero-title { font-size: 40px; line-height: 1.08; letter-spacing: -0.03em; font-weight: 600; margin: 12px 0 14px; }
.hero-title em { font-family: "Instrument Serif", "Times New Roman", serif; font-style: italic;
  font-weight: 400; font-size: 1.08em; letter-spacing: 0;
  background: linear-gradient(180deg, transparent 62%, var(--yellow-100) 62%, var(--yellow-100) 92%, transparent 92%); }
.hero-sub { color: var(--ink-4); max-width: 424px; margin: 0 auto; font-size: 15px; line-height: 1.6; }
.hero-badges { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.hero-note { margin-top: 22px; font-size: 13px; color: var(--ink-4); }
.hero-note a { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 2px; }

/* ---- Ödeme kartı ---- */
.paycard { overflow: hidden; }
.paycard .accent { height: 4px; background: var(--yellow); }
.balance-hero { text-align: center; padding: 30px 22px 26px; }
.balance-hero .who { color: var(--ink-4); margin: 14px 0 2px; font-size: 14px; }
.balance-hero .amt { font-size: 42px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; margin-top: 6px; }
.balance-hero .cap { margin-top: 8px; }
.test-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--yellow-50);
  border: 1px solid color-mix(in oklab, var(--yellow) 55%, var(--line)); color: var(--ink);
  border-radius: 999px; padding: 3px 11px; font-size: 12px; font-weight: 600; }
.test-badge::before { content: ""; width: 6px; height: 6px; border-radius: 99px;
  background: var(--yellow); border: 1px solid var(--yellow-700); }
.pay-section { padding: 22px; border-top: 1px solid var(--line); }
.secure-foot { text-align: center; margin-top: 12px; color: var(--ink-4); font-size: 12px; }

/* ---- KPI (admin) ---- */
.kpi-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--gap); }
.kpi { padding: 16px 18px; position: relative; overflow: hidden; }
.kpi::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--yellow); }
.kpi .label { font-size: 12px; color: var(--ink-4); }
.kpi .value { font-size: 24px; font-weight: 600; margin-top: 6px; }
.card-pad { padding: 0; overflow: hidden; }

/* ---- Legal + footer ---- */
.legal-prose { max-width: 720px; margin: 0 auto; padding: 8px 0 48px; line-height: 1.65; }
.legal-prose h1 { margin-bottom: 6px; }
.legal-prose h2 { font-size: 16px; margin: 26px 0 8px; letter-spacing: -0.01em; }
.legal-prose p, .legal-prose li { color: var(--ink-2); font-size: 14px; }
.legal-prose ul, .legal-prose ol { padding-left: 20px; margin: 8px 0; }
.legal-prose li { margin: 5px 0; }
.legal-prose strong { color: var(--ink); font-weight: 600; }
.legal-prose a { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 2px; }
footer.site { border-top: 1px solid var(--line); margin-top: 40px; padding: 24px 0; color: var(--ink-4); font-size: 12.5px; line-height: 1.75; }
footer.site a { color: var(--ink-3); text-decoration: underline; }
footer.site strong { color: var(--ink-2); }

@media (max-width: 480px) {
  .hero-title { font-size: 32px; }
  .balance-hero .amt { font-size: 36px; }
}
