:root {
    --green: #2f9828;
    --green-dark: #197315;
    --green-soft: #eff8ea;
    --green-pale: #f6fbf2;
    --ink: #101820;
    --muted: #6f7782;
    --line: #dde5df;
    --panel: #ffffff;
    --shadow: 0 18px 46px rgba(16, 24, 32, .10);
    --soft-shadow: 0 8px 24px rgba(16, 24, 32, .08);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    color: var(--ink);
    background: #fbfdfb;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    letter-spacing: 0;
}

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }

.site-header {
    min-height: 90px;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 0 64px;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 4px 22px rgba(16,24,32,.04);
    position: relative;
    z-index: 10;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    color: #07130f;
    white-space: nowrap;
}

.brand-text {
    font-size: 32px;
    line-height: 1;
    font-weight: 900;
}

.brand-text span { color: var(--green); }

.logo-mark {
    width: 42px;
    height: 50px;
    position: relative;
    display: inline-block;
    color: var(--green);
    flex: 0 0 auto;
}

.logo-mark::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 1px;
    width: 25px;
    height: 25px;
    border: 8px solid currentColor;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
}

.logo-mark > span {
    position: absolute;
    left: 15px;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    z-index: 2;
}

.logo-mark::after {
    content: "";
    position: absolute;
    left: 7px;
    bottom: 2px;
    width: 30px;
    height: 10px;
    border: 4px solid currentColor;
    border-top: 0;
    border-radius: 50%;
}

.nav-tabs {
    margin-left: auto;
    display: flex;
    align-self: stretch;
    align-items: center;
    gap: 42px;
}

.nav-tabs a {
    height: 100%;
    display: flex;
    align-items: center;
    padding-top: 4px;
    color: #151c18;
    font-size: 17px;
    font-weight: 800;
    border-bottom: 3px solid transparent;
}

.nav-tabs a.active {
    color: var(--green-dark);
    border-bottom-color: var(--green);
}

.mobile-icon { display: none; }

.page-shell {
    width: min(100%, 1440px);
    margin: 0 auto;
    padding: 0 68px 42px;
}

.image-banner {
    margin: 0 -68px;
    overflow: hidden;
    border-radius: 0 0 22px 22px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(16,24,32,.06);
}

.image-banner img {
    width: 100%;
    min-height: 250px;
    object-fit: cover;
}

.hero {
    min-height: 285px;
    margin: 0 -68px;
    padding: 48px 112px 38px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 46%);
    align-items: center;
    gap: 34px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 100% 0%, rgba(47,152,40,.08), transparent 22%),
        linear-gradient(115deg, rgba(47,152,40,.16) 0%, rgba(255,255,255,0) 26%),
        linear-gradient(180deg, #fff 0%, #fbfdfb 100%);
}

.hero::before {
    content: "";
    position: absolute;
    left: -90px;
    top: -40px;
    width: 390px;
    height: 390px;
    background: linear-gradient(135deg, rgba(107,190,72,.18), rgba(107,190,72,0) 72%);
    border-radius: 50%;
}

.hero::after {
    content: "";
    position: absolute;
    right: -46px;
    top: -48px;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    border: 1px solid rgba(47,152,40,.10);
    box-shadow: 0 0 0 10px rgba(47,152,40,.035), 0 0 0 20px rgba(47,152,40,.028), 0 0 0 30px rgba(47,152,40,.022);
}

.hero-copy, .hero-car { position: relative; z-index: 2; }

.trust-badge {
    width: max-content;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    color: var(--green-dark);
    background: #ecf5e9;
    font-size: 18px;
    font-weight: 800;
}

.hero h1, .admin-hero h1 {
    margin: 20px 0 12px;
    font-size: 70px;
    line-height: .96;
    font-weight: 900;
}

.hero h1 span, .admin-hero h1 span { color: var(--green); }

.hero p, .admin-hero p {
    margin: 0;
    color: #27313a;
    font-size: 23px;
    line-height: 1.45;
    font-weight: 700;
}

.hero-car img {
    width: min(100%, 540px);
    margin-left: auto;
    filter: drop-shadow(0 22px 26px rgba(35,55,40,.16));
}

