/* =====================================================================
   Maxicode NFC — tasarım sistemi
   ===================================================================== */
:root {
    --bg: #F5F4F1;
    --surface: #FFFFFF;
    --surface-2: #FAF9F7;
    --text: #16171A;
    --text-2: #4A4D55;
    --muted: #7A7D85;
    --border: #E6E3DD;
    --border-strong: #D5D1C9;
    --primary: #16171A;        /* panel ana buton */
    --on-primary: #FFFFFF;
    --ok: #157F4B;  --ok-bg: #E7F5EC;
    --err: #B42318; --err-bg: #FDECEA;
    --brand: #A8834A;          /* işletme sayfasında satır içi ezilir */
    --on-brand: #111111;
    --brand-ink: color-mix(in srgb, var(--brand) 85%, #000);
    --brand-tint: color-mix(in srgb, var(--brand) 12%, transparent);
    --radius: 14px;
    --radius-sm: 10px;
    --shadow: 0 1px 2px rgba(20, 20, 30, .04), 0 4px 16px rgba(20, 20, 30, .05);
    --shadow-lg: 0 2px 4px rgba(20, 20, 30, .04), 0 12px 32px rgba(20, 20, 30, .08);
    --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
    color-scheme: light;
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg: #0E0F12; --surface: #17181C; --surface-2: #1C1D22; --text: #ECECEE; --text-2: #C3C5CB;
        --muted: #8D9099; --border: #2A2C33; --border-strong: #383B44;
        --primary: #ECECEE; --on-primary: #111214;
        --ok: #4CC38A; --ok-bg: #12291E; --err: #F97066; --err-bg: #2D1513;
        --shadow: 0 1px 2px rgba(0,0,0,.3); --shadow-lg: 0 8px 30px rgba(0,0,0,.4);
        --brand-ink: color-mix(in srgb, var(--brand) 45%, #fff);
        --brand-tint: color-mix(in srgb, var(--brand) 34%, transparent);
        color-scheme: dark;
    }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0; background: var(--bg); color: var(--text);
    font: 15px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3 { line-height: 1.25; letter-spacing: -.01em; }
h1 { font-size: 1.6rem; margin: 0; font-weight: 700; }
h2 { font-size: 1.05rem; margin: 0; font-weight: 650; }
code { font-family: var(--mono); font-size: .88em; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; }
.ic { width: 18px; height: 18px; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Butonlar ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 42px; padding: 0 18px; border-radius: var(--radius-sm);
    border: 1px solid var(--primary); background: var(--primary); color: var(--on-primary);
    font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
    transition: transform .08s ease, opacity .15s ease, background .15s ease;
}
.btn:hover { opacity: .9; }
.btn:active { transform: scale(.98); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--surface-2); opacity: 1; }
.btn-sm { min-height: 34px; padding: 0 12px; font-size: .88rem; }
.btn-block { display: flex; width: 100%; }
.btn-danger { background: transparent; color: var(--err); border-color: transparent; }
.btn-danger:hover { background: var(--err-bg); opacity: 1; }
.link-btn {
    display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0;
    color: var(--text-2); font: inherit; font-weight: 550; cursor: pointer; text-decoration: none;
}
.link-btn:hover { color: var(--text); }
.link-btn.danger { color: var(--err); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* ---------- Form ---------- */
label { display: block; font-size: .85rem; font-weight: 600; color: var(--text-2); }
input, select, textarea {
    display: block; width: 100%; margin-top: 6px; min-height: 42px; padding: 9px 12px;
    border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
    background: var(--surface); color: var(--text); font: inherit; font-weight: 400;
    transition: border-color .15s, box-shadow .15s;
}
input::placeholder { color: var(--muted); opacity: .8; }
input:focus, select:focus { outline: none; border-color: var(--text-2); box-shadow: 0 0 0 3px rgba(120, 120, 130, .15); }
input[type="file"] { padding: 7px; }
.check { display: flex; gap: 10px; align-items: center; font-weight: 500; color: var(--text); cursor: pointer; }
.check input { width: 18px; height: 18px; min-height: 0; margin: 0; accent-color: var(--primary); }
.hint { font-size: .82rem; color: var(--muted); font-weight: 400; margin-top: 4px; }
.stack > * + * { margin-top: 16px; }
.grid2, .grid3, .grid4 { display: grid; gap: 14px; }
@media (min-width: 720px) {
    .grid2 { grid-template-columns: 1fr 1fr; }
    .grid3 { grid-template-columns: 1fr 1fr auto; align-items: end; }
    .grid4 { grid-template-columns: 1.1fr 1.2fr 1.7fr 96px; }
}

/* ---------- Uyarılar ---------- */
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-sm);
         margin-bottom: 18px; font-weight: 500; }
