:root {
  --bg-start: #eaf2ff;
  --bg-mid: #f2f8f0;
  --bg-end: #f6eaff;
  --text: #123a32;
  --muted: #6c7a78;
  --surface: #ffffffee;
  --outline: #dbe6f5;
  --primary: #09a7ff;
  --primary-dark: #017dd1;
  --primary-grad-a: #22d3ff;
  --primary-grad-b: #008cff;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: radial-gradient(120% 120% at 0% 0%, var(--bg-start) 0%, #fff 35%, var(--bg-mid) 70%, var(--bg-end) 100%);
}

#app {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.phone {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 16px 16px 24px;
}

.header-logo {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; margin: 12px 0 8px; width: 100%;
}

.logo-mark {
  width: 28px; height: 28px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center;
}
.logo-img { width: 40px; height: 40px; object-fit: contain; display: block; image-rendering: -webkit-optimize-contrast; }

.brand { display: none; }

h1, h2, h3 { margin: 0 0 8px; }
.title { font-size: 22px; letter-spacing: .3px; }
.subtitle { color: var(--muted); font-size: 14px; }

.big-illustration { text-align: center; margin: 8px 0 24px; }
.hero-img { display:block; margin: 0 auto; max-width: 80%; height: auto; }

.card { background: var(--surface); border: 1px solid var(--outline); border-radius: 18px; padding: 14px; box-shadow: 0 6px 18px rgba(0,0,0,.05); }
.card + .card { margin-top: 12px; }

.btn {
  display: block; width: 100%; border: 0; border-radius: 22px; padding: 16px 18px; font-size: 16px; font-weight: 700;
  color: #fff; cursor: pointer;
  background: linear-gradient(180deg, var(--primary-grad-a), var(--primary-grad-b));
  box-shadow: 0 8px 0 rgba(0,0,0,.08) inset, 0 6px 18px rgba(0,140,255,.25);
}
.btn.secondary { color: var(--text); background: #fff; border: 2px solid #aee8ff; box-shadow: none; }
.btn:active { transform: translateY(1px); }

.actions { margin-top: 16px; display: grid; gap: 12px; }

.input { width: 100%; border-radius: 14px; border: 1.5px solid var(--outline); padding: 14px 14px; font-size: 16px; background: #fff; }
.input:focus { outline: none; border-color: #b9d9ff; box-shadow: 0 0 0 3px rgba(34, 211, 255, .2); }

.row { display: flex; gap: 12px; align-items: center; }
.row.center { justify-content: center; }
.space { height: 12px; }

.toggle { appearance: none; width: 42px; height: 26px; background: #dfe7ef; border-radius: 26px; position: relative; outline: none; cursor: pointer; }
.toggle:after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; background: #fff; border-radius: 50%; box-shadow: 0 2px 6px rgba(0,0,0,.15); transition: transform .2s ease; }
.toggle:checked { background: #b7e7ff; }
.toggle:checked:after { transform: translateX(16px); }

.link { color: var(--primary-dark); text-decoration: none; font-weight: 600; }
.muted { color: var(--muted); font-size: 12px; }

/* Home */
.greeting { display: flex; align-items: center; gap: 10px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 1px solid var(--outline); display: grid; place-items: center; font-weight: 700; }

.search { position: relative; }
.search input { padding-left: 40px; }
.search .icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); opacity: .5; }

.promo { background: #0db2ff; color: #00233b; border-radius: 16px; padding: 16px; }
.promo .btn { background: #fff; color: #0b77c8; box-shadow: none; font-weight: 700; }

.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.category { text-align: center; padding: 16px; border-radius: 16px; border: 1px solid var(--outline); background: #fff; }
.category img { width: 64px; height: auto; display:block; margin: 0 auto 8px; }

.bottom-bar { position: sticky; bottom: 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; background: transparent; padding-top: 8px; width: 100%; }
.pill { background: #fff; border: 1px solid var(--outline); border-radius: 16px; padding: 12px; text-align: center; cursor: pointer; transition: all .15s ease; width: 100%; }
.pill.active { border-color: #b9d9ff; box-shadow: 0 0 0 2px rgba(34, 211, 255, .25); }

/* Slider section */
.slider-wrap { background: rgba(255,255,255,.6); padding: 16px; border-radius: 16px; border: 1px solid var(--outline); }
.price { font-size: 28px; font-weight: 800; text-align: center; }

/* Date/time select */
.chips { display: grid; grid-auto-flow: column; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.chip { position: relative; padding: 10px 14px; background: #fff; border: 1px solid var(--outline); border-radius: 999px; min-width: 56px; text-align: center; cursor: pointer; }
.chip.active { background: #e6f5ff; border-color: #bde6ff; }
.chip input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

.footer-space { height: 24px; }

/* Small helpers */
.center { text-align: center; }
.back { cursor: pointer; opacity: .95; width: 32px; height: 32px; border-radius: 50%; background: #22d3ff; color: #fff; display: grid; place-items: center; font-weight: 800; box-shadow: 0 4px 10px rgba(0,140,255,.2); }
.bottom-bar a.pill { text-decoration: none; color: inherit; display: block; }