.booking-card, .panel-card, .status-strip, .benefit-list, .login-card {
    background: rgba(255,255,255,.97);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.booking-card {
    margin-top: 18px;
    padding: 26px 28px 28px;
    position: relative;
    z-index: 3;
}

.booking-form, .stack-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.trip-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: min(100%, 920px);
    align-self: center;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

.trip-btn {
    min-height: 52px;
    border: 0;
    color: #1b242b;
    background: #fff;
    font-weight: 900;
    font-size: 17px;
}

.trip-btn.active {
    color: var(--green-dark);
    background: linear-gradient(135deg, #eef8e9, #fff);
    box-shadow: inset 0 0 0 1px rgba(47,152,40,.38);
}

.route-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.route-box {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid #dbe9d5;
    border-radius: 18px;
    background: linear-gradient(135deg, #f4fbef, #ffffff);
}

.route-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.route-head strong {
    display: block;
    font-size: 20px;
    font-weight: 900;
}

.route-head small {
    display: block;
    color: var(--muted);
    font-weight: 700;
}

.field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

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

.app-field {
    min-width: 0;
    min-height: 58px;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.field-icon {
    width: 54px;
    min-width: 54px;
    display: grid;
    place-items: center;
    color: var(--green);
    background: var(--green-soft);
}

.field-icon.round {
    width: 46px;
    min-width: 46px;
    height: 46px;
    border-radius: 50%;
}

.app-field input, .app-field select {
    width: 100%;
    min-width: 0;
    min-height: 56px;
    border: 0;
    outline: 0;
    padding: 0 14px;
    color: var(--ink);
    background: transparent;
    font-size: 16px;
    font-weight: 600;
}

.app-field input::placeholder { color: #858b94; font-weight: 500; }

.map-link-btn {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid #cfdccf;
    border-radius: 999px;
    color: var(--green-dark);
    background: #fff;
    font-weight: 900;
}

.file-field {
    min-height: 58px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}

.file-field span {
    color: var(--ink);
    font-weight: 800;
    font-size: 13px;
}

.file-field input { width: 100%; font-size: 13px; }

.section-title {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--ink);
    font-size: 20px;
    font-weight: 900;
}

.section-title::after {
    content: "";
    height: 1px;
    flex: 1;
    background: var(--line);
}

.section-title.small { font-size: 17px; }

.ride-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.ride-card {
    min-height: 184px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 14px 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--soft-shadow);
}

.ride-card.active {
    border: 2px solid var(--green);
    background: linear-gradient(135deg, #f4fbef, #fff);
}

.ride-check {
    width: 30px;
    height: 30px;
    position: absolute;
    top: 10px;
    right: 10px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: transparent;
    background: #edf4ea;
    font-weight: 900;
}

.ride-card.active .ride-check {
    color: #fff;
    background: var(--green);
}

.ride-image {
    width: 100%;
    height: 112px;
    display: flex;
    align-items: end;
    justify-content: center;
}

.ride-image img {
    max-width: 235px;
    max-height: 106px;
    object-fit: contain;
}

.ride-label {
    color: var(--ink);
    font-size: 21px;
    font-weight: 900;
}

.ride-card.active .ride-label { color: var(--green-dark); }

.model-picker {
    position: relative;
    padding: 16px;
    border: 1px solid #dbe9d5;
    border-radius: 18px;
    background: linear-gradient(135deg, #f3faee, #fbfef8);
}

.model-summary {
    width: 100%;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid #d1d8d4;
    border-radius: 12px;
    padding: 0 16px;
    background: #fff;
    color: var(--ink);
    text-align: left;
}

.model-summary strong, .model-summary em { display: block; font-style: normal; }
.model-summary strong { margin-bottom: 4px; font-size: 17px; font-weight: 900; }
.model-summary em { color: #7b828b; font-size: 15px; font-weight: 600; }

.chevron {
    width: 10px;
    height: 10px;
    border-right: 2px solid #687078;
    border-bottom: 2px solid #687078;
    transform: rotate(45deg);
    transition: transform .2s ease;
}

.model-picker.open .chevron { transform: rotate(225deg); }

.model-options {
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding-top: 12px;
}

.model-picker.open .model-options { display: grid; }

.model-check {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: #1f2931;
    font-size: 14px;
    font-weight: 800;
}

.model-check input { accent-color: var(--green); }

.special-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.chip-btn {
    min-height: 44px;
    flex: 1 1 150px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid #cfdccf;
    border-radius: 999px;
    padding: 0 16px;
    color: #33413a;
    background: #fff;
    font-weight: 800;
}

.chip-btn.active {
    color: var(--green-dark);
    border-color: var(--green);
    background: #f0f9eb;
}

.action-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.green-btn, .outline-btn {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 12px;
    padding: 0 18px;
    font-weight: 900;
    font-size: 16px;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.green-btn {
    border: 1px solid transparent;
    color: #fff;
    background: linear-gradient(135deg, #43ad2e, #27901f);
    box-shadow: 0 10px 18px rgba(47,152,40,.20);
}

.outline-btn {
    border: 1px solid var(--green);
    color: var(--green-dark);
    background: #fff;
}

.green-btn:hover, .outline-btn:hover, .ride-card:hover, .chip-btn:hover, .map-link-btn:hover {
    transform: translateY(-1px);
}

.compact {
    min-height: 38px;
    padding: 0 14px;
    font-size: 13px;
}

.full-width { width: 100%; }

.status-text {
    min-height: 20px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
}

.status-text.success { color: var(--green-dark); }
.status-text.error { color: #b42318; }

.panel-card {
    padding: 22px;
    margin-top: 22px;
}

.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.panel-head h2 {
    margin: 4px 0 0;
    font-size: 25px;
    font-weight: 900;
}

.eyebrow {
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.two-column, .admin-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
    gap: 22px;
}

.side-stack {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.status-strip {
    margin-top: 22px;
    padding: 18px 22px;
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 18px;
    align-items: center;
}

.status-strip strong, .status-strip span { display: block; }
.status-strip span, .soft-note span { color: var(--muted); font-weight: 600; }

.soft-note, .privacy-note {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    border-radius: 14px;
    color: var(--green-dark);
    background: var(--green-pale);
    border: 1px solid #dcebd6;
    font-weight: 800;
}

.soft-note { display: grid; gap: 5px; color: var(--ink); }
.gap-top { margin-top: 18px; }

.benefit-list {
    padding: 16px;
    display: grid;
    gap: 12px;
}

.benefit-list div {
    display: grid;
    grid-template-columns: 26px 1fr;
    column-gap: 12px;
    row-gap: 3px;
    align-items: center;
}

.benefit-list small {
    grid-column: 2;
    color: var(--muted);
}

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

.request-tile {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--soft-shadow);
}

.tile-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.tile-top b { color: var(--ink); font-weight: 900; }
.tile-top span, .tile-meta { color: var(--muted); font-size: 13px; font-weight: 700; }

.empty-note {
    padding: 14px;
    color: var(--muted);
    background: #f7faf8;
    border: 1px dashed var(--line);
    border-radius: 12px;
    font-weight: 700;
}

.admin-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
    align-items: center;
    gap: 24px;
    padding: 42px 0 10px;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.stat-card {
    min-height: 118px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--soft-shadow);
}

.stat-card b {
    color: var(--green-dark);
    font-size: 36px;
    font-weight: 900;
}

.stat-card span {
    color: var(--muted);
    font-weight: 800;
}

.admin-search-grid, .admin-search-form {
    display: grid;
    gap: 14px;
}

.admin-search-grid { grid-template-columns: 1fr 1fr; }
.admin-search-form { grid-template-columns: 1fr auto; }

.count-pill {
    min-width: 34px;
    min-height: 34px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: var(--green-dark);
    background: var(--green-soft);
    font-weight: 900;
}

.request-list {
    display: grid;
    gap: 14px;
}

.request-row-card, .driver-management-card {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    padding: 16px;
    box-shadow: var(--soft-shadow);
}

.request-row-main {
    display: grid;
    grid-template-columns: auto minmax(150px,.75fr) minmax(220px,1.2fr) minmax(150px,.7fr) auto;
    gap: 14px;
    align-items: center;
}

.avatar-letter {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--green-dark);
    background: var(--green-soft);
    font-weight: 900;
}

.avatar-letter.small {
    width: 34px;
    height: 34px;
    font-size: 13px;
}

.request-row-main b, .request-row-main span, .request-row-main small,
.driver-management-card summary b, .driver-management-card summary span, .driver-management-card summary small {
    display: block;
}

.request-row-main b { font-weight: 900; }
.request-row-main span, .request-row-main small,
.driver-management-card summary span, .driver-management-card summary small {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.status-pill {
    padding: 7px 10px;
    border-radius: 999px;
    color: var(--green-dark);
    background: var(--green-soft);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.status-pill.taken { color: #92400e; background: #fff7ed; }
.status-pill.finished { color: #075985; background: #e0f2fe; }
.status-pill.cancelled { color: #991b1b; background: #fee2e2; }

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

.detail-grid div {
    padding: 10px;
    border-radius: 12px;
    background: #f8fbf8;
    border: 1px solid var(--line);
}

.detail-grid span, .detail-grid b {
    display: block;
}

.detail-grid span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.detail-grid b {
    margin-top: 3px;
    font-size: 13px;
    font-weight: 900;
}

.request-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.request-actions form { margin: 0; }
.warning { border-color: #f59e0b; color: #92400e; }
.dark { border-color: #334155; color: #1f2937; }
.danger { border-color: #dc2626; color: #b42318; }

.admin-mini-details {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

.admin-mini-details summary {
    cursor: pointer;
    color: var(--green-dark);
    font-weight: 900;
}

.eligible-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 14px;
}

.mini-person-card, .side-driver-line {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}

.mini-person-card {
    display: grid;
    gap: 3px;
    margin-top: 8px;
}

.mini-person-card small { color: var(--muted); }
.mini-person-card a, .side-driver-line a { color: var(--green-dark); font-weight: 900; }
.accepted-card { background: var(--green-pale); }

.side-driver-line {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.side-driver-line b, .side-driver-line small { display: block; }
.side-driver-line small { color: var(--muted); }

.driver-admin-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.driver-management-card summary {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: center;
    cursor: pointer;
}

.center-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 20px;
    background: linear-gradient(135deg, rgba(47,152,40,.10), rgba(255,255,255,0) 34%), #fbfdfb;
}

.login-card {
    width: min(100%, 430px);
    padding: 28px;
}

.login-card h1 {
    margin: 20px 0;
    text-align: center;
    font-weight: 900;
}

.centered-brand { justify-content: center; }
.logout-link { margin-left: 8px; }

.glyph {
    width: 22px;
    height: 22px;
    display: inline-block;
    position: relative;
    color: currentColor;
    flex: 0 0 auto;
}

.glyph.pin::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 11px;
    height: 11px;
    border: 4px solid currentColor;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
}

.glyph.pin::after {
    content: "";
    position: absolute;
    left: 9px;
    top: 6px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #fff;
}

.glyph.city::before, .glyph.city::after {
    content: "";
    position: absolute;
    bottom: 2px;
    background: currentColor;
    border-radius: 2px 2px 0 0;
}

.glyph.city::before {
    left: 3px;
    width: 7px;
    height: 17px;
    box-shadow: 9px 4px 0 currentColor;
}

.glyph.city::after { left: 1px; right: 1px; height: 2px; }

.glyph.user::before, .glyph.people::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 3px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: currentColor;
}

.glyph.user::after, .glyph.people::after {
    content: "";
    position: absolute;
    left: 4px;
    bottom: 2px;
    width: 15px;
    height: 8px;
    border-radius: 9px 9px 2px 2px;
    background: currentColor;
}

.glyph.people::before { box-shadow: -7px 3px 0 -1px currentColor, 7px 3px 0 -1px currentColor; }
.glyph.people::after { box-shadow: -8px 2px 0 -2px currentColor, 8px 2px 0 -2px currentColor; }

.glyph.phone::before, .glyph.whatsapp::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 4px;
    width: 14px;
    height: 14px;
    border: 4px solid currentColor;
    border-top-color: transparent;
    border-right-color: transparent;
    border-radius: 50%;
    transform: rotate(-45deg);
}

.glyph.clock::before {
    content: "";
    position: absolute;
    inset: 2px;
    border: 3px solid currentColor;
    border-radius: 50%;
}

.glyph.clock::after {
    content: "";
    position: absolute;
    left: 10px;
    top: 6px;
    width: 7px;
    height: 8px;
    border-left: 3px solid currentColor;
    border-bottom: 3px solid currentColor;
}

.glyph.shield::before {
    content: "";
    position: absolute;
    inset: 2px 4px;
    background: currentColor;
    clip-path: polygon(50% 0, 90% 16%, 84% 66%, 50% 100%, 16% 66%, 10% 16%);
}

.glyph.shield::after {
    content: "";
    position: absolute;
    left: 8px;
    top: 8px;
    width: 7px;
    height: 4px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
}

.glyph.bag::before {
    content: "";
    position: absolute;
    left: 3px;
    bottom: 2px;
    width: 16px;
    height: 14px;
    border-radius: 2px;
    background: currentColor;
}

.glyph.bag::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 3px;
    width: 8px;
    height: 6px;
    border: 2px solid currentColor;
    border-bottom: 0;
    border-radius: 4px 4px 0 0;
}

.glyph.seat::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

.glyph.seat::after {
    content: "";
    position: absolute;
    left: 4px;
    bottom: 2px;
    width: 14px;
    height: 11px;
    border-left: 4px solid currentColor;
    border-bottom: 4px solid currentColor;
    border-radius: 2px;
}

.glyph.snow::before {
    content: "*";
    position: absolute;
    inset: -3px 0 0;
    text-align: center;
    color: currentColor;
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
}

.glyph.copy::before, .glyph.copy::after {
    content: "";
    position: absolute;
    border: 2px solid currentColor;
    border-radius: 2px;
}

.glyph.copy::before { left: 6px; top: 3px; width: 12px; height: 16px; }
.glyph.copy::after { left: 3px; top: 6px; width: 12px; height: 14px; background: #fff; }

.glyph.download::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 3px;
    width: 3px;
    height: 12px;
    background: currentColor;
}

.glyph.download::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 9px;
    width: 10px;
    height: 10px;
    border-right: 3px solid currentColor;
    border-bottom: 3px solid currentColor;
    transform: rotate(45deg);
}

.glyph.whatsapp::before {
    content: "";
    position: absolute;
    inset: 1px;
    border: 3px solid currentColor;
    border-radius: 50%;
}

.glyph.card::before, .glyph.lock::before, .glyph.car::before {
    content: "";
    position: absolute;
    inset: 5px 2px;
    border: 3px solid currentColor;
    border-radius: 3px;
}

.glyph.lock::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 2px;
    width: 8px;
    height: 8px;
    border: 3px solid currentColor;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
}

.glyph.car::before {
    inset: 8px 2px 5px;
    border-radius: 8px 8px 3px 3px;
    background: currentColor;
}

.glyph.car::after {
    content: "";
    position: absolute;
    left: 5px;
    bottom: 3px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 9px 0 0 #fff;
}

.glyph.map::before {
    content: "";
    position: absolute;
    inset: 3px;
    border: 3px solid currentColor;
    border-radius: 3px;
    transform: skew(-8deg);
}

.glyph.map::after {
    content: "";
    position: absolute;
    left: 9px;
    top: 5px;
    width: 4px;
    height: 12px;
    background: currentColor;
    box-shadow: 5px 2px 0 currentColor;
}

@media (max-width: 1180px) {
    .site-header { padding: 0 34px; }
    .page-shell { padding: 0 30px 34px; }
    .image-banner, .hero { margin: 0 -30px; }
    .hero { padding: 42px 46px 34px; grid-template-columns: minmax(0,1fr) minmax(300px,42%); }
    .hero h1, .admin-hero h1 { font-size: 58px; }
    .hero p, .admin-hero p { font-size: 21px; }
    .passenger-field-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .live-request-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .detail-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 860px) {
    body { background: #f8fbf8; }

    .site-header {
        min-height: auto;
        display: grid;
        grid-template-columns: 44px 1fr 44px;
        gap: 12px;
        align-items: center;
        margin: 4px;
        padding: 18px 18px 16px;
        border: 1px solid var(--line);
        border-radius: 18px 18px 0 0;
        box-shadow: var(--soft-shadow);
    }

    .brand { justify-self: center; }
    .brand-text { font-size: 28px; }
    .logo-mark { width: 36px; height: 42px; }
    .logo-mark::before { left: 7px; width: 22px; height: 22px; border-width: 7px; }
    .logo-mark > span { left: 13px; top: 7px; width: 10px; height: 10px; }
    .logo-mark::after { left: 6px; width: 26px; }
    .nav-tabs, .logout-link { display: none; }

    .mobile-icon {
        width: 42px;
        height: 42px;
        display: grid;
        place-items: center;
        border: 1px solid #dfe8de;
        border-radius: 50%;
        color: var(--green);
        background: #f8fbf7;
    }

    .menu-icon span, .menu-icon::before, .menu-icon::after {
        content: "";
        width: 22px;
        height: 3px;
        display: block;
        border-radius: 4px;
        background: currentColor;
    }

    .menu-icon { gap: 5px; }
    .account-icon span { width: 12px; height: 12px; position: relative; border-radius: 50%; background: currentColor; }
    .account-icon span::after {
        content: "";
        position: absolute;
        left: -7px;
        top: 15px;
        width: 26px;
        height: 13px;
        border-radius: 14px 14px 4px 4px;
        background: currentColor;
    }

    .page-shell { padding: 0 20px 28px; }
    .image-banner { margin: 0 0 12px; border-radius: 0 0 22px 22px; }
    .image-banner img { min-height: 210px; object-position: center; }

    .hero {
        min-height: 240px;
        margin: 0 0 12px;
        padding: 24px 18px;
        grid-template-columns: 1fr;
        border-radius: 0 0 22px 22px;
    }

    .hero-copy { width: 64%; }
    .trust-badge { padding: 8px 12px; font-size: 13px; }
    .hero h1, .admin-hero h1 { margin: 14px 0 8px; font-size: 39px; }
    .hero p, .admin-hero p { font-size: 16px; }
    .hero-car { position: absolute; right: 10px; bottom: 10px; width: 42%; }
    .hero-car img { max-height: 120px; object-fit: contain; }

    .booking-card { margin-top: 0; padding: 14px; border-radius: 22px; }
    .booking-form, .stack-form { gap: 14px; }
    .route-grid, .field-grid, .passenger-field-grid { grid-template-columns: 1fr; }
    .route-box { padding: 14px; gap: 10px; }
    .route-head strong { font-size: 18px; }
    .map-link-btn { min-height: 40px; font-size: 13px; }
    .app-field { min-height: 52px; border-radius: 12px; }
    .field-icon { width: 48px; min-width: 48px; }
    .app-field input, .app-field select { min-height: 50px; font-size: 15px; }

    .ride-grid { gap: 12px; }
    .ride-card { min-height: 132px; padding: 8px 6px 10px; border-radius: 14px; box-shadow: none; }
    .ride-check { width: 23px; height: 23px; right: 7px; top: 7px; font-size: 13px; }
    .ride-image { height: 68px; }
    .ride-image img { max-width: 112px; max-height: 62px; }
    .ride-label { font-size: 14px; }
    .model-options { grid-template-columns: 1fr; }
    .chip-btn { min-height: 38px; flex-basis: calc(50% - 8px); font-size: 13px; padding: 0 10px; }
    .action-row { gap: 10px; }
    .green-btn, .outline-btn { min-height: 46px; padding: 0 10px; font-size: 13px; }

    .two-column, .admin-layout, .admin-hero, .live-request-list, .driver-admin-grid, .admin-search-grid, .eligible-grid {
        grid-template-columns: 1fr;
    }

    .status-strip, .admin-search-form { grid-template-columns: 1fr; }
    .request-row-main { grid-template-columns: auto 1fr; }
    .route-block, .time-car-block, .status-pill { grid-column: 1 / -1; }
    .detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
    .site-header { margin: 4px; padding: 12px 14px 10px; grid-template-columns: 38px 1fr 38px; }
    .mobile-icon { width: 36px; height: 36px; }
    .brand-text { font-size: 24px; }
    .logo-mark { width: 31px; height: 38px; }
    .logo-mark::before { left: 6px; width: 19px; height: 19px; border-width: 6px; }
    .logo-mark > span { left: 11px; top: 6px; width: 9px; height: 9px; }
    .logo-mark::after { left: 5px; width: 23px; height: 8px; border-width: 3px; border-top: 0; }
    .page-shell { padding: 0 10px 22px; }
    .image-banner img { min-height: 190px; }
    .trip-btn { min-height: 44px; font-size: 15px; }
    .section-title { gap: 10px; font-size: 16px; }
    .ride-card { min-height: 112px; padding-bottom: 8px; }
    .ride-image { height: 50px; }
    .ride-image img { max-width: 82px; max-height: 44px; }
    .ride-label { font-size: 12px; }
    .model-picker { padding: 12px; }
    .model-summary { min-height: 48px; padding: 0 12px; }
    .model-summary strong, .model-summary em { font-size: 14px; }
    .chip-btn { min-height: 34px; font-size: 12px; }
    .action-row { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
    .action-row .glyph { display: none; }
    .action-row .green-btn, .action-row .outline-btn { min-height: 42px; padding: 0 5px; font-size: 11px; }
    .panel-card { padding: 16px; border-radius: 18px; }
    .panel-head { align-items: flex-start; }
    .panel-head h2 { font-size: 21px; }
    .admin-hero { padding-top: 24px; }
}

/* ===== City2CityRide final feature patches - safe additions only ===== */
.color-field {
    max-width: 520px;
}

.city-modal {
    position: fixed;
    inset: 0;
    display: none;
    place-items: center;
    padding: 18px;
    background: rgba(5, 15, 12, .45);
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.city-modal.show { display: grid; }

.city-modal-card {
    width: min(100%, 520px);
    padding: 26px;
    border: 1px solid rgba(47,152,40,.22);
    border-radius: 24px;
    background:
        radial-gradient(circle at 0 0, rgba(47,152,40,.12), transparent 38%),
        linear-gradient(180deg, #fff, #f8fcf6);
    box-shadow: 0 26px 80px rgba(0,0,0,.22);
}

.city-modal-card h2 {
    margin: 16px 0 8px;
    font-size: 30px;
    line-height: 1.1;
    font-weight: 900;
}

.city-modal-card p {
    margin: 0 0 18px;
    color: var(--muted);
    font-weight: 700;
    line-height: 1.5;
}

.modal-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    margin-top: 14px;
}

.driver-status-strip {
    grid-template-columns: 1fr 1fr 1fr auto;
}

.passenger-request-poster,
.driver-request-poster {
    width: 900px;
    padding: 42px;
    color: #102017;
    border-radius: 30px;
    border: 1px solid #d9ead7;
    background:
        radial-gradient(circle at 92% 8%, rgba(47,152,40,.18), transparent 30%),
        radial-gradient(circle at 0 100%, rgba(47,152,40,.14), transparent 32%),
        linear-gradient(135deg, #ffffff 0%, #f8fff5 100%);
    box-shadow: 0 22px 70px rgba(16,24,32,.16);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.passenger-request-poster {
    position: fixed;
    left: -99999px;
    top: 0;
    z-index: -1;
}

.download-only-card {
    position: absolute;
    left: -99999px;
    top: 0;
    z-index: -1;
}

.poster-top {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #101820;
    font-size: 34px;
    font-weight: 900;
}

.poster-top strong span { color: var(--green); }

.poster-badge {
    width: max-content;
    max-width: 100%;
    margin: 28px 0 16px;
    padding: 10px 18px;
    color: var(--green-dark);
    background: var(--green-soft);
    border-radius: 999px;
    font-size: 18px;
    font-weight: 900;
}

.passenger-request-poster h2,
.driver-request-poster h2 {
    margin: 0;
    font-size: 52px;
    line-height: 1;
    font-weight: 950;
    color: #0c1712;
}

.poster-route {
    margin: 14px 0 24px;
    color: #44515a;
    font-size: 23px;
    line-height: 1.35;
    font-weight: 700;
}

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

.poster-grid div {
    min-height: 92px;
    padding: 16px;
    border: 1px solid #dcebd6;
    border-radius: 18px;
    background: rgba(255,255,255,.82);
    box-shadow: 0 8px 20px rgba(16,24,32,.06);
}

.poster-grid span,
.poster-grid b {
    display: block;
}

.poster-grid span {
    color: var(--green-dark);
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.poster-grid b {
    margin-top: 7px;
    color: #142019;
    font-size: 21px;
    line-height: 1.25;
    font-weight: 900;
}

.poster-footer {
    margin-top: 28px;
    padding: 16px 20px;
    border-radius: 999px;
    color: #fff;
    text-align: center;
    background: linear-gradient(135deg, #43ad2e, #1f8218);
    font-size: 22px;
    font-weight: 900;
    box-shadow: 0 12px 24px rgba(47,152,40,.22);
}

.driver-request-poster p {
    margin: 24px 0 0;
    color: var(--green-dark);
    font-size: 20px;
    font-weight: 900;
}

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

.mini-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    align-items: center;
}

.mini-actions form { margin: 0; }

.mini-action-btn {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid transparent;
    text-decoration: none;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(16, 24, 32, .08);
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.mini-action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(16, 24, 32, .12);
    filter: brightness(1.01);
}

.mini-action-btn:active {
    transform: translateY(0);
}

.whatsapp-btn {
    color: #fff;
    background: linear-gradient(135deg, #28b446, #0f8b38);
}

.copy-btn {
    color: #0f5132;
    border-color: rgba(15, 81, 50, .14);
    background: linear-gradient(135deg, #eefcf3, #dff5e7);
}

.shortlist-btn {
    color: #6f4e00;
    border-color: rgba(191, 140, 0, .18);
    background: linear-gradient(135deg, #fff7dd, #ffe9a9);
}

.assign-btn {
    color: #fff;
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
}

.remove-btn {
    color: #fff;
    background: linear-gradient(135deg, #ef4444, #b91c1c);
}

.assigned-card {
    border-color: rgba(47,152,40,.38);
    background: linear-gradient(135deg, #eff8ea, #fff);
}

.passenger-history-card {
    min-height: 132px;
}

.admin-add-driver summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    list-style: none;
}

.admin-add-driver summary::-webkit-details-marker { display: none; }
.admin-add-driver summary h2 { margin: 4px 0 0; font-size: 25px; font-weight: 900; }
.admin-add-driver summary .eyebrow { display: block; }

@media (max-width: 1180px) {
    .three-col-grid { grid-template-columns: 1fr; }
    .driver-status-strip { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
    .modal-actions { grid-template-columns: 1fr; }
    .driver-status-strip { grid-template-columns: 1fr; }
    .city-modal-card { padding: 20px; border-radius: 20px; }
    .city-modal-card h2 { font-size: 25px; }
    .color-field { max-width: 100%; }
}

/* ===== User-requested passenger form cleanup ===== */
.datetime-input,
.app-field input[type="datetime-local"] {
    background: #fff !important;
    color: var(--ink) !important;
    -webkit-text-fill-color: var(--ink) !important;
    color-scheme: light;
}

.datetime-input::placeholder {
    color: #858b94;
    opacity: 1;
}

.model-picker.always-open {
    display: grid;
    gap: 12px;
}

.model-picker.always-open .model-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 2px;
}

.model-picker.always-open .model-title strong,
.model-picker.always-open .model-title em {
    display: block;
    font-style: normal;
}

.model-picker.always-open .model-title strong {
    font-size: 17px;
    font-weight: 900;
    color: var(--ink);
}

.model-picker.always-open .model-title em {
    font-size: 14px;
    font-weight: 700;
    color: #6f7782;
    text-align: right;
}

.model-picker.always-open .model-summary {
    display: none;
}

.model-picker.always-open .model-options {
    display: grid;
    padding-top: 0;
}

.model-check input[type="radio"],
.model-check input[type="checkbox"] {
    accent-color: var(--green);
}

@media (max-width: 860px) {
    .model-picker.always-open .model-options {
        grid-template-columns: 1fr;
    }

    .model-picker.always-open .model-title {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .model-picker.always-open .model-title em {
        text-align: left;
    }
}

/* ===== v3 polish: compact admin, smooth driver requests, mobile icons, fare quote ===== */
.car-mobile-icon,
.admin-mobile-icon {
    color: var(--green);
}

.admin-mobile-icon .glyph.screw {
    width: 24px;
    height: 24px;
}

.glyph.screw::before {
    content: "";
    position: absolute;
    inset: 3px;
    border: 3px solid currentColor;
    border-radius: 50%;
    box-shadow: 0 -8px 0 -5px currentColor, 0 8px 0 -5px currentColor, -8px 0 0 -5px currentColor, 8px 0 0 -5px currentColor;
}

.glyph.screw::after {
    content: "";
    position: absolute;
    left: 9px;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.fold-card summary,
.request-collapsible > summary {
    cursor: pointer;
    list-style: none;
}

.fold-card summary::-webkit-details-marker,
.request-collapsible > summary::-webkit-details-marker {
    display: none;
}

.fold-card summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.fold-card summary h2 {
    margin: 4px 0 0;
    font-size: 25px;
    font-weight: 900;
}

.fold-hint {
    flex: 0 0 auto;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--green-dark);
    background: var(--green-soft);
    font-size: 13px;
    font-weight: 900;
}

.fold-card[open] .fold-hint::after {
    content: "ed";
}

.vertical-live-list,
.live-requests-panel .live-request-list {
    grid-template-columns: 1fr !important;
}

.live-requests-panel .request-tile {
    display: grid;
    gap: 8px;
    transition: background .2s ease, transform .2s ease;
}

.accepted-offer-badge {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 12px;
    color: var(--green-dark);
    border: 1px solid rgba(47,152,40,.34);
    background: linear-gradient(135deg, #eff8ea, #fff);
    font-weight: 900;
}

.accepted-offer-badge span {
    width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--green);
}

.live-search-panel .admin-search-grid {
    align-items: start;
}

.live-search-box {
    display: grid;
    gap: 10px;
}

.live-search-results {
    display: grid;
    gap: 10px;
}

.live-result-card {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    box-shadow: var(--soft-shadow);
}

.live-result-card summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    cursor: pointer;
    list-style: none;
}

.live-result-card summary::-webkit-details-marker { display: none; }
.live-result-card summary b { font-weight: 900; }
.live-result-card summary span { color: var(--muted); font-size: 13px; font-weight: 800; }

.live-result-details {
    padding: 0 12px 12px;
    display: grid;
    gap: 4px;
    color: #25313a;
    font-size: 13px;
    font-weight: 700;
}

.live-result-details p { margin: 0; }

.request-top-panel {
    margin-top: 22px;
}

.compact-request-list {
    gap: 12px;
}

.request-collapsible {
    padding: 0;
    overflow: hidden;
}

.request-summary-row {
    display: grid;
    grid-template-columns: auto minmax(150px, .8fr) minmax(220px, 1.4fr) minmax(130px, .6fr) auto;
    gap: 14px;
    align-items: center;
    padding: 16px;
    background: #fff;
}

.request-summary-row:hover {
    background: #fbfef9;
}

.summary-main b,
.summary-main em,
.summary-route b,
.summary-route em {
    display: block;
    font-style: normal;
}

.summary-main b,
.summary-route b {
    font-weight: 900;
}

.summary-main small {
    color: var(--green-dark);
    font-size: 12px;
}

.summary-main em,
.summary-route em,
.summary-car {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.request-details-body {
    padding: 0 16px 16px;
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, #fff, #fbfef9);
}

.clean-actions {
    padding: 12px 0 4px;
    align-items: center;
}

.clean-actions .outline-btn,
.clean-actions .green-btn {
    min-width: 130px;
}

.compact-head {
    margin-bottom: 12px;
}

.compact-head h3 {
    margin: 4px 0 0;
    font-size: 20px;
    font-weight: 900;
}

.fare-quote-card {
    margin-top: 14px;
    padding: 16px;
    border: 1px solid #dcebd6;
    border-radius: 18px;
    background: linear-gradient(135deg, #f4fbef, #fff);
}

.quote-grid {
    grid-template-columns: 1fr 1fr;
}

.quote-wide {
    grid-column: 1 / -1;
}

.fare-quote-poster {
    width: 900px;
    padding: 42px;
    color: #102017;
    border-radius: 30px;
    border: 1px solid #d9ead7;
    background:
        radial-gradient(circle at 92% 8%, rgba(47,152,40,.18), transparent 30%),
        radial-gradient(circle at 0 100%, rgba(47,152,40,.14), transparent 32%),
        linear-gradient(135deg, #ffffff 0%, #f8fff5 100%);
    box-shadow: 0 22px 70px rgba(16,24,32,.16);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.fare-quote-poster h2 {
    margin: 0;
    font-size: 52px;
    line-height: 1;
    font-weight: 950;
    color: #0c1712;
}

.settings-inline-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
}

@media (max-width: 1180px) {
    .request-summary-row {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }
    .summary-route,
    .summary-car {
        grid-column: 2 / -1;
    }
}

@media (max-width: 860px) {
    .request-summary-row {
        grid-template-columns: auto 1fr;
        gap: 10px;
    }
    .summary-route,
    .summary-car,
    .request-summary-row .status-pill {
        grid-column: 1 / -1;
    }
    .quote-grid,
    .settings-inline-form {
        grid-template-columns: 1fr;
    }
    .clean-actions .outline-btn,
    .clean-actions .green-btn {
        width: 100%;
    }
}
.fold-card[open] .fold-hint { font-size: 0; }
.fold-card[open] .fold-hint::after { content: "Opened"; font-size: 13px; }


/* ===== Passenger page requested updates ===== */
.passenger-details-title {
    margin-top: 4px;
}

.date-time-field {
    position: relative;
    cursor: pointer;
}

.date-time-field .datetime-input {
    cursor: pointer;
    position: relative;
    z-index: 2;
    color-scheme: light;
    background: transparent !important;
}

/* Keep the Date and Time label visible until a real value is selected */
.date-time-field:not(.has-value) .datetime-input {
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
}

.date-time-field.has-value .datetime-input {
    color: var(--ink) !important;
    -webkit-text-fill-color: var(--ink) !important;
}

.datetime-placeholder {
    position: absolute;
    left: 68px;
    right: 44px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    color: #858b94;
    font-size: 16px;
    font-weight: 600;
    pointer-events: none;
    white-space: nowrap;
}

.date-time-field.has-value .datetime-placeholder {
    display: none;
}

.special-custom-field {
    min-height: 44px;
    flex: 1 1 100%;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid #cfdccf;
    border-radius: 16px;
    background: linear-gradient(135deg, #f6fbf2, #ffffff);
    box-shadow: 0 8px 22px rgba(16, 24, 32, .06);
}

.special-custom-field .field-icon {
    width: 48px;
    min-width: 48px;
}

.special-custom-field input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 0 14px;
    color: var(--ink);
    background: transparent;
    font-size: 15px;
    font-weight: 700;
}

.special-custom-field input::placeholder {
    color: #858b94;
    font-weight: 600;
}

@media (min-width: 861px) {
    .special-custom-field {
        flex-basis: 240px;
        max-width: 360px;
    }
}

@media (max-width: 860px) {
    .passenger-details-title {
        margin-top: 2px;
    }

    .datetime-placeholder {
        left: 62px;
        font-size: 15px;
    }

    .passenger-banner img {
        min-height: 250px;
        object-position: center top;
    }

    .special-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .special-row .chip-btn {
        width: 100%;
        min-height: 42px;
        flex: unset;
    }

    .special-custom-field {
        grid-column: 1 / -1;
        min-height: 52px;
        border-radius: 18px;
    }
}

@media (max-width: 520px) {
    .passenger-banner img {
        min-height: 238px;
    }

    .special-custom-field input {
        font-size: 14px;
    }
}



/* Mobile passenger banner zoomed-out update */
.passenger-banner {
    background: #fff;
}

.passenger-banner img {
    background: #fff;
}

@media (max-width: 860px) {
    .passenger-banner img {
        min-height: 210px;
        object-fit: contain !important;
        object-position: center center !important;
        padding: 6px 0;
        background: #fff;
    }
}

@media (max-width: 520px) {
    .passenger-banner img {
        min-height: 205px;
        object-fit: contain !important;
        object-position: center center !important;
        padding: 4px 0;
        background: #fff;
    }
}


/* ===== Driver login/register popup update ===== */
.city-modal-card {
    position: relative;
}

.modal-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(47,152,40,.22);
    border-radius: 50%;
    color: var(--green-dark);
    background: rgba(255,255,255,.92);
    box-shadow: 0 8px 20px rgba(16,24,32,.10);
    font-size: 26px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
}

.modal-close-btn:hover {
    transform: translateY(-1px);
    background: #f0f9eb;
}

.register-modal-card {
    width: min(100%, 980px);
    max-height: calc(100vh - 34px);
    overflow-y: auto;
    padding-right: 24px;
}

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

.register-modal-card .ride-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.register-modal-card .ride-card {
    min-height: 150px;
}

.register-modal-card .ride-image {
    height: 88px;
}

.register-modal-card .ride-image img {
    max-width: 170px;
    max-height: 84px;
}

.register-modal-card .model-options {
    max-height: 220px;
    overflow-y: auto;
}

.driver-login-modal .outline-btn {
    border-width: 2px;
    background: linear-gradient(135deg, #ffffff, #f3faee);
}

@media (max-width: 860px) {
    .register-modal-card {
        width: min(100%, 94vw);
        max-height: calc(100vh - 20px);
        padding: 20px;
    }

    .register-modal-card .field-grid {
        grid-template-columns: 1fr;
    }

    .register-modal-card .ride-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .register-modal-card .ride-card {
        min-height: 112px;
    }

    .register-modal-card .ride-image {
        height: 50px;
    }

    .register-modal-card .ride-image img {
        max-width: 82px;
        max-height: 44px;
    }

    .modal-close-btn {
        top: 10px;
        right: 10px;
        width: 34px;
        height: 34px;
        font-size: 22px;
    }
}


/* ===== Driver registration popup scroll/slide fix ===== */
.driver-register-modal {
    place-items: start center;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 16px;
}

.driver-register-modal.show {
    display: grid;
}

.driver-register-modal .register-modal-card {
    max-height: none;
    height: auto;
    overflow: visible;
    margin: 12px auto 34px;
}

.driver-register-modal .modal-close-btn {
    position: sticky;
    top: 10px;
    margin-left: auto;
    z-index: 30;
}

@media (max-width: 860px) {
    .driver-register-modal {
        align-items: start;
        place-items: start center;
        padding: 10px;
    }

    .driver-register-modal .register-modal-card {
        width: min(100%, 96vw);
        max-height: none;
        height: auto;
        overflow: visible;
        margin: 8px auto 28px;
        padding: 18px 14px 22px;
    }

    .driver-register-modal .stack-form {
        padding-bottom: 12px;
    }
}


/* ===== Safe processing / please wait button feedback only ===== */
.button-processing,
.button-processing:hover {
    cursor: wait !important;
    opacity: .92;
    transform: none !important;
}

.mini-spinner {
    width: 16px;
    height: 16px;
    display: inline-block;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: c2cMiniSpin .75s linear infinite;
    flex: 0 0 auto;
}

.button-processing .mini-spinner {
    margin-right: 2px;
}

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


/* ===== Floating WhatsApp Contact Button ===== */
.whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 9998;
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 18px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #25d366, #128c3a);
    text-decoration: none;
    font-weight: 900;
    box-shadow: 0 14px 34px rgba(18, 140, 58, .32);
    border: 1px solid rgba(255,255,255,.35);
}

.whatsapp-float .glyph {
    color: #fff;
}

.whatsapp-float:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(18, 140, 58, .42);
}

.whatsapp-float-text {
    font-size: 14px;
    letter-spacing: .2px;
}

@media (max-width: 640px) {
    .whatsapp-float {
        right: 14px;
        bottom: 14px;
        width: 56px;
        height: 56px;
        min-height: 56px;
        padding: 0;
        border-radius: 50%;
    }

    .whatsapp-float-text {
        display: none;
    }
}


/* Driver status logout/action buttons */
.driver-status-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    align-items: center;
}

.driver-status-actions .outline-btn {
    white-space: nowrap;
}

@media (max-width: 760px) {
    .driver-status-actions {
        justify-content: stretch;
    }

    .driver-status-actions .outline-btn {
        flex: 1 1 auto;
    }
}

