:root {
    --bg: #07090f;
    --bg-elev: #0d111a;
    --card: #121826;
    --card-2: #182033;
    --line: rgba(120, 170, 255, 0.14);
    --gold: #f4c45d;
    --gold-2: #ffe08a;
    --ink: #f4f7ff;
    --muted: #9aa8c2;
    --ok: #3ee0a0;
    --warn: #ffc857;
    --danger: #ff6b8a;
    --info: #5cb8ff;
    --violet: #a78bfa;
    --shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
    --radius: 20px;
}

* { box-sizing: border-box; }

html, body {
    background:
        radial-gradient(900px 420px at 8% -8%, rgba(244, 196, 93, 0.16), transparent 52%),
        radial-gradient(800px 480px at 96% 0%, rgba(92, 184, 255, 0.16), transparent 48%),
        radial-gradient(700px 400px at 50% 110%, rgba(167, 139, 250, 0.1), transparent 50%),
        var(--bg);
    color: var(--ink);
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    min-height: 100%;
    letter-spacing: -0.01em;
}

h1, h2, h3, .display, .brand-text strong, .quote-price, .metric-card .value {
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    letter-spacing: -0.03em;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-2); }

.container-app {
    width: min(1220px, calc(100% - 1.5rem));
    margin: 0 auto;
}

.app-main { padding: 1.4rem 0 5.5rem; }

.app-nav {
    position: sticky;
    top: 0;
    z-index: 1030;
    backdrop-filter: blur(22px);
    background: rgba(7, 9, 15, 0.78);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    min-height: 76px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--ink) !important;
    flex-shrink: 0;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #ffe08a, #f4c45d 45%, #e08a2c);
    color: #1a1204;
    font-weight: 800;
    font-size: 1.15rem;
    box-shadow: 0 8px 22px rgba(244, 196, 93, 0.28);
}

.brand-logo {
    display: block;
    height: 42px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}
.brand img.brand-logo,
.app-nav .brand-logo {
    height: 40px;
    width: 40px;
    max-width: none;
    object-fit: contain;
    background: #fff;
    border-radius: 50%;
    padding: 5px;
}
.brand-logo-lg {
    height: 72px;
    max-width: 240px;
    margin: 0 auto;
}
.brand-logo-sm {
    height: 32px;
    width: 32px;
    max-width: none;
    background: #fff;
    border-radius: 50%;
    padding: 4px;
}
.auth-brand .brand-logo {
    margin: 0 auto;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.02rem; font-weight: 800; }
.brand-text small {
    color: var(--muted);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-left: 0.4rem;
    padding: 0.28rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--muted);
    padding: 0.52rem 0.85rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.86rem;
}

.nav-links a i { font-size: 0.95rem; }
.nav-links a.active,
.nav-links a:hover {
    color: #1a1204;
    background: linear-gradient(180deg, #ffe08a, var(--gold));
}

.nav-end {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.nav-user { align-items: center; gap: 0.7rem; }

.nav-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(160deg, rgba(92, 184, 255, 0.35), rgba(167, 139, 250, 0.28));
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-weight: 800;
    color: var(--ink);
}

.nav-user-meta { text-align: left; line-height: 1.15; }
.nav-user-meta strong { font-size: 0.88rem; }
.nav-user-meta small { color: var(--muted); display: block; font-size: 0.72rem; font-weight: 600; }

.btn-logout {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: var(--ink);
    border-radius: 999px;
    padding: 0.42rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 700;
}
.btn-logout:hover { background: rgba(255, 107, 138, 0.14); color: #ffd0d8; border-color: rgba(255, 107, 138, 0.3); }

.nav-toggle {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--card);
    color: var(--ink);
    width: 44px;
    height: 44px;
    border-radius: 14px;
}

.app-offcanvas { background: #0e1320; }
.app-offcanvas .offcanvas-header { border-bottom: 1px solid var(--line); }
.mobile-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.4rem 0 1.1rem;
}
.mobile-user span:last-child,
.mobile-user div span { display: block; color: var(--muted); font-size: 0.82rem; }
.mobile-nav { display: grid; gap: 0.4rem; }
.mobile-nav a {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.85rem 0.95rem;
    border-radius: 14px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.03);
    font-weight: 700;
}
.mobile-nav a.active,
.mobile-nav a:hover {
    background: rgba(244, 196, 93, 0.14);
    color: var(--gold-2);
}