.alert-ok { background: var(--ok-bg); color: var(--ok); }
.alert-err { background: var(--err-bg); color: var(--err); }
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: .75rem; font-weight: 600;
         padding: 3px 9px; border-radius: 99px; background: var(--surface-2); color: var(--text-2);
         border: 1px solid var(--border); white-space: nowrap; }
.badge.ok { background: var(--ok-bg); color: var(--ok); border-color: transparent; }
.badge.off { color: var(--muted); }
.badge.ok::before, .badge.off::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.toast {
    position: fixed; left: 50%; bottom: 28px; z-index: 50; display: flex; align-items: center; gap: 8px;
    transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
    background: var(--text); color: var(--bg); padding: 10px 18px; border-radius: 99px;
    font-weight: 600; font-size: .9rem; box-shadow: var(--shadow-lg); transition: .2s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* =====================================================================
   Yönetim paneli
   ===================================================================== */
.topbar {
    position: sticky; top: 0; z-index: 20;
    background: color-mix(in srgb, var(--surface) 88%, transparent);
    backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--border);
}
.topbar-in { max-width: 1120px; margin: 0 auto; padding: 0 16px; height: 60px;
             display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; letter-spacing: -.01em; }
.brand-mark { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center;
              background: var(--primary); color: var(--on-primary); }
.brand-mark .ic { width: 18px; height: 18px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a, .nav button { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 8px;
         color: var(--text-2); text-decoration: none; font-weight: 550; font-size: .9rem;
         background: none; border: 0; font-family: inherit; cursor: pointer; }
.nav a:hover, .nav button:hover { background: var(--surface-2); color: var(--text); }
.nav .who { color: var(--muted); font-size: .85rem; padding: 0 8px; }
@media (max-width: 640px) { .nav .label, .nav .who { display: none; } }

.wrap { max-width: 1120px; margin: 0 auto; padding: 28px 16px 80px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.page-head p { margin: 4px 0 0; }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none;
        font-size: .88rem; font-weight: 550; margin-bottom: 10px; }
.back:hover { color: var(--text); }
.actions-row { display: flex; gap: 8px; flex-wrap: wrap; }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 22px; }
@media (min-width: 820px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; }
.stat-label { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .82rem; font-weight: 600; }
.stat-label .ic { width: 16px; height: 16px; }
.stat-value { font-size: 1.7rem; font-weight: 700; margin-top: 6px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.card + .card { margin-top: 18px; }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 12px;
          padding: 16px 20px; border-bottom: 1px solid var(--border); }
.card-h h2 { display: flex; align-items: center; gap: 10px; }
.card-h h2 .ic { color: var(--muted); }
.card-b { padding: 20px; }
.card-b > * + * { margin-top: 16px; }

