/*! Websetu Demo — © 2026 KHL. All rights reserved. Made by KHL. */
/* Live tracking (customer) + rider app shared styles */
.track-page { min-height: 100vh; }
.tk-head { position: sticky; top: 0; z-index: 500; display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: rgba(255,255,255,.88); backdrop-filter: blur(12px); box-shadow: 0 4px 18px rgba(214,40,111,.08); }
.tk-head .logo { width: 36px; height: 36px; font-size: 18px; }
.tk-back { text-decoration: none; font-size: 22px; font-weight: 800; padding: 4px 8px; border-radius: 10px; }
.tk-live { font: 700 12px 'Fredoka', sans-serif; color: #fff; background: #ef4444; padding: 4px 10px; border-radius: 99px; display: inline-flex; align-items: center; gap: 6px; }
.tk-live .live-dot { background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.3); }
.tk-wrap { display: grid; grid-template-columns: 1fr; position: relative; z-index: 1; }
#map { height: 46vh; min-height: 300px; background: #f3eef6; }
.tk-sheet { background: #fff; border-radius: 28px 28px 0 0; margin-top: -28px; position: relative; z-index: 400; padding: 18px 16px 40px; box-shadow: 0 -10px 30px rgba(59,29,58,.10); }
.tk-sheet::before { content: ''; display: block; width: 46px; height: 5px; border-radius: 9px; background: #ead7e4; margin: -6px auto 14px; }
@media (min-width: 920px) {
  .tk-wrap { grid-template-columns: 1fr 440px; height: calc(100vh - 58px); }
  #map { height: 100%; }
  .tk-sheet { margin: 0; border-radius: 0; overflow: auto; box-shadow: -10px 0 30px rgba(59,29,58,.08); }
  .tk-sheet::before { display: none; }
}
.tk-status { display: flex; gap: 14px; align-items: center; }
.tk-status .ic { width: 62px; height: 62px; border-radius: 20px; display: grid; place-items: center; font-size: 32px; background: var(--soft); flex-shrink: 0; }
.tk-status h1 { font-size: 24px; margin: 0; }
.tk-eta { font: 700 34px 'Fredoka', sans-serif; color: var(--pink-d); line-height: 1; }
.tk-eta small { font-size: 15px; color: var(--muted); font-family: 'Nunito', sans-serif; font-weight: 700; }
.tk-bar { height: 10px; background: #f6e3ee; border-radius: 9px; overflow: hidden; margin: 14px 0 4px; }
.tk-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--pink), var(--grape)); border-radius: 9px; transition: width .6s; }
.tk-card { border: 2px solid var(--line); border-radius: 22px; padding: 14px; margin-top: 14px; background: #fff; }
.tk-rider { display: flex; gap: 12px; align-items: center; }
.tk-av { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-size: 32px; background: radial-gradient(circle at 32% 26%, #fff 0 10%, #c9f6ea 30%, var(--mint) 100%); box-shadow: 0 4px 0 var(--mint-d); flex-shrink: 0; }
.tk-plate { display: inline-block; font: 700 12px 'Courier New', monospace; background: #fff7d6; border: 2px solid #f2d36b; border-radius: 6px; padding: 1px 6px; letter-spacing: .05em; }
.tk-otp { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: linear-gradient(135deg, #fff1f8, #f3edff); border-color: #f2c6dd; }
.tk-otp b { font: 700 34px 'Fredoka', sans-serif; letter-spacing: .25em; color: var(--ink); }
.tk-steps { list-style: none; padding: 0; margin: 6px 0 0; }
.tk-steps li { display: flex; gap: 12px; align-items: flex-start; position: relative; padding-bottom: 14px; color: var(--muted); }
.tk-steps li::before { content: ''; position: absolute; left: 15px; top: 32px; bottom: 0; width: 3px; background: #f1dbe8; border-radius: 3px; }
.tk-steps li:last-child::before { display: none; }
.tk-steps li .d { width: 33px; height: 33px; border-radius: 50%; background: #f6eaf1; display: grid; place-items: center; font-size: 16px; flex-shrink: 0; filter: grayscale(1); opacity: .6; }
.tk-steps li.done { color: var(--ink); } .tk-steps li.done .d { background: #dcfbf2; filter: none; opacity: 1; }
.tk-steps li.done::before { background: var(--mint); }
.tk-steps li.cur .d { background: var(--pink); box-shadow: 0 0 0 6px #ff4f9a22; filter: none; opacity: 1; animation: pulse 1.6s infinite; }
.tk-steps li .t { font-weight: 700; } .tk-steps li .tm { font-size: 12px; color: var(--muted); }
.stars { display: flex; gap: 6px; justify-content: center; margin: 8px 0; }
.stars button { font-size: 36px; background: none; border: 0; cursor: pointer; filter: grayscale(1) opacity(.4); transition: transform .15s; padding: 0; }
.stars button.on { filter: none; transform: scale(1.1); }
/* map markers */
.mk { display: grid; place-items: center; border-radius: 50%; font-size: 22px; background: #fff; border: 3px solid #fff; box-shadow: 0 6px 16px rgba(59,29,58,.3); }
.mk.store { background: radial-gradient(circle at 32% 26%, #fff 0 10%, #ffc2dc 30%, #ff4f9a 100%); }
.mk.home { background: radial-gradient(circle at 32% 26%, #fff 0 10%, #d4f0ff 30%, #5cc8ff 100%); }
.mk.rider { background: radial-gradient(circle at 32% 26%, #fff 0 10%, #fff2bf 30%, #ffd23f 100%); font-size: 26px; animation: bounce 1s ease-in-out infinite; }
.mk.rider::after { content: ''; position: absolute; inset: -10px; border-radius: 50%; border: 3px solid #ffd23f; animation: ring 1.6s ease-out infinite; }
@keyframes bounce { 50% { transform: translateY(-4px); } }
@keyframes ring { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.leaflet-container { font-family: 'Nunito', sans-serif; }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 900; overflow: hidden; }
.confetti i { position: absolute; top: -20px; width: 10px; height: 16px; border-radius: 3px; animation: fall 2.6s ease-in forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(720deg); } }

/* rider app */
.rd { max-width: 520px; margin: 0 auto; padding: 14px 14px 90px; position: relative; z-index: 1; }
.rd-top { display: flex; align-items: center; gap: 12px; }
.rd-toggle { display: flex; align-items: center; gap: 8px; background: #fff; border: 2px solid var(--line); border-radius: 99px; padding: 6px 12px; font-weight: 800; cursor: pointer; }
.rd-toggle i { width: 34px; height: 20px; border-radius: 99px; background: #ddd; position: relative; transition: .2s; }
.rd-toggle i::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: .2s; }
.rd-toggle.on i { background: var(--mint); } .rd-toggle.on i::after { left: 16px; }
.rd-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0; }
.rd-tiles div { background: #fff; border-radius: 18px; padding: 12px; text-align: center; border: 2px solid var(--line); }
.rd-tiles b { display: block; font: 700 22px 'Fredoka', sans-serif; }
.rd-order { background: #fff; border-radius: 24px; border: 2px solid var(--line); box-shadow: 0 6px 0 var(--line); padding: 14px; margin-bottom: 14px; }
.rd-order .acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.rd-tabbar { position: fixed; bottom: 0; left: 0; right: 0; display: flex; background: #fff; border-top: 2px solid var(--line); z-index: 50; }
.rd-tabbar button { flex: 1; padding: 10px 4px 12px; border: 0; background: none; font: 700 13px 'Fredoka', sans-serif; color: var(--muted); cursor: pointer; }
.rd-tabbar button.on { color: var(--pink-d); }
.rd-tabbar button span { display: block; font-size: 22px; }
.rd-map { height: 200px; border-radius: 18px; overflow: hidden; margin-top: 10px; border: 2px solid var(--line); }

/* OSM tiles thode soft + pastel, candy look ke saath match */
.tiles-soft { filter: saturate(.75) brightness(1.04) hue-rotate(-8deg); }
