/* =========================================================
   Viwo B2B Bayi Portalı — giriş sonrası kabuk ve sayfalar
   ========================================================= */

.app { min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); }
.app__main { flex: 1; width: 100%; }
.page { width: 100%; max-width: var(--vw-cw); margin: 0 auto; padding: 40px 32px 72px; }
.page--result { padding-top: 44px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.page-head .eyebrow { margin-bottom: 12px; }
.refbox { padding: 12px 16px; border-radius: 12px; background: var(--surface); border: 1px solid rgba(21, 19, 15, .08); }
.refbox__v { font-family: var(--mono); font-size: 14px; font-weight: 500; margin-top: 6px; letter-spacing: .04em; }

/* ---------- Üst çubuk ---------- */
.hdr {
    position: sticky; top: 0; z-index: 30;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2);
    border-bottom: 1px solid var(--line);
}
.hdr__in { max-width: var(--vw-cw); margin: 0 auto; padding: 0 24px; height: 74px; display: flex; align-items: center; gap: 22px; }
.hdr__brand { flex: 0 0 auto; color: inherit; }
.hdr__brand:hover { color: inherit; }
.hdr__nav { flex: 1; min-width: 0; display: flex; align-items: center; gap: 2px; }
.vw-nav {
    position: relative; height: 40px; padding: 0 12px;
    display: flex; align-items: center; gap: 6px;
    border: 0; border-radius: 9px; background: transparent;
    font-size: 13.5px; font-weight: 500; color: var(--text-3); white-space: nowrap;
    transition: background .16s, color .16s;
}
.vw-nav:hover { background: rgba(21, 19, 15, .05); color: var(--ink); }
.vw-nav.is-on { background: rgba(21, 19, 15, .05); color: var(--ink); font-weight: 600; }
.chev { display: block; width: 6px; height: 6px; margin-left: 2px; border-right: 1.5px solid var(--brass); border-bottom: 1.5px solid var(--brass); transform: translateY(-2px) rotate(45deg); transition: transform .18s; }
.dd { position: relative; }
.dd.is-open .chev { transform: translateY(2px) rotate(225deg); }
.dd__menu {
    position: absolute; top: calc(100% + 8px); left: 0; z-index: 60; width: 300px; padding: 8px;
    border-radius: 14px; background: #fff; border: 1px solid rgba(21, 19, 15, .08);
    box-shadow: var(--shadow-drop); animation: s2In .14s ease-out both;
    display: flex; flex-direction: column; gap: 4px;
}
.dd__menu[hidden] { display: none; }
.dd__item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; border: 1px solid transparent; color: var(--ink); transition: background .14s; }
.dd__item:hover { background: rgba(21, 19, 15, .05); color: var(--ink); }
.dd__item.is-on { background: #faf6ef; border-color: rgba(168, 132, 79, .30); }
.dd__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dd__t { font-size: 13.5px; font-weight: 600; }
.dd__s { font-size: 12px; color: var(--muted-2); margin-top: 2px; }
.dd__ok { width: 20px; height: 20px; flex: 0 0 20px; border-radius: 50%; background: var(--ink); color: var(--brass-light); display: flex; align-items: center; justify-content: center; font-size: 10px; }
.hdr__div { width: 1px; height: 20px; background: rgba(21, 19, 15, .14); margin: 0 10px 0 8px; }
.admin-pill {
    flex: 0 0 auto; height: 34px; padding: 0 12px 0 10px;
    display: flex; align-items: center; gap: 8px; border-radius: 9px;
    background: var(--ink); color: #f4f2ef; font-size: 12.5px; font-weight: 600; white-space: nowrap;
    box-shadow: 0 8px 18px -10px rgba(21, 19, 15, .6); transition: background .16s, transform .16s;
}
.admin-pill:hover { background: #2a2620; color: #fff; transform: translateY(-1px); }
.admin-pill__chip { font-family: var(--mono); font-size: 8.5px; font-weight: 600; letter-spacing: .12em; padding: 2px 5px; border-radius: 4px; background: rgba(226, 195, 147, .16); color: var(--brass-light); }
.hdr__right { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.uchip { display: flex; align-items: center; gap: 11px; padding: 6px 14px 6px 6px; border-radius: 12px; border: 1px solid rgba(21, 19, 15, .08); background: #fff; color: var(--ink); transition: border-color .16s; }
.uchip:hover, .uchip.is-on { border-color: rgba(21, 19, 15, .24); color: var(--ink); }
.uchip.is-on { border-color: var(--brass-2); }
.uchip__av { width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(150deg, #efe3cd, #d9c29b); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: #5b4524; flex: 0 0 auto; }
.uchip .vw-chip-text { display: flex; flex-direction: column; }
.uchip__name { font-size: 12.5px; font-weight: 600; line-height: 1.2; white-space: nowrap; max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
.uchip__no { font-family: var(--mono); font-size: 10px; color: var(--muted-2); margin-top: 2px; }
.hdr__out { margin: 0; }
.hdr__logout { height: 44px; padding: 0 14px; border: 0; border-radius: 10px; background: transparent; font-size: 12.5px; font-weight: 600; color: var(--text-3); }
.hdr__logout:hover { background: rgba(21, 19, 15, .05); color: var(--ink); }

@media (max-width: 1240px) { .vw-admin-text { display: none; } }
@media (max-width: 1100px) { .vw-chip-text { display: none !important; } .vw-nav { padding: 0 9px; } .uchip { padding-right: 6px; } }
@media (max-width: 1000px) { .hdr .vw-brand-text { display: none; } }
@media (max-width: 680px) {
    .hdr__in { padding: 0 14px; gap: 10px; }
    .page { padding: 28px 16px 56px; }
}

/* ---------- Alt bilgi ---------- */
.ftr { background: #ecebe6; border-top: 1px solid var(--line); }
.ftr__in { max-width: var(--vw-cw); margin: 0 auto; padding: 56px 32px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.ftr__brand { grid-column: span 2; min-width: 0; max-width: 420px; }
.ftr__brand p { font-size: 13px; line-height: 1.75; color: var(--text-3); margin: 18px 0 0; text-wrap: pretty; }
.ftr .eyebrow { margin-bottom: 18px; }
.ftr__links { display: flex; flex-direction: column; gap: 12px; font-size: 13px; }
.ftr__links a { color: var(--text-2); }
.ftr__links a:hover { color: var(--ink); }
.ftr__contact { line-height: 1.65; color: var(--text-2); }
.ftr__contact .mono { font-size: 12.5px; }
.ftr__bottom { max-width: var(--vw-cw); margin: 48px auto 0; padding: 22px 32px 26px; border-top: 1px solid rgba(21, 19, 15, .08); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.ftr__badges { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ftr__badges span { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: .08em; padding: 6px 10px; border-radius: 7px; background: #fff; border: 1px solid rgba(21, 19, 15, .08); color: var(--text-2); }
@media (max-width: 620px) { .ftr__brand { grid-column: auto; } }

/* ---------- Sanal pos ---------- */
.pos { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.pos__main { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.pos__side { flex: 0 1 420px; width: 420px; max-width: 100%; min-width: 0; position: sticky; top: 98px; display: flex; flex-direction: column; gap: 20px; }
.pos .card { padding: 28px 30px 30px; }
.card-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.grid2 .full { grid-column: 1 / -1; }
.amount { position: relative; }
.amount .inp { height: 60px; padding: 0 54px 0 18px; border-radius: 12px; background: #fbfaf8; font-size: 22px; font-weight: 500; font-family: var(--mono); letter-spacing: -.01em; }
.amount .inp:focus { background: #fff; }
.amount__cur { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 18px; color: var(--muted-2); }
.inp--card { font-size: 15px; letter-spacing: .06em; }
.inp--cvv { letter-spacing: .2em; }
.tip-seg { margin-top: 10px; display: inline-flex; }

.inst { border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-card); overflow: hidden; }
.inst__head { padding: 26px 30px 20px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.inst__net { font-size: 12px; color: var(--muted); }
.inst__net span { font-family: var(--mono); color: var(--ink); font-weight: 500; }
.inst__empty { margin: 0 30px 30px; padding: 34px 24px; border-radius: 12px; border: 1px dashed rgba(21, 19, 15, .14); text-align: center; font-size: 13px; color: var(--muted); }
.inst__warn { margin: -6px 30px 14px; font-size: 12px; color: var(--warning); }
.inst__scroll { overflow-x: auto; }
.inst__tbl { min-width: 780px; }
.inst__row {
    display: grid;
    grid-template-columns: 48px minmax(96px, .9fr) 76px minmax(110px, 1fr) minmax(100px, .9fr) minmax(250px, 1.5fr);
    align-items: center; padding: 14px 30px; border-bottom: 1px solid rgba(21, 19, 15, .05);
    cursor: pointer; transition: background .14s; width: 100%; border-left: 0; border-right: 0; border-top: 0;
    background: transparent; text-align: left; font: inherit; color: inherit;
    animation: rowDrop .5s cubic-bezier(.22, .9, .3, 1) both;
}
.inst__row:hover { background: #faf6ef; }
.inst__row.is-sel { background: #faf6ef; }
.inst__row--head { cursor: default; padding: 12px 30px; background: var(--surface-2); border-top: 1px solid rgba(21, 19, 15, .06); border-bottom: 1px solid rgba(21, 19, 15, .06); font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; color: var(--muted-2); animation-duration: .45s; }
.inst__row--head:hover { background: var(--surface-2); }
.inst__row .r { text-align: right; }
.radio { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid rgba(21, 19, 15, .22); display: flex; align-items: center; justify-content: center; background: #fff; }
.is-sel .radio { border-color: var(--ink); }
.is-sel .radio::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.inst__lbl { font-size: 13.5px; font-weight: 500; }
.is-sel .inst__lbl { font-weight: 600; }
.inst__rate { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.inst__total { font-family: var(--mono); font-size: 12.5px; white-space: nowrap; }
.inst__com { font-family: var(--mono); font-size: 12px; color: var(--muted-2); white-space: nowrap; }
.inst__last { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.inst__mon { font-family: var(--mono); font-size: 13px; white-space: nowrap; }
.inst__mon small { color: var(--subtle); font-size: 11px; }
.inst__mon b { font-weight: 600; }
.inst__bank { font-size: 10.5px; font-weight: 600; padding: 4px 8px; border-radius: 6px; background: var(--surface-3); color: var(--text-3); min-width: 82px; text-align: center; white-space: nowrap; overflow: hidden; }
.v { display: inline-block; }
.v--a { animation: valA .42s cubic-bezier(.22, .9, .3, 1) both; }
.v--b { animation: valB .42s cubic-bezier(.22, .9, .3, 1) both; }

/* Kart önizleme (3D tilt + flip) */
.cc {
    position: relative; width: 100%; aspect-ratio: 1.586; margin: 0 auto; border-radius: 20px;
    transform: perspective(900px) rotateX(0) rotateY(0); transform-style: preserve-3d; will-change: transform;
    transition: transform .6s var(--ease), box-shadow .6s var(--ease);
    box-shadow: 0 36px 70px -36px rgba(90, 68, 36, .55);
}
.cc__in { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .75s cubic-bezier(.45, .05, .2, 1); }
.cc.is-flip .cc__in { transform: rotateY(180deg); }
.cc__face {
    position: absolute; inset: 0; border-radius: 20px; overflow: hidden;
    -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.cc__front {
    padding: 26px 28px; display: flex; flex-direction: column; justify-content: space-between;
    background: linear-gradient(135deg, #fdfbf7 0%, #f1e7d5 52%, #e2cfae 100%);
    border: 1px solid rgba(168, 132, 79, .28); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
}
.cc__shine { position: absolute; top: -40%; right: -20%; width: 70%; height: 140%; background: radial-gradient(circle, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0) 60%); pointer-events: none; }
.cc__glare { position: absolute; inset: 0; border-radius: 20px; opacity: 0; pointer-events: none; mix-blend-mode: soft-light; transition: opacity .4s ease; background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0) 55%); }
.cc__top { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.cc__bank { font-size: 14px; font-weight: 700; letter-spacing: .02em; color: #3d3121; max-width: 70%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc__scheme { font-size: 19px; font-weight: 700; font-style: italic; letter-spacing: .02em; color: #3d3121; }
.cc__chip { position: relative; width: 44px; height: 33px; border-radius: 7px; background: linear-gradient(135deg, #e8d3a6, #b8955e); border: 1px solid rgba(90, 68, 36, .25); }
.cc__num { position: relative; font-family: var(--mono); font-size: 20px; font-weight: 500; letter-spacing: .1em; color: #2a2217; white-space: nowrap; }
.cc__row { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 16px; }
.cc__k { font-family: var(--mono); font-size: 8px; letter-spacing: .18em; color: #8a7457; }
.cc__name { font-size: 13px; font-weight: 600; letter-spacing: .06em; margin-top: 4px; color: #2a2217; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: uppercase; max-width: 240px; }
.cc__exp { font-family: var(--mono); font-size: 13px; font-weight: 500; margin-top: 4px; color: #2a2217; text-align: right; }
.cc__back { transform: rotateY(180deg); display: flex; flex-direction: column; background: linear-gradient(135deg, #efe5d2 0%, #e4d4b6 55%, #d6c09a 100%); border: 1px solid rgba(168, 132, 79, .3); }
.cc__stripe { height: 19%; margin-top: 9%; background: linear-gradient(180deg, #2a241b, #15130f); }
.cc__sig { display: flex; align-items: center; gap: 12px; padding: 0 26px; margin-top: 7%; }
.cc__sigline { flex: 1; height: 38px; border-radius: 6px; background: repeating-linear-gradient(-45deg, #fbf8f2 0 6px, #f1eadc 6px 12px); border: 1px solid rgba(90, 68, 36, .15); }
.cc__cvv { flex: 0 0 auto; height: 38px; min-width: 74px; padding: 0 12px; border-radius: 6px; background: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 16px; font-weight: 600; letter-spacing: .18em; color: var(--ink); box-shadow: 0 0 0 2px transparent; transition: box-shadow .2s; }
.cc.is-flip .cc__cvv { box-shadow: 0 0 0 2px var(--brass-2); }
.cc__labels { display: flex; justify-content: space-between; gap: 12px; padding: 8px 26px 0; font-family: var(--mono); font-size: 8px; letter-spacing: .16em; color: #7d6035; }
.cc__foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 0 26px 22px; }
.cc__warn { font-size: 9.5px; line-height: 1.5; color: #6b5a40; max-width: 220px; }
.cc__foot .cc__scheme { font-size: 17px; }

.summary { padding: 26px 26px 24px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 50px -34px rgba(21, 19, 15, .25); }
.summary .eyebrow { margin-bottom: 16px; }
.srows { display: flex; flex-direction: column; gap: 11px; font-size: 13px; }
.srow { display: flex; justify-content: space-between; gap: 12px; }
.srow > span:first-child { color: var(--muted); }
.srow .mono { font-family: var(--mono); }
.stotal { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.stotal span:first-child { font-size: 13px; font-weight: 600; }
.stotal .mono { font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.agree { margin-top: 22px; padding: 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid rgba(21, 19, 15, .06); }
.agree .check__text { font-size: 12px; line-height: 1.6; color: var(--text-3); }
.agree strong { color: var(--ink); }
.note3d { display: flex; align-items: flex-start; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.6; color: var(--muted); }
.note3d__ic { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 9px; background: var(--chip-bg); color: var(--brass); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 9px; font-weight: 600; }

@media (max-width: 1060px) { .pos__side { position: static; width: 100%; flex-basis: 100%; } }

/* 3D yönlendirme katmanı */
.tds { position: fixed; inset: 0; z-index: 150; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(245, 242, 236, .55); backdrop-filter: blur(14px) saturate(1.1); -webkit-backdrop-filter: blur(14px) saturate(1.1); animation: fadeIn .3s ease-out both; }
.tds[hidden] { display: none; }
.tds__glow { position: absolute; top: 50%; left: 50%; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; background: radial-gradient(circle, rgba(214, 186, 140, .45), rgba(214, 186, 140, 0) 65%); filter: blur(30px); animation: pGlow 6s ease-in-out infinite; pointer-events: none; }
.tds__card { position: relative; width: 100%; max-width: 420px; padding: 36px 34px 30px; border-radius: 22px; background: rgba(255, 255, 255, .78); border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 50px 120px -40px rgba(60, 45, 20, .45), inset 0 1px 0 rgba(255, 255, 255, .9); text-align: center; animation: pop .45s cubic-bezier(.2, .9, .25, 1.1) both; }
.spin3d { position: relative; width: 72px; height: 72px; margin: 0 auto 24px; }
.spin3d i { position: absolute; border-radius: 50%; }
.spin3d i:nth-child(1) { inset: 0; border: 2px solid rgba(21, 19, 15, .08); }
.spin3d i:nth-child(2) { inset: 0; border: 2px solid transparent; border-top-color: var(--ink); border-right-color: var(--ink); animation: spin .9s cubic-bezier(.5, .15, .5, .85) infinite; }
.spin3d i:nth-child(3) { inset: 10px; border: 1.5px solid transparent; border-bottom-color: var(--brass-2); animation: spin 1.4s linear infinite reverse; }
.spin3d b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--ink); animation: pulse 1.6s ease-in-out infinite; }
.tds__title { font-size: 19px; font-weight: 600; letter-spacing: -.015em; margin-top: 10px; text-wrap: pretty; }
.tds__sub { font-size: 12.5px; line-height: 1.6; color: var(--muted); margin-top: 8px; }
.tds__bar { position: relative; height: 3px; margin: 24px 0 22px; border-radius: 3px; background: rgba(21, 19, 15, .07); overflow: hidden; }
.tds__bar span { position: absolute; top: 0; bottom: 0; left: 0; border-radius: 3px; background: linear-gradient(90deg, var(--brass-2), var(--ink)); width: 100%; transform: scaleX(0); transform-origin: left center; transition: transform .7s cubic-bezier(.4, 0, .2, 1); }
.tds__steps { display: flex; flex-direction: column; gap: 11px; text-align: left; }
.tds__step { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--subtle); transition: color .2s; }
.tds__dot { position: relative; width: 18px; height: 18px; flex: 0 0 18px; border-radius: 50%; border: 1px solid rgba(21, 19, 15, .15); background: #fff; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 9px; }
.tds__step.is-active { color: var(--ink); font-weight: 600; }
.tds__step.is-active .tds__dot::after { content: ''; position: absolute; inset: -1px; border-radius: 50%; border: 1.5px solid transparent; border-top-color: var(--ink); animation: spin .8s linear infinite; }
.tds__step.is-done { color: var(--text-2); }
.tds__step.is-done .tds__dot { background: var(--success); border-color: var(--success); }
.tds__step.is-done .tds__dot::before { content: '✓'; }
.tds__chips { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.tchip { font-family: var(--mono); font-size: 9px; font-weight: 600; letter-spacing: .08em; padding: 4px 7px; border-radius: 5px; background: var(--surface-3); color: var(--text-2); }

/* ---------- Sonuç sayfaları ---------- */
.res-head { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 32px; animation: pIn .5s var(--ease) both; }
.res-icon { width: 60px; height: 60px; flex: 0 0 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.res-icon--ok { background: rgba(63, 122, 90, .12); border: 1px solid rgba(63, 122, 90, .22); color: var(--success); }
.res-icon--err { background: rgba(176, 71, 60, .10); border: 1px solid rgba(176, 71, 60, .22); color: var(--danger); font-size: 26px; font-weight: 600; animation: shake .5s .25s ease-in-out both; }
.res-head__txt { flex: 1; min-width: 260px; }
.res-head .eyebrow { margin-bottom: 10px; }
.res-title { font-size: 30px; font-weight: 500; letter-spacing: -.03em; margin: 0; }
.res-sub { font-size: 14px; color: var(--muted); margin-top: 7px; text-wrap: pretty; }
.res-sub strong { color: var(--ink); font-weight: 600; }
.res { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.res__main { flex: 1.5 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; animation: pIn .6s .08s var(--ease) both; }
.res__side { flex: 1 1 320px; min-width: 0; position: sticky; top: 98px; display: flex; flex-direction: column; gap: 16px; animation: pIn .6s .14s var(--ease) both; }
.box { border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-card); padding: 24px; }
.box--flush { padding: 8px; }
.box .eyebrow { margin-bottom: 16px; }
.linkrow { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-radius: 10px; font-size: 13.5px; font-weight: 600; color: var(--ink); border: 0; background: transparent; width: 100%; text-align: left; }
.linkrow:hover { background: rgba(21, 19, 15, .04); color: var(--ink); }
.linkrow span { color: var(--brass); }
.btn--line { background: #fff; border-color: rgba(21, 19, 15, .12); color: var(--ink); height: 48px; font-size: 13.5px; }
.btn--line:hover { border-color: rgba(21, 19, 15, .28); color: var(--ink); }
.res__side .btn { width: 100%; }
.res__side .btn + .btn { margin-top: 10px; }
.res__side .btn--primary { margin-top: 22px; height: 52px; }

/* Dekont */
.receipt { position: relative; filter: drop-shadow(0 30px 50px rgba(60, 45, 20, .14)); }
.receipt__paper { background: #fff; border-radius: 18px 18px 0 0; border: 1px solid rgba(21, 19, 15, .06); border-bottom: none; padding: 36px 40px 30px; }
.receipt__zig { height: 14px; background: radial-gradient(circle at 9px 14px, transparent 8px, #fff 8.5px) repeat-x; background-size: 18px 14px; transform: rotate(180deg); }
.receipt__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.receipt__co { font-size: 14px; font-weight: 700; }
.receipt__co small { display: block; font-size: 11px; font-weight: 400; color: var(--muted-2); margin-top: 3px; }
.receipt__id { text-align: right; }
.receipt__id div:last-child { font-family: var(--mono); font-size: 12px; color: var(--text-2); margin-top: 6px; }
.receipt__amt { margin-top: 30px; padding: 22px 24px; border-radius: 14px; background: linear-gradient(135deg, #fbf8f2, #f3eadb); border: 1px solid rgba(168, 132, 79, .18); display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.receipt__amt .eyebrow { color: #7d6035; letter-spacing: .16em; }
.receipt__big { font-family: var(--mono); font-size: 34px; font-weight: 600; letter-spacing: -.03em; margin-top: 8px; }
.pill-ok { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 20px; background: rgba(63, 122, 90, .12); color: var(--success); font-size: 11.5px; font-weight: 600; }
.pill-ok::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--success); }
.kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin-top: 22px; }
.kv__r { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px dashed rgba(21, 19, 15, .10); font-size: 12.5px; }
.kv__r > span:first-child { color: var(--muted); white-space: nowrap; }
.kv__r > span:last-child { text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kv__r--wide { grid-column: 1 / -1; }
.kv__r--wide > span:last-child { white-space: normal; }
.receipt__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 24px; font-size: 11px; line-height: 1.6; color: var(--muted-2); }
.receipt__foot p { max-width: 380px; margin: 0; }
@media (max-width: 620px) { .kv { grid-template-columns: minmax(0, 1fr); } .receipt__paper { padding: 26px 22px; } }

/* Hata */
.bankres { border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-card); overflow: hidden; }
.bankres__head { padding: 22px 26px; background: linear-gradient(180deg, rgba(176, 71, 60, .06), rgba(176, 71, 60, .02)); border-bottom: 1px solid rgba(176, 71, 60, .14); display: flex; align-items: flex-start; gap: 16px; }
.bankres__head .eyebrow { color: var(--danger); letter-spacing: .16em; }
.bankres__msg { font-size: 16px; font-weight: 600; margin-top: 8px; }
.bankres__desc { font-size: 12.5px; line-height: 1.6; color: #6b5a55; margin-top: 6px; text-wrap: pretty; }
.bankres__code { text-align: right; flex: 0 0 auto; }
.bankres__code div:last-child { font-family: var(--mono); font-size: 20px; font-weight: 600; color: var(--danger); margin-top: 6px; }
.bankres .kv { padding: 6px 26px 10px; margin: 0; }
.bankres .kv__r { border-bottom-style: solid; border-bottom-color: rgba(21, 19, 15, .06); padding: 13px 0; }
.tips { border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-card); padding: 22px 26px 12px; }
.tip { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid rgba(21, 19, 15, .06); }
.tip:last-child { border-bottom: 0; }
.tip__n { font-family: var(--mono); font-size: 11px; color: var(--brass); padding-top: 1px; }
.tip__h { font-size: 13.5px; font-weight: 600; }
.tip__p { font-size: 12.5px; line-height: 1.6; color: var(--muted); margin-top: 3px; }
.big-amt { font-family: var(--mono); font-size: 28px; font-weight: 600; letter-spacing: -.03em; margin-top: 8px; }

/* İçerik sayfası */
.prose { max-width: 860px; font-size: 14px; line-height: 1.75; color: var(--text-2); }
.prose h1, .prose h2, .prose h3 { color: var(--ink); letter-spacing: -.01em; }
.prose * { max-width: 100%; }

/* Yazdırma: yalnız dekont */
@media print {
    body * { visibility: hidden !important; }
    #vw-receipt, #vw-receipt * { visibility: visible !important; }
    #vw-receipt { position: absolute !important; left: 0; top: 0; width: 100% !important; filter: none !important; animation: none !important; }
    .vw-noprint, .vw-noprint * { display: none !important; }
}

/* ---------- Test kartları (yalnız test modu) ---------- */
.tk { position: fixed; right: 20px; bottom: 20px; z-index: 80; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.tk__fab { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border: 0; border-radius: 21px; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 600; box-shadow: var(--shadow-btn); transition: transform .16s; }
.tk__fab:hover { transform: translateY(-1px); }
.tk__dot { width: 8px; height: 8px; border-radius: 50%; background: #e0a53a; box-shadow: 0 0 0 3px rgba(224, 165, 58, .25); }
.tk__panel { order: -1; width: min(360px, calc(100vw - 40px)); max-height: min(70vh, 620px); display: flex; flex-direction: column; border-radius: 16px; background: #fff; border: 1px solid rgba(21, 19, 15, .08); box-shadow: var(--shadow-drop); overflow: hidden; animation: pop .22s var(--ease) both; }
.tk__panel[hidden] { display: none; }
.tk__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 16px 10px 18px; }
.tk__title { font-size: 15px; font-weight: 600; margin-top: 6px; }
.tk__otp { display: flex; align-items: center; gap: 10px; margin: 0 16px 10px; padding: 10px 12px; border-radius: 10px; border: 1px dashed rgba(168, 132, 79, .45); background: #faf6ef; font-size: 12px; color: var(--text-2); text-align: left; }
.tk__otp b { font-size: 15px; letter-spacing: .12em; color: var(--ink); }
.tk__otp small { margin-left: auto; font-size: 11px; color: var(--brass); }
.tk__list { overflow-y: auto; padding: 0 8px 8px; display: flex; flex-direction: column; gap: 2px; }
.tk__card { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 10px; border: 1px solid transparent; border-radius: 10px; background: transparent; text-align: left; color: var(--ink); }
.tk__card:hover { background: rgba(21, 19, 15, .04); }
.tk__card.is-on { background: #faf6ef; border-color: rgba(168, 132, 79, .30); }
.tk__num { font-size: 13.5px; font-weight: 500; letter-spacing: .04em; }
.tk__meta { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--muted); }
.tk__not { font-size: 11px; color: var(--muted-2); }
.tk__foot { padding: 10px 18px 12px; border-top: 1px solid var(--line); font-size: 10.5px; color: var(--muted-2); }

/* ---------- Banka / kart şeması logoları (images/svg/banka) ---------- */
.ftr__badges .ftr__logo { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; }
.ftr__logo img { height: 14px; width: auto; display: block; }
.chip--logo { display: inline-flex; align-items: center; padding: 4px 9px; background: #fff; }
.chip--logo img { height: 14px; width: auto; display: block; }
.cc__bank.has-logo { display: flex; align-items: center; height: 26px; }
.cc__bank.has-logo img { max-height: 26px; max-width: 150px; width: auto; display: block; }
.cc__scheme.has-logo { display: flex; align-items: center; height: 30px; }
.cc__scheme.has-logo img { height: 30px; max-width: 90px; width: auto; display: block; }
.cc__foot .cc__scheme.has-logo, .cc__foot .cc__scheme.has-logo img { height: 24px; }

/* ---------- Dar ekran menüsü ---------- */
.hdr__burger { display: none; width: 42px; height: 42px; flex: 0 0 42px; border: 1px solid rgba(21, 19, 15, .1); border-radius: 11px; background: #fff; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
@media (max-width: 900px) {
    .hdr__burger { display: inline-flex; }
    .hdr__right { margin-left: auto; }
    .hdr__nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 14px 16px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -30px rgba(21, 19, 15, .4); max-height: calc(100vh - 74px); overflow-y: auto; }
    .hdr.is-menu .hdr__nav { display: flex; }
    .hdr__nav .vw-nav { height: 44px; }
    .hdr__nav .dd__menu { position: static; width: auto; padding: 0 0 4px 10px; border: 0; box-shadow: none; animation: none; }
    .hdr__div { display: none; }
}
