/* PAYON Kurye — tek elle, iri düğmeli, orman yeşili kimlik (Servis kiremit, Yönetim lacivert; Kurye yeşil) */
@font-face { font-family: "Host Grotesk"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("../app/fonts/host-grotesk-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Host Grotesk"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("../app/fonts/host-grotesk-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root { color-scheme: light; --bg: #F4F7F5; --s1: #fff; --s2: #EAF0EC; --line: #DCE5DF; --fg: #0F2A24; --mute: #647A72; --yes: #0E6B58; --yes-k: #0B4A3F; --mint: #19B77C; --amb: #F0A23B; --rd: #D94841; --r: 20px; --shadow: 0 14px 30px -20px rgba(11,74,63,.55); }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.45 "Host Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; letter-spacing: -.005em; touch-action: pan-y; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; }
.kapsam { max-width: 560px; margin: 0 auto; min-height: 100dvh; padding: 0 16px calc(96px + env(safe-area-inset-bottom)); }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; border-radius: 8px; }

/* başlık bandı */
.kbar { position: relative; z-index: 4; display: flex; align-items: center; gap: 10px; height: calc(60px + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top); margin: 0 -16px; padding-left: 16px; padding-right: 16px; background: linear-gradient(100deg, #0F6B58, #0B4A3F); color: #fff; }
.kbar[hidden], .knav[hidden] { display: none; }
.kbar .logo img { display: block; height: 22px; width: auto; }
.rol { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 11px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.12); font: 800 11px/1 inherit; letter-spacing: .16em; }
.rol i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px rgba(25,183,124,.3); }
.kbar.vardiya .rol i { animation: nb 1.6s ease-in-out infinite; }
.ik { margin-left: auto; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.14); color: #fff; }

/* giriş */
.giris { padding: 28px 2px 8px; }
.giris h1 { font-size: clamp(30px, 8vw, 38px); line-height: 1.05; }
.giris p { margin-top: 8px; color: var(--mute); }
.alan { margin-top: 14px; border: 1.5px solid var(--line); background: var(--s1); border-radius: 16px; padding: 0 14px; }
.alan:focus-within { border-color: var(--mint); box-shadow: 0 0 0 4px rgba(25,183,124,.15); }
.alan input { width: 100%; height: 54px; border: 0; background: none; font: inherit; font-size: 17px; color: var(--fg); outline: 0; }
.alan input.kod { text-align: center; font-size: 26px; font-weight: 700; letter-spacing: .3em; font-variant-numeric: tabular-nums; }
.hata { min-height: 22px; margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--rd); }
.btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 56px; padding: 0 18px; border-radius: 16px; border: 0; font-size: 17px; font-weight: 800; letter-spacing: -.01em; background: var(--yes); color: #fff; box-shadow: 0 12px 22px -14px rgba(14,107,88,.9); }
.btn:active { transform: scale(.985); }
.btn:disabled { opacity: .55; cursor: default; box-shadow: none; }
.btn.ikincil { background: var(--s1); color: var(--fg); border: 1.5px solid var(--line); box-shadow: none; }
.btn.hayalet { background: none; color: var(--mute); box-shadow: none; min-height: 46px; font-weight: 700; }
.btn.tehlike { background: var(--rd); box-shadow: none; }
.btn.k { min-height: 46px; font-size: 15px; border-radius: 14px; }
.gbtn { gap: 12px; }
.ya-da { display: flex; align-items: center; gap: 12px; margin: 14px 0 0; color: var(--mute); font-size: 13px; } .ya-da::before, .ya-da::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.eylemler { display: grid; gap: 10px; margin-top: 16px; }

