:root {
    --ink: #101217;
    --muted: #68707c;
    --acid: #baff24;
    --acid-soft: #ecffc5;
    --blue: #1473ff;
    --green: #25b86b;
    --danger: #a02c21;
    --line: rgba(16, 18, 23, .11);
    --glass: rgba(255, 255, 255, .83);
    --shadow: 0 24px 65px rgba(27, 34, 20, .16);
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
}

body {
    overflow: hidden;
    background: #e9ede5;
    color: var(--ink);
    font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select,
textarea {
    color: inherit;
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.hidden {
    display: none !important;
}

.boot-screen {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 10px;
    background: radial-gradient(circle at 50% 35%, #edffbd, transparent 32%), #f5f7f2;
}

.boot-mark,
.auth-brand span {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 19px;
    background: var(--acid);
    font-size: 22px;
    box-shadow: 0 16px 34px rgba(129, 188, 25, .23);
}

.boot-screen strong {
    font-size: 18px;
    letter-spacing: -.5px;
}

.boot-screen i {
    width: 80px;
    height: 3px;
    margin-top: 14px;
    overflow: hidden;
    border-radius: 99px;
    background: #dfe4da;
}

.boot-screen i::after {
    display: block;
    width: 40%;
    height: 100%;
    border-radius: inherit;
    background: var(--ink);
    content: "";
    animation: boot 1s infinite ease-in-out;
}

@keyframes boot {
    from { transform: translateX(-110%); }
    to { transform: translateX(260%); }
}

.app {
    position: fixed;
    inset: 0;
    overflow: hidden;
}

#map {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: #dfe5db;
}

.map-tint {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(242, 247, 239, .22), transparent 35%, rgba(237, 241, 233, .16));
}

.leaflet-control-attribution {
    display: none;
}

.glass {
    border: 1px solid rgba(255, 255, 255, .9);
    background: var(--glass);
    box-shadow: var(--shadow);
    backdrop-filter: blur(28px) saturate(155%);
    -webkit-backdrop-filter: blur(28px) saturate(155%);
}

.topbar {
    position: absolute;
    top: max(14px, env(safe-area-inset-top));
    right: 14px;
    left: 14px;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    padding: 8px 9px;
    border-radius: 22px;
}

.round-button,
.profile,
.locate {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    background: rgba(16, 18, 23, .06);
    cursor: pointer;
}

.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 850;
    letter-spacing: -.2px;
}

.brand span {
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    border-radius: 10px;
    background: var(--acid);
}

.profile {
    position: relative;
    background: var(--ink);
    color: white;
    font-size: 10px;
    font-weight: 800;
}

.profile i {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 11px;
    height: 11px;
    border: 2px solid white;
    border-radius: 50%;
    background: #31cb72;
}

.location-chip {
    position: absolute;
    top: calc(max(14px, env(safe-area-inset-top)) + 70px);
    left: 14px;
    z-index: 65;
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: calc(100% - 90px);
    padding: 9px 12px;
    border-radius: 14px;
    color: #4f5761;
    font-size: 9px;
    font-weight: 700;
}

.location-chip i {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 4px rgba(37, 184, 107, .12);
}

.location-chip i.loading {
    background: #ffb21a;
    box-shadow: 0 0 0 4px rgba(255, 178, 26, .14);
}

.locate {
    position: absolute;
    right: 14px;
    bottom: min(490px, 53dvh);
    z-index: 65;
    font-size: 23px;
}

.booking-sheet {
    position: absolute;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 10px;
    z-index: 70;
    max-height: 69dvh;
    overflow: auto;
    padding: 10px 17px 18px;
    border-radius: 29px;
    scrollbar-width: none;
}

.booking-sheet::-webkit-scrollbar {
    display: none;
}

.handle {
    display: block;
    width: 38px;
    height: 4px;
    margin: 0 auto 13px;
    border-radius: 99px;
    background: rgba(16, 18, 23, .15);
}

.booking-head,
.section-title,
.food-total,
.order-status-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.eyebrow {
    margin: 0 0 4px;
    color: #5e7422;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1.1px;
}

