:root { --lacivert: #0a2a52; --mavi: #1d6fc4; --yesil: #1f9d55; --sari: #f2b134; --kirmizi: #d93a3a; --zemin: #eef2f8; --yazi: #14253f; --soluk: #5b6b82; }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--lacivert); color: #fff; font-family: -apple-system, "Segoe UI", system-ui, Roboto, sans-serif; overscroll-behavior: none; }
button { font-family: inherit; cursor: pointer; }
input { font-family: inherit; }
.gizli { display: none !important; }

.giris { min-height: 100%; display: grid; place-items: center; padding: 1.2rem; }
.giris-kutu { width: min(100%, 22rem); padding: 1.5rem; border-radius: 1.3rem; background: #123f7a; box-shadow: 0 10px 40px #0007; display: grid; gap: .9rem; }
.giris-kutu .logo { width: 4rem; height: 4rem; margin: 0 auto; border-radius: 1rem; }
.giris-kutu h1 { margin: 0; text-align: center; font-size: 1.7rem; }
.giris-kutu label { display: grid; gap: .3rem; font-size: .95rem; font-weight: 700; color: #dbe9ff; }
.giris-kutu input { width: 100%; min-height: 3.3rem; padding: 0 1rem; font-size: 1.3rem; border-radius: .9rem; border: 2px solid #5b95db; background: #0b2a55; color: #fff; }
.giris-kutu button { min-height: 3.6rem; font-size: 1.3rem; font-weight: 800; color: #fff; background: var(--yesil); border: 0; border-radius: 1rem; }
.hata { min-height: 1.3rem; text-align: center; color: #ffc9c9; font-weight: 700; }

.uyg { height: 100%; display: flex; flex-direction: column; padding-top: env(safe-area-inset-top); background: var(--zemin); color: var(--yazi); }
.ust { display: flex; align-items: center; gap: .6rem; padding: .7rem .8rem; background: var(--lacivert); color: #fff; }
.baslik { flex: 1; min-width: 0; }
.baslik b { display: block; font-size: 1.3rem; font-weight: 800; }
.baslik small { display: block; font-size: .95rem; color: #bcd5f5; }
.ikinci, .konum { min-height: 2.8rem; padding: 0 .9rem; font-size: .95rem; font-weight: 800; color: #fff; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28); border-radius: .8rem; }
.konum.acik { background: var(--yesil); border-color: var(--yesil); }
.konum-uyari { background: #fff4de; color: #7a4b00; padding: .6rem .9rem; font-weight: 700; font-size: .95rem; border-bottom: 1px solid #f5d08a; }

.liste { flex: 1; overflow-y: auto; padding: .8rem; display: grid; gap: .8rem; align-content: start; }
.bos { text-align: center; color: var(--soluk); padding: 3rem 1rem; font-size: 1.1rem; }
.kart { background: #fff; border: 1px solid #d5dde9; border-left: 6px solid #94a3b8; border-radius: 1rem; padding: .9rem; display: grid; gap: .5rem; box-shadow: 0 2px 8px rgba(15,35,70,.1); }
.kart.d-hazir { border-left-color: var(--sari); }
.kart.d-yolda { border-left-color: var(--yesil); }
.ust-s { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.ust-s b { font-size: 1.3rem; }
.kaynak { background: #e8edf5; font-size: .8rem; font-weight: 800; padding: .15rem .6rem; border-radius: 1rem; }
.ust-s em { margin-left: auto; font-style: normal; font-weight: 800; color: var(--soluk); font-size: .9rem; }
.kim { font-size: 1.15rem; font-weight: 800; }
.adres { font-size: 1.1rem; line-height: 1.35; }
.not { background: #fff4de; color: #7a4b00; border: 1px solid #f5d08a; border-radius: .6rem; padding: .4rem .6rem; font-weight: 700; }
.urun { list-style: none; margin: 0; padding: .5rem 0; border-top: 1px dashed #d5dde9; border-bottom: 1px dashed #d5dde9; display: grid; gap: .2rem; font-size: 1.02rem; }
.urun small { display: block; color: var(--soluk); margin-left: 1.5rem; }
.od { display: inline-block; font-weight: 800; padding: .3rem .7rem; border-radius: 1rem; font-size: .95rem; }
.od.online { background: #e4f5ea; color: #0e7a49; }
.od.kapida { background: #fff4de; color: #92400e; }
.satir { display: flex; gap: .6rem; }
.ikon { flex: 1; text-align: center; text-decoration: none; padding: .8rem; font-weight: 800; color: var(--lacivert); background: #e8edf5; border-radius: .8rem; }
.yola, .teslim, .beklet { min-height: 3.6rem; font-size: 1.2rem; font-weight: 800; color: #fff; border: 0; border-radius: 1rem; }
.yola { background: var(--mavi); }
.teslim { background: var(--yesil); }
.beklet { background: #c3cddc; color: #5b6b82; }
.bitti { text-align: center; padding: .8rem; border-radius: .8rem; background: #e4f5ea; color: #0e7a49; font-weight: 800; }

.alt-sayfa { position: fixed; inset: 0; background: rgba(0,0,0,.55); display: flex; align-items: flex-end; z-index: 10; }
.alt-kutu { width: 100%; background: #fff; color: var(--yazi); border-radius: 1.3rem 1.3rem 0 0; padding: 1.2rem; display: grid; gap: .8rem; padding-bottom: calc(1.2rem + env(safe-area-inset-bottom)); }
.alt-kutu h2 { margin: 0; }
.ts-ozet { margin: 0; font-size: 1.1rem; }
.ts-secim { display: grid; gap: .6rem; }
.ts-secim .ok, .ts-secim .mavi { min-height: 3.6rem; font-size: 1.2rem; font-weight: 800; color: #fff; border: 0; border-radius: 1rem; }
.ts-secim .ok { background: var(--yesil); }
.ts-secim .mavi { background: var(--mavi); }
.vazgec { min-height: 3rem; font-size: 1.05rem; font-weight: 700; background: #e8edf5; color: var(--yazi); border: 0; border-radius: 1rem; }
.toast { position: fixed; left: 1rem; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); padding: .9rem 1rem; text-align: center; font-weight: 800; background: #14325c; color: #fff; border-radius: .9rem; z-index: 20; }
.toast.hata { background: var(--kirmizi); }
.toast.yeni { background: var(--yesil); }
.adres-link { display: block; text-align: center; color: #bcd5f5; font-size: .95rem; padding: .3rem; }

.kart.d-atandi{border-left-color:#e0a000}.teklif{display:grid;grid-template-columns:1fr 1fr;gap:.6rem}.kabul{background:var(--yesil)}.ret{background:#e8edf5;color:var(--yazi)}.teklif button{min-height:3.4rem;font-size:1.15rem;font-weight:800;border:0;border-radius:1rem;color:#fff}.teklif .ret{color:var(--yazi)}