.page-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin: 0.2rem 0 1.4rem;
}
.page-head h1 { font-size: clamp(1.75rem, 3.4vw, 2.45rem); margin: 0; font-weight: 800; }
.page-head p { color: var(--muted); margin: 0.35rem 0 0; max-width: 38rem; }

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}
.section-head h2 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.live-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--ok);
    box-shadow: 0 0 0 0 rgba(62, 224, 160, 0.7);
    animation: pulse 1.6s infinite;
}
@keyframes pulse {
    70% { box-shadow: 0 0 0 8px rgba(62, 224, 160, 0); }
    100% { box-shadow: 0 0 0 0 rgba(62, 224, 160, 0); }
}

.chip {
    border-radius: 999px;
    padding: 0.28rem 0.7rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.metric-grid, .ride-grid, .form-grid { display: grid; gap: 1rem; }
.metric-grid {
    grid-template-columns: 1fr;
    margin-bottom: 1.5rem;
}

.glass-card {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.045), transparent 42%),
        var(--card);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.15rem 1.2rem;
}

.metric-card {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
}
.metric-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-size: 1.15rem;
}
.metric-card.tone-ok .metric-icon { background: rgba(62, 224, 160, 0.14); color: var(--ok); }
.metric-card.tone-gold .metric-icon { background: rgba(244, 196, 93, 0.16); color: var(--gold-2); }
.metric-card.tone-info .metric-icon { background: rgba(92, 184, 255, 0.16); color: var(--info); }
.metric-card.tone-warn .metric-icon { background: rgba(255, 200, 87, 0.16); color: var(--warn); }
.metric-card.tone-violet .metric-icon { background: rgba(167, 139, 250, 0.16); color: var(--violet); }
.metric-card .label {
    color: var(--muted);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 700;
}
.metric-card .value {
    font-size: 1.75rem;
    font-weight: 800;
    margin-top: 0.15rem;
    line-height: 1.1;
}
.metric-card .hint { color: var(--muted); font-size: 0.82rem; margin-top: 0.2rem; }

.btn-gold {
    --bs-btn-color: #1a1204;
    --bs-btn-bg: var(--gold);
    --bs-btn-border-color: var(--gold);
    --bs-btn-hover-bg: var(--gold-2);
    --bs-btn-hover-border-color: var(--gold-2);
    --bs-btn-hover-color: #1a1204;
    font-weight: 800;
    border-radius: 14px !important;
    box-shadow: 0 10px 24px rgba(244, 196, 93, 0.22);
}
.btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--ink);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px !important;
}
.btn-ghost:hover { background: var(--card-2); color: var(--ink); }

.badge-soft {
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
    font-weight: 800;
    font-size: 0.72rem;
    letter-spacing: 0.02em;
}
.st-pending { background: rgba(255, 200, 87, 0.16); color: var(--warn); }
.st-active { background: rgba(92, 184, 255, 0.16); color: var(--info); }
.st-completed { background: rgba(62, 224, 160, 0.16); color: var(--ok); }
.st-cancelled { background: rgba(255, 107, 138, 0.16); color: var(--danger); }
.st-available { background: rgba(62, 224, 160, 0.16); color: var(--ok); }
.st-on_duty { background: rgba(92, 184, 255, 0.16); color: var(--info); }
.st-passive { background: rgba(154, 168, 194, 0.14); color: var(--muted); }

.ride-card { padding: 0; overflow: hidden; }
.ride-card .body { padding: 1.05rem 1.15rem 1.15rem; }
.ride-card .top {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: flex-start;
}
.route { font-weight: 800; line-height: 1.35; }
.route small { display: block; color: var(--muted); font-weight: 600; }
.meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1rem;
    color: var(--muted);
    font-size: 0.9rem;
    margin: 0.7rem 0;
}
.team { display: flex; align-items: center; gap: 0.55rem; }
.avatar, .avatar-lg {
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(244, 196, 93, 0.45);
    background: #222;
}
.avatar { width: 36px; height: 36px; }
.avatar-lg { width: 92px; height: 92px; }
.actions { display: flex; flex-wrap: wrap; gap: 0.45rem; }