.booking-head h1 {
    margin: 0;
    font-size: 27px;
    line-height: 1;
    letter-spacing: -1.4px;
}

.trust-badge {
    padding: 7px 9px;
    border-radius: 11px;
    background: var(--acid-soft);
    font-size: 9px;
    font-weight: 850;
}

.route-box {
    position: relative;
    margin: 17px 0;
    padding: 4px 10px;
    border: 1px solid var(--line);
    border-radius: 19px;
    background: rgba(255, 255, 255, .75);
}

.route-box button {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 15px 1fr 18px;
    align-items: center;
    gap: 9px;
    width: 100%;
    min-height: 52px;
    padding: 8px 2px;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.route-box button:first-child {
    border-bottom: 1px solid var(--line);
}

.route-box small,
.route-summary small,
.checkout-summary small,
.driver-card small,
.pins-card small,
.food-preview small {
    display: block;
    color: var(--muted);
    font-size: 7px;
    font-weight: 800;
    text-transform: uppercase;
}

.route-box strong {
    display: block;
    overflow: hidden;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pickup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--blue);
}

.destination-square {
    width: 10px;
    height: 10px;
    border: 2px solid var(--ink);
}

.route-connector {
    position: absolute;
    top: 48px;
    left: 16px;
    z-index: 1;
    height: 23px;
    border-left: 1px dashed #9aa09a;
}

.section-title {
    margin: 14px 0 9px;
}

.section-title h2 {
    margin: 0;
    font-size: 13px;
}

.section-title span {
    color: var(--muted);
    font-size: 8px;
}

.services,
.restaurant-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: none;
}

.services::-webkit-scrollbar,
.restaurant-tabs::-webkit-scrollbar {
    display: none;
}

.service {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 148px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, .72);
    text-align: left;
    cursor: pointer;
}

.service.active {
    border-color: var(--ink);
    background: var(--ink);
    color: white;
}

.service i {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    border-radius: 12px;
    background: var(--acid);
    color: var(--ink);
    font-style: normal;
}

.service strong,
.service small {
    display: block;
}

.service strong {
    font-size: 10px;
}

.service small {
    margin-top: 1px;
    color: #7a818a;
    font-size: 7px;
}

.service.active small {
    color: #b6bbc3;
}

.food-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    padding: 12px;
    border-radius: 16px;
    background: #fff4d8;
}

.food-preview strong,
.food-preview span {
    display: block;
}

.food-preview strong {
    font-size: 10px;
}

.food-preview span {
    margin-top: 2px;
    color: var(--muted);
    font-size: 8px;
}

.food-preview button {
    border: 0;
    background: transparent;
    font-size: 9px;
    font-weight: 850;
}

.route-summary {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 8px;
    margin-top: 12px;
}

.route-summary > div {
    padding: 11px;
    border-radius: 15px;
    background: rgba(16, 18, 23, .05);
}

.route-summary strong {
    display: block;
    margin-top: 4px;
    font-size: 11px;
}

.fare-control {
    display: grid;
    grid-template-columns: 30px 1fr 30px;
    align-items: center;
    gap: 4px;
    margin-top: 3px;
}

.fare-control button {
    height: 30px;
    border: 0;
    border-radius: 9px;
    background: white;
    font-weight: 800;
}

.fare-control strong {
    margin: 0;
    text-align: center;
}

.primary,
.secondary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 52px;
    padding: 0 17px;
    border: 0;
    border-radius: 16px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 850;
    cursor: pointer;
}

.primary {
    margin-top: 13px;
    background: var(--acid);
    color: var(--ink);
    box-shadow: 0 13px 26px rgba(120, 177, 23, .18);
}

.primary:disabled {
    opacity: .42;
    cursor: not-allowed;
}

.secondary {
    justify-content: center;
    margin-top: 9px;
    background: #e9ece6;
}

.secondary.danger {
    color: var(--danger);
    background: #ffe3df;
}

.error-text {
    margin: 10px 0 0;
    padding: 10px 11px;
    border-radius: 12px;
    background: #ffe4e0;
    color: var(--danger);
    font-size: 9px;
    line-height: 1.45;
}