/* vardiya kartı */
.hero { position: relative; overflow: hidden; margin: 14px 0 12px; padding: 18px; border-radius: 26px; color: #fff; background: linear-gradient(150deg, #138068, #0B4A3F 85%); box-shadow: var(--shadow); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.1) 1.3px, transparent 1.6px); background-size: 16px 16px; opacity: .7; }
.hero > * { position: relative; }
.hero .ust { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hero .adi { font-size: 13px; font-weight: 700; opacity: .85; } .hero h1 { margin-top: 2px; font-size: 26px; }
.hero .say { display: flex; align-items: baseline; gap: 10px; margin-top: 14px; } .hero .say b { font-size: 60px; line-height: .86; font-weight: 800; letter-spacing: -.05em; font-variant-numeric: tabular-nums; } .hero .say span { font-weight: 700; }
.hero .alt { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,.16); font-size: 13px; font-weight: 700; } .cip i { width: 8px; height: 8px; border-radius: 50%; background: #9BE7C8; } .cip.uy i { background: #FFC857; } .cip.kt i { background: #FF9A90; }
.hero .btn { margin-top: 16px; background: #fff; color: var(--yes-k); box-shadow: none; } .hero .btn.bitir { background: rgba(255,255,255,.14); color: #fff; border: 1.5px solid rgba(255,255,255,.4); min-height: 48px; font-size: 15px; }

/* sekmeler (alt) */
.knav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(2, 1fr); padding: 8px 12px max(10px, env(safe-area-inset-bottom)); background: rgba(250,253,251,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -14px 30px -22px rgba(11,74,63,.6); }
.knav button { display: grid; justify-items: center; gap: 3px; padding: 6px 0 4px; background: none; border: 0; color: #7C918A; font-size: 12px; font-weight: 800; position: relative; }
.knav .ik2 { position: relative; display: grid; place-items: center; width: 64px; height: 32px; border-radius: 16px; } .knav svg { width: 24px; height: 24px; }
.knav button.on { color: var(--yes); } .knav button.on .ik2 { background: #DDF1EA; }
.knav em { position: absolute; top: -4px; right: 8px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--rd); color: #fff; font: 800 11px/19px inherit; font-style: normal; text-align: center; box-shadow: 0 0 0 2px #FAFDFB; }

/* teslimat kartı */
.bas { display: flex; align-items: baseline; justify-content: space-between; margin: 18px 2px 10px; } .bas h2 { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--yes); font-weight: 800; } .bas span { font-size: 13px; color: var(--mute); }
.is { margin-bottom: 14px; padding: 16px 16px 14px; border-radius: 22px; background: var(--s1); border: 2px solid var(--line); border-left: 9px solid var(--yes); box-shadow: var(--shadow); }
.is.alindi { border-left-color: var(--amb); } .is.yolda { border-left-color: var(--mint); }
.is .ust { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.is .no { font-size: 22px; font-weight: 800; letter-spacing: -.03em; } .is .no small { margin-left: 6px; font-size: 13px; font-weight: 700; color: var(--mute); letter-spacing: 0; }
.durum { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: #DDF1EA; color: var(--yes-k); } .durum i { width: 7px; height: 7px; border-radius: 50%; background: var(--yes); }
.alindi .durum { background: #FCEBCF; color: #8A5A12; } .alindi .durum i { background: var(--amb); } .yolda .durum { background: #D8F5E8; color: #0B6B45; } .yolda .durum i { background: var(--mint); animation: nb 1.4s ease-in-out infinite; }
.adres { margin-top: 12px; font-size: 20px; font-weight: 700; line-height: 1.25; letter-spacing: -.015em; overflow-wrap: anywhere; }
.musteri { margin-top: 4px; color: var(--mute); font-weight: 600; }
.not { margin-top: 10px; padding: 9px 12px; border-radius: 12px; background: #FFF4DF; color: #7A5410; font-size: 14px; font-weight: 600; }
.kalem { margin: 10px 0 0; padding: 0; list-style: none; color: var(--mute); font-size: 14px; } .kalem li { display: flex; gap: 8px; padding: 2px 0; } .kalem b { color: var(--fg); min-width: 26px; }
.tahsil { display: flex; align-items: baseline; justify-content: space-between; margin-top: 12px; padding: 10px 14px; border-radius: 14px; background: var(--s2); } .tahsil span { font-weight: 700; color: var(--mute); font-size: 14px; } .tahsil b { font-size: 22px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.tahsil.al { background: #FFF1D6; } .tahsil.al span { color: #8A5A12; }
.is .iki { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.is .btn.adim { margin-top: 10px; min-height: 60px; font-size: 19px; }
.bos { margin: 18px 0; padding: 26px 18px; border-radius: 22px; border: 2px dashed var(--line); background: var(--s1); text-align: center; } .bos b { display: block; font-size: 19px; } .bos span { display: block; margin-top: 6px; color: var(--mute); }
.gecmis { padding: 12px 14px; margin-bottom: 8px; border-radius: 16px; background: var(--s1); border: 1px solid var(--line); } .gecmis .s { display: flex; justify-content: space-between; gap: 10px; font-weight: 800; } .gecmis small { display: block; margin-top: 3px; color: var(--mute); font-weight: 500; overflow-wrap: anywhere; }
.ozet { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .ozet div { padding: 14px; border-radius: 18px; background: var(--s1); border: 1px solid var(--line); } .ozet b { display: block; font-size: 30px; letter-spacing: -.03em; } .ozet span { color: var(--mute); font-size: 13px; font-weight: 600; }

/* yaprak (sayfa içi pencere) ve bantlar: tarayıcı confirm/alert kullanılmaz */
.perde { position: fixed; inset: 0; z-index: 70; display: grid; place-items: end center; padding: 12px; background: rgba(8,36,30,.5); animation: gir .2s ease-out; }
.yaprak { width: min(100%, 520px); max-height: calc(100dvh - 24px); overflow-y: auto; padding: 20px 20px calc(16px + env(safe-area-inset-bottom)); border-radius: 26px; background: var(--s1); animation: yuk .28s cubic-bezier(.2,.8,.2,1); }
.yaprak h2 { font-size: 22px; } .yaprak p { margin-top: 8px; color: var(--mute); } .yaprak .eylemler { margin-top: 16px; }
.onay { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: var(--s2); font-weight: 600; } .onay input { width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--yes); flex: none; }
#banner-yigin { position: fixed; z-index: 90; left: 0; right: 0; top: calc(env(safe-area-inset-top) + 68px); display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 0 14px; pointer-events: none; }
.bn { pointer-events: auto; width: min(100%, 460px); display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 18px; color: #fff; background: rgba(11,74,63,.97); box-shadow: 0 18px 36px -16px rgba(8,36,30,.8); animation: bn-gir .5s cubic-bezier(.2,1.25,.4,1) both; }
.bn .i { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: rgba(255,255,255,.14); color: #9BE7C8; } .bn .i svg { width: 22px; height: 22px; }
.bn b { display: block; font-size: 17px; } .bn span { display: block; font-size: 14px; opacity: .85; }
.bn.uyari { background: #8A4B0B; } .bn.uyari .i { color: #FFC857; } .bn.hata { background: #8F2A24; } .bn.hata .i { color: #FFB1AA; } .bn.cik { animation: bn-cik .4s ease-in forwards; }
.yukle { display: grid; place-items: center; min-height: 60dvh; text-align: center; color: var(--mute); } .yukle i { width: 34px; height: 34px; border-radius: 50%; border: 4px solid var(--line); border-top-color: var(--yes); animation: don .9s linear infinite; margin: 0 auto 12px; display: block; }
@keyframes nb { 50% { opacity: .35; } } @keyframes don { to { transform: rotate(360deg); } } @keyframes gir { from { opacity: 0; } } @keyframes yuk { from { transform: translateY(40px); opacity: 0; } }
@keyframes bn-gir { from { opacity: 0; transform: translateY(-130%) scale(.96); } } @keyframes bn-cik { to { opacity: 0; transform: translateY(-80%); } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
.ik[hidden] { display: none; }