.toolbar { display: flex; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.search { position: relative; flex: 1; }
.search .ic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search input { margin: 0; padding-left: 38px; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; vertical-align: middle; }
th { font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 650; background: var(--surface-2); }
tbody tr:last-child td { border-bottom: 0; }
tbody tr.rowlink { cursor: pointer; }
tbody tr.rowlink:hover td { background: var(--surface-2); }
td.num { font-variant-numeric: tabular-nums; }
.biz-cell { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.biz-cell strong { display: block; font-weight: 650; }
.biz-cell span span { font-size: .82rem; color: var(--muted); }
.empty { padding: 48px 20px; text-align: center; color: var(--muted); }
.empty .ic { width: 36px; height: 36px; margin-bottom: 8px; }

/* Amblem (logo yoksa baş harfler) */
.avatar { width: 40px; height: 40px; border-radius: 10px; flex: none; display: grid; place-items: center;
          font-weight: 700; font-size: .9rem; background: var(--brand); color: var(--on-brand); overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: contain; background: #fff; }

/* Düzenleme sayfası */
.edit-grid { display: grid; gap: 18px; }
@media (min-width: 980px) { .edit-grid { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
                            .edit-side { position: sticky; top: 80px; } }
.logo-field { display: flex; gap: 16px; align-items: center; }
.logo-field .avatar { width: 72px; height: 72px; border-radius: 16px; font-size: 1.3rem; }
.logo-field > div { flex: 1; min-width: 0; }

.swatches { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.swatch { position: relative; }
.swatch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; min-height: 0; }
.swatch span { display: block; width: 34px; height: 34px; border-radius: 50%; background: var(--c);
               border: 2px solid var(--surface); box-shadow: 0 0 0 1px var(--border-strong); transition: box-shadow .15s; }
.swatch input:checked + span { box-shadow: 0 0 0 2px var(--text); }
.swatch input:focus-visible + span { outline: 2px solid var(--text); outline-offset: 3px; }
.swatch.custom span { background: conic-gradient(red, yellow, lime, cyan, blue, magenta, red); }
.swatch.custom input[type="color"] { opacity: 0; padding: 0; border: 0; }
.swatches:has(#themeCustom:checked) .swatch.custom span { box-shadow: 0 0 0 2px var(--text); }

.iban-row { position: relative; border: 1px solid var(--border); border-radius: 12px; padding: 14px;
            margin: 0 0 12px; background: var(--surface-2); }
.iban-row .remove { position: absolute; top: 10px; right: 10px; }
.iban-row .grid4 { margin-right: 34px; }
@media (max-width: 719px) { .iban-row .grid4 { margin-right: 0; margin-top: 18px; } }
.icon-btn { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; border: 0;
            background: transparent; color: var(--muted); cursor: pointer; }
.icon-btn:hover { background: var(--err-bg); color: var(--err); }
.icon-btn .ic { width: 16px; height: 16px; }

.tag-list { display: flex; flex-direction: column; gap: 10px; }
.tag-item { border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; background: var(--surface-2); }
.tag-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tag-name { display: flex; align-items: center; gap: 8px; font-weight: 650; min-width: 0; }
.tag-name .ic { color: var(--muted); }
.tag-link { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 6px 6px 6px 10px; border-radius: 8px;
            background: var(--surface); border: 1px solid var(--border); }
.tag-link code { flex: 1; min-width: 0; word-break: break-all; font-size: .8rem; line-height: 1.4; }
.tag-meta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; font-size: .8rem; color: var(--muted); }
.tag-meta span { display: inline-flex; align-items: center; gap: 5px; }
.tag-meta .ic { width: 14px; height: 14px; }
.tag-actions { display: flex; gap: 12px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--border); flex-wrap: wrap; align-items: center; }
.tag-actions form { margin: 0; display: inline-flex; gap: 6px; align-items: center; }
.tag-actions input { margin: 0; min-height: 32px; padding: 4px 8px; width: 120px; font-size: .85rem; }
.tag-add { display: flex; gap: 8px; align-items: flex-end; }
.tag-add label:first-of-type { flex: 1; }
.tag-add .input-num { width: 70px; }
.inline { display: inline-flex; gap: 8px; align-items: center; margin: 0; }
.danger-zone { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--border); }

/* Giriş sayfası */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.auth-card { width: 100%; max-width: 380px; background: var(--surface); border: 1px solid var(--border);
             border-radius: 20px; padding: 32px 28px; box-shadow: var(--shadow-lg); }
.auth-card .brand { justify-content: center; display: flex; margin-bottom: 6px; font-size: 1.1rem; }
.auth-card .brand-mark { width: 40px; height: 40px; border-radius: 12px; }

/* =====================================================================
   Herkese açık işletme sayfası
   ===================================================================== */
.public { background: var(--bg); min-height: 100vh; position: relative; overflow-x: hidden; }

.cover {
    position: absolute; inset: 0 0 auto 0; height: 230px; overflow: hidden;
    background:
        radial-gradient(90% 120% at 10% 0%, color-mix(in srgb, var(--brand) 65%, #fff) 0%, transparent 60%),
        radial-gradient(80% 120% at 100% 100%, color-mix(in srgb, var(--brand) 70%, #000) 0%, transparent 65%),
        var(--brand);
}
.cover::after { content: ""; position: absolute; inset: auto 0 0 0; height: 90px;
                background: linear-gradient(to bottom, transparent, var(--bg)); }
.cover-pattern {
    position: absolute; inset: 0; opacity: .55;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .28) 1px, transparent 0);
    background-size: 16px 16px;
    -webkit-mask-image: linear-gradient(160deg, #000 10%, transparent 70%);
            mask-image: linear-gradient(160deg, #000 10%, transparent 70%);
}

.biz { position: relative; max-width: 460px; margin: 0 auto;
       padding: 92px 16px calc(36px + env(safe-area-inset-bottom)); }

.profile { position: relative; margin-top: 52px; padding: 66px 20px 20px; text-align: center;
           background: var(--surface); border: 1px solid var(--border); border-radius: 28px; box-shadow: var(--shadow-lg); }
.profile .mark { position: absolute; top: -54px; left: 50%; transform: translateX(-50%);
                 width: 108px; height: 108px; padding: 5px; border-radius: 32px; background: var(--surface);
                 box-shadow: 0 12px 32px rgba(15, 15, 25, .18); }
.profile .mark img, .profile .mark .mono { width: 100%; height: 100%; border-radius: 27px; display: grid; place-items: center; }
.profile .mark img { object-fit: contain; background: #fff; }
.profile .mark .mono { color: var(--on-brand); font-size: 2.2rem; font-weight: 750; letter-spacing: -.03em;
    background: linear-gradient(140deg, color-mix(in srgb, var(--brand) 88%, #fff), var(--brand) 50%, color-mix(in srgb, var(--brand) 82%, #000)); }
.profile h1 { font-size: 1.6rem; font-weight: 750; letter-spacing: -.025em; }
.profile .sector { display: inline-block; margin-top: 8px; padding: 4px 12px; border-radius: 99px;
                   font-size: .78rem; font-weight: 650; color: var(--brand-ink); background: var(--brand-tint); }
.profile .desc { margin: 12px auto 0; max-width: 34ch; color: var(--text-2); }

.quick { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 76px)); justify-content: center; gap: 4px; margin-top: 22px; }
.quick a { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 6px 0; min-width: 0;
           text-decoration: none; color: var(--text-2); -webkit-tap-highlight-color: transparent; }
.quick .q-ic { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center;
               background: var(--brand-tint); color: var(--brand-ink); transition: transform .15s ease, background .15s ease; }
.quick .q-ic .ic { width: 22px; height: 22px; }
.quick a:hover .q-ic { transform: translateY(-2px); }
.quick a:active .q-ic { transform: scale(.94); }
.quick .q-label { font-size: .74rem; font-weight: 600; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.save-contact { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; padding: 12px;
                border-radius: 16px; background: var(--surface-2); border: 1px solid var(--border);
                color: var(--text); text-decoration: none; font-weight: 650; font-size: .92rem; transition: background .15s; }
.save-contact:hover { background: var(--bg); }
.save-contact .ic { color: var(--brand-ink); }

.sec-head { margin: 30px 6px 12px; }
.sec-head h2 { font-size: 1.05rem; font-weight: 700; }
.sec-head p { margin: 2px 0 0; font-size: .86rem; color: var(--muted); }

/* Cüzdan kartı görünümlü IBAN */
.wallet { padding: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 26px; box-shadow: var(--shadow); }
.wallet + .wallet { margin-top: 14px; }
.paycard {
    position: relative; overflow: hidden; isolation: isolate;
    display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
    min-height: 176px; padding: 18px 18px 16px; border-radius: 19px; color: var(--on-brand);
    background:
        linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .18) 44%, transparent 58%),
        linear-gradient(135deg, color-mix(in srgb, var(--brand) 86%, #fff) 0%, var(--brand) 45%, color-mix(in srgb, var(--brand) 82%, #000) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
}
.paycard::before, .paycard::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; }
.paycard::before { width: 240px; height: 240px; right: -80px; top: -110px; background: rgba(255, 255, 255, .12); }
.paycard::after  { width: 200px; height: 200px; left: -70px; bottom: -130px; background: rgba(255, 255, 255, .07); }
.pc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pc-bank { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .98rem; min-width: 0; }
.pc-bank .ic { width: 20px; height: 20px; opacity: .9; }
.pc-cur { font-size: .7rem; font-weight: 800; letter-spacing: .08em; padding: 4px 9px; border-radius: 8px;
          background: color-mix(in srgb, var(--on-brand) 16%, transparent); }
.pc-label { display: block; font-size: .64rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; opacity: .72; }
.pc-num { display: block; margin-top: 3px; font-family: var(--mono); font-size: min(1.05rem, 3.85vw); font-weight: 650;
          letter-spacing: .02em; white-space: nowrap; }
.pc-holder { font-size: .92rem; font-weight: 650; }
.pc-holder > span:last-child { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.wallet-actions { display: flex; gap: 8px; padding: 8px 0 0; }
.wallet-actions .btn { flex: 1; min-height: 50px; border-radius: 16px; }
.wallet-actions .btn-soft { flex: 0 0 auto; }
.btn-brand { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.btn-soft { background: var(--surface-2); color: var(--text-2); border-color: var(--border); }
.btn.copied { background: var(--ok); border-color: var(--ok); color: #fff; }

/* Adres */
.place { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 14px 14px 14px 16px;
         background: var(--surface); border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--shadow); }
.place-ic { width: 44px; height: 44px; border-radius: 14px; flex: none; display: grid; place-items: center;
            background: var(--brand-tint); color: var(--brand-ink); }
.place-body { flex: 1; min-width: 0; }
.place-title { font-size: .7rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.place-body p { margin: 2px 0 0; font-size: .92rem; color: var(--text-2); }
.place-go { width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center;
            background: var(--brand); color: var(--on-brand); transition: transform .15s; }
.place-go:active { transform: scale(.94); }

.foot { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 30px;
        font-size: .78rem; font-weight: 600; color: var(--muted); }
.foot-mark .ic { width: 15px; height: 15px; display: block; }

/* Giriş animasyonu */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.reveal { animation: rise .55s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 70ms); }
@media (prefers-reduced-motion: reduce) { .reveal { animation: none; } .quick .q-ic, .place-go { transition: none; } }

/* Bulunamadı */
.nf { max-width: 420px; margin: 0 auto; padding: 18vh 24px; text-align: center; }
.nf .bank-ic { margin: 0 auto 16px; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
               background: var(--surface); border: 1px solid var(--border); color: var(--muted); }
.nf p { color: var(--muted); }


/* NFC linki kutusu (düzenleme sayfası üstü) */
.nfc-hero { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; padding: 18px 20px;
            border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
            box-shadow: var(--shadow); border-left: 4px solid var(--brand); }
.nfc-hero-ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; flex: none;
               background: var(--brand-tint); color: var(--brand-ink); }
.nfc-hero-ic .ic { width: 24px; height: 24px; }
.nfc-hero-body { flex: 1 1 280px; min-width: 0; }
.nfc-hero-label { font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.nfc-hero-link { font-family: var(--mono); font-size: 1.05rem; font-weight: 650; margin: 2px 0 4px; word-break: break-all; }
.nfc-hero-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* Giriş ekranı (iki bölmeli) */
.auth-split { min-height: 100vh; display: grid; }
@media (min-width: 900px) { .auth-split { grid-template-columns: 1.1fr 1fr; } }
.auth-art { display: none; position: relative; overflow: hidden; color: #fff;
            background: radial-gradient(80% 70% at 20% 10%, #3b3f4a 0%, transparent 60%),
                        radial-gradient(70% 70% at 90% 100%, #6b5430 0%, transparent 60%), #121317; }
@media (min-width: 900px) { .auth-art { display: block; } }
.auth-art::before { content: ""; position: absolute; inset: 0; opacity: .5;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.14) 1px, transparent 0); background-size: 18px 18px;
    -webkit-mask-image: linear-gradient(200deg, #000, transparent 75%); mask-image: linear-gradient(200deg, #000, transparent 75%); }
.auth-art-in { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: 40px 48px; }
.auth-art .brand { color: #fff; }
.auth-art .brand-mark { background: #fff; color: #121317; }
.auth-pitch h2 { font-size: 2.3rem; font-weight: 750; letter-spacing: -.03em; line-height: 1.1; }
.auth-pitch p { max-width: 40ch; margin: 14px 0 0; color: rgba(255,255,255,.72); font-size: 1.02rem; }
.auth-demo-card { width: 340px; max-width: 100%; padding: 20px; border-radius: 20px; color: #1a1408;
    background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.25) 44%, transparent 58%),
                linear-gradient(135deg, #d9b878, #a8834a 50%, #7d5f30);
    box-shadow: 0 24px 60px rgba(0,0,0,.45); transform: rotate(-4deg); }
.auth-demo-num { display: block; margin-top: 4px; font-family: var(--mono); font-weight: 650; font-size: .95rem; white-space: nowrap; }
.auth-demo-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 9px 14px; border-radius: 12px;
                 background: rgba(26, 20, 8, .88); color: #f3e3c3; font-weight: 600; font-size: .88rem; }
.auth-form { display: grid; place-items: center; padding: 32px 16px; }
.auth-form .auth-card { box-shadow: none; border: 0; background: transparent; padding: 0; max-width: 360px; width: 100%; }
@media (max-width: 899px) {
    .auth-form .auth-card { background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg); padding: 32px 24px; border-radius: 22px; }
}
.auth-card h1 { font-size: 1.6rem; letter-spacing: -.02em; }
.auth-card > p.muted { margin: 6px 0 24px; }
.auth-mobile-brand { display: flex; justify-content: flex-start !important; margin-bottom: 18px !important; }
@media (min-width: 900px) { .auth-mobile-brand { display: none !important; } }
.btn-lg { min-height: 48px; font-size: 1rem; }
.auth-foot { display: flex; align-items: center; gap: 8px; margin-top: 22px; }
.auth-foot .ic { width: 16px; height: 16px; }

/* Gerçek uygulama simgeleri (marka renkleri) */
.app-ic { width: 56px; height: 56px; border-radius: 16px; flex: none; display: grid; place-items: center;
          box-shadow: 0 1px 1px rgba(0,0,0,.06), 0 6px 14px -4px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.25);
          transition: transform .15s ease; }
.app-ic svg { width: 30px; height: 30px; display: block; }
.app-whatsapp { background: linear-gradient(180deg, #5FFC7B 0%, #28D146 100%); }
.app-whatsapp svg { width: 32px; height: 32px; }
.app-instagram { background:
    radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.app-phone { background: linear-gradient(180deg, #5BF675 0%, #0CBD2A 100%); }
.app-phone svg { width: 28px; height: 28px; }
.app-globe { background: linear-gradient(180deg, #4FA3FF 0%, #0A6CFF 100%); }
.app-globe svg { width: 29px; height: 29px; }
.app-pin { background: #fff; box-shadow: 0 1px 1px rgba(0,0,0,.06), 0 6px 14px -4px rgba(0,0,0,.22), inset 0 0 0 1px rgba(0,0,0,.06); }
.app-pin svg { width: 30px; height: 30px; filter: drop-shadow(0 2px 2px rgba(180, 30, 20, .3)); }
.quick a:hover .app-ic { transform: translateY(-2px); }
.quick a:active .app-ic { transform: scale(.94); }
.place .app-ic { width: 46px; height: 46px; border-radius: 14px; }
.place .app-ic svg { width: 26px; height: 26px; }
.place-go { background: linear-gradient(180deg, #4FA3FF 0%, #0A6CFF 100%); color: #fff; }
@media (prefers-reduced-motion: reduce) { .app-ic { transition: none; } }
.quick { gap: 6px 10px; }
.quick .app-ic { width: 100%; max-width: 56px; height: auto; aspect-ratio: 1; }
.quick .app-ic svg { width: 54%; height: 54%; }
.quick .app-whatsapp svg { width: 57%; height: 57%; }
.quick .app-phone svg { width: 50%; height: 50%; }
.quick a { overflow: visible; }
.quick .q-label { overflow: visible; text-overflow: clip; font-size: .7rem; letter-spacing: -.01em; }