.full-panel {
    position: fixed;
    inset: 0;
    z-index: 300;
    overflow: auto;
    padding: max(18px, env(safe-area-inset-top)) 16px max(30px, env(safe-area-inset-bottom));
    background: rgba(246, 248, 244, .96);
    backdrop-filter: blur(30px);
}

.full-panel > header {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding: 7px;
    border: 1px solid white;
    border-radius: 18px;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 13px 35px rgba(30, 37, 24, .08);
    backdrop-filter: blur(20px);
}

.full-panel header small,
.full-panel header strong {
    display: block;
}

.full-panel header small {
    color: #627728;
    font-size: 7px;
    font-weight: 900;
    letter-spacing: 1px;
}

.full-panel header strong {
    font-size: 13px;
}

.search-input {
    display: grid;
    grid-template-columns: 22px 1fr 35px;
    align-items: center;
    gap: 5px;
    max-width: 760px;
    margin: 0 auto;
    padding: 6px 8px 6px 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: white;
}

.search-input input {
    height: 46px;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 12px;
}

.search-input button {
    width: 35px;
    height: 35px;
    border: 0;
    border-radius: 10px;
    background: #eef0ec;
}

.location-row {
    display: flex;
    align-items: center;
    gap: 12px;
    width: min(760px, 100%);
    margin: 12px auto;
    padding: 13px;
    border: 0;
    border-radius: 17px;
    background: var(--acid-soft);
    text-align: left;
}

.location-row > span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--acid);
    font-size: 20px;
}

.location-row div {
    flex: 1;
}

.location-row strong,
.location-row small {
    display: block;
}

.location-row strong {
    font-size: 10px;
}

.location-row small {
    color: var(--muted);
    font-size: 8px;
}

.results-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(760px, 100%);
    margin: 22px auto 9px;
    font-size: 11px;
}

.loader {
    width: 15px;
    height: 15px;
    border: 2px solid #d8ddd4;
    border-top-color: var(--ink);
    border-radius: 50%;
    animation: spin .7s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.search-results {
    display: grid;
    width: min(760px, 100%);
    margin: auto;
}

.place-row {
    display: grid;
    grid-template-columns: 40px 1fr 20px;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 3px;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
    text-align: left;
}

.place-row > span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: white;
}

.place-row strong,
.place-row small {
    display: block;
}

.place-row strong {
    font-size: 10px;
}

.place-row small {
    overflow: hidden;
    color: var(--muted);
    font-size: 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.restaurant-tabs {
    margin-bottom: 14px;
}

.restaurant-tabs button {
    flex: 0 0 auto;
    padding: 10px 13px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: white;
    font-size: 9px;
    font-weight: 800;
}

.restaurant-tabs button.active {
    border-color: var(--ink);
    background: var(--ink);
    color: white;
}

.food-products {
    display: grid;
    gap: 9px;
    max-width: 760px;
    margin: auto;
}

.food-product {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid white;
    border-radius: 17px;
    background: white;
    box-shadow: 0 10px 25px rgba(30, 37, 24, .05);
}

.food-product strong,
.food-product small,
.food-product span {
    display: block;
}

.food-product strong {
    font-size: 11px;
}

.food-product small {
    margin: 2px 0 5px;
    color: var(--muted);
    font-size: 8px;
}

.food-product span {
    color: #4d6521;
    font-size: 9px;
    font-weight: 800;
}

.quantity {
    display: grid;
    grid-template-columns: 31px 24px 31px;
    align-items: center;
    text-align: center;
}

.quantity button {
    height: 31px;
    border: 0;
    border-radius: 9px;
    background: #edf0ea;
    font-weight: 850;
}

.custom-food {
    display: grid;
    gap: 6px;
    max-width: 760px;
    margin: 15px auto 0;
    font-size: 9px;
    font-weight: 800;
}

.custom-food textarea {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 15px;
    resize: vertical;
    outline: 0;
}

.food-total {
    max-width: 760px;
    margin: 15px auto 0;
    padding: 14px;
    border-radius: 16px;
    background: #eaffbd;
    font-size: 9px;
}

.food-total strong {
    font-size: 17px;
}

#foodPanel > .primary {
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: grid;
    place-items: end center;
    padding: 12px;
    background: rgba(11, 13, 17, .35);
    backdrop-filter: blur(11px);
}