.table-darkish {
    --bs-table-bg: transparent;
    --bs-table-color: var(--ink);
    --bs-table-border-color: rgba(255, 255, 255, 0.06);
    --bs-table-striped-bg: rgba(255,255,255,0.025);
}

.form-control, .form-select, .form-control:focus, .form-select:focus {
    background: #0c111b;
    border-color: rgba(255,255,255,0.08);
    color: var(--ink);
    box-shadow: none;
    border-radius: 12px;
}
.form-control:focus, .form-select:focus { border-color: var(--gold); }
.form-label { color: var(--muted); font-weight: 700; font-size: 0.84rem; }

.modal-content {
    background: #121826;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
}
.modal-header, .modal-footer { border-color: rgba(255, 255, 255, 0.06); }

.fab {
    position: fixed;
    right: 1rem;
    bottom: 1.1rem;
    z-index: 1040;
    box-shadow: 0 12px 30px rgba(244, 196, 93, 0.28);
}

.auth-body {
    background:
        radial-gradient(700px 360px at 20% 0%, rgba(244, 196, 93, 0.18), transparent 50%),
        radial-gradient(600px 360px at 90% 20%, rgba(92, 184, 255, 0.16), transparent 46%),
        var(--bg);
}
.auth-wrap {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 1.5rem;
}
.auth-card { width: min(440px, 100%); padding: 2.1rem 1.5rem; }
.auth-card h1 { font-size: 2rem; font-weight: 800; }

.driver-card {
    width: min(390px, 100%);
    margin: 0 auto;
    border-radius: 24px;
    padding: 1.4rem;
    background:
        linear-gradient(180deg, rgba(244,196,93,0.18), transparent 32%),
        linear-gradient(160deg, #1c160c, #121826 55%, #0c111b);
    border: 1px solid rgba(244, 196, 93, 0.38);
    position: relative;
    overflow: hidden;
}
.driver-card::after {
    content: "";
    position: absolute;
    inset: auto -20% -30% 40%;
    height: 180px;
    background: radial-gradient(circle, rgba(244,196,93,0.18), transparent 60%);
}
.card-kicker {
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.7rem;
    color: var(--gold);
    font-weight: 800;
}
.stars { color: var(--gold-2); letter-spacing: 2px; }
.plate {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #f3f4f1;
    color: #111;
    border-radius: 8px;
    padding: 0.28rem 0.55rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}
.plate span {
    background: #1f4f9a;
    color: #fff;
    border-radius: 4px;
    padding: 0 0.28rem;
    font-size: 0.75rem;
}
.badge-safe {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(62, 224, 160, 0.12);
    color: var(--ok);
    border: 1px solid rgba(62, 224, 160, 0.28);
    border-radius: 999px;
    padding: 0.4rem 0.75rem;
    font-weight: 700;
}

.wa-box {
    background: #0c111b;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 1rem;
    white-space: pre-wrap;
    font-size: 0.92rem;
}

.empty-state {
    text-align: center;
    padding: 2.6rem 1rem;
    color: var(--muted);
}
.empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 0.9rem;
    border-radius: 20px;
    display: grid;
    place-items: center;
    background: rgba(244, 196, 93, 0.12);
    color: var(--gold-2);
    font-size: 1.6rem;
}

.app-alert { border: 0; border-radius: 14px; }

