/* ==========================================================================
   xShopum Bayi · Cari Hesabım (bayi tarafı)
   Marka rengini değiştirmek için yalnızca --xc-brand / --xc-brand-2 yeterli.
   ========================================================================== */
.xc {
  --xc-brand: #4f46e5;
  --xc-brand-2: #312e81;
  --xc-brand-soft: #eef2ff;
  --xc-ink: #0f172a;
  --xc-ink-2: #334155;
  --xc-mute: #64748b;
  --xc-line: #e5e7eb;
  --xc-bg: #f8fafc;
  --xc-card: #ffffff;
  --xc-ok: #059669;   --xc-ok-bg: #ecfdf5;
  --xc-warn: #b45309; --xc-warn-bg: #fffbeb;
  --xc-bad: #dc2626;  --xc-bad-bg: #fef2f2;
  --xc-r: 16px;
  --xc-shadow: 0 1px 2px rgba(15,23,42,.04), 0 6px 24px -12px rgba(15,23,42,.18);
  color: var(--xc-ink);
  font-size: 15px;
  line-height: 1.5;
  display: grid;
  gap: 18px;
  -webkit-font-smoothing: antialiased;
}
.xc *, .xc *::before, .xc *::after { box-sizing: border-box; }
.xc h3 { margin: 0; font-size: 16px; font-weight: 700; color: var(--xc-ink); letter-spacing: -.01em; line-height: 1.3; text-transform: none; }
.xc p { margin: 0; }
.xc a { color: var(--xc-brand); text-decoration: none; }
.xc a:hover { text-decoration: underline; }
.xc [hidden] { display: none !important; }
.xc-i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.xc-pos { color: var(--xc-ok) !important; }

/* ---------- Kartlar ---------- */
.xc-card { background: var(--xc-card); border: 1px solid var(--xc-line); border-radius: var(--xc-r); box-shadow: var(--xc-shadow); padding: 20px; }
.xc-card--flush { padding: 0; overflow: hidden; }
.xc-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.xc-card__head a { font-size: 13px; font-weight: 600; }