.modal-card {
    width: min(620px, 100%);
    max-height: 92dvh;
    overflow: auto;
    padding: 21px;
    border-radius: 28px;
}

.modal-card > header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.modal-card h2 {
    margin: 0;
    font-size: 24px;
    letter-spacing: -1px;
}

.checkout-summary {
    display: grid;
    grid-template-columns: 45px 1fr auto;
    align-items: center;
    gap: 10px;
    margin: 16px 0;
    padding: 12px;
    border-radius: 16px;
    background: rgba(16, 18, 23, .05);
}

.checkout-summary > span {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    border-radius: 13px;
    background: var(--acid);
}

.checkout-summary strong {
    display: block;
    font-size: 11px;
}

.checkout-summary > b {
    font-size: 16px;
}

#orderForm {
    display: grid;
    gap: 10px;
}

#orderForm label {
    display: grid;
    gap: 5px;
    font-size: 8px;
    font-weight: 800;
}

#orderForm input,
#orderForm select,
#orderForm textarea {
    width: 100%;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: white;
    outline: none;
}

#orderForm textarea {
    resize: vertical;
}

#orderForm fieldset {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 0;
    padding: 0;
    border: 0;
}

#orderForm legend {
    grid-column: 1/-1;
    margin-bottom: 5px;
    font-size: 8px;
    font-weight: 800;
}

.payment {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    padding: 0 11px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: white;
    font-size: 9px;
    font-weight: 800;
}

.payment b {
    opacity: 0;
}

.payment.active {
    border-color: var(--ink);
}

.payment.active b {
    opacity: 1;
}

.active-order {
    position: fixed;
    inset: 0;
    z-index: 450;
    display: flex;
    align-items: flex-end;
    padding: 10px;
    pointer-events: none;
}

.order-map-card {
    width: min(720px, 100%);
    max-height: 72dvh;
    margin: 0 auto;
    overflow: auto;
    padding: 20px;
    border-radius: 29px;
    pointer-events: auto;
    scrollbar-width: none;
}

.order-status-head {
    align-items: flex-start;
}

.order-status-head h2 {
    margin: 0;
    font-size: 23px;
    line-height: 1.05;
    letter-spacing: -1.1px;
}

.order-status-head span {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 9px;
    line-height: 1.45;
}

.order-status-head > strong {
    flex: 0 0 auto;
    padding: 7px 9px;
    border-radius: 10px;
    background: var(--ink);
    color: white;
    font-size: 8px;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
    margin: 17px 0;
}

.timeline span {
    height: 5px;
    border-radius: 99px;
    background: #dce1d8;
}

.timeline span.done {
    background: var(--acid);
}

.timeline span.current {
    background: var(--blue);
}

.driver-card {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    align-items: center;
    gap: 11px;
    padding: 13px;
    border-radius: 18px;
    background: white;
}

.driver-card > span {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: var(--acid);
    font-size: 18px;
    font-weight: 850;
}

.driver-card strong,
.driver-card p {
    display: block;
    margin: 0;
}

.driver-card strong {
    font-size: 11px;
}

.driver-card p {
    color: var(--muted);
    font-size: 8px;
}

.driver-card a {
    padding: 9px 10px;
    border-radius: 11px;
    background: #e8f1ff;
    color: #145cae;
    font-size: 8px;
    font-weight: 850;
    text-decoration: none;
}

.pins-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 10px;
}

.pins-card > div {
    padding: 12px;
    border-radius: 16px;
    background: rgba(16, 18, 23, .05);
}

.pins-card strong {
    display: block;
    margin: 4px 0 2px;
    font-size: 21px;
    letter-spacing: 3px;
}

.pins-card span {
    display: block;
    color: var(--muted);
    font-size: 7px;
    line-height: 1.45;
}

.pins-card .used {
    opacity: .48;
}

.location-notice {
    margin-top: 9px;
    padding: 10px;
    border-radius: 12px;
    background: #fff0c4;
    color: #725300;
    font-size: 8px;
}

