:root {
  --bg: #f5f7fa;
  --surface: #ffffff;
  --ink: #2d3748;
  --soft-ink: #5f6f86;
  --brand: #4a9eff;
  --brand-strong: #2d5a8c;
  --brand-soft: #eaf3ff;
  --accent: #38b169;
  --warn: #9b3d00;
  --border: rgba(44, 82, 130, 0.12);
  --ok: #0b7a3f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Montserrat", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 12%, rgba(74, 158, 255, 0.14) 0, transparent 34%),
    radial-gradient(circle at 88% 84%, rgba(56, 177, 105, 0.12) 0, transparent 30%),
    repeating-linear-gradient(135deg, rgba(45, 90, 140, 0.04) 0 2px, transparent 2px 12px),
    linear-gradient(180deg, #fafcff, var(--bg));
  min-height: 100vh;
  padding-bottom: 48px;
}

main {
  width: min(980px, 94vw);
  margin: 24px auto 56px;
}

.landing-topbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(9, 32, 52, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero {
  text-align: center;
  padding: 42px 26px;
  position: relative;
  overflow: hidden;
}

.hero-panel {
  background: linear-gradient(180deg, #ffffff 0%, #f6fbff 56%, #eef8fb 100%);
  color: orange
    margin-bottom: 8px;
  
}

.brand-logo {
  width: min(340px, 85%);
  height: auto;
  object-fit: contain;
  margin: 0 auto 12px;
  display: block;
}

.hero::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(74, 158, 255, 0.2), rgba(74, 158, 255, 0));
  top: -80px;
  right: -70px;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(56, 177, 105, 0.2), rgba(56, 177, 105, 0));
  left: -70px;
  bottom: -60px;
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-strong);
  font-weight: 700;
}

.hero-actions {
  justify-content: center;
  margin: 20px 0 10px;
  flex-wrap: wrap;
}

.jumbo-actions .btn-large {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  padding: 20px 34px;
  min-width: 260px;
}

.btn-large {
  display: inline-block;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 15px 26px;
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  box-shadow: 0 10px 22px rgba(0, 95, 112, 0.24);
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.secondary-cta {
  background: linear-gradient(135deg, #12733f, #0a5e32);
}

.btn-large:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 95, 112, 0.3);
}

.quick-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 10px 0 14px;
}

.quick-facts span {
  display: inline-block;
  background: linear-gradient(180deg, #f5fdff, #eaf6f8);
  color: #084e59;
  border: 1px solid #cae8ed;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 0.86rem;
}

.hero-photo-row {
  margin-top: 16px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-photo-row img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #cde2ea;
  box-shadow: 0 8px 20px rgba(9, 32, 52, 0.1);
}

.feature-grid {
  display: grid;
  gap: 14px;
  margin-top: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-item h2 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.feature-item p {
  margin: 0;
  color: var(--soft-ink);
}

.feature-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(9, 32, 52, 0.1);
}

.link-actions {
  justify-content: center;
  gap: 14px;
}

.btn-link {
  color: var(--brand-strong);
  font-weight: 600;
  text-decoration: none;
  background: #f0f8fa;
  border: 1px solid #cde7ec;
  border-radius: 999px;
  padding: 8px 14px;
}

.top-login {
  box-shadow: 0 5px 14px rgba(45, 90, 140, 0.2);
}

.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  text-align: center;
  color: var(--soft-ink);
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  padding: 10px 14px;
  background: rgba(245, 247, 250, 0.95);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(6px);
}

.btn-link:hover {
  text-decoration: underline;
}

h1,
h2,
h3 {
  margin-top: 0;
}

h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: 0.02em;
}

.subhead {
  color: var(--soft-ink);
  margin-bottom: 16px;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

label {
  display: block;
  font-size: 0.9rem;
  color: var(--soft-ink);
  margin-bottom: 6px;
}

input,
select,
button,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 11px;
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #70becc;
  box-shadow: 0 0 0 3px rgba(112, 190, 204, 0.24);
}

textarea {
  min-height: 84px;
  resize: vertical;
}

button {
  background: var(--brand);
  color: #fff;
  border: none;
  font-weight: 600;
  cursor: pointer;
}

button:hover {
  background: var(--brand-strong);
}

button.secondary {
  background: #e8eef5;
  color: var(--ink);
}

button.secondary:hover {
  background: #d8e2ed;
}

.actions {
  display: flex;
  gap: 10px;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 9px;
}

.checkbox-row input {
  width: auto;
}

.checkbox-row label {
  margin: 0;
  color: var(--ink);
}

.status {
  font-size: 0.9rem;
  margin-top: 8px;
  color: var(--soft-ink);
}

.status.ok {
  color: var(--ok);
}

.status.warn {
  color: var(--warn);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  background: linear-gradient(180deg, #ffffff, #f7fbfd);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  background: #e5f4f6;
  color: #045b69;
}

.list {
  display: grid;
  gap: 10px;
}

.job {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  background: #fcfeff;
}

.job small {
  display: block;
  color: var(--soft-ink);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(18, 33, 51, 0.55);
  display: grid;
  place-items: center;
  padding: 16px;
}

.modal-card {
  width: min(760px, 96vw);
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(9, 32, 52, 0.35);
  padding: 16px;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.hidden {
  display: none;
}

pre {
  white-space: pre-wrap;
  font-size: 0.88rem;
  background: #f7fafc;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px;
}

@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero-photo-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .actions {
    flex-direction: column;
  }

  .jumbo-actions .btn-large {
    min-width: 100%;
  }
}

.admin-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tab-btn.active {
  background: var(--brand);
  color: #fff;
}

.admin-panel h3,
.admin-panel h4 {
  margin-bottom: 8px;
}

.address-field {
  position: relative;
}

.address-suggestions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 220px;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 22px rgba(9, 32, 52, 0.14);
  z-index: 20;
}

.address-item {
  width: 100%;
  border: none;
  background: #fff;
  text-align: left;
  color: var(--ink);
  border-bottom: 1px solid #edf2f7;
  padding: 8px 11px;
  cursor: pointer;
  display: grid;
  gap: 3px;
}

.address-item:last-child {
  border-bottom: none;
}

.address-item:hover {
  background: #f1f8fb;
}

.address-main {
  font-weight: 600;
  line-height: 1.25;
}

.address-meta {
  font-size: 12px;
  color: var(--soft-ink);
}

.address-item-typed {
  background: #eefaf3;
}

.address-item-typed:hover {
  background: #dff5e8;
}

.address-chip {
  justify-self: start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #116a3b;
  background: #d9efdf;
  border-radius: 999px;
  padding: 3px 7px;
}

.location-panel {
  margin-top: 14px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.taxi-map {
  width: 100%;
  min-height: 320px;
  border-radius: 10px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: #eef4f8;
}

.history-list {
  margin-top: 10px;
  max-height: 220px;
  overflow: auto;
  display: grid;
  gap: 8px;
}

.history-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px;
  background: #fbfdff;
}

.history-item small {
  display: block;
  color: var(--soft-ink);
}