/* ---------- Butonlar ---------- */
.xc .xc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid transparent;
  font: inherit; font-size: 14px; font-weight: 600; line-height: 1; cursor: pointer;
  text-decoration: none !important; text-transform: none; letter-spacing: 0;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, opacity .15s;
  box-shadow: none; width: auto; margin: 0;
}
.xc .xc-btn:active { transform: translateY(1px); }
.xc .xc-btn--light { background: #fff; color: var(--xc-brand-2); }
.xc .xc-btn--light:hover { background: #f5f5ff; color: var(--xc-brand-2); box-shadow: 0 8px 20px -8px rgba(0,0,0,.35); }
.xc .xc-btn--glass { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.28); }
.xc .xc-btn--glass:hover { background: rgba(255,255,255,.2); color: #fff; }
.xc .xc-btn--primary { background: var(--xc-brand); color: #fff; box-shadow: 0 8px 20px -10px var(--xc-brand); }
.xc .xc-btn--primary:hover { background: var(--xc-brand-2); color: #fff; }
.xc .xc-btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.xc .xc-linkbtn { background: none; border: 0; padding: 0; margin: 0; color: var(--xc-brand); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; min-height: 0; }

/* ---------- Flash & uyarılar ---------- */
.xc-flash, .xc-alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; border: 1px solid; font-size: 14px; }
.xc-flash .xc-i, .xc-alert .xc-i { width: 20px; height: 20px; margin-top: 1px; }
.xc-flash.is-ok, .xc-alert.is-ok { background: var(--xc-ok-bg); border-color: #a7f3d0; color: #065f46; }
.xc-flash.is-bad, .xc-alert.is-bad { background: var(--xc-bad-bg); border-color: #fecaca; color: #991b1b; }
.xc-alert a { color: inherit; font-weight: 700; text-decoration: underline; }

/* ---------- Hero ---------- */
.xc-hero {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1fr; gap: 22px;
  padding: 24px; border-radius: 20px; color: #fff;
  background: linear-gradient(135deg, var(--xc-brand-2) 0%, var(--xc-brand) 62%, #6366f1 100%);
  box-shadow: 0 18px 40px -22px var(--xc-brand-2);
}
.xc-hero::before, .xc-hero::after { content: ""; position: absolute; border-radius: 50%; z-index: -1; pointer-events: none; }
.xc-hero::before { width: 340px; height: 340px; right: -110px; top: -150px; background: radial-gradient(circle, rgba(255,255,255,.18), transparent 70%); }
.xc-hero::after { width: 220px; height: 220px; left: -80px; bottom: -130px; background: radial-gradient(circle, rgba(255,255,255,.10), transparent 70%); }
.xc-hero.is-late { background: linear-gradient(135deg, #7f1d1d 0%, var(--xc-brand-2) 55%, var(--xc-brand) 100%); }
.xc-hero__top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.xc-hero__label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; opacity: .85; }
.xc-hero__amount { font-size: clamp(32px, 7vw, 46px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin: 8px 0 6px; font-variant-numeric: tabular-nums; color: #fff; }
.xc-hero__line { font-size: 14px; opacity: .88; }
.xc-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.xc-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.4; }
.xc-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.xc-badge.is-ok { background: rgba(16,185,129,.2); color: #a7f3d0; }
.xc-badge.is-bad { background: rgba(254,202,202,.95); color: #991b1b; }

.xc-limit { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 16px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); }
.xc-ring { position: relative; width: 96px; height: 96px; flex: none; }
.xc-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); display: block; }
.xc-ring circle { fill: none; stroke-width: 9; }
.xc-ring__bg { stroke: rgba(255,255,255,.2); }
.xc-ring__fg { stroke: #fff; stroke-linecap: round; transition: stroke-dasharray .8s ease; }
.xc-hero.is-late .xc-ring__fg { stroke: #fecaca; }
.xc-ring__in { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1.1; }
.xc-ring__in strong { font-size: 20px; font-weight: 800; color: #fff; }
.xc-ring__in small { font-size: 11px; opacity: .8; }
.xc-limit__text { display: grid; gap: 2px; min-width: 0; }
.xc-limit__text span { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; opacity: .8; }
.xc-limit__text strong { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; color: #fff; }
.xc-limit__text small { font-size: 12.5px; opacity: .8; }

/* ---------- Özet kutuları ---------- */
.xc-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.xc-stat { background: var(--xc-card); border: 1px solid var(--xc-line); border-left: 4px solid var(--xc-brand); border-radius: 14px; padding: 14px 14px 12px; box-shadow: var(--xc-shadow); display: grid; gap: 2px; min-width: 0; }
.xc-stat span { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--xc-mute); }
.xc-stat strong { font-size: 19px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.xc-stat small { font-size: 12.5px; color: var(--xc-mute); }
.xc-stat:nth-child(2) { border-left-color: #0ea5e9; }
.xc-stat:nth-child(3) { border-left-color: #10b981; }
.xc-stat:nth-child(4) { border-left-color: #f59e0b; }
.xc-stat.is-bad { border-left-color: var(--xc-bad); }
.xc-stat.is-bad strong { color: var(--xc-bad); }
.xc-stat.is-ok { border-left-color: var(--xc-ok); }
.xc-stat.is-ok strong { color: var(--xc-ok); }

/* ---------- Çipler ---------- */
.xc-chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; line-height: 1.4; white-space: nowrap; background: #f1f5f9; color: var(--xc-ink-2); }
.xc-chip.is-ok { background: var(--xc-ok-bg); color: var(--xc-ok); }
.xc-chip.is-warn { background: var(--xc-warn-bg); color: var(--xc-warn); }
.xc-chip.is-bad { background: var(--xc-bad-bg); color: var(--xc-bad); }

/* ---------- Ödeme takvimi ---------- */
.xc-agenda { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.xc-agenda li { display: grid; grid-template-columns: 52px 1fr; gap: 6px 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--xc-bg); border: 1px solid transparent; margin: 0; }
.xc-agenda li.is-bad { background: var(--xc-bad-bg); border-color: #fee2e2; }
.xc-agenda li.is-warn { background: var(--xc-warn-bg); border-color: #fef3c7; }
.xc-agenda time { display: grid; place-content: center; text-align: center; width: 52px; height: 52px; border-radius: 12px; background: #fff; border: 1px solid var(--xc-line); line-height: 1; grid-row: span 2; }
.xc-agenda time b { font-size: 19px; font-weight: 800; }
.xc-agenda time span { font-size: 10.5px; font-weight: 700; text-transform: uppercase; color: var(--xc-mute); margin-top: 3px; }
.xc-agenda li.is-bad time b { color: var(--xc-bad); }
.xc-agenda li > div { min-width: 0; }
.xc-agenda strong { display: block; font-size: 14px; }
.xc-agenda small { color: var(--xc-mute); font-size: 12.5px; }
.xc-agenda__amt { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.xc-agenda__amt strong { font-variant-numeric: tabular-nums; }

/* ---------- Sekmeler ---------- */
.xc-tabs { display: flex; gap: 4px; overflow-x: auto; padding: 8px 8px 0; border-bottom: 1px solid var(--xc-line); background: var(--xc-bg); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.xc-tabs::-webkit-scrollbar { display: none; }
.xc .xc-tabs a { flex: none; padding: 11px 14px; border-radius: 10px 10px 0 0; font-size: 14px; font-weight: 600; color: var(--xc-mute); text-decoration: none; border: 1px solid transparent; border-bottom: 0; margin-bottom: -1px; white-space: nowrap; }
.xc .xc-tabs a:hover { color: var(--xc-ink); text-decoration: none; }
.xc .xc-tabs a.is-active { background: var(--xc-card); color: var(--xc-brand); border-color: var(--xc-line); box-shadow: inset 0 3px 0 var(--xc-brand); }
.xc-panel { padding: 16px; }
.xc .xc-note { font-size: 13.5px; color: var(--xc-mute); margin-bottom: 12px; }

.xc-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.xc-month { display: flex; align-items: center; gap: 8px; margin: 0; }
.xc-month label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--xc-mute); margin: 0; }
.xc .xc-month select { height: 40px; min-width: 170px; padding: 0 34px 0 12px; border: 1px solid var(--xc-line); border-radius: 10px; background-color: #fff; font: inherit; font-size: 14px; color: var(--xc-ink); margin: 0; }
.xc-sum { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--xc-mute); }
.xc-sum span { background: var(--xc-bg); border: 1px solid var(--xc-line); border-radius: 999px; padding: 5px 12px; }
.xc-sum strong { color: var(--xc-ink); font-variant-numeric: tabular-nums; }

/* ---------- Satır listeleri ---------- */
.xc-rows { list-style: none; margin: 0; padding: 0; }
.xc-row { display: grid; grid-template-columns: 40px 1fr; gap: 4px 12px; align-items: center; padding: 12px 4px; border-bottom: 1px solid #f1f5f9; margin: 0; }
.xc-row:last-child { border-bottom: 0; }
.xc-row__ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--xc-brand-soft); color: var(--xc-brand); grid-row: span 2; align-self: start; }
.xc-row.is-credit .xc-row__ic { background: var(--xc-ok-bg); color: var(--xc-ok); }
.xc-row.is-muted { opacity: .72; }
.xc-row.is-muted .xc-row__ic { background: #f1f5f9; color: var(--xc-mute); }
.xc-row__main { min-width: 0; }
.xc-row__main strong { display: block; font-size: 14.5px; font-weight: 650; overflow-wrap: anywhere; }
.xc-row__main strong em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--xc-mute); margin-left: 4px; }
.xc-row__main small { display: block; font-size: 12.5px; color: var(--xc-mute); overflow-wrap: anywhere; }
.xc-row__end { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.xc-row__end strong { font-weight: 800; font-variant-numeric: tabular-nums; }
.xc-row.is-credit .xc-row__end > strong { color: var(--xc-ok); }
.xc-row__end small { font-size: 12px; color: var(--xc-mute); }

.xc-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 14px; }
.xc-pager a, .xc-pager span { min-width: 36px; height: 36px; display: grid; place-items: center; padding: 0 8px; border-radius: 10px; border: 1px solid var(--xc-line); font-size: 13.5px; font-weight: 600; color: var(--xc-ink-2); text-decoration: none !important; }
.xc-pager span { background: var(--xc-brand); border-color: var(--xc-brand); color: #fff; }

/* ---------- Tablo ---------- */
.xc-table-wrap { overflow-x: auto; border: 1px solid var(--xc-line); border-radius: 12px; }
.xc .xc-table { width: 100%; border-collapse: collapse; margin: 0; font-size: 14px; border: 0; }
.xc .xc-table th { background: var(--xc-bg); color: var(--xc-mute); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; text-align: left; padding: 10px 12px; border: 0; border-bottom: 1px solid var(--xc-line); white-space: nowrap; }
.xc .xc-table td { padding: 11px 12px; border: 0; border-bottom: 1px solid #f1f5f9; white-space: nowrap; vertical-align: middle; background: #fff; }
.xc .xc-table tr:last-child td { border-bottom: 0; }
.xc .xc-table .num { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- Boş durum ---------- */
.xc-empty { text-align: center; padding: 34px 16px; color: var(--xc-mute); display: grid; justify-items: center; gap: 10px; }
.xc-empty > .xc-i { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: var(--xc-brand-soft); color: var(--xc-brand); }
.xc-empty h3 { font-size: 18px; }
.xc-empty p { max-width: 440px; font-size: 14px; }

/* ---------- Havale ---------- */
.xc-eft { display: grid; gap: 18px; }
.xc-bankcard { border-radius: 16px; padding: 18px; background: linear-gradient(135deg, #0f172a, #1e293b); color: #fff; display: grid; gap: 10px; }
.xc-bankcard__top { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 16px; }
.xc-copyrow { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); }
.xc-copyrow small { grid-column: 1; font-size: 11px; text-transform: uppercase; letter-spacing: .07em; opacity: .65; font-weight: 700; }
.xc .xc-copyrow code { grid-column: 1; background: none; color: #fff; padding: 0; border: 0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 15px; font-weight: 600; letter-spacing: .02em; overflow-wrap: anywhere; }
.xc-copyrow.is-key { background: rgba(99,102,241,.25); border-color: rgba(165,180,252,.4); }
.xc .xc-copyrow button { grid-column: 2; grid-row: 1 / span 2; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.1); color: #fff; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; margin: 0; min-height: 0; text-transform: none; }
.xc .xc-copyrow button:hover { background: rgba(255,255,255,.2); }
.xc .xc-copyrow button.is-done { background: #10b981; border-color: #10b981; }
.xc-copyrow .xc-i { width: 15px; height: 15px; }
.xc-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 10px; }
.xc-steps li { counter-increment: s; position: relative; padding: 2px 0 2px 42px; font-size: 14px; color: var(--xc-ink-2); margin: 0; list-style: none; }
.xc-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--xc-brand-soft); color: var(--xc-brand); font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.xc-steps strong { color: var(--xc-ink); }

/* ---------- Ödeme penceresi ---------- */
.xc-modal { position: fixed; inset: 0; z-index: 999999; display: flex; align-items: flex-end; justify-content: center; background: rgba(15,23,42,.55); opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s; }
.xc-modal.is-open { opacity: 1; visibility: visible; }
.xc-modal__card { width: 100%; max-height: 94vh; overflow-y: auto; background: #fff; border-radius: 22px 22px 0 0; box-shadow: 0 -20px 50px -20px rgba(0,0,0,.4); transform: translateY(30px); transition: transform .25s ease; overscroll-behavior: contain; }
.xc-modal.is-open .xc-modal__card { transform: none; }
.xc-modal__head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 18px 20px 14px; background: #fff; border-bottom: 1px solid var(--xc-line); }
.xc-modal__head h3 { font-size: 18px; }
.xc-modal__head p { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--xc-ok); font-weight: 600; margin-top: 2px; }
.xc-modal__head p .xc-i { width: 14px; height: 14px; }
.xc .xc-x { width: 38px; height: 38px; min-height: 0; border-radius: 12px; border: 1px solid var(--xc-line); background: #fff; color: var(--xc-ink-2); font-size: 22px; line-height: 1; cursor: pointer; padding: 0; margin: 0; flex: none; }
.xc .xc-x:hover { background: var(--xc-bg); }
.xc-modal form { margin: 0; padding: 0 20px; }
.xc-step { border: 0; padding: 0; margin: 18px 0 0; min-width: 0; }
.xc-step legend { font-size: 13px; font-weight: 700; color: var(--xc-ink-2); margin-bottom: 10px; padding: 0; }
.xc-amounts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.xc .xc-amt { display: grid; gap: 2px; text-align: left; padding: 12px 14px; min-height: 0; height: auto; border-radius: 12px; border: 1.5px solid var(--xc-line); background: #fff; color: var(--xc-ink); font: inherit; cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; margin: 0; text-transform: none; letter-spacing: 0; line-height: 1.3; }
.xc .xc-amt:hover { border-color: #c7d2fe; background: #fafaff; }
.xc .xc-amt span { font-size: 12px; color: var(--xc-mute); font-weight: 600; }
.xc .xc-amt strong { font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; }
.xc .xc-amt--sm { text-align: center; padding: 10px; }
.xc .xc-amt--sm strong { font-size: 14px; }
.xc .xc-amt.is-on { border-color: var(--xc-brand); background: var(--xc-brand-soft); box-shadow: 0 0 0 3px rgba(79,70,229,.12); }
.xc .xc-amt.is-on strong { color: var(--xc-brand-2); }
.xc-custom { margin-top: 10px; }
.xc-custom label { display: block; font-size: 12.5px; font-weight: 600; color: var(--xc-mute); margin-bottom: 6px; }
.xc-affix { position: relative; }
.xc-affix em { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-style: normal; font-weight: 700; color: var(--xc-mute); }

.xc-cardpreview { position: relative; aspect-ratio: 1.586; max-width: 340px; margin: 0 auto 16px; border-radius: 16px; padding: 18px 20px; color: #fff; background: linear-gradient(135deg, var(--xc-brand-2), var(--xc-brand) 60%, var(--xc-brand-3, #818cf8)); box-shadow: 0 16px 30px -16px var(--xc-brand-2); display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; overflow: hidden; }
.xc-cardpreview::after { content: ""; position: absolute; width: 240px; height: 240px; right: -90px; top: -110px; border-radius: 50%; background: rgba(255,255,255,.12); }
.xc-cardpreview__chip { position: absolute; left: 20px; top: 22px; width: 40px; height: 30px; border-radius: 6px; background: linear-gradient(135deg, #fde68a, #d97706); opacity: .9; }
.xc-cardpreview__num { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: clamp(16px, 4.6vw, 20px); letter-spacing: .08em; font-weight: 600; white-space: nowrap; }
.xc-cardpreview__row { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; opacity: .9; }
.xc-cardpreview__row span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xc-cardpreview__brand { position: absolute; right: 20px; top: 20px; font-weight: 900; font-size: 15px; letter-spacing: .04em; font-style: italic; z-index: 1; }

.xc-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.xc-f { display: grid; gap: 6px; margin: 0; }
.xc-f--full { grid-column: 1 / -1; }
.xc-f span { font-size: 12.5px; font-weight: 600; color: var(--xc-mute); }
.xc .xc-f input, .xc .xc-f select, .xc .xc-affix input {
  width: 100%; height: 48px; padding: 0 14px; margin: 0;
  border: 1.5px solid var(--xc-line); border-radius: 12px; background-color: #fff; box-shadow: none;
  font: inherit; font-size: 16px; color: var(--xc-ink); outline: none; transition: border-color .15s, box-shadow .15s;
}
.xc .xc-affix input { padding-right: 36px; font-size: 18px; font-weight: 700; }
.xc .xc-f input:focus, .xc .xc-f select:focus, .xc .xc-affix input:focus { border-color: var(--xc-brand); box-shadow: 0 0 0 3px rgba(79,70,229,.14); }
.xc .xc-f input.is-invalid, .xc .xc-affix input.is-invalid { border-color: var(--xc-bad); box-shadow: 0 0 0 3px rgba(220,38,38,.12); }
.xc #xsu_cari_pan { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .06em; }

.xc-err { margin-top: 14px; padding: 10px 14px; border-radius: 12px; background: var(--xc-bad-bg); color: #991b1b; font-size: 13.5px; font-weight: 600; border: 1px solid #fecaca; }
.xc-modal__foot { position: sticky; bottom: 0; display: grid; gap: 12px; padding: 14px 0 max(16px, env(safe-area-inset-bottom)); margin-top: 16px; background: #fff; border-top: 1px solid var(--xc-line); }
.xc-secure { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; color: var(--xc-mute); }
.xc-secure .xc-i { width: 16px; height: 16px; color: var(--xc-ok); }
.xc .xc-modal__foot .xc-btn { width: 100%; min-height: 50px; font-size: 15.5px; }
.xc-modal__foot .xc-btn.is-loading span::after { content: ""; display: inline-block; width: 14px; height: 14px; margin-left: 10px; vertical-align: -2px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: xc-spin .7s linear infinite; }
@keyframes xc-spin { to { transform: rotate(360deg); } }
html.xc-lock, html.xc-lock body { overflow: hidden !important; }

/* ---------- Toast ---------- */
.xc-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 1000000; background: #0f172a; color: #fff; padding: 10px 16px; border-radius: 12px; font-size: 14px; font-weight: 600; opacity: 0; transition: .2s; pointer-events: none; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); }
.xc-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================================
   Tablet / masaüstü
   ========================================================================== */
@media (min-width: 640px) {
  .xc-hero { padding: 28px; }
  .xc-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .xc-agenda li { grid-template-columns: 52px 1fr auto; }
  .xc-agenda time { grid-row: auto; }
  .xc-agenda__amt { flex-direction: column; align-items: flex-end; gap: 4px; }
  .xc-row { grid-template-columns: 40px 1fr auto; padding: 12px 8px; }
  .xc-row__ic { grid-row: auto; align-self: center; }
  .xc-row__end { flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
  .xc-panel { padding: 20px; }
  .xc-amounts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .xc-modal { align-items: center; padding: 24px; }
  .xc-modal__card { max-width: 560px; border-radius: 22px; max-height: calc(100vh - 48px); }
  .xc-modal__foot { grid-template-columns: 1fr auto; align-items: center; }
  .xc .xc-modal__foot .xc-btn { width: auto; min-width: 200px; }
}
@media (min-width: 900px) {
  .xc-hero { grid-template-columns: 1fr auto; align-items: center; padding: 32px; }
  .xc-limit { min-width: 300px; }
  .xc-eft { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; }
}
@media (max-width: 380px) {
  .xc-fields { grid-template-columns: 1fr 1fr; }
  .xc-fields .xc-f:last-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .xc *, .xc-modal, .xc-modal__card { transition: none !important; animation: none !important; }
}

/* Tutarlar bölünmesin */
.xc-agenda__amt strong, .xc-row__end strong, .xc-stat strong, .xc-sum strong, .xc .xc-table td { white-space: nowrap; }

/* ==========================================================================
   Ödeme sayfası pencereleri (cari özet + kart ödeme)
   ========================================================================== */
.xc--checkout { --xc-brand: #8a004f; --xc-brand-2: #5c0035; --xc-brand-soft: #fdf2f8; --xc-brand-3: #c0267a; display: contents; }
.xc .xc-modal__head p.is-plain { color: var(--xc-mute); font-weight: 500; }
.xc-sheet { padding: 16px 20px 4px; display: grid; gap: 14px; }
.xc-minis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.xc-minis > div { padding: 10px 12px; border-radius: 12px; background: var(--xc-bg); border: 1px solid var(--xc-line); min-width: 0; }
.xc-minis span { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--xc-mute); }
.xc-minis strong { display: block; font-size: 15.5px; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.xc-minis .is-bad { background: var(--xc-bad-bg); border-color: #fecaca; }
.xc-minis .is-bad strong { color: var(--xc-bad); }
.xc .xc-sheet__h { margin: 4px 0 -4px; font-size: 13px; font-weight: 700; color: var(--xc-ink-2); text-transform: none; letter-spacing: 0; }
.xc-sheet__h small { font-weight: 500; color: var(--xc-mute); margin-left: 6px; }
.xc-sheet .xc-note { margin: 0; }
.xc-modal__foot--split { margin: 16px 20px 0; padding-left: 0; padding-right: 0; grid-template-columns: 1fr auto; align-items: center; }
.xc .xc-foot-link { font-size: 13.5px; font-weight: 600; }
.xc .xc-modal__foot--split .xc-btn { width: auto; min-width: 0; }
@media (max-width: 639px) {
  .xc-minis { grid-template-columns: 1fr 1fr; }
  .xc-minis > div:last-child { grid-column: 1 / -1; }
}

/* ---------- 3.3.0 Vadeli / Açık Hesap başvuru alanları ---------- */
.xc-field-row { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:14px 0; }
.xc-field-row label { display:grid; gap:6px; font-size:13px; font-weight:700; color:var(--xc-ink-2); }
.xc-field-row input { width:100%; min-height:42px; padding:9px 11px; border:1px solid var(--xc-line); border-radius:10px; background:#fff; color:var(--xc-ink); font:inherit; }
.xc-check { display:flex; align-items:flex-start; gap:9px; margin:10px 0; padding:10px 12px; border:1px solid var(--xc-line); border-radius:10px; background:var(--xc-bg); font-size:13.5px; color:var(--xc-ink-2); }
.xc-check input { flex:none; width:17px; height:17px; margin:2px 0 0; }
@media (max-width:720px){ .xc-field-row { grid-template-columns:1fr; } }