.rating-box {
    margin-top: 12px;
    padding: 14px;
    border-radius: 17px;
    background: white;
}

.rating-box h3,
.rating-box p {
    margin: 0;
}

.rating-box h3 {
    font-size: 13px;
}

.rating-box p {
    color: var(--muted);
    font-size: 8px;
}

.rating-stars {
    display: flex;
    gap: 7px;
    margin-top: 10px;
}

.rating-stars button {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 11px;
    background: #edf0ea;
    font-size: 20px;
}

.auth-gate {
    position: fixed;
    inset: 0;
    z-index: 1500;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    background: #f4f6f1;
}

.auth-visual {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(28px, 6vw, 75px);
    background: radial-gradient(circle at 75% 15%, rgba(186, 255, 36, .9), transparent 28%), linear-gradient(145deg, #0c0e12, #20242c);
    color: white;
}

.auth-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 16px;
}

.auth-brand span {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    color: var(--ink);
    font-size: 15px;
}

.auth-visual p {
    margin: 0 0 10px;
    color: var(--acid);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.auth-visual h1 {
    max-width: 700px;
    margin: 0 0 17px;
    font-size: clamp(54px, 7vw, 105px);
    line-height: .9;
    letter-spacing: -6px;
}

.auth-visual div > span {
    display: block;
    max-width: 580px;
    color: #b6bdc8;
    font-size: 13px;
    line-height: 1.7;
}

.auth-card {
    align-self: center;
    width: min(510px, calc(100% - 40px));
    max-height: 94dvh;
    margin: auto;
    overflow: auto;
    padding: clamp(22px, 4vw, 42px);
    border: 1px solid white;
    border-radius: 34px;
    background: rgba(255, 255, 255, .9);
    box-shadow: var(--shadow);
}

.auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    padding: 5px;
    border-radius: 14px;
    background: #edf0ea;
}

.auth-tabs button {
    min-height: 40px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    font-size: 9px;
    font-weight: 800;
}

.auth-tabs button.active {
    background: white;
    box-shadow: 0 5px 13px rgba(30, 36, 24, .08);
}

.auth-form {
    display: grid;
    gap: 11px;
    margin-top: 25px;
}

.auth-form h2 {
    margin: 0;
    font-size: 31px;
    letter-spacing: -1.5px;
}

.auth-form > p {
    margin: -7px 0 4px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.55;
}

.auth-form label {
    display: grid;
    gap: 6px;
    font-size: 9px;
    font-weight: 800;
}

.auth-form input {
    height: 51px;
    padding: 0 13px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: white;
    outline: none;
}

.auth-form input:focus {
    border-color: #79ac13;
    box-shadow: 0 0 0 4px rgba(186, 255, 36, .18);
}

.verification-gate {
    position: fixed;
    inset: 0;
    z-index: 1600;
    display: grid;
    place-items: center;
    padding: 18px;
    background: radial-gradient(circle at 15% 0, #eaffae, transparent 38%), #f1f4ee;
}

.verification-card {
    width: min(620px, 100%);
    padding: clamp(27px, 6vw, 52px);
    border: 1px solid white;
    border-radius: 38px;
    background: rgba(255, 255, 255, .92);
    box-shadow: var(--shadow);
}

.verification-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 28px;
    border-radius: 18px;
    background: var(--acid);
    font-size: 24px;
    font-weight: 850;
}

.verification-card h1 {
    margin: 0;
    font-size: clamp(42px, 9vw, 72px);
    line-height: .93;
    letter-spacing: -3.6px;
}

.verification-card > p:not(.eyebrow) {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.65;
}

.link-button {
    display: block;
    margin: 15px auto 0;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 9px;
    text-decoration: underline;
}

.account-hero {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 760px;
    margin: auto;
    padding: 18px;
    border-radius: 21px;
    background: var(--ink);
    color: white;
}

.account-hero > span {
    display: grid;
    place-items: center;
    width: 57px;
    height: 57px;
    flex: 0 0 auto;
    border-radius: 18px;
    background: var(--acid);
    color: var(--ink);
    font-weight: 850;
}

