/* Randevun Gelsin · işletme paneli ve yönetim ekranı */
:root {
  --ink: #1D1418; --ink-2: #4E4248; --ink-3: #6A5C63; --ground: #F6F1EE; --paper: #FFFFFF; --line: #E7DCE1; --line-2: #F0E8EC;
  --plum: #6B1F47; --plum-dark: #551839; --plum-tint: #F3E6EC; --green: #1E6B43; --green-tint: #E3F0E8; --red: #A12626; --red-tint: #FBEAEA;
  --amber: #8A5A12; --amber-tint: #FBF0DC; --night: #2A1220;
  --serif: 'DM Serif Display', Georgia, serif; --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --rail: 232px; --bar: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.5; }
h1, h2, h3, h4, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--plum); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--plum); outline-offset: 2px; }
body.ap-noscroll { overflow: hidden; }

/* ---------- düğmeler ---------- */
.ap-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); font-size: 15px; font-weight: 700; cursor: pointer; text-decoration: none; white-space: nowrap; }
.ap-btn:hover { border-color: #CDBAC3; }
.ap-btn.is-primary { background: var(--plum); border-color: var(--plum); color: #fff; }
.ap-btn.is-primary:hover { background: var(--plum-dark); }
.ap-btn.is-dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.ap-btn.is-danger { background: var(--red); border-color: var(--red); color: #fff; }
.ap-btn.is-ok { background: var(--green); border-color: var(--green); color: #fff; }
.ap-btn.is-small { min-height: 36px; padding: 0 14px; font-size: 14px; }
.ap-btn.is-block { width: 100%; }
.ap-btn:disabled { opacity: .55; cursor: not-allowed; }
.ap-icon-btn { width: 40px; height: 40px; border-radius: 999px; border: none; background: transparent; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); flex: none; }
.ap-icon-btn:hover { background: var(--plum-tint); }
.ap-link { border: none; background: none; padding: 4px 0; color: var(--plum); font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- giriş ---------- */
.ap-auth { min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 24px 16px; }
.ap-auth-card { width: 100%; max-width: 420px; background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 32px 28px; display: flex; flex-direction: column; gap: 18px; box-shadow: 0 20px 60px rgba(29, 20, 24, .06); }
.ap-brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); font-family: var(--serif); font-size: 22px; }
.ap-brand em { color: var(--plum); }
.ap-brand svg { flex: none; }
.ap-h1 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; }
.ap-h2 { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.15; }
.ap-muted { color: var(--ink-3); }
.ap-small { font-size: 13px; color: var(--ink-3); }
.ap-note { padding: 12px 14px; border-radius: 12px; background: var(--plum-tint); font-size: 14px; color: var(--ink-2); }
.ap-note.is-warn { background: var(--amber-tint); color: #5E3E0A; }
.ap-note.is-error { background: var(--red-tint); color: var(--red); font-weight: 600; }
.ap-note.is-ok { background: var(--green-tint); color: var(--green); }

/* ---------- formlar ---------- */
.ap-stack { display: flex; flex-direction: column; gap: 14px; }
.ap-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.ap-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ap-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ap-field label { font-size: 13.5px; font-weight: 700; }
.ap-field small { font-size: 12.5px; color: var(--ink-3); }
.ap-field input, .ap-field select, .ap-field textarea, .ap-input {
  width: 100%; min-height: 46px; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); font-size: 16px; }
.ap-field textarea { min-height: 72px; resize: vertical; }
.ap-field input:focus, .ap-field select:focus, .ap-field textarea:focus, .ap-input:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 3px rgba(107, 31, 71, .14); }
.ap-field input[aria-invalid="true"] { border-color: var(--red); }
.ap-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; cursor: pointer; }
.ap-check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--plum); flex: none; }
.ap-check small { display: block; color: var(--ink-3); font-size: 12.5px; }
.ap-seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--line-2); gap: 2px; flex-wrap: wrap; }
.ap-seg button { min-height: 36px; padding: 0 14px; border: none; border-radius: 999px; background: transparent; font-weight: 700; font-size: 14px; cursor: pointer; color: var(--ink-2); }
.ap-seg button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.ap-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ap-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); cursor: pointer; font-size: 14px; font-weight: 600; }
.ap-chip:has(input:checked) { border-color: var(--plum); background: #FBF5F8; color: var(--plum); }
.ap-chip input { accent-color: var(--plum); }

/* ---------- uygulama iskeleti ---------- */
.ap-app { min-height: 100vh; min-height: 100dvh; }
.ap-rail { display: none; }
.ap-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 8px max(12px, env(safe-area-inset-right, 0px)) 8px max(12px, env(safe-area-inset-left, 0px));
  padding-top: max(8px, env(safe-area-inset-top, 0px)); background: rgba(246, 241, 238, .95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.ap-top-title { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ap-top-title b { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap-top-title span { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap-main { padding: 16px max(16px, env(safe-area-inset-right, 0px)) calc(var(--bar) + 28px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); max-width: 1180px; }
.ap-tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; background: var(--paper); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0px); }
.ap-tabbar button, .ap-rail-nav button { flex: 1; min-height: var(--bar); border: none; background: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11.5px; font-weight: 700; color: var(--ink-3); cursor: pointer; }
.ap-tabbar button[aria-current="page"] { color: var(--plum); }
@media (min-width: 960px) {
  .ap-app { display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); }
  .ap-rail { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 0; height: 100vh; padding: 22px 14px; background: var(--paper); border-right: 1px solid var(--line); }
  .ap-rail-nav { display: flex; flex-direction: column; gap: 4px; }
  .ap-rail-nav button { flex-direction: row; justify-content: flex-start; gap: 12px; min-height: 46px; padding: 0 14px; border-radius: 12px; font-size: 15px; color: var(--ink-2); }
  .ap-rail-nav button:hover { background: var(--line-2); }
  .ap-rail-nav button[aria-current="page"] { background: var(--plum-tint); color: var(--plum); }
  .ap-rail-foot { margin-top: auto; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ink-3); }
  .ap-tabbar { display: none; }
  .ap-main { padding: 24px 32px 48px; }
  .ap-top { padding: 10px 32px; }
}
.ap-view-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.ap-view-head h1 { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.1; flex: 1; min-width: 0; }
.ap-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.ap-card + .ap-card { margin-top: 12px; }
.ap-section-title { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 22px 0 10px; }
.ap-empty { padding: 28px 18px; text-align: center; color: var(--ink-3); border: 1px dashed var(--line); border-radius: 16px; background: var(--paper); }
.ap-loading { padding: 40px; text-align: center; color: var(--ink-3); }
.ap-fab { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(var(--bar) + 16px + env(safe-area-inset-bottom, 0px)); z-index: 25; height: 54px; padding: 0 22px 0 18px; border-radius: 999px; border: none;
  background: var(--plum); color: #fff; font-weight: 800; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 10px 30px rgba(107, 31, 71, .35); cursor: pointer; }
@media (min-width: 960px) { .ap-fab { bottom: 28px; right: 32px; } }

/* ---------- liste ---------- */
.ap-list { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.ap-item { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border: none; border-top: 1px solid var(--line-2); background: none; width: 100%; text-align: left; cursor: pointer; color: inherit; text-decoration: none; }
.ap-item:first-child { border-top: none; }
.ap-item:hover { background: #FCFAF9; }
.ap-item-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ap-item-main b { font-size: 15px; overflow-wrap: anywhere; }
.ap-item-main span { font-size: 13px; color: var(--ink-3); overflow-wrap: anywhere; }
.ap-item-side { flex: none; text-align: right; font-size: 13.5px; font-weight: 700; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.ap-dot { width: 12px; height: 12px; border-radius: 999px; flex: none; }
.ap-avatar { width: 40px; height: 40px; border-radius: 999px; background: var(--plum-tint); color: var(--plum); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 18px; flex: none; }
.ap-badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; background: var(--line-2); color: var(--ink-2); white-space: nowrap; }
.ap-badge.is-ok { background: var(--green-tint); color: var(--green); }
.ap-badge.is-warn { background: var(--amber-tint); color: var(--amber); }
.ap-badge.is-bad { background: var(--red-tint); color: var(--red); }
.ap-badge.is-plum { background: var(--plum-tint); color: var(--plum); }
.ap-search { position: relative; flex: 1; min-width: 200px; }
.ap-search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--ink-3); }
.ap-search input { padding-left: 40px; }
.ap-switch { position: relative; width: 46px; height: 28px; flex: none; }
.ap-switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.ap-switch span { position: absolute; inset: 0; border-radius: 999px; background: #D6C9CF; transition: background .15s; }
.ap-switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 999px; background: #fff; transition: transform .15s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.ap-switch input:checked + span { background: var(--green); }
.ap-switch input:checked + span::after { transform: translateX(18px); }
.ap-switch input:focus-visible + span { outline: 3px solid var(--plum); outline-offset: 2px; }

/* ---------- takvim ---------- */
.cal-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.cal-date { flex: 1; min-width: 0; font-family: var(--serif); font-size: 24px; line-height: 1.1; }
.cal-date small { display: block; font-family: var(--sans); font-size: 13px; color: var(--ink-3); }
.cal-strip { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px 12px; padding: 2px 16px 4px; }
.cal-strip::-webkit-scrollbar { display: none; }
.cal-day { flex: none; width: 52px; padding: 7px 0; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); display: flex; flex-direction: column; align-items: center; cursor: pointer; }
.cal-day small { font-size: 11px; font-weight: 700; color: var(--ink-3); }
.cal-day b { font-size: 17px; font-variant-numeric: tabular-nums; }
.cal-day[aria-current="date"] { background: var(--plum); border-color: var(--plum); color: #fff; }
.cal-day[aria-current="date"] small { color: #F2E4EA; }
.cal-day.is-today:not([aria-current]) { border-color: var(--plum); }
.cal-stats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.cal-wrap { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; overflow: auto; max-height: calc(100vh - 230px); max-height: calc(100dvh - 230px); position: relative; }
@media (max-width: 959px) { .cal-wrap { max-height: none; } }
.cal-grid { display: grid; position: relative; min-width: 100%; }
.cal-head { position: sticky; top: 0; z-index: 4; display: contents; }
.cal-colhead { position: sticky; top: 0; z-index: 4; background: var(--paper); border-bottom: 1px solid var(--line); padding: 10px 8px; font-weight: 800; font-size: 14px; display: flex; align-items: center; gap: 7px; min-width: 0; }
.cal-colhead span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cal-corner { position: sticky; left: 0; top: 0; z-index: 5; background: var(--paper); border-bottom: 1px solid var(--line); }
.cal-times { position: sticky; left: 0; z-index: 3; background: var(--paper); border-right: 1px solid var(--line-2); }
.cal-time { position: absolute; right: 6px; font-size: 11.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; transform: translateY(-50%); }
.cal-col { position: relative; border-left: 1px solid var(--line-2); cursor: copy; }
.cal-line { position: absolute; left: 0; right: 0; border-top: 1px solid var(--line-2); pointer-events: none; }
.cal-line.is-half { border-top-style: dashed; border-top-color: #F4EEF1; }
.cal-off { position: absolute; left: 0; right: 0; background: repeating-linear-gradient(135deg, #F4EFF1 0 6px, #EEE6EA 6px 12px); pointer-events: none; }
.cal-off.is-timeoff { background: repeating-linear-gradient(135deg, #ECE3E7 0 6px, #E2D6DC 6px 12px); pointer-events: auto; cursor: pointer; display: flex; align-items: flex-start; padding: 4px 6px; font-size: 11.5px; font-weight: 700; color: var(--ink-2); }
.cal-appt { position: absolute; left: 3px; right: 3px; border-radius: 9px; padding: 4px 7px; overflow: hidden; cursor: pointer; border: none; text-align: left; background: var(--c-bg, #F3E6EC); color: var(--ink);
  border-left: 4px solid var(--c, var(--plum)); font-size: 12.5px; line-height: 1.25; display: flex; flex-direction: column; gap: 1px; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.cal-appt b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-appt span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink-2); }
.cal-appt.is-arrived { opacity: .75; }
.cal-appt.is-arrived b::before { content: "✓ "; color: var(--green); }
.cal-appt.is-no_show { background: repeating-linear-gradient(135deg, #FBEAEA 0 6px, #F6DCDC 6px 12px); border-left-color: var(--red); }
.cal-appt.is-cancelled { background: #F7F4F5; border-left-color: #CDBAC3; color: var(--ink-3); text-decoration: line-through; opacity: .8; }
.cal-now { position: absolute; left: 0; right: 0; height: 2px; background: var(--red); z-index: 2; pointer-events: none; }
.cal-now::before { content: ""; position: absolute; left: -5px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }

/* ---------- pencere ---------- */
.ap-sheet-wrap { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center; }
.ap-sheet-back { position: absolute; inset: 0; background: rgba(29, 20, 24, .45); animation: ap-fade .15s; }
.ap-sheet { position: relative; width: 100%; max-width: 560px; max-height: 92vh; max-height: 92dvh; background: var(--paper); border-radius: 22px 22px 0 0; display: flex; flex-direction: column; animation: ap-up .2s ease-out; }
.ap-sheet.is-wide { max-width: 760px; }
.ap-sheet-head { display: flex; align-items: center; gap: 10px; padding: 16px 14px 10px 20px; border-bottom: 1px solid var(--line-2); }
.ap-sheet-title { flex: 1; min-width: 0; font-family: var(--serif); font-weight: 400; font-size: 23px; line-height: 1.15; }
.ap-sheet-body { padding: 18px 20px; overflow: auto; flex: 1; }
.ap-sheet-foot { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; padding: 12px 20px; padding-bottom: max(12px, env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line-2); }
.ap-sheet-foot .ap-btn { flex: 1 1 auto; }
@media (min-width: 640px) {
  .ap-sheet-wrap { align-items: center; padding: 24px; }
  .ap-sheet { border-radius: 22px; max-height: 88vh; }
  .ap-sheet-foot .ap-btn { flex: 0 0 auto; }
}
@keyframes ap-up { from { transform: translateY(24px); opacity: 0; } }
@keyframes ap-fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ap-sheet, .ap-sheet-back { animation: none; } }

.ap-kv { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.ap-kv > div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 14px; border-top: 1px solid var(--line-2); font-size: 14.5px; }
.ap-kv > div:first-child { border-top: none; }
.ap-kv span { color: var(--ink-3); flex: none; }
.ap-kv b { text-align: right; min-width: 0; overflow-wrap: anywhere; }
.ap-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; }
.ap-hours { display: flex; flex-direction: column; gap: 8px; }
.ap-hour-row { display: grid; grid-template-columns: 92px minmax(0, 1fr) minmax(0, 1fr); gap: 8px; align-items: center; }
.ap-hour-row input[type=time] { min-height: 40px; padding: 6px 8px; border-radius: 10px; border: 1.5px solid var(--line); width: 100%; }
.ap-hour-row input[type=time]:disabled { opacity: .4; }
.ap-swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.ap-swatch { width: 34px; height: 34px; border-radius: 999px; border: 3px solid transparent; cursor: pointer; }
.ap-swatch[aria-pressed="true"] { border-color: var(--ink); }
.ap-meter { height: 10px; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.ap-meter span { display: block; height: 100%; background: var(--plum); border-radius: 999px; }
.ap-qr { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.ap-qr canvas { width: 132px; height: 132px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.ap-linkbox { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--line-2); font-weight: 700; overflow-wrap: anywhere; }
.ap-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 16px; }
.ap-tabs::-webkit-scrollbar { display: none; }
.ap-tabs button { flex: none; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); font-weight: 700; cursor: pointer; }
.ap-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.ap-toast { position: fixed; left: 50%; bottom: calc(var(--bar) + 24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); z-index: 200; padding: 12px 18px; border-radius: 14px; background: var(--ink); color: #fff;
  font-weight: 700; font-size: 14.5px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-width: calc(100vw - 32px); text-align: center; }
.ap-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.ap-toast.is-error { background: var(--red); }
@media (min-width: 960px) { .ap-toast { bottom: 32px; } }
.ap-table-wrap { overflow-x: auto; }
@media (max-width: 600px) { .hide-sm { display: none; } }
.ap-col { min-width: 0; }
.ap-field .ap-chip input, .ap-field .ap-check input, .ap-chip input { width: 18px; height: 18px; min-height: 0; padding: 0; margin: 0; flex: none; box-shadow: none; }
.ap-field .ap-check input { width: 20px; height: 20px; }
/* fotoğraf yükleme */
.ap-media-row { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 20px; }
@media (max-width: 560px) { .ap-media-row { grid-template-columns: minmax(0, 1fr); } }
.ap-media { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ap-media-prev { display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--plum-tint); color: var(--plum); border: 1px solid var(--line); }
.ap-media-prev img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ap-media-prev.is-circle { width: 104px; height: 104px; border-radius: 999px; font-family: var(--serif); font-size: 40px; }
.ap-media-prev.is-wide { width: 100%; max-width: 100%; aspect-ratio: 16 / 7; border-radius: 14px; font-size: 14px; font-weight: 700; color: var(--ink-3); background: linear-gradient(135deg, #E6D3DB, #E7DCD2); }
.ap-code { text-align: center; font-size: 26px !important; font-weight: 800; letter-spacing: .35em; font-variant-numeric: tabular-nums; }

/* Abonelik: kart hatırlatma şeridi, öne çıkan kart, havale açılır bölümü */
.ap-banner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin: 0; padding: 10px max(16px, env(safe-area-inset-right, 0px)) 10px max(16px, env(safe-area-inset-left, 0px));
  background: var(--amber-tint); color: var(--amber); font-size: 14px; font-weight: 600; border-bottom: 1px solid #F0DDB5; }
.ap-banner span { min-width: 0; flex: 1 1 260px; }
.ap-card.is-highlight { border-color: var(--plum); box-shadow: 0 0 0 1px var(--plum) inset; background: linear-gradient(180deg, var(--plum-tint), var(--paper) 70%); }
.ap-details { padding: 0; }
.ap-details > summary { cursor: pointer; padding: 14px 16px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; }
.ap-details > summary::after { content: '+'; color: var(--ink-3); font-weight: 600; }
.ap-details[open] > summary::after { content: '−'; }
.ap-details > summary::-webkit-details-marker { display: none; }
.ap-details > div { padding: 0 16px 16px; }
#iyzipay-checkout-form { min-height: 120px; }
.ap-mock-iyz { display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1px dashed var(--line); border-radius: 12px; background: var(--ground); }
.ap-mock-iyz p { margin: 0; color: var(--ink-3); font-size: 13px; }
.ap-mock-card { display: flex; justify-content: space-between; padding: 12px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); font-size: 14px; }
/* Canlı demo şeridi */
.ap-demo-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap;
  padding: 9px max(16px, env(safe-area-inset-right, 0px)) 9px max(16px, env(safe-area-inset-left, 0px));
  background: var(--plum); color: #fff; font-size: 13.5px; }
.ap-demo-bar > span:first-child { min-width: 0; flex: 1 1 260px; }
.ap-demo-bar b { background: rgba(255, 255, 255, .18); padding: 2px 8px; border-radius: 999px; margin-right: 4px; }
.ap-demo-links { display: flex; gap: 14px; align-items: center; }
.ap-demo-links a { color: #fff; font-weight: 700; }
.ap-demo-links .ap-demo-cta { background: #fff; color: var(--plum); padding: 6px 14px; border-radius: 999px; text-decoration: none; }