.progress { background: #0c111b; height: 10px; border-radius: 999px; }
.progress-bar { background: linear-gradient(90deg, var(--gold), var(--ok)); border-radius: 999px; }

@media (min-width: 768px) {
    .metric-grid { grid-template-columns: repeat(4, 1fr); }
    .ride-grid { grid-template-columns: repeat(2, 1fr); }
    .form-grid.two { grid-template-columns: 1fr 1fr; }
    .app-main { padding-top: 1.8rem; }
}

@media (max-width: 767.98px) {
    .page-head { flex-direction: column; align-items: flex-start; }
    .container-app { width: min(1220px, calc(100% - 1rem)); }
    .metric-card .value { font-size: 1.45rem; }
}

.app-main-flush { padding: 0 0 5rem; }
.live-map {
    height: 380px;
    border-radius: 16px;
    overflow: hidden;
    background: #0c111b;
}
.live-map-fleet { height: min(62vh, 560px); min-height: 420px; }
.admin-map-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
}
@media (min-width: 992px) {
    .admin-map-layout { grid-template-columns: 1fr 280px; align-items: stretch; }
    .admin-driver-list { max-height: min(62vh, 560px); }
}
.admin-driver-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    max-height: 240px;
    overflow: auto;
    padding: 0.15rem;
}
.admin-driver-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    text-align: left;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(12, 17, 27, 0.8);
    color: inherit;
    border-radius: 14px;
    padding: 0.65rem 0.75rem;
}
.admin-driver-item:hover,
.admin-driver-item.is-active {
    border-color: rgba(244, 196, 93, 0.45);
    background: rgba(244, 196, 93, 0.08);
}
.admin-driver-swatch {
    width: 10px;
    height: 34px;
    border-radius: 99px;
    flex: 0 0 auto;
}
.admin-driver-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}
.admin-driver-meta strong { font-size: 0.92rem; }
.admin-driver-meta small {
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.admin-driver-state {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--muted);
}
.admin-driver-state.is-live { color: #7ee787; }
.driver-pin { background: none; border: 0; }
.driver-pin-dot {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--pin, #f4c45d);
    color: #111;
    font-weight: 800;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.35);
}
.driver-pin-dot.is-live {
    box-shadow: 0 0 0 3px rgba(0,0,0,0.35), 0 0 0 6px color-mix(in srgb, var(--pin) 35%, transparent);
}
.map-road { color: #f4c45d; }
.track-body .app-main { padding: 0; }
.track-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.track-map {
    flex: 1;
    min-height: 58vh;
    background: #0c111b;
}
.track-info {
    margin: 0.75rem;
    border-radius: 18px;
}
.track-line { margin-bottom: 0.2rem; }
.leaflet-container { background: #0c111b; font-family: inherit; }
.map-dark .leaflet-tile { filter: invert(1) hue-rotate(180deg) brightness(0.95) contrast(0.92) saturate(0.55); }
.map-dark .leaflet-control-attribution { background: rgba(7, 9, 15, 0.7); color: var(--muted); }
.wake-fab {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 1040;
    box-shadow: 0 12px 30px rgba(244, 196, 93, 0.28);
}
@media (min-width: 768px) {
    .wake-fab { left: auto; right: 1.25rem; width: auto; }
}

.public-top {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(18px);
    background: rgba(7, 9, 15, 0.78);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.public-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
}
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}
.quote-public .app-main { padding-top: 1.2rem; }
.pac-container {
    z-index: 20000 !important;
    background: #121826;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f4f7ff;
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}
.pac-item { color: #d7deea; border-top-color: rgba(255,255,255,0.06); }
.pac-item-query { color: #fff; }
.pac-item:hover, .pac-item-selected { background: #1c2740; }
.btn-loc {
    border: 1px solid rgba(92, 184, 255, 0.35);
    background: rgba(92, 184, 255, 0.1);
    color: #d7ecff;
    font-weight: 800;
    border-radius: 14px !important;
    padding: 0.72rem 1rem;
}
.btn-loc:hover { background: rgba(92, 184, 255, 0.18); color: #fff; }
.live-loc {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 0.7rem;
    background: #0c111b;
}
.live-loc-map {
    display: block;
    width: 100%;
    height: 220px;
    border: 0;
    background: #0c111b;
}
.live-loc-meta {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.7rem 0.85rem 0.8rem;
}
.live-loc-meta strong { font-size: 0.88rem; }
.live-loc-meta span { color: var(--muted); font-size: 0.8rem; }
.place-field { position: relative; }
.place-suggest {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    z-index: 30;
    margin: 0;
    padding: 0.35rem 0;
    list-style: none;
    max-height: 240px;
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: #121826;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.place-suggest li {
    padding: 0.55rem 0.85rem;
    color: #d7deea;
    cursor: pointer;
    font-size: 0.92rem;
}
.place-suggest li:hover,
.place-suggest li:focus {
    background: #1c2740;
    color: #fff;
}
.quote-wrap { max-width: 640px; margin: 0 auto; }
.quote-card h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin-bottom: 0.35rem; font-weight: 800; }
.quote-result {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}
.quote-price {
    font-size: clamp(2.4rem, 8vw, 3.6rem);
    font-weight: 800;
    color: var(--gold-2);
    line-height: 1.1;
}
.quote-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.1rem;
    margin-top: 0.9rem;
    color: var(--muted);
    font-size: 0.92rem;
}
.quote-meta strong { color: var(--ink); }
.when-pick { display: grid; gap: 0.65rem; }
.when-pick.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) {
    .when-pick.two { grid-template-columns: 1fr; }
}
.service-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.service-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(244, 196, 93, 0.28);
    background: rgba(244, 196, 93, 0.1);
    color: var(--gold-2);
    font-size: 0.82rem;
    font-weight: 600;
}
.when-option {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.85rem 0.95rem;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    cursor: pointer;
}
.when-option input { margin-top: 0.25rem; }
.when-option strong { display: block; }
.when-option small { display: block; color: var(--muted); }
.when-option:has(input:checked) {
    border-color: rgba(244, 196, 93, 0.45);
    background: rgba(244, 196, 93, 0.1);
}
.quote-message {
    margin-top: 1.25rem;
    text-align: left;
}
.quote-message .wa-box { text-align: left; }

html:has(body.quote-public),
body.quote-public {
    --bg: #0b1220;
    --bg-elev: #10192a;
    --card: #121c2b;
    --card-2: #182433;
    --gold: #1bc183;
    --gold-2: #2fd49a;
    --ink: #f4f7ff;
    --muted: #a8b4c8;
    --ok: #2fd49a;
    --info: #1bc183;
    --line: rgba(27, 193, 131, 0.18);
    --shadow: 0 20px 48px rgba(7, 12, 22, 0.45);
    background:
        radial-gradient(900px 420px at 8% -8%, rgba(27, 193, 131, 0.18), transparent 52%),
        radial-gradient(800px 480px at 96% 0%, rgba(16, 25, 42, 0.45), transparent 48%),
        var(--bg);
}

.quote-public .public-top {
    background: rgba(11, 18, 32, 0.9);
    border-bottom: 1px solid rgba(27, 193, 131, 0.16);
}

.quote-public .gagg-quote-brand {
    gap: 12px;
}

.quote-public .gagg-mark-wrap {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    flex-shrink: 0;
    box-shadow: 0 8px 22px rgba(16, 25, 42, 0.35);
}

.quote-public .gagg-mark-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.quote-public .brand-text strong {
    font-size: 1.08rem;
    letter-spacing: -0.03em;
}

.quote-public .brand-text small {
    color: #2fd49a;
    letter-spacing: 0.04em;
}

.quote-public .glass-card {
    border: 1px solid rgba(27, 193, 131, 0.16);
    background:
        linear-gradient(180deg, rgba(27, 193, 131, 0.08), transparent 42%),
        rgba(16, 25, 42, 0.82);
}

.quote-public .btn-gold {
    --bs-btn-color: #0b1220;
    --bs-btn-bg: #1bc183;
    --bs-btn-border-color: #1bc183;
    --bs-btn-hover-bg: #2fd49a;
    --bs-btn-hover-border-color: #2fd49a;
    --bs-btn-hover-color: #0b1220;
    box-shadow: 0 10px 24px rgba(27, 193, 131, 0.28);
}

.quote-public .form-control:focus,
.quote-public .form-select:focus {
    border-color: #1bc183;
}

.quote-public .btn-loc {
    border-color: rgba(27, 193, 131, 0.4);
    background: rgba(27, 193, 131, 0.12);
    color: #d8fff0;
}

.quote-public .btn-loc:hover {
    background: rgba(27, 193, 131, 0.22);
    color: #fff;
}

.quote-public .service-pill {
    border-color: rgba(27, 193, 131, 0.32);
    background: rgba(27, 193, 131, 0.12);
    color: #2fd49a;
}

.quote-public .when-option:has(input:checked) {
    border-color: rgba(27, 193, 131, 0.5);
    background: rgba(27, 193, 131, 0.12);
}

.quote-public .empty-icon {
    background: rgba(27, 193, 131, 0.14);
    color: #2fd49a;
}

.quote-public a:not(.btn):not(.brand) {
    color: #2fd49a;
}

.quote-public a:not(.btn):not(.brand):hover {
    color: #1bc183;
}