.account-hero small {
    color: var(--acid);
    font-size: 7px;
    font-weight: 900;
}

.account-hero h2,
.account-hero p {
    margin: 0;
}

.account-hero h2 {
    font-size: 14px;
}

.account-hero p {
    color: #c5cad2;
    font-size: 9px;
}

.account-panel > .section-title,
.history-list,
.account-actions {
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
}

.history-list {
    display: grid;
    gap: 8px;
}

.history-item {
    display: grid;
    grid-template-columns: 42px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 16px;
    background: white;
}

.history-item > span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: var(--acid-soft);
}

.history-item strong,
.history-item small {
    display: block;
}

.history-item strong {
    font-size: 10px;
}

.history-item small {
    color: var(--muted);
    font-size: 7px;
}

.history-item b {
    font-size: 9px;
}

.toast {
    position: fixed;
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
    left: 14px;
    z-index: 3000;
    max-width: 520px;
    margin: auto;
    padding: 13px 15px;
    border-radius: 14px;
    background: var(--ink);
    color: white;
    font-size: 9px;
    font-weight: 750;
    box-shadow: 0 17px 45px rgba(0, 0, 0, .25);
    opacity: 0;
    transform: translateY(90px);
    transition: .24s ease;
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    transform: none;
}

.toast.error {
    background: var(--danger);
}

.driver-marker {
    display: grid !important;
    place-items: center;
    width: 38px !important;
    height: 38px !important;
    border: 4px solid white;
    border-radius: 15px;
    background: var(--acid);
    box-shadow: 0 10px 25px rgba(22, 29, 17, .25);
    font-size: 18px;
}

.pickup-marker,
.destination-marker {
    width: 22px !important;
    height: 22px !important;
    border: 4px solid white;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 7px 18px rgba(20, 115, 255, .3);
}

.destination-marker {
    border-radius: 7px;
    background: var(--ink);
}

@media (min-width: 780px) {
    .topbar {
        right: 24px;
        left: 24px;
        width: min(680px, calc(100% - 48px));
        margin: auto;
    }

    .location-chip {
        top: calc(max(14px, env(safe-area-inset-top)) + 78px);
        left: 24px;
    }

    .booking-sheet {
        top: 115px;
        right: auto;
        bottom: auto;
        left: 24px;
        width: 410px;
        max-height: calc(100dvh - 140px);
        border-radius: 31px;
    }

    .locate {
        right: 24px;
        bottom: 24px;
    }

    .modal {
        place-items: center;
    }

    .active-order {
        align-items: flex-end;
        justify-content: center;
        padding: 24px;
    }

    .order-map-card {
        max-height: 60dvh;
    }

    .full-panel {
        padding-right: max(30px, calc((100% - 900px) / 2));
        padding-left: max(30px, calc((100% - 900px) / 2));
    }
}

@media (max-width: 820px) {
    .auth-gate {
        display: block;
        overflow: auto;
        background: radial-gradient(circle at 90% 0, #eaffad, transparent 30%), #f2f5ef;
    }

    .auth-visual {
        min-height: 300px;
        padding: 27px 21px 35px;
        background: linear-gradient(150deg, #101217, #262b33);
        border-radius: 0 0 34px 34px;
    }

    .auth-visual h1 {
        font-size: clamp(52px, 15vw, 78px);
        letter-spacing: -4.5px;
    }

    .auth-card {
        position: relative;
        width: calc(100% - 20px);
        max-height: none;
        margin: -20px auto 25px;
        padding: 24px 18px 27px;
        border-radius: 29px;
    }
}

@media (max-width: 440px) {
    .booking-head h1 {
        font-size: 25px;
    }

    .booking-sheet {
        max-height: 66dvh;
    }

    .pins-card {
        grid-template-columns: 1fr 1fr;
    }

    .pins-card strong {
        font-size: 19px;
    }

    .order-map-card {
        max-height: 76dvh;
        padding: 17px;
    }

    .driver-card {
        grid-template-columns: 45px 1fr;
    }

    .driver-card a {
        grid-column: 1/-1;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
