/* HaloGari app refresh */
:root {
    --hg-green: #245c36;
    --hg-green-2: #0e2e20;
    --hg-orange: #ee7911;
    --hg-gold: #ffbd59;
    --hg-ink: #17211b;
    --hg-muted: #647268;
    --hg-line: rgba(36, 92, 54, .14);
    --hg-surface: rgba(255, 255, 255, .86);
    --hg-shadow: 0 22px 70px rgba(23, 33, 27, .14);
    --hg-font-body: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --hg-font-display: 'Fraunces', Georgia, serif;
    --hg-z-mobile-tabbar: 1020;
    --hg-z-navbar: 1030;
    --hg-z-helpbot: 1035;
    --hg-z-offcanvas-backdrop: 1040;
    --hg-z-offcanvas: 1045;
    --hg-z-modal-backdrop: 1050;
    --hg-z-modal: 1055;
    --hg-z-floating-control: 1065;
    --hg-z-swal: 20000;
    --hg-z-splash: 99999;
}

html {
    scroll-behavior: smooth;
}

body.app-shell {
    font-family: var(--hg-font-body);
    color: var(--hg-ink);
    background:
        radial-gradient(circle at 12% 8%, rgba(238, 121, 17, .12), transparent 28rem),
        radial-gradient(circle at 90% 18%, rgba(36, 92, 54, .16), transparent 24rem),
        linear-gradient(180deg, #f7faf5 0%, #ffffff 42%, #f4f8f2 100%);
    overflow-x: hidden;
}

h1,
h2,
.app-page-header h1,
.app-hero__content h1 {
    font-family: var(--hg-font-display);
    letter-spacing: 0;
}

body.app-shell::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    opacity: .32;
    background-image:
        linear-gradient(rgba(36, 92, 54, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(36, 92, 54, .07) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, #000, transparent 70%);
}

.app-main {
    padding-top: 7rem;
}

.app-navbar {
    min-height: 74px;
    z-index: var(--hg-z-navbar) !important;
    border-bottom: 1px solid rgba(255, 255, 255, .42);
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 45px rgba(23, 33, 27, .08);
}

@media screen and (min-width: 992px) {
    .app-navbar.fixed-top {
        top: 16px;
        right: 16px;
        left: 16px;
        width: auto;
        max-width: 1180px;
        margin-right: auto;
        margin-left: auto;
        border: 1px solid rgba(255, 255, 255, .58);
        border-radius: 22px;
        padding: .35rem .55rem;
        transform: none;
        overflow: hidden;
    }

    .app-navbar > .container {
        max-width: none;
    }

    .app-is-scrolled .app-navbar.fixed-top {
        top: 10px;
        max-width: 1120px;
    }
}

@media screen and (max-width: 991.98px) {
    .app-navbar.fixed-top {
        top: 0;
        right: 0;
        left: 0;
        width: 100%;
        max-width: none;
        margin: 0;
        border-radius: 0;
    }
}

.app-brand img {
    width: 126px;
    height: auto;
}

.app-nav-link,
.app-icon-link,
.app-user-button,
.app-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .48rem;
    min-height: 42px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--hg-green);
    background: transparent;
    text-decoration: none;
    font-weight: 800;
    padding: .55rem .8rem;
    transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.app-is-scrolled .app-navbar {
    min-height: 66px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 12px 38px rgba(23, 33, 27, .12);
}

.app-nav-link:hover,
.app-nav-link.active,
.app-icon-link:hover,
.app-user-button:hover,
.app-menu-button:hover {
    color: var(--hg-green-2);
    background: rgba(36, 92, 54, .09);
    transform: translateY(-1px);
}

.platform-announcement {
    position: relative;
    z-index: calc(var(--hg-z-navbar) - 2);
    overflow: hidden;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, .52);
    border-bottom: 1px solid rgba(23, 33, 27, .08);
    background: linear-gradient(90deg, #245c36, #2f7546);
    color: #fff;
    box-shadow: 0 12px 32px rgba(23, 33, 27, .12);
}

.app-main .platform-announcement,
main > .platform-announcement:first-child {
    margin-top: 0;
}

main.pt-0 > .platform-announcement:first-child {
    margin-top: 74px;
}

.platform-announcement__track {
    display: flex;
    width: max-content;
    min-width: 100%;
    animation: platform-announcement-scroll 28s linear infinite;
}

.platform-announcement:hover .platform-announcement__track,
.platform-announcement:focus-within .platform-announcement__track {
    animation-play-state: paused;
}

.platform-announcement__item {
    display: inline-flex;
    align-items: center;
    gap: .85rem;
    min-width: max-content;
    padding: .62rem 2.5rem;
    font-size: .93rem;
    font-weight: 700;
    white-space: nowrap;
}

.platform-announcement__badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .26rem .58rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    color: #fff;
    font-size: .76rem;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.platform-announcement__item strong {
    color: #ffbd59;
}

.platform-announcement__link {
    display: inline-flex;
    align-items: center;
    color: #fff;
    text-decoration: underline;
    text-underline-offset: .22rem;
}

.platform-announcement__link:hover,
.platform-announcement__link:focus-visible {
    color: #ffbd59;
}

.platform-announcement--maintenance {
    background: linear-gradient(90deg, #17211b, #245c36);
}

.platform-announcement--warning {
    background: linear-gradient(90deg, #8a3a0f, #ee7911);
}

.platform-announcement--success {
    background: linear-gradient(90deg, #1f7a43, #38a160);
}

@keyframes platform-announcement-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .platform-announcement__track {
        animation: none;
    }
}

@media screen and (min-width: 992px) {
    main.pt-0 > .platform-announcement:first-child {
        margin-top: 106px;
    }
}

@media screen and (max-width: 991.98px) {
    .platform-announcement__item {
        gap: .62rem;
        padding: .55rem 1.4rem;
        font-size: .82rem;
    }

    .platform-announcement__badge {
        font-size: .68rem;
    }
}

.app-icon-link,
.app-menu-button {
    width: 44px;
    padding: 0;
}

.app-icon-link {
    border-color: rgba(36, 92, 54, .12);
    background: rgba(255, 255, 255, .58);
}

.app-icon-link .badge {
    display: inline-grid;
    place-items: center;
    min-width: 1.34rem;
    height: 1.34rem;
    padding: 0 .32rem;
    border: 2px solid #fff;
    box-shadow: 0 5px 14px rgba(23, 33, 27, .16);
}

.app-user-button {
    background: #fff;
    box-shadow: 0 10px 28px rgba(23, 33, 27, .08);
}

.app-login-button {
    min-height: 44px;
    border-radius: 8px;
    font-weight: 800;
}

.app-drawer {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(246, 250, 245, .95)),
        radial-gradient(circle at top right, rgba(238, 121, 17, .18), transparent 18rem);
    backdrop-filter: blur(20px);
}

.app-drawer__logo {
    max-width: 128px;
}

.app-drawer__actions {
    display: grid;
    gap: .65rem;
}

.app-drawer__actions a,
.app-drawer__actions button {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-height: 50px;
    border: 1px solid var(--hg-line);
    border-radius: 8px;
    background: #fff;
    color: var(--hg-ink);
    padding: .8rem .9rem;
    text-decoration: none;
    font-weight: 800;
    text-align: left;
}

.app-drawer__actions a:not(.app-drawer__logout):hover,
.app-drawer__actions a:not(.app-drawer__logout):focus-visible,
.app-drawer__actions button:not(.app-drawer__logout):hover,
.app-drawer__actions button:not(.app-drawer__logout):focus-visible {
    color: var(--hg-green);
    border-color: rgba(36, 92, 54, .22);
    background: rgba(36, 92, 54, .08);
}

.app-drawer__actions .is-active {
    color: #fff;
    border-color: transparent;
    background: var(--hg-green);
}

.app-drawer__actions .installAppBtn {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--hg-orange), #ff9f2f);
    box-shadow: 0 12px 28px rgba(238, 121, 17, .18);
}

.app-drawer__actions .installAppBtn:hover,
.app-drawer__actions .installAppBtn:focus-visible {
    color: #fff;
    background: linear-gradient(135deg, #f36f0b, var(--hg-orange));
    box-shadow: 0 16px 34px rgba(238, 121, 17, .24);
}

.app-drawer__actions .app-drawer__logout {
    color: #b42318;
    border-color: rgba(180, 35, 24, .18);
    background: rgba(180, 35, 24, .06);
}

.app-drawer__actions .app-drawer__logout:hover,
.app-drawer__actions .app-drawer__logout:focus-visible {
    color: #fff;
    border-color: transparent;
    background: #b42318;
}

.mobile-tabbar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: var(--hg-z-mobile-tabbar);
    display: flex;
    justify-content: center;
    gap: .25rem;
    padding: .45rem;
    border: 1px solid rgba(255, 255, 255, .56);
    border-radius: 18px;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(20px);
    box-shadow: 0 16px 45px rgba(23, 33, 27, .2);
}

.mobile-tabbar a,
.mobile-tabbar button {
    display: grid;
    flex: 1 1 0;
    place-items: center;
    gap: .12rem;
    min-height: 54px;
    border-radius: 14px;
    border: 0;
    color: var(--hg-muted);
    background: transparent;
    text-decoration: none;
    font-size: .68rem;
    font-weight: 800;
}

.mobile-tabbar i {
    font-size: 1.15rem;
}

.mobile-tabbar a.active,
.mobile-tabbar a:hover,
.mobile-tabbar button:hover,
.mobile-tabbar button:focus-visible {
    color: #fff;
    background: linear-gradient(135deg, var(--hg-green), #3a8a52);
}

.mobile-tabbar__account .hg-avatar-wrap {
    width: 34px !important;
    height: 34px !important;
}

.mobile-tabbar__account {
    min-width: 0;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
    outline: 0;
    box-shadow: none;
}

.mobile-tabbar__account:hover,
.mobile-tabbar__account:focus-visible {
    background: transparent;
    outline: 0;
    box-shadow: none;
    transform: none;
}

.mobile-tabbar__account:focus {
    outline: 0;
    box-shadow: none;
}

.mobile-tabbar__account:hover .hg-verified-badge,
.mobile-tabbar__account:focus-visible .hg-verified-badge {
    border-color: #22c55e;
}

.mobile-tabbar__main {
    color: inherit;
    background: transparent;
    box-shadow: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-height: 44px;
    padding: .62rem .95rem;
    border-radius: 8px;
    font-size: .92rem;
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: 0;
    box-shadow: none;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, background .18s ease, border-color .18s ease;
}

.btn-sm {
    min-height: 34px;
    padding: .42rem .68rem;
    border-radius: 7px;
    font-size: .8rem;
    font-weight: 820;
}

.btn-lg {
    min-height: 50px;
    padding: .72rem 1.08rem;
    border-radius: 9px;
    font-size: .98rem;
    font-weight: 900;
}

.btn-orange,
.btn-vert,
.btn-primary,
.btn-success {
    box-shadow: 0 10px 24px rgba(23, 33, 27, .12);
}

.btn-orange {
    position: relative;
    overflow: hidden;
    color: #fff;
    border-color: transparent;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 46%),
        linear-gradient(135deg, #f1760b 0%, #ff8a13 48%, #ffba54 100%);
    box-shadow:
        0 14px 30px rgba(238, 121, 17, .28),
        0 4px 10px rgba(36, 92, 54, .08),
        inset 0 1px 0 rgba(255, 255, 255, .35);
}

.btn-orange:not(.btn-sm)::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, .28) 38%, transparent 62%);
    transform: translateX(-135%);
    transition: transform .5s ease;
}

.btn-orange:not(.btn-sm):hover::after,
.btn-orange:not(.btn-sm):focus-visible::after {
    transform: translateX(135%);
}

.btn-vert,
.btn-success {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--hg-green), #45a161);
}

.btn-primary {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--hg-green), #245c36);
}

.btn-outline-orange,
.btn-outline-primary,
.btn-outline-success,
.btn-outline-secondary,
.btn-outline-danger,
.btn-outline-warning {
    background-color: rgba(255, 255, 255, .86);
    box-shadow: inset 0 0 0 1px rgba(36, 92, 54, .04);
}

.btn-light {
    color: var(--hg-green);
    border-color: rgba(255, 255, 255, .5);
    background: rgba(255, 255, 255, .9);
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-orange:hover,
.btn-orange:focus {
    color: #fff;
    border-color: transparent;
    filter: saturate(1.08);
    box-shadow:
        0 18px 38px rgba(238, 121, 17, .34),
        0 8px 18px rgba(36, 92, 54, .1),
        inset 0 1px 0 rgba(255, 255, 255, .42);
}

.btn-orange:active {
    transform: translateY(0) scale(.99);
    box-shadow:
        0 8px 18px rgba(238, 121, 17, .22),
        inset 0 2px 6px rgba(128, 60, 0, .16);
}

.btn:focus-visible {
    box-shadow: 0 0 0 .22rem rgba(31, 116, 71, .16);
}

.app-actions .btn,
.quick-search .btn,
.trust-strip .btn,
.hg-form-actions .btn {
    min-height: 48px;
}

.search-page-layout {
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: clamp(2.2rem, 5vw, 4rem);
}

.search-page-form--wide {
    width: min(100%, 1060px);
    margin: 0 auto;
}

.search-page-form--wide .ride-scene {
    width: 100%;
    max-width: none;
    margin: 0 0 1rem;
}

.search-page-form--wide .quick-search__title {
    margin-bottom: .9rem;
    text-align: center;
}

.search-page-form--wide .form-floating > .form-control,
.search-page-form--wide .form-floating > .form-select {
    min-height: 58px;
}

.search-page-form--wide .search-form-field {
    min-width: 0;
}

.search-page-form--wide .input-group-text {
    min-width: 46px;
    justify-content: center;
    border-color: rgba(36, 92, 54, .14);
    background: rgba(36, 92, 54, .07);
}

.search-page-form--wide .btn-orange {
    box-shadow: none;
}

.search-page-fields {
    display: grid;
    gap: .75rem;
}

.home-search-mobile-trigger,
.home-search-form__mobile-head {
    display: none;
}

.home-search-form {
    z-index: 4;
    width: min(100%, 430px);
    margin: clamp(1.25rem, 2.5vw, 2rem) auto 0;
}

.home-search-placeholder {
    height: 0;
}

.home-search-form .ride-scene {
    width: 100%;
    max-width: none;
    margin-bottom: 1rem;
}

.home-search-form .search-form-field {
    margin-bottom: .75rem;
}

.home-search-form .quick-search__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(96px, .32fr);
    gap: .75rem;
}

.home-search-fields {
    display: grid;
    gap: .75rem;
}

@media screen and (min-width: 992px) {
    .home-search-form {
        display: block;
        width: min(100%, 1120px);
        margin-top: clamp(.45rem, 1.4vw, 1rem);
        padding: .78rem;
        border: 2px solid rgba(238, 121, 17, .86) !important;
        border-radius: 14px !important;
        background: rgba(255, 255, 255, .9) !important;
        box-shadow: 0 22px 54px rgba(31, 45, 36, .16);
        backdrop-filter: blur(14px);
    }

    .home-search-form .ride-scene,
    .home-search-form .quick-search__title {
        grid-column: 1 / -1;
    }

    .home-search-fields {
        display: grid;
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.15fr) minmax(160px, .7fr) minmax(120px, .45fr) minmax(170px, .65fr);
        gap: 0;
        align-items: stretch;
        overflow: visible;
        border: 2px solid var(--hg-orange);
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 12px 26px rgba(31, 45, 36, .1);
    }

    .home-search-form .ride-scene {
        width: 100%;
        height: 74px;
        margin-bottom: .72rem;
    }

    .home-search-form .ride-scene__sign {
        top: 9px;
        padding: .2rem .5rem;
        font-size: .63rem;
    }

    .home-search-form .ride-scene__road {
        bottom: 20px;
        height: 6px;
    }

    .home-search-form .ride-scene__van {
        bottom: 18px;
        width: 38px;
        height: 30px;
    }

    .home-search-form .ride-scene__van i {
        font-size: 1.14rem;
    }

    .home-search-form .ride-scene__group--start,
    .home-search-form .ride-scene__group--arrival {
        bottom: 24px;
    }

    .home-search-form > .search-form-field,
    .home-search-form .quick-search__row {
        margin-bottom: 0;
    }

    .home-search-form > .search-form-field,
    .home-search-form .quick-search__row .search-form-field {
        border-right: 1px solid rgba(36, 92, 54, .14);
    }

    .home-search-form .quick-search__row {
        display: contents;
    }

    .home-search-fields .search-form-field {
        min-width: 0;
        margin-bottom: 0;
        border-right: 1px solid rgba(36, 92, 54, .12);
    }

    .home-search-form .search-form-field .input-group-text,
    .home-search-form .search-form-field .form-control,
    .home-search-form .search-form-field .form-select {
        border-color: transparent;
        background: #fff;
        box-shadow: none;
    }

    .home-search-form .form-floating > label {
        color: var(--hg-green);
        font-weight: 900;
    }

    .home-search-fields .input-group-text {
        display: none;
    }

    .home-search-fields .form-floating > .form-control,
    .home-search-fields .form-floating > .form-select,
    .home-search-fields .input-group > .form-floating > .form-control,
    .home-search-fields .input-group > .form-floating > .form-select {
        min-height: 62px;
        border: 0;
        border-radius: 0;
        background: #fff;
        box-shadow: none;
    }

    .home-search-form .btn {
        min-height: 62px;
        border-radius: 0 12px 12px 0;
        box-shadow: none;
    }

    body.home-search-stuck .home-search-form {
        position: fixed;
        top: 84px;
        left: 50%;
        z-index: var(--hg-z-navbar);
        align-items: stretch;
        width: min(calc(100% - 48px), 1120px);
        margin: 0;
        padding: 0;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none;
        transform: translateX(-50%);
    }

    body.home-search-stuck .home-search-form .ride-scene,
    body.home-search-stuck .home-search-form .quick-search__title {
        display: none;
    }

    body.home-search-stuck .home-search-form .quick-search__row {
        display: contents;
    }

    body.home-search-stuck .home-search-form .search-form-field,
    body.home-search-stuck .home-search-form .quick-search__row {
        margin-bottom: 0;
    }

    body.home-search-stuck .home-search-form .search-form-field {
        border-right: 1px solid rgba(36, 92, 54, .14);
    }

    body.home-search-stuck .home-search-form .input-group-text {
        display: none;
    }

    body.home-search-stuck .home-search-fields {
        box-shadow: 0 16px 36px rgba(23, 33, 27, .16);
    }

    body.home-search-stuck .home-search-form .form-floating > .form-control,
    body.home-search-stuck .home-search-form .form-floating > .form-select,
    body.home-search-stuck .home-search-form .input-group > .form-floating > .form-control,
    body.home-search-stuck .home-search-form .input-group > .form-floating > .form-select {
        min-height: 62px;
        border: 0;
        border-radius: 0;
        background: #fff;
        box-shadow: none;
    }

    body.home-search-stuck .home-search-form .btn-orange {
        min-height: 62px;
        border-radius: 0 11px 11px 0;
        box-shadow: none;
    }
}

.search-discovery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    width: min(100%, 1060px);
    margin: 1.15rem auto 0;
}

.search-discovery__panel {
    padding: 1.05rem;
    border: 1px solid rgba(36, 92, 54, .12);
    border-radius: 8px;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 18px 46px rgba(31, 45, 36, .08);
}

.search-discovery__header {
    margin-bottom: .75rem;
}

.search-discovery__header .app-kicker {
    margin-bottom: .18rem;
}

.search-discovery__header h2 {
    margin: 0;
    color: var(--hg-ink);
    font-size: clamp(1.05rem, 1.4vw, 1.24rem);
    line-height: 1.15;
}

.search-mini-list {
    display: grid;
    gap: .65rem;
}

.search-mini-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: .75rem;
    min-height: 66px;
    padding: .72rem .78rem;
    border: 1px solid rgba(36, 92, 54, .1);
    border-radius: 8px;
    color: var(--hg-ink);
    background: #fff;
    text-decoration: none;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.search-mini-card:hover,
.search-mini-card:focus {
    color: var(--hg-ink);
    border-color: rgba(238, 121, 17, .42);
    box-shadow: 0 12px 28px rgba(31, 45, 36, .09);
    transform: translateY(-1px);
}

.search-mini-card__time,
.search-mini-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    min-height: 48px;
    border-radius: 7px;
    color: var(--hg-green);
    background: rgba(36, 92, 54, .08);
    text-align: center;
}

.search-mini-card__time {
    flex-direction: column;
}

.search-mini-card__time strong,
.search-mini-card__main strong,
.search-mini-card__price {
    font-weight: 900;
}

.search-mini-card__time small,
.search-mini-card__main small {
    display: block;
    color: var(--hg-muted);
    font-size: .84rem;
}

.search-mini-card__main {
    min-width: 0;
}

.search-mini-card__main strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-mini-card__price {
    color: var(--hg-orange);
    white-space: nowrap;
}

.search-mini-card__arrow {
    color: var(--hg-muted);
}

.search-empty-line {
    padding: .85rem;
    border: 1px dashed rgba(36, 92, 54, .18);
    border-radius: 8px;
    color: var(--hg-muted);
    background: rgba(36, 92, 54, .04);
    font-weight: 750;
}

@media screen and (min-width: 992px) {
    .search-page-form--wide {
        display: block;
        padding: 1rem;
        border: 2px solid rgba(238, 121, 17, .85);
        border-radius: 14px;
        background: rgba(255, 255, 255, .96);
        box-shadow: 0 22px 54px rgba(31, 45, 36, .12);
    }

    .search-page-form--wide .ride-scene,
    .search-page-form--wide .search-page-form__title {
        grid-column: 1 / -1;
    }

    .search-page-fields {
        display: grid;
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.15fr) minmax(160px, .7fr) minmax(120px, .45fr) minmax(170px, .65fr);
        gap: 0;
        align-items: stretch;
        overflow: visible;
        border: 2px solid var(--hg-orange);
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 12px 26px rgba(31, 45, 36, .1);
    }

    .search-page-fields .search-form-field,
    .search-page-fields .quick-search__row {
        margin-bottom: 0;
    }

    .search-page-fields .search-form-field {
        min-width: 0;
        border-right: 1px solid rgba(36, 92, 54, .14);
    }

    .search-page-form--wide .search-form-field .input-group-text,
    .search-page-form--wide .search-form-field .form-control,
    .search-page-form--wide .search-form-field .form-select {
        border-color: transparent;
        background: #fff;
        box-shadow: none;
    }

    .search-page-form--wide .search-form-field .input-group-text {
        padding-right: .35rem;
    }

    .search-page-form--wide .form-floating > label {
        color: var(--hg-green);
        font-weight: 900;
    }

    .search-page-fields .input-group-text {
        display: none;
    }

    .search-page-fields .form-floating > .form-control,
    .search-page-fields .form-floating > .form-select,
    .search-page-fields .input-group > .form-floating > .form-control,
    .search-page-fields .input-group > .form-floating > .form-select {
        min-height: 62px;
        border: 0;
        border-radius: 0;
        background: #fff;
        box-shadow: none;
    }

    .search-page-fields .quick-search__row {
        display: contents;
    }

    .search-page-fields .btn {
        width: 100%;
        min-height: 62px;
        border-radius: 0 12px 12px 0;
        box-shadow: none;
    }
}

@media screen and (max-width: 991.98px) {
    .app-page-header {
        padding-top: 4.8rem;
        padding-bottom: 1.45rem;
    }

    .app-page-header h1 {
        font-size: clamp(1.75rem, 8vw, 2.35rem);
    }

    .search-discovery {
        grid-template-columns: 1fr;
    }

    .search-page-form--wide {
        max-width: 620px;
    }

    .search-discovery__panel {
        padding: .9rem;
    }

    .search-mini-card {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .search-mini-card__price,
    .search-mini-card__arrow {
        grid-column: 2;
        justify-self: start;
    }

    .search-page-fields {
        gap: 0;
        overflow: visible;
        border: 2px solid var(--hg-orange);
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 16px 34px rgba(31, 45, 36, .12);
    }

    .search-page-fields .search-form-field,
    .search-page-fields .quick-search__row {
        margin-bottom: 0;
    }

    .search-page-fields .quick-search__row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
    }

    .search-page-fields .search-form-field {
        border-bottom: 1px solid rgba(36, 92, 54, .12);
    }

    .search-page-fields .form-floating > .form-control,
    .search-page-fields .form-floating > .form-select,
    .search-page-fields .input-group > .form-floating > .form-control,
    .search-page-fields .input-group > .form-floating > .form-select {
        min-height: 60px;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .search-page-fields .input-group-text {
        border: 0;
        border-radius: 0;
        background: rgba(36, 92, 54, .07);
    }

    .search-page-fields .btn {
        min-height: 54px;
        border-radius: 0;
        box-shadow: none;
    }

    .home-search-mobile-trigger {
        position: fixed;
        top: 82px;
        right: 12px;
        left: 12px;
        z-index: calc(var(--hg-z-navbar) - 1);
        display: none;
        grid-template-columns: auto minmax(0, 1fr) minmax(88px, 24vw);
        align-items: center;
        gap: 0;
        width: auto;
        min-height: 56px;
        margin: 0;
        border: 2px solid var(--hg-orange);
        border-radius: 14px;
        background: #fff;
        color: var(--hg-ink);
        padding: 0;
        overflow: hidden;
        text-align: left;
        box-shadow: 0 14px 34px rgba(36, 92, 54, .14);
        transform: translateY(-18px);
        opacity: 0;
        isolation: isolate;
    }

    body.home-search-stuck .home-search-mobile-trigger {
        display: grid;
        animation: homeSearchDrop .24s ease forwards;
    }

    .home-search-mobile-trigger::before {
        content: "";
        position: absolute;
        z-index: -1;
        inset: -6px -12px auto;
        height: calc(100% + 12px);
        border-bottom: 1px solid rgba(36, 92, 54, .1);
        background: rgba(255, 255, 255, .94);
        box-shadow: 0 10px 24px rgba(31, 45, 36, .08);
        backdrop-filter: blur(12px);
    }

    @keyframes homeSearchDrop {
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    .home-search-mobile-trigger i {
        display: inline-grid;
        place-items: center;
        width: 44px;
        height: 100%;
        color: var(--hg-green);
        font-size: 1.1rem;
    }

    .home-search-mobile-trigger span {
        min-width: 0;
        padding: .48rem .75rem .48rem 0;
    }

    .home-search-mobile-trigger strong,
    .home-search-mobile-trigger small {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .home-search-mobile-trigger strong {
        font-size: .78rem;
        font-weight: 900;
    }

    .home-search-mobile-trigger small {
        color: var(--hg-muted);
        font-size: .72rem;
        font-weight: 800;
    }

    .home-search-mobile-trigger b {
        align-self: stretch;
        display: inline-grid;
        place-items: center;
        border-left: 1px solid rgba(238, 121, 17, .2);
        border-radius: 0;
        background: linear-gradient(135deg, var(--hg-orange), var(--hg-gold));
        color: #fff;
        padding: 0 .55rem;
        font-size: clamp(.72rem, 3vw, .82rem);
        font-weight: 900;
    }

    .home-search-form {
        display: grid;
        width: 100%;
        max-width: 620px;
    }

    .home-search-fields {
        gap: 0;
        overflow: visible;
        border: 2px solid var(--hg-orange);
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 16px 34px rgba(31, 45, 36, .12);
    }

    .home-search-fields .search-form-field,
    .home-search-fields .quick-search__row {
        margin-bottom: 0;
    }

    .home-search-fields .quick-search__row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
    }

    .home-search-fields .search-form-field {
        border-bottom: 1px solid rgba(36, 92, 54, .12);
    }

    .home-search-fields .form-floating > .form-control,
    .home-search-fields .form-floating > .form-select,
    .home-search-fields .input-group > .form-floating > .form-control,
    .home-search-fields .input-group > .form-floating > .form-select {
        min-height: 60px;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .home-search-fields .input-group-text {
        border: 0;
        border-radius: 0;
        background: rgba(36, 92, 54, .07);
    }

    body.home-search-stuck .home-search-form:not(.is-mobile-open) {
        pointer-events: none;
        visibility: hidden;
        opacity: 0;
    }

    .home-search-form.is-mobile-open {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: var(--hg-z-modal);
        display: block;
        width: 100%;
        max-width: none;
        min-height: 100dvh;
        margin: 0;
        padding: clamp(2.4rem, 8dvh, 4.8rem) clamp(1rem, 4vw, 1.4rem) clamp(1rem, 4vw, 1.4rem);
        overflow-y: auto;
        border: 0 !important;
        border-radius: 0 !important;
        background: rgba(10, 28, 19, .56) !important;
        box-shadow: none;
        transform: none;
        backdrop-filter: blur(8px);
    }

    .home-search-form.is-mobile-open > * {
        width: min(100%, 540px);
        margin-right: auto;
        margin-left: auto;
    }

    .home-search-form.is-mobile-open .home-search-form__mobile-head {
        display: flex;
        align-items: center;
        gap: .8rem;
        margin-bottom: .75rem;
        padding: .8rem .95rem;
        border: 1px solid rgba(255, 255, 255, .7);
        border-radius: 16px;
        background: rgba(255, 255, 255, .96);
        box-shadow: 0 18px 42px rgba(10, 28, 19, .18);
    }

    .home-search-form__close {
        width: 38px;
        height: 38px;
        border: 0;
        border-radius: 8px;
        background: transparent;
        color: var(--hg-green);
        font-size: 1.2rem;
        text-align: center;
        flex: 0 0 auto;
    }

    .home-search-form__mobile-head strong {
        color: var(--hg-ink);
        font-size: 1.35rem;
        font-weight: 950;
    }

    .home-search-form.is-mobile-open .quick-search__title {
        display: none;
    }

    .home-search-form.is-mobile-open .ride-scene {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
        box-shadow: 0 18px 42px rgba(10, 28, 19, .12);
    }

    .home-search-form.is-mobile-open .search-form-field,
    .home-search-form.is-mobile-open .quick-search__row {
        margin-bottom: 0;
    }

    .home-search-form.is-mobile-open .search-form-field {
        border-bottom: 1px solid rgba(0, 25, 70, .08);
    }

    .home-search-form.is-mobile-open .quick-search__row {
        display: grid;
        grid-template-columns: 1fr;
    }

    .home-search-form.is-mobile-open .quick-search__row .search-form-field:first-child {
        border-right: 0;
    }

    .home-search-form.is-mobile-open .input-group-text {
        display: inline-flex;
    }

    .home-search-form.is-mobile-open .form-floating > .form-control,
    .home-search-form.is-mobile-open .form-floating > .form-select,
    .home-search-form.is-mobile-open .input-group > .form-floating > .form-control,
    .home-search-form.is-mobile-open .input-group > .form-floating > .form-select {
        border: 0;
        border-radius: 0;
        box-shadow: none;
        min-height: 68px;
    }

    .home-search-form.is-mobile-open .btn-orange {
        min-height: 54px;
        border-radius: 0 0 12px 12px;
        background: linear-gradient(135deg, var(--hg-orange), var(--hg-gold));
        box-shadow: none;
    }

    .home-search-form.is-mobile-open {
        --hg-line: rgba(238, 121, 17, .32);
    }

    body.home-search-is-open {
        overflow: hidden;
    }
}

@media screen and (max-width: 767.98px) {
    .home-search-form {
        max-width: none;
    }

    .home-search-mobile-trigger {
        top: 82px;
        right: 8px;
        left: 8px;
        grid-template-columns: auto minmax(0, 1fr) minmax(82px, 26vw);
        min-height: 52px;
        gap: 0;
        padding-left: 0;
        border-radius: 12px;
    }

    .home-search-mobile-trigger strong {
        font-size: clamp(.66rem, 2.8vw, .76rem);
    }

    .home-search-mobile-trigger small {
        font-size: clamp(.61rem, 2.55vw, .7rem);
    }
}

.table .btn,
.ride-card .btn,
.list-group-item .btn {
    white-space: nowrap;
}

.is-pressing {
    transform: scale(.98) !important;
}

.hg-page-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2147483647;
    width: 100%;
    height: 7px;
    background: linear-gradient(90deg, var(--hg-orange), var(--hg-green));
    box-shadow: 0 0 16px rgba(255, 127, 0, .45);
    transform: scaleX(0);
    transform-origin: left;
    opacity: 0;
    transition: transform 1.2s ease, opacity .16s ease;
}

body.is-page-loading .hg-page-progress {
    opacity: 1;
    transform: scaleX(.84);
}

body.is-page-loading {
    cursor: progress;
}

.is-nav-loading {
    opacity: .78;
}

.btn.is-nav-loading::after,
button.is-nav-loading::after,
a.btn.is-nav-loading::after,
.app-drawer a.is-nav-loading::after {
    content: "";
    display: inline-block;
    width: .82em;
    height: .82em;
    margin-left: .42rem;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 999px;
    vertical-align: -.1em;
    animation: hg-spin .7s linear infinite;
}

.btn.is-loading,
a.is-loading {
    pointer-events: none;
    cursor: wait;
    opacity: .9;
}

.hg-btn-spinner {
    display: inline-block;
    width: 1em;
    height: 1em;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 999px;
    animation: hg-spin .7s linear infinite;
}

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

@media (prefers-reduced-motion: reduce) {
    .hg-page-progress,
    .btn.is-nav-loading::after,
    button.is-nav-loading::after,
    a.btn.is-nav-loading::after,
    .app-drawer a.is-nav-loading::after,
    .hg-btn-spinner {
        transition: none;
        animation: none;
    }
}

.form-control,
.form-select,
.input-group-text {
    border-color: var(--hg-line);
    border-radius: 8px;
    color: var(--hg-ink);
    background-color: rgba(255, 255, 255, .96);
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease, transform .18s ease;
}

.form-control,
.form-select {
    min-height: 52px;
    padding: .85rem 1rem;
    font-weight: 700;
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

.form-floating > textarea.form-control.app-message-textarea,
textarea.form-control.app-message-textarea {
    min-height: 230px;
    padding-top: 1.45rem;
    line-height: 1.55;
}

@media screen and (max-width: 575.98px) {
    .form-floating > textarea.form-control.app-message-textarea,
    textarea.form-control.app-message-textarea {
        min-height: 260px;
    }
}

.form-control::placeholder {
    color: rgba(82, 93, 88, .62);
    font-weight: 650;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(31, 116, 71, .65);
    background-color: #fff;
    box-shadow: 0 0 0 .22rem rgba(31, 116, 71, .12), 0 12px 30px rgba(23, 33, 27, .08);
}

.form-control.is-invalid,
.form-select.is-invalid,
.was-validated .form-control:invalid,
.was-validated .form-select:invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 .18rem rgba(220, 53, 69, .1);
}

.input-group .form-control,
.input-group .form-select,
.input-group .input-group-text {
    border-radius: 8px;
}

.input-group > .form-floating {
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
}

.password-input-group,
.input-group:has(input[type="password"]),
.input-group:has(input[type="text"][data-password-visible="true"]) {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
}

.password-input-group > .form-floating,
.password-input-group > .form-control,
.input-group:has(input[type="password"]) > .form-floating,
.input-group:has(input[type="password"]) > .form-control,
.input-group:has(input[type="text"][data-password-visible="true"]) > .form-floating,
.input-group:has(input[type="text"][data-password-visible="true"]) > .form-control {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
}

.password-input-group .toggle-password,
.input-group:has(input[type="password"]) .toggle-password,
.input-group:has(input[type="text"][data-password-visible="true"]) .toggle-password {
    flex: 0 0 48px;
    width: 48px;
    min-width: 48px;
    padding-right: 0;
    padding-left: 0;
}

.input-group > .form-floating > .form-control,
.input-group > .form-floating > .form-select {
    border-radius: 8px;
}

.home-search-fields .input-group .form-control,
.home-search-fields .input-group .form-select,
.home-search-fields .input-group .input-group-text,
.home-search-fields .input-group > .form-floating > .form-control,
.home-search-fields .input-group > .form-floating > .form-select,
.search-page-fields .input-group .form-control,
.search-page-fields .input-group .form-select,
.search-page-fields .input-group .input-group-text,
.search-page-fields .input-group > .form-floating > .form-control,
.search-page-fields .input-group > .form-floating > .form-select {
    border-radius: 0;
}

.input-group-text {
    min-width: 48px;
    justify-content: center;
    color: var(--hg-green);
    background: rgba(31, 116, 71, .08);
}

.form-floating > label {
    color: var(--hg-muted);
    font-weight: 750;
}

.form-floating > .form-control,
.form-floating > .form-select {
    min-height: 58px;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label {
    color: var(--hg-green);
    opacity: .88;
}

.hg-autocomplete {
    position: relative;
}

.form-floating > .hg-autocomplete {
    min-height: calc(3.5rem + 2px);
}

.form-floating > .hg-autocomplete > .form-control {
    height: calc(3.5rem + 2px);
    min-height: calc(3.5rem + 2px);
    padding-top: 1.625rem;
    padding-bottom: .625rem;
}

.form-floating > .hg-autocomplete ~ label {
    color: var(--hg-muted);
    font-weight: 750;
    z-index: 2;
}

.form-floating > .hg-autocomplete:focus-within ~ label,
.form-floating > .hg-autocomplete:has(.form-control:not(:placeholder-shown)) ~ label {
    color: var(--hg-green);
    opacity: .88;
    transform: scale(.85) translateY(-.5rem) translateX(.15rem);
}

.home-search-fields,
.search-page-fields {
    --hg-search-border: rgba(238, 121, 17, .88);
    --hg-search-separator: rgba(36, 92, 54, .13);
    --hg-search-focus: rgba(238, 121, 17, .08);
    border: 2px solid var(--hg-search-border) !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: 0 16px 36px rgba(31, 45, 36, .12);
}

.home-search-fields .search-form-field,
.search-page-fields .search-form-field {
    position: relative;
    min-width: 0;
    margin: 0 !important;
    overflow: visible;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff;
}

.home-search-fields .search-form-field:focus-within,
.search-page-fields .search-form-field:focus-within {
    background: var(--hg-search-focus);
}

.home-search-fields .search-form-field .form-floating,
.home-search-fields .search-form-field .hg-autocomplete,
.search-page-fields .search-form-field .form-floating,
.search-page-fields .search-form-field .hg-autocomplete {
    height: 100%;
}

.home-search-fields .search-form-field .input-group-text,
.home-search-fields .search-form-field .form-control,
.home-search-fields .search-form-field .form-select,
.home-search-fields .search-form-field .hg-autocomplete > .form-control,
.search-page-fields .search-form-field .input-group-text,
.search-page-fields .search-form-field .form-control,
.search-page-fields .search-form-field .form-select,
.search-page-fields .search-form-field .hg-autocomplete > .form-control {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.home-search-fields .search-form-field .form-control:focus,
.home-search-fields .search-form-field .form-select:focus,
.search-page-fields .search-form-field .form-control:focus,
.search-page-fields .search-form-field .form-select:focus {
    box-shadow: none !important;
}

.home-search-fields .search-form-field .input-group-text,
.search-page-fields .search-form-field .input-group-text {
    flex: 0 0 48px;
    min-width: 48px;
}

.home-search-fields .form-floating > .hg-autocomplete ~ label,
.search-page-fields .form-floating > .hg-autocomplete ~ label {
    color: var(--hg-green);
    opacity: .88;
    transform: scale(.85) translateY(-.5rem) translateX(.15rem);
}

@media screen and (min-width: 992px) {
    .home-search-fields,
    .search-page-fields {
        overflow: visible;
    }

    .home-search-fields .search-form-field::after,
    .search-page-fields .search-form-field::after {
        content: "";
        position: absolute;
        top: 14px;
        right: 0;
        bottom: 14px;
        width: 1px;
        background: var(--hg-search-separator);
        pointer-events: none;
    }

    .home-search-fields > .search-form-field:first-child,
    .search-page-fields > .search-form-field:first-child {
        border-radius: 14px 0 0 14px !important;
    }

    .home-search-fields .input-group-text,
    .search-page-fields .input-group-text {
        display: none !important;
    }

    .home-search-fields .form-floating > .form-control,
    .home-search-fields .form-floating > .form-select,
    .home-search-fields .form-floating > .hg-autocomplete > .form-control,
    .search-page-fields .form-floating > .form-control,
    .search-page-fields .form-floating > .form-select,
    .search-page-fields .form-floating > .hg-autocomplete > .form-control {
        min-height: 64px;
    }

    .home-search-fields .btn,
    .search-page-fields .btn {
        min-height: 64px;
        border-radius: 0 13px 13px 0 !important;
        box-shadow: none !important;
    }
}

@media screen and (max-width: 991.98px) {
    .home-search-fields,
    .search-page-fields {
        overflow: visible;
    }

    .home-search-fields .search-form-field,
    .search-page-fields .search-form-field {
        border-bottom: 1px solid var(--hg-search-separator) !important;
    }

    .home-search-fields > .search-form-field:first-child,
    .search-page-fields > .search-form-field:first-child {
        border-radius: 14px 14px 0 0 !important;
    }

    .home-search-fields .input-group-text,
    .search-page-fields .input-group-text {
        border-right: 1px solid var(--hg-search-separator) !important;
        background: rgba(31, 116, 71, .06) !important;
    }

    .home-search-fields .form-floating > .form-control,
    .home-search-fields .form-floating > .form-select,
    .home-search-fields .form-floating > .hg-autocomplete > .form-control,
    .search-page-fields .form-floating > .form-control,
    .search-page-fields .form-floating > .form-select,
    .search-page-fields .form-floating > .hg-autocomplete > .form-control {
        min-height: 62px;
    }

    .home-search-fields .btn,
    .search-page-fields .btn {
        min-height: 56px;
        border-radius: 0 0 13px 13px !important;
        box-shadow: none !important;
    }
}

.hg-autocomplete__panel {
    position: absolute;
    top: calc(100% + .35rem);
    left: 0;
    right: 0;
    z-index: var(--hg-z-modal);
    max-height: 260px;
    overflow-y: auto;
    padding: .35rem;
    border: 1px solid rgba(20, 34, 28, .12);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 20px 45px rgba(20, 34, 28, .18);
}

.hg-autocomplete__option {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .7rem .8rem;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--hg-ink);
    text-align: left;
    font-size: .95rem;
}

.hg-autocomplete__option:hover,
.hg-autocomplete__option.is-active {
    background: rgba(50, 98, 61, .1);
    color: var(--hg-green);
}

.hg-autocomplete__option span {
    color: rgba(20, 34, 28, .54);
    font-size: .8rem;
}

.hg-autocomplete__empty {
    padding: .75rem .85rem;
    color: rgba(20, 34, 28, .62);
    font-size: .9rem;
}

.form-label {
    margin-bottom: .45rem;
    color: var(--hg-ink);
    font-size: .92rem;
    font-weight: 850;
}

.field-hint {
    margin: .45rem 0 .8rem;
    color: var(--hg-muted);
    font-size: .88rem;
    font-weight: 720;
    line-height: 1.45;
}

.field-hint::before {
    content: "i";
    display: inline-grid;
    width: 1.05rem;
    height: 1.05rem;
    margin-right: .35rem;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--hg-green);
    font-size: .72rem;
    font-weight: 950;
}

.invalid-feedback {
    font-weight: 750;
}

.password-rules {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-top: .65rem;
}

.password-rules span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .42rem .62rem;
    border: 1px solid rgba(36, 92, 54, .12);
    border-radius: 999px;
    color: var(--hg-muted);
    background: rgba(247, 249, 245, .84);
    font-size: .82rem;
    font-weight: 850;
    line-height: 1.1;
    transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}

.password-rules span::before {
    content: "";
    width: .48rem;
    height: .48rem;
    border-radius: 50%;
    background: rgba(82, 93, 88, .34);
}

.password-rules span.is-ok {
    color: var(--hg-green);
    border-color: rgba(31, 116, 71, .24);
    background: rgba(31, 116, 71, .09);
}

.password-rules span.is-ok::before {
    background: var(--hg-green);
    box-shadow: 0 0 0 4px rgba(31, 116, 71, .1);
}

.form-check-input {
    border-color: rgba(31, 116, 71, .35);
}

.form-check-input:checked {
    border-color: var(--hg-green);
    background-color: var(--hg-green);
}

.hg-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.hg-form-full {
    grid-column: 1 / -1;
}

.hg-form-actions {
    display: grid;
    gap: .75rem;
    padding-top: .35rem;
}

.hg-form-actions .btn {
    min-height: 52px;
    font-weight: 900;
}

@media screen and (min-width: 768px) {
    .hg-form-actions {
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    .hg-form-actions .btn {
        width: auto;
        min-width: 180px;
    }
}

.card,
.list-group-item,
.modal-content,
.app-panel,
.quick-search {
    border: 1px solid var(--hg-line) !important;
    border-radius: 8px !important;
    background: var(--hg-surface) !important;
    box-shadow: var(--hg-shadow);
}

.quick-search {
    border: 2px solid rgba(255, 209, 106, .92) !important;
    box-shadow: 0 26px 70px rgba(0, 0, 0, .26), 0 0 0 8px rgba(255, 255, 255, .16);
}

.list-group {
    gap: .7rem;
}

.list-group-item {
    margin-bottom: .65rem;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.list-group-item:hover {
    transform: translateY(-2px);
    border-color: rgba(238, 121, 17, .42) !important;
}

.nav-tabs,
.nav-pills {
    border: 0;
}

.nav-tabs .nav-link,
.nav-pills .nav-link,
.app-tabs .nav-link {
    border: 1px solid var(--hg-line);
    border-radius: 8px;
    color: var(--hg-green);
    background: rgba(255, 255, 255, .72);
    font-weight: 800;
}

.nav-tabs .nav-link.active,
.nav-pills .nav-link.active,
.app-tabs .nav-link.active {
    color: #fff !important;
    background: linear-gradient(135deg, var(--hg-green), #3f9658);
    border-color: transparent;
}

.hg-filter-tabs {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .28rem;
    border: 1px solid rgba(36, 92, 54, .1);
    border-radius: 8px;
    background: rgba(36, 92, 54, .05);
}

.hg-filter-tabs .nav-item {
    display: flex;
}

.hg-filter-tabs .nav-link {
    min-height: 40px;
    padding: .58rem .85rem;
    white-space: nowrap;
    box-shadow: none;
}

.hg-filter-select {
    display: none;
}

.hg-filter-select label {
    display: block;
    margin-bottom: .45rem;
    color: var(--hg-ink);
    font-size: .88rem;
    font-weight: 850;
}

.reservations-summary-panel,
.account-summary-panel {
    display: grid;
    gap: 1rem;
}

.reservations-summary-panel__header,
.account-summary-panel__header {
    margin-bottom: 0;
    padding-bottom: .85rem;
    border-bottom: 1px solid rgba(36, 92, 54, .1);
}

.reservations-summary-panel__header .btn,
.account-summary-panel__header .btn {
    min-height: 42px;
    padding-inline: .95rem;
}

.reservations-summary-panel__header p,
.account-summary-panel__header p {
    max-width: 56ch;
}

.reservation-filter-field,
.account-filter-field {
    max-width: 360px;
    margin-bottom: .8rem !important;
}

.app-page-header {
    position: relative;
    padding: 5.6rem 0 2.1rem;
    color: #fff;
    overflow: hidden;
    background:
        linear-gradient(120deg, rgba(14, 46, 32, .96), rgba(36, 92, 54, .8)),
        url('../../images/carte de mayotte aves tous les villages.png') center/cover no-repeat;
}

.app-hero {
    min-height: 86vh;
    padding-top: 7.2rem;
}

.home-hero {
    min-height: auto;
    padding-bottom: clamp(2rem, 4vw, 3.2rem);
    background:
        linear-gradient(120deg, rgba(14, 46, 32, .82), rgba(36, 92, 54, .54)),
        var(--home-hero-image, url('../../images/fond-header.png')) center/cover no-repeat;
}

.home-hero .app-hero__inner {
    grid-template-columns: 1fr;
    align-items: start;
}

.home-hero .app-hero__content {
    max-width: 800px;
}

.app-hero__content {
    transform: translateY(var(--hero-shift, 0px));
}

.app-hero__content h1 {
    max-width: 660px;
    line-height: 1.02;
    font-size: clamp(2.25rem, 3.4vw, 4.25rem);
}

.app-hero__lead {
    max-width: 560px;
}

.app-page-header::after,
.app-hero::after {
    content: '';
    position: absolute;
    inset: auto 8% -90px auto;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 50%;
    animation: hgFloat 7s ease-in-out infinite;
}

.app-page-header--compact {
    padding-top: 5.2rem;
    padding-bottom: 1.65rem;
}

.app-page-header h1 {
    max-width: 820px;
    margin: 0;
    color: #fff;
    text-align: left;
    font-size: clamp(2rem, 3.2vw, 3.45rem);
    font-weight: 900;
    line-height: 1.04;
}

@media screen and (max-width: 767.98px) {
    .app-page-header {
        padding-top: 4.8rem;
        padding-bottom: 1.45rem;
    }

    .app-page-header h1 {
        font-size: clamp(1.75rem, 8vw, 2.35rem);
    }
}

.app-hero__content h1,
.app-page-header h1,
.app-section-heading h2 {
    position: relative;
    display: inline;
    z-index: 0;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.app-hero__content h1::after,
.app-page-header h1::after,
.app-section-heading h2::after {
    content: "";
    position: absolute;
    left: .02em;
    right: auto;
    bottom: -.045em;
    z-index: -1;
    width: min(4.8em, 68%);
    height: .08em;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 189, 89, .95), rgba(238, 121, 17, .72) 56%, rgba(60, 168, 96, .58));
    filter: drop-shadow(0 4px 7px rgba(238, 121, 17, .08));
    opacity: .55;
    transform: scaleX(.24);
    transform-origin: left center;
    animation: hgMarkerSwipe .72s cubic-bezier(.2, .8, .2, 1) .12s forwards;
}

.app-page-header h1::after {
    background: linear-gradient(90deg, rgba(255, 189, 89, .92), rgba(255, 255, 255, .58) 62%, rgba(60, 168, 96, .56));
    opacity: .46;
}

.app-section-heading h2::after {
    bottom: -.035em;
    width: min(3.8em, 52%);
    height: .07em;
    opacity: .36;
}

.app-page-header p:not(.app-kicker) {
    max-width: 650px;
    margin: .9rem 0 0;
    font-size: 1.12rem;
    color: rgba(255, 255, 255, .88);
}

.app-page-grid,
.app-results-layout,
.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 1.2rem;
    align-items: start;
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.search-page-layout {
    display: block;
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.search-page-form {
    width: min(100%, 1120px);
    margin-right: auto;
    margin-left: auto;
}

.hg-account-section {
    padding-top: clamp(1.75rem, 3vw, 3rem);
    padding-bottom: clamp(4rem, 7vw, 6rem);
}

.app-results-layout {
    grid-template-columns: 340px minmax(0, 1fr);
}

.app-panel {
    padding: 1.2rem;
}

.app-panel--form,
.app-stack {
    display: grid;
    gap: .9rem;
}

.app-panel__header {
    display: flex;
    gap: .85rem;
    align-items: center;
    margin-bottom: .9rem;
}

.app-panel__header > div {
    min-width: 0;
    flex: 1 1 auto;
}

.app-panel__header > .btn {
    flex: 0 0 auto;
    margin-left: auto;
}

.app-panel__header h2,
.app-panel h2 {
    margin: 0;
    color: var(--hg-ink);
    font-size: 1.35rem;
    font-weight: 900;
}

.app-panel__header p,
.app-panel p {
    margin: .2rem 0 0;
    color: var(--hg-muted);
    font-size: .9rem;
    line-height: 1.35;
}

.app-panel__icon {
    display: inline-flex;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--hg-green), #4aa763);
    font-size: 1rem;
    box-shadow: 0 8px 18px rgba(36, 92, 54, .18);
}

.app-panel > .app-panel__icon:first-child {
    float: left;
    margin: 0 .85rem .35rem 0;
}

.app-panel > .app-panel__icon:first-child + h2 {
    padding-top: .15rem;
    margin-bottom: .9rem;
}

.app-panel > .app-panel__icon:first-child + h2 + * {
    clear: both;
}

.app-legal-prose {
    font-size: .95rem;
    line-height: 1.55;
}

.app-legal-prose h2 {
    margin-top: 1.15rem;
    margin-bottom: .45rem;
    font-size: 1.12rem;
    line-height: 1.2;
}

.app-legal-prose h2:first-child {
    margin-top: 0;
}

.app-legal-prose p,
.app-legal-prose li,
.app-legal-prose td,
.app-legal-prose th {
    font-size: .95rem;
    line-height: 1.5;
}

.app-legal-prose p {
    margin-bottom: .8rem;
}

.app-legal-prose ul,
.app-legal-prose ol {
    margin: .35rem 0 .95rem;
    padding-left: 1.25rem;
}

.app-legal-prose li + li {
    margin-top: .18rem;
}

.settings-page .app-panel__header {
    align-items: center;
    justify-content: flex-start;
    gap: .85rem;
}

.settings-page .app-panel__header p {
    font-size: .86rem;
    line-height: 1.35;
}

.settings-page .app-panel__icon {
    order: -1;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    margin-left: 0;
    border-radius: 8px;
    font-size: .95rem;
    box-shadow: 0 8px 18px rgba(36, 92, 54, .18);
}

.settings-page .app-panel__header > .btn {
    flex: 0 0 auto;
    margin-left: auto;
}

.settings-page .app-tips-panel .app-panel__header {
    margin-bottom: 1rem;
}

.settings-page .app-tips-panel > h2 {
    font-size: 1.15rem;
}

.settings-page .app-tips-panel > p {
    font-size: .88rem;
    line-height: 1.35;
}

.settings-page .hg-form-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
    justify-items: end;
    padding-top: .55rem;
}

.settings-page .hg-form-actions .btn {
    min-width: 220px;
}

.account-settings-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 1.15rem;
    align-items: start;
    padding-top: 2rem;
    padding-bottom: 4.5rem;
}

.account-settings-sidebar {
    position: sticky;
    top: calc(var(--hg-nav-offset, 92px) + 1rem);
}

.account-settings-card {
    padding: 1rem;
    border: 1px solid var(--hg-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 18px 42px rgba(22, 43, 30, .08);
}

.account-settings-card__user {
    display: flex;
    gap: .8rem;
    align-items: center;
    padding: .35rem .35rem .95rem;
    border-bottom: 1px solid var(--hg-line);
}

.account-settings-card__user .hg-avatar-wrap {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
}

.account-settings-card__user strong,
.account-settings-card__user a {
    display: block;
}

.account-settings-card__user strong {
    color: var(--hg-ink);
    font-weight: 900;
    line-height: 1.15;
}

.account-settings-card__user a {
    margin-top: .2rem;
    color: var(--hg-green);
    font-size: .84rem;
    font-weight: 800;
    text-decoration: none;
}

.account-settings-nav {
    display: grid;
    gap: .35rem;
    padding-top: .85rem;
}

.account-settings-nav__link {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    column-gap: .65rem;
    align-items: center;
    padding: .72rem;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--hg-ink);
    text-decoration: none;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.account-settings-nav__link:hover,
.account-settings-nav__link:focus-visible {
    border-color: rgba(36, 92, 54, .18);
    background: rgba(36, 92, 54, .07);
    color: var(--hg-green);
}

.account-settings-nav__link.is-active {
    border-color: rgba(36, 92, 54, .28);
    background: rgba(36, 92, 54, .12);
    color: var(--hg-green);
}

.account-settings-nav__link > span {
    display: inline-flex;
    width: 34px;
    height: 34px;
    grid-row: span 2;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(36, 92, 54, .09);
    color: var(--hg-green);
}

.account-settings-nav__link strong {
    min-width: 0;
    font-weight: 900;
    line-height: 1.15;
}

.account-settings-nav__link small {
    min-width: 0;
    color: var(--hg-muted);
    font-size: .78rem;
    line-height: 1.2;
}

.account-settings-content {
    min-width: 0;
}

@media screen and (max-width: 991.98px) {
    .account-settings-layout {
        grid-template-columns: 1fr;
        gap: .9rem;
        padding-top: 1rem;
        padding-bottom: 5rem;
    }

    .account-settings-sidebar {
        position: static;
    }

    .account-settings-card {
        padding: .8rem;
    }

    .account-settings-card__user {
        padding: .2rem .1rem .9rem;
    }

    .account-settings-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .55rem .7rem;
        padding-top: .9rem;
    }

    .account-settings-nav__link {
        grid-template-columns: 30px minmax(0, 1fr);
        min-height: 74px;
        padding: .58rem .62rem;
        border-color: transparent;
    }

    .account-settings-nav__link > span {
        width: 30px;
        height: 30px;
    }

    .account-settings-nav__link strong {
        font-size: 1rem;
    }

    .account-settings-nav__link small {
        font-size: .82rem;
    }
}

@media screen and (max-width: 575.98px) {
    .account-settings-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .45rem .55rem;
    }

    .account-settings-nav__link {
        grid-template-columns: 30px minmax(0, 1fr);
        align-items: center;
        min-height: 68px;
        padding: .5rem .42rem;
        column-gap: .5rem;
    }

    .account-settings-nav__link.is-active {
        border-color: rgba(36, 92, 54, .26);
        background: rgba(36, 92, 54, .1);
    }

    .account-settings-nav__link strong {
        font-size: .95rem;
    }

    .account-settings-nav__link small {
        display: block;
        font-size: .78rem;
    }
}

@media screen and (max-width: 380px) {
    .account-settings-nav__link {
        grid-template-columns: 28px minmax(0, 1fr);
        min-height: 64px;
        padding-inline: .34rem;
        column-gap: .4rem;
    }

    .account-settings-nav__link > span {
        width: 28px;
        height: 28px;
    }

    .account-settings-nav__link strong {
        font-size: .88rem;
    }

    .account-settings-nav__link small {
        font-size: .72rem;
    }
}

.hg-vehicle-preview {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: .85rem;
    border: 1px solid var(--hg-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .66);
}

.hg-vehicle-preview__image,
.hg-vehicle-preview__empty {
    width: 92px;
    height: 68px;
    flex: 0 0 92px;
    border-radius: 8px;
}

.hg-vehicle-preview__image {
    object-fit: cover;
    border: 1px solid var(--hg-line);
    background: #fff;
}

.hg-vehicle-preview__empty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--hg-green);
    background: rgba(36, 92, 54, .08);
    font-size: 1.7rem;
}

.hg-list-card {
    display: block;
    padding: 1rem;
    border: 1px solid var(--hg-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 12px 32px rgba(23, 33, 27, .07);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.hg-list-card:hover,
.hg-list-card:focus {
    border-color: rgba(36, 92, 54, .32);
    box-shadow: 0 18px 42px rgba(23, 33, 27, .11);
    transform: translateY(-2px);
}

.reservation-back-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-bottom: 1rem;
    color: var(--hg-green);
    font-weight: 800;
    text-decoration: none;
}

.reservation-back-link:hover,
.reservation-back-link:focus {
    color: var(--hg-green-2);
}

.ride-show-actions {
    display: flex;
    gap: .75rem;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .45rem;
}

.ride-show-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    min-height: 34px;
    padding: .25rem .35rem;
    border: 0;
    color: var(--hg-green);
    background: transparent;
    font-size: .84rem;
    font-weight: 800;
    box-shadow: none;
}

.ride-show-actions .btn:hover,
.ride-show-actions .btn:focus-visible {
    color: var(--hg-green-2);
    background: rgba(36, 92, 54, .06);
}

.ride-show-actions .btn i {
    font-size: .95rem;
}

.ride-show-heading {
    margin: 0 0 1rem;
}

.ride-show-heading h1 {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
    align-items: center;
    margin: 0;
    color: var(--hg-ink);
    font-family: var(--font-heading);
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    line-height: 1.02;
}

.ride-show-heading p:last-child {
    max-width: 680px;
    margin: .45rem 0 0;
    color: var(--hg-muted);
    font-size: 1.02rem;
}

.ride-show-date {
    margin: 0 0 1rem;
    color: var(--hg-ink);
    font-family: var(--font-heading);
    font-size: 1.45rem;
    line-height: 1.1;
    text-align: center;
}

.ride-show-route-grid {
    align-items: stretch;
}

.ride-show-route-point strong {
    min-width: 52px;
    color: var(--hg-green);
    font-size: 1rem;
}

.ride-show-route-duration {
    min-height: 34px;
    margin: .75rem 0 .75rem 1.55rem;
    padding-left: .85rem;
    border-left: 2px solid rgba(36, 92, 54, .2);
}

.ride-show-map-shell {
    position: relative;
    height: 100%;
    min-height: 240px;
}

.ride-show-map-label {
    position: absolute;
    top: .75rem;
    left: .75rem;
    z-index: 410;
    display: inline-flex;
    gap: .35rem;
    align-items: center;
    padding: .35rem .55rem;
    border: 1px solid rgba(36, 92, 54, .16);
    border-radius: 8px;
    color: var(--hg-green);
    background: rgba(255, 255, 255, .92);
    font-size: .78rem;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(23, 33, 27, .08);
}

.ride-show-map-shell #map {
    min-height: 240px;
    height: 100%;
    border-radius: 8px;
}

.ride-show-flow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .65rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--hg-line);
}

.ride-show-description {
    margin-top: .85rem;
    padding: .85rem;
    border: 1px solid rgba(36, 92, 54, .12);
    border-radius: 8px;
    background: rgba(36, 92, 54, .04);
}

.ride-show-description p {
    margin: 0;
}

.ride-show-flow div {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: .2rem .55rem;
    align-items: center;
    min-width: 0;
}

.ride-show-flow span {
    grid-row: span 2;
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    background: var(--hg-green);
    font-weight: 900;
}

.ride-show-flow strong {
    color: var(--hg-ink);
    font-size: .88rem;
}

.ride-show-flow small {
    color: var(--hg-muted);
    line-height: 1.3;
}

.ride-booking-card {
    position: sticky;
    top: 92px;
}

.ride-booking-card__kicker {
    margin: 0 0 .25rem;
    color: var(--hg-green);
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.ride-booking-card__title {
    margin: 0;
    color: var(--hg-ink);
    font-family: var(--font-heading);
    font-size: clamp(1.65rem, 2.6vw, 1.95rem);
    line-height: 1.05;
}

.ride-booking-card__subtitle {
    margin: .25rem 0 1rem;
    color: var(--hg-muted);
}

.ride-price-details {
    margin-top: .85rem;
    border: 1px solid rgba(36, 92, 54, .12);
    border-radius: 8px;
    background: rgba(36, 92, 54, .04);
}

.ride-price-details summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .55rem;
    padding: .7rem .8rem;
    color: var(--hg-green);
    cursor: pointer;
    font-size: .9rem;
    font-weight: 900;
    list-style: none;
}

.ride-price-details summary::-webkit-details-marker {
    display: none;
}

.ride-price-details summary::after {
    content: "\F282";
    font-family: "bootstrap-icons";
    font-size: .78rem;
    transition: transform .18s ease;
}

.ride-price-details[open] summary::after {
    transform: rotate(180deg);
}

.ride-price-details__rows {
    display: grid;
    gap: .55rem;
    padding: 0 .8rem .8rem;
}

.ride-price-details__rows div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--hg-muted);
    font-size: .88rem;
}

.ride-price-details__rows div:last-child {
    padding-top: .55rem;
    border-top: 1px solid rgba(36, 92, 54, .12);
    color: var(--hg-ink);
}

.ride-price-details__rows strong {
    color: var(--hg-ink);
    white-space: nowrap;
}

.ride-booking-card__route,
.ride-booking-card__driver,
.ride-booking-card__price {
    margin-top: .8rem;
    padding-top: .8rem;
    border-top: 1px solid var(--hg-line);
}

.ride-booking-card__route .fw-bold {
    line-height: 1.35;
}

.ride-booking-card__price {
    display: grid;
    gap: .55rem;
}

.ride-mobile-reservation {
    position: fixed;
    right: .75rem;
    bottom: calc(78px + env(safe-area-inset-bottom, 0px));
    left: .75rem;
    z-index: 1030;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(132px, auto);
    gap: .65rem;
    align-items: center;
    padding: .65rem;
    border: 1px solid rgba(36, 92, 54, .14);
    border-radius: 8px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 18px 44px rgba(23, 33, 27, .18);
}

.ride-mobile-reservation__summary {
    display: grid;
    min-width: 0;
}

.ride-mobile-reservation__summary span {
    color: var(--hg-muted);
    font-size: .78rem;
    font-weight: 800;
}

.ride-mobile-reservation__summary strong {
    color: var(--hg-ink);
    font-family: var(--font-heading);
    font-size: 1.35rem;
    line-height: 1;
}

.ride-mobile-reservation form {
    margin: 0;
}

.ride-mobile-reservation .btn {
    min-height: 42px;
    padding-inline: .75rem;
}

.ride-mobile-reservation.fixed {
    display: grid !important;
}

.reservation-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 1.2rem;
    align-items: start;
}

.reservation-main,
.reservation-side {
    display: grid;
    gap: 1rem;
}

.reservation-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--hg-line);
}

.reservation-route-kicker,
.reservation-stat span,
.reservation-info-list dt,
.reservation-confirmation__driver span,
.reservation-driver-card__identity span,
.reservation-route-card span {
    display: block;
    color: var(--hg-muted);
    font-size: .82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.reservation-hero h2,
.reservation-confirmation__intro h2 {
    margin: .2rem 0;
    color: var(--hg-ink);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 900;
}

.reservation-hero p,
.reservation-confirmation__intro p {
    margin: 0;
    color: var(--hg-muted);
}

.reservation-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .38rem;
    width: max-content;
    max-width: 100%;
    padding: .48rem .75rem;
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--hg-ink);
    background: rgba(247, 249, 245, .9);
    font-size: .88rem;
    font-weight: 900;
    white-space: nowrap;
}

.reservation-status--en_attente,
.reservation-status--payment-autorise {
    color: #5f4600;
    background: rgba(255, 193, 7, .2);
    border-color: rgba(255, 193, 7, .38);
}

.reservation-status--acceptee,
.reservation-status--payee,
.reservation-status--payment-capture {
    color: #155b35;
    background: rgba(34, 139, 72, .14);
    border-color: rgba(34, 139, 72, .28);
}

.reservation-status--refusee,
.reservation-status--payment-echoue {
    color: #9a1f2d;
    background: rgba(220, 53, 69, .12);
    border-color: rgba(220, 53, 69, .26);
}

.reservation-status--annulee,
.reservation-status--payment-annule {
    color: #596168;
    background: rgba(108, 117, 125, .14);
    border-color: rgba(108, 117, 125, .24);
}

.reservation-status--payment-rembourse {
    color: #0a5870;
    background: rgba(13, 202, 240, .16);
    border-color: rgba(13, 202, 240, .28);
}

.reservation-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
    margin-top: 1rem;
}

.reservation-confirmation .reservation-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.reservation-stat {
    min-width: 0;
    padding: .9rem;
    border: 1px solid var(--hg-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .72);
}

.reservation-stat strong {
    display: block;
    margin-top: .25rem;
    color: var(--hg-ink);
    font-size: 1.12rem;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.reservation-timeline,
.reservation-next-steps,
.reservation-info-list {
    display: grid;
    gap: .75rem;
    margin-top: 1rem;
}

.reservation-timeline__item,
.reservation-next-step {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: .75rem;
    align-items: start;
    padding: .9rem;
    border: 1px solid var(--hg-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .68);
}

.reservation-timeline__item > span,
.reservation-next-step > span,
.reservation-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    color: var(--hg-green);
    background: rgba(36, 92, 54, .1);
    font-size: 1.15rem;
}

.reservation-timeline__item.is-done > span,
.reservation-next-step.is-active > span,
.reservation-success-icon {
    color: #fff;
    background: linear-gradient(135deg, var(--hg-green), #4aa763);
}

.reservation-timeline__item.is-current {
    border-color: rgba(255, 193, 7, .55);
    background: rgba(255, 249, 232, .78);
}

.reservation-timeline__item.is-muted {
    opacity: .72;
}

.reservation-timeline__item strong,
.reservation-next-step p {
    margin: 0;
    color: var(--hg-ink);
    font-weight: 900;
}

.reservation-timeline__item p {
    margin: .15rem 0 0;
    color: var(--hg-muted);
}

.reservation-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    margin-top: 1rem;
}

.reservation-actions--center {
    justify-content: center;
}

.reservation-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .42rem;
}

.reservation-actions form {
    margin: 0;
}

.reservation-note,
.reservation-rating {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    margin-top: 1rem;
    padding: .9rem;
    border-radius: 8px;
    background: rgba(36, 92, 54, .08);
    color: var(--hg-green-2);
}

.reservation-note p,
.reservation-rating p {
    margin: 0;
}

.reservation-rating {
    display: grid;
    color: var(--hg-ink);
    background: rgba(255, 193, 7, .12);
}

.reservation-driver-card__identity,
.reservation-confirmation__driver,
.reservation-passenger {
    display: flex;
    gap: .75rem;
    align-items: center;
}

.reservation-passenger,
.ride-reservation-card__user {
    color: inherit;
    text-decoration: none;
}

.reservation-passenger:hover span,
.reservation-passenger:focus-visible span,
.ride-reservation-card__user:hover strong,
.ride-reservation-card__user:focus-visible strong {
    color: var(--hg-green);
}

.reservation-driver-card__identity a,
.reservation-driver-card__identity strong {
    color: var(--hg-ink);
    font-size: 1.15rem;
    font-weight: 900;
    text-decoration: none;
}

.reservation-driver-card__identity a:hover {
    color: var(--hg-green);
}

.reservation-info-list {
    margin-bottom: 0;
}

.reservation-info-list > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .75rem 0;
    border-top: 1px solid var(--hg-line);
}

.reservation-info-list dd {
    margin: 0;
    color: var(--hg-ink);
    font-weight: 800;
    text-align: right;
}

.reservation-vehicle-card__photo {
    width: 100%;
    max-height: 160px;
    object-fit: cover;
    border: 1px solid var(--hg-line);
    border-radius: 8px;
    margin-bottom: .75rem;
    background: #fff;
}

.reservation-passenger-list {
    display: grid;
    gap: .7rem;
}

.reservation-passenger {
    padding: .7rem;
    border: 1px solid var(--hg-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .7);
    font-weight: 800;
}

.reservation-danger h2 {
    font-size: 1.25rem;
}

.reservation-cancel-policy {
    border-color: rgba(255, 193, 7, .42);
    background: rgba(255, 249, 232, .78);
}

.reservation-cancel-policy h2 {
    font-size: 1.25rem;
}

.reservation-cancel-policy p,
.reservation-cancel-policy ul {
    color: var(--hg-ink);
}

.reservation-cancel-policy ul {
    margin: .75rem 0 0;
    padding-left: 1.1rem;
}

.reservation-cancel-policy li + li {
    margin-top: .35rem;
}

.reservation-confirmation {
    max-width: 940px;
}

.reservation-confirmation__card {
    display: grid;
    gap: 1rem;
    text-align: center;
}

.reservation-success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto;
    font-size: 1.7rem;
}

.reservation-route-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr);
    gap: .75rem;
    align-items: center;
    padding: 1rem;
    border: 1px solid var(--hg-line);
    border-radius: 8px;
    background: rgba(36, 92, 54, .06);
}

.reservation-route-card strong {
    color: var(--hg-ink);
    font-size: 1.25rem;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.reservation-route-card > i {
    color: var(--hg-green);
    font-size: 2rem;
}

.payment-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 1.2rem;
    align-items: start;
}

.payment-layout--checkout {
    grid-template-columns: minmax(0, 720px);
    justify-content: center;
}

.payment-summary,
.payment-card {
    display: grid;
    gap: 1rem;
}

.payment-summary--collapsed {
    margin-top: .25rem;
    padding: 1rem;
    border: 1px solid var(--hg-line);
    border-radius: 8px;
    background: rgba(247, 249, 245, .72);
}

.payment-route {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr);
    gap: .75rem;
    align-items: center;
    padding: 1rem;
    border: 1px solid var(--hg-line);
    border-radius: 8px;
    background: rgba(36, 92, 54, .06);
}

.payment-route span,
.payment-driver span,
.payment-total span {
    display: block;
    color: var(--hg-muted);
    font-size: .82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.payment-route strong {
    display: block;
    color: var(--hg-ink);
    font-size: 1.25rem;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.payment-route > i {
    color: var(--hg-green);
    font-size: 2rem;
}

.payment-driver {
    display: flex;
    gap: .75rem;
    align-items: center;
    padding: .85rem;
    border: 1px solid var(--hg-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .72);
}

.payment-driver strong {
    color: var(--hg-ink);
    font-weight: 900;
}

.payment-total {
    padding: 1rem;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--hg-green), #4aa763);
    box-shadow: 0 16px 36px rgba(36, 92, 54, .18);
}

.payment-total span {
    color: rgba(255, 255, 255, .78);
}

.payment-total strong {
    display: block;
    margin-top: .2rem;
    font-size: clamp(1.8rem, 4vw, 2.45rem);
    font-weight: 900;
}

.payment-total--compact {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.payment-total--compact strong {
    margin-top: 0;
    font-size: clamp(1.55rem, 3vw, 2.1rem);
    white-space: nowrap;
}

.payment-detail-toggle {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-weight: 850;
}

.payment-card-element {
    min-height: 46px;
    padding: .9rem 1rem;
    border: 1px solid var(--hg-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .9);
}

.payment-form {
    display: grid;
    gap: 1rem;
}

.payment-note {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    padding: .85rem;
    border-radius: 8px;
    color: var(--hg-green-2);
    background: rgba(36, 92, 54, .08);
}

.payment-note p {
    margin: 0;
}

.ride-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 1.2rem;
    align-items: start;
}

.ride-detail-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .85rem;
    width: 100%;
    margin-bottom: 1rem;
}

.ride-detail-toolbar .reservation-back-link {
    flex: 0 1 auto;
    margin-bottom: 0;
}

.ride-detail-toolbar__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    flex: 0 0 auto;
    margin-left: auto;
    min-height: 42px;
    padding: .58rem .95rem;
    border: 1px solid rgba(36, 92, 54, .24);
    border-radius: 999px;
    color: #fff;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--hg-green-2), #348d55);
    box-shadow: 0 12px 26px rgba(23, 33, 27, .08);
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.ride-detail-toolbar__button:hover,
.ride-detail-toolbar__button:focus-visible {
    color: #fff;
    border-color: rgba(36, 92, 54, .42);
    background: linear-gradient(135deg, #1f6b3c, #3f9a5f);
    box-shadow: 0 16px 32px rgba(23, 33, 27, .12);
    transform: translateY(-1px);
}

@media (max-width: 420px) {
    .ride-detail-toolbar {
        align-items: flex-start;
    }

    .ride-detail-toolbar__button {
        padding: .55rem .72rem;
        font-size: .82rem;
        white-space: nowrap;
    }
}

.ride-detail-main,
.ride-detail-side {
    display: grid;
    gap: 1rem;
}

.ride-detail-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ride-description-box {
    display: grid;
    gap: .85rem;
    padding: 1rem;
    border: 1px solid var(--hg-line);
    border-radius: 8px;
    background: rgba(36, 92, 54, .05);
}

.ride-description-box p {
    margin: 0;
    color: var(--hg-muted);
    line-height: 1.65;
}

.ride-cancel-form {
    display: flex;
    justify-content: flex-end;
}

.ride-reservations-panel {
    margin-top: 1.2rem;
}

.ride-detail--has-reservations {
    display: flex;
    flex-direction: column;
}

.ride-detail--has-reservations .ride-detail-toolbar {
    order: 0;
}

.ride-detail--has-reservations .ride-reservations-panel {
    order: 1;
    margin-top: 0;
    margin-bottom: 1.2rem;
}

.ride-detail--has-reservations .ride-detail-layout {
    order: 2;
}

.ride-reservation-list {
    display: grid;
    gap: .85rem;
}

.ride-reservation-card {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(220px, auto) minmax(260px, auto);
    gap: .9rem;
    align-items: center;
    padding: .9rem;
    border: 1px solid var(--hg-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 12px 32px rgba(23, 33, 27, .06);
}

.ride-reservation-card__user {
    display: flex;
    gap: .75rem;
    align-items: center;
    min-width: 0;
}

.ride-reservation-card__user strong,
.ride-reservation-card__user span {
    display: block;
}

.ride-reservation-card__user strong {
    color: var(--hg-ink);
    font-weight: 900;
}

.ride-reservation-card__user span {
    color: var(--hg-muted);
}

.ride-reservation-card__badges,
.ride-reservation-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: flex-end;
}

.ride-reservation-card__actions form {
    margin: 0;
}

.ride-reservation-card__code-form {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}

.ride-reservation-card__code-form .form-control {
    width: 8.75rem;
    min-height: 2.25rem;
    font-weight: 700;
}

.ride-reservation-card__actions .btn {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.hg-photo-preview-row {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: .9rem;
    border: 1px solid var(--hg-line);
    border-radius: 8px;
    background: rgba(36, 92, 54, .05);
}

.hg-photo-preview {
    width: clamp(72px, 22vw, 88px);
    height: clamp(72px, 22vw, 88px);
    flex: 0 0 clamp(72px, 22vw, 88px);
    max-width: 88px;
    max-height: 88px;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    border: 4px solid rgba(206, 212, 218, .95);
    border-radius: 50%;
    background: #fff;
}

.hg-profile-summary {
    display: grid;
    grid-template-columns: minmax(96px, 128px) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: center;
}

.hg-profile-grid {
    grid-template-areas:
        "main main"
        "trust preferences"
        "presentation preferences";
}

.hg-profile-main {
    grid-area: main;
}

.hg-profile-grid > article:nth-of-type(2) {
    grid-area: trust;
}

.hg-profile-grid > article:nth-of-type(3) {
    grid-area: presentation;
}

.hg-profile-grid > aside {
    grid-area: preferences;
}

.hg-profile-photo-wrap {
    position: relative;
    width: clamp(96px, 26vw, 128px);
    height: clamp(96px, 26vw, 128px);
    max-width: 128px;
    max-height: 128px;
}

.hg-profile-photo {
    width: 100%;
    height: 100%;
    max-width: 128px;
    max-height: 128px;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    border: 5px solid rgba(206, 212, 218, .95);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 16px 38px rgba(23, 33, 27, .14);
}

.hg-profile-photo-edit {
    position: absolute;
    top: 6px;
    right: 0;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.hg-avatar-wrap {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    line-height: 1;
    vertical-align: middle;
    max-width: min(100%, 128px);
    max-height: 128px;
    aspect-ratio: 1 / 1;
}

.hg-avatar-wrap .profile-avatar,
.hg-avatar-wrap img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    border: 2px solid rgba(206, 212, 218, .95);
    border-radius: 50%;
    background: #fff;
}

.hg-avatar-wrap.is-verified .profile-avatar,
.hg-avatar-wrap.is-verified img,
.hg-profile-photo-wrap.is-verified .hg-profile-photo {
    border-color: #22c55e !important;
}

.profile-avatar-inline {
    overflow: visible;
}

.hg-verified-badge {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 42%);
    z-index: 2;
    width: clamp(16px, 38%, 24px);
    height: clamp(16px, 38%, 24px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border: 2px solid #22c55e;
    border-radius: 999px;
    background: linear-gradient(135deg, #166534, #22c55e);
    box-shadow: 0 6px 14px rgba(22, 101, 52, .28);
    font-size: clamp(.65rem, 45%, .9rem);
}

.hg-verified-badge i,
.hg-verified-badge .bi::before {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    line-height: 1;
    vertical-align: 0;
}

.hg-avatar-wrap.is-verified .hg-verified-badge {
    color: #fff !important;
    border-color: #22c55e !important;
    background: linear-gradient(135deg, #166534, #22c55e) !important;
}

.hg-profile-photo-wrap .hg-verified-badge {
    width: 34px;
    height: 34px;
    left: 50%;
    bottom: 0;
    font-size: 1rem;
}

.profile-hero__avatar-wrap {
    width: clamp(88px, 24vw, 112px);
    height: clamp(88px, 24vw, 112px);
    max-width: 112px;
    max-height: 112px;
}

.profile-hero__avatar-wrap .profile-hero__avatar {
    width: 100%;
    height: 100%;
    max-width: 112px;
    max-height: 112px;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

.hg-photo-preview-wrap {
    width: clamp(72px, 22vw, 88px);
    height: clamp(72px, 22vw, 88px);
    max-width: 88px;
    max-height: 88px;
}

.hg-photo-preview-wrap .hg-photo-preview {
    width: 100%;
    height: 100%;
}

.hg-chat-item__avatar-wrap {
    width: 44px;
    height: 44px;
}

.hg-chat-header__avatar-wrap {
    width: 56px;
    height: 56px;
}

.hg-message__avatar-wrap {
    width: 44px;
    height: 44px;
}

.hg-chat-section {
    padding-top: clamp(1.5rem, 3vw, 2.6rem);
    padding-bottom: clamp(4rem, 7vw, 6rem);
}

.hg-chat-shell {
    display: grid;
    grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
    gap: 1rem;
    align-items: stretch;
}

.hg-chat-sidebar,
.hg-chat-panel {
    min-width: 0;
}

.hg-chat-sidebar {
    position: sticky;
    top: 112px;
    max-height: 760px;
    overflow: hidden;
}

.hg-chat-list {
    display: grid;
    gap: .65rem;
    max-height: 620px;
    overflow-y: auto;
    padding-right: .2rem;
}

.hg-chat-item {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: .7rem;
    align-items: center;
    padding: .75rem;
    border: 1px solid var(--hg-line);
    border-radius: 8px;
    color: inherit;
    text-decoration: none;
    background: rgba(255, 255, 255, .68);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.hg-chat-item:hover,
.hg-chat-item:focus,
.hg-chat-item.is-active {
    border-color: rgba(36, 92, 54, .36);
    box-shadow: 0 14px 32px rgba(23, 33, 27, .1);
    transform: translateY(-1px);
}

.hg-chat-item.is-active {
    background: rgba(36, 92, 54, .08);
}

.hg-chat-item__avatar,
.hg-chat-header__avatar,
.hg-message__avatar {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border: 2px solid rgba(206, 212, 218, .95);
    border-radius: 50%;
    background: #fff;
}

.hg-chat-item__body {
    min-width: 0;
}

.hg-chat-item__top {
    display: flex;
    gap: .5rem;
    justify-content: space-between;
    min-width: 0;
}

.hg-chat-item__top strong,
.hg-chat-item__route,
.hg-chat-item__preview {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hg-chat-item__top small,
.hg-chat-item__preview,
.hg-chat-item__route {
    color: var(--hg-muted);
    font-size: .82rem;
}

.hg-chat-item__route,
.hg-chat-item__preview {
    display: block;
}

.hg-chat-index {
    max-width: 880px;
    margin: 0 auto;
}

.hg-chat-index-list {
    display: grid;
    gap: .75rem;
}

.hg-chat-index-item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: .85rem;
    align-items: center;
    padding: .85rem;
    border: 1px solid var(--hg-line);
    border-radius: 8px;
    color: inherit;
    text-decoration: none;
    background: rgba(255, 255, 255, .72);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.hg-chat-index-item:hover,
.hg-chat-index-item:focus {
    border-color: rgba(36, 92, 54, .36);
    box-shadow: 0 14px 32px rgba(23, 33, 27, .1);
    transform: translateY(-1px);
}

.hg-chat-panel {
    display: grid;
    grid-template-rows: auto minmax(360px, 1fr) auto auto;
    gap: .9rem;
}

.hg-chat-header {
    padding-bottom: .85rem;
    border-bottom: 1px solid var(--hg-line);
}

.hg-chat-back {
    display: none;
    width: fit-content;
    margin-bottom: .85rem;
    font-weight: 800;
}

.hg-chat-header h2 {
    margin: 0;
}

.hg-chat-header p {
    margin: .15rem 0 0;
}

.hg-chat-header__avatar {
    width: 56px;
    height: 56px;
}

.hg-chat-messages {
    display: grid;
    align-content: start;
    gap: .85rem;
    min-height: 430px;
    max-height: 62vh;
    overflow-y: auto;
    padding: .75rem;
    border: 1px solid var(--hg-line);
    border-radius: 8px;
    background:
        linear-gradient(rgba(255, 255, 255, .92), rgba(255, 255, 255, .92)),
        url('../../images/logo_gris.png') center/170px auto no-repeat;
}

.hg-message {
    display: flex;
    gap: .65rem;
    align-items: flex-end;
    max-width: min(82%, 720px);
}

.hg-message.is-mine {
    flex-direction: row-reverse;
    justify-self: end;
    text-align: right;
}

.hg-message__content {
    display: grid;
    gap: .25rem;
}

.hg-message__bubble {
    padding: .7rem .85rem;
    border: 1px solid var(--hg-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(23, 33, 27, .07);
    overflow-wrap: anywhere;
}

.hg-message__text {
    white-space: pre-wrap;
}

.hg-message__image-link {
    position: relative;
    display: block;
    width: min(260px, 62vw);
    min-height: 170px;
    overflow: hidden;
    border-radius: 8px;
    color: inherit;
    background:
        linear-gradient(90deg, rgba(36, 92, 54, .06), rgba(255, 255, 255, .72), rgba(36, 92, 54, .06)),
        rgba(36, 92, 54, .08);
    background-size: 220% 100%;
    cursor: zoom-in;
    animation: hgImageLoading 1.15s ease-in-out infinite;
}

.hg-message__image {
    display: block;
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    border-radius: 8px;
    opacity: 0;
    transition: opacity .22s ease, transform .22s ease;
}

.hg-message__image-link.is-loaded {
    min-height: 0;
    background: transparent;
    animation: none;
}

.hg-message__image-link.is-loaded .hg-message__image {
    opacity: 1;
}

.hg-message__image-link:hover .hg-message__image {
    transform: scale(1.015);
}

.hg-message__image-link.is-error {
    min-height: 86px;
    display: grid;
    place-items: center;
    padding: .8rem;
    color: var(--hg-muted);
    background: rgba(220, 53, 69, .08);
    animation: none;
}

.hg-message__image-link.is-error::after {
    content: "Photo indisponible";
    font-size: .86rem;
    font-weight: 850;
}

.hg-message__image-link.is-error .hg-message__image,
.hg-message__image-link.is-error .hg-message__image-loader,
.hg-message__image-link.is-loaded .hg-message__image-loader {
    display: none;
}

.hg-message__image-loader {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    place-items: center;
    color: var(--hg-green);
    background: rgba(255, 255, 255, .28);
}

.hg-message__image + .hg-message__text,
.hg-message__image-link + .hg-message__text {
    margin-top: .55rem;
}

.hg-chat-image-modal .modal-dialog {
    max-width: min(1040px, calc(100vw - 1.5rem));
}

.hg-chat-image-modal .modal-content {
    position: relative;
    overflow: hidden;
    padding: .7rem;
    border-radius: 12px !important;
    background: rgba(10, 20, 15, .94) !important;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .32);
}

.hg-chat-image-modal__close {
    position: absolute;
    top: .75rem;
    right: .75rem;
    z-index: 2;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, .9);
    opacity: 1;
}

.hg-chat-image-modal__image {
    display: block;
    width: 100%;
    max-height: min(82vh, 820px);
    object-fit: contain;
    border-radius: 8px;
    background: rgba(255, 255, 255, .04);
}

.hg-message.is-mine .hg-message__bubble {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--hg-green), #3f9658);
}

.hg-message__date {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: .35rem;
    color: var(--hg-muted);
    font-size: .78rem;
}

.hg-message.is-mine .hg-message__date {
    justify-content: flex-end;
}

.hg-message__read-status {
    color: var(--hg-green);
    font-weight: 850;
}

.hg-chat-typing {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    gap: .55rem;
    align-items: center;
    padding: .4rem .7rem;
    border: 1px solid rgba(36, 92, 54, .14);
    border-radius: 999px;
    color: var(--hg-muted);
    background: rgba(255, 255, 255, .78);
    font-size: .86rem;
    font-weight: 800;
}

.hg-chat-typing[hidden] {
    display: none;
}

.hg-chat-typing__dots {
    display: inline-flex;
    gap: .2rem;
    align-items: center;
}

.hg-chat-typing__dots i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--hg-green);
    animation: hgTypingDot 1.1s ease-in-out infinite;
}

.hg-chat-typing__dots i:nth-child(2) {
    animation-delay: .15s;
}

.hg-chat-typing__dots i:nth-child(3) {
    animation-delay: .3s;
}

@keyframes hgTypingDot {
    0%, 80%, 100% {
        opacity: .35;
        transform: translateY(0);
    }
    40% {
        opacity: 1;
        transform: translateY(-2px);
    }
}

.hg-chat-form {
    position: relative;
    display: grid;
    gap: 0;
}

.hg-chat-composer {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: .55rem;
    align-items: end;
    padding: .5rem;
    border: 1px solid rgba(36, 92, 54, .16);
    border-radius: 999px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 14px 34px rgba(23, 33, 27, .08);
}

.hg-chat-composer textarea.form-control {
    min-height: 52px;
    max-height: 132px;
    padding: .85rem 1rem;
    border: 0;
    border-radius: 24px;
    background: rgba(36, 92, 54, .06);
    box-shadow: none;
    resize: vertical;
}

.hg-chat-composer textarea.form-control:focus {
    background: #fff;
    box-shadow: inset 0 0 0 2px rgba(36, 92, 54, .18);
}

.hg-chat-photo-btn {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: var(--hg-green);
    background: rgba(36, 92, 54, .1);
    font-size: 1.15rem;
}

.hg-chat-send-btn {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    font-size: 1rem;
}

.hg-chat-image-preview {
    position: absolute;
    left: 3.15rem;
    bottom: calc(100% + .7rem);
    z-index: 4;
    display: block;
    pointer-events: none;
    animation: hgAttachmentPop .18s ease-out;
}

.hg-chat-image-preview[hidden] {
    display: none;
}

.hg-chat-preview-card {
    position: relative;
    width: min(220px, 58vw);
    margin: 0;
    overflow: hidden;
    border: 2px solid rgba(36, 92, 54, .18);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(23, 33, 27, .12);
    pointer-events: auto;
}

.hg-chat-preview-card img {
    display: block;
    width: 100%;
    max-height: 190px;
    object-fit: cover;
}

.hg-chat-preview-remove {
    position: absolute;
    top: .45rem;
    right: .45rem;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: rgba(16, 24, 20, .76);
    box-shadow: 0 8px 18px rgba(16, 24, 20, .2);
}

@keyframes hgAttachmentPop {
    from {
        opacity: 0;
        transform: translateY(8px) scale(.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes hgImageLoading {
    0% {
        background-position: 120% 0;
    }

    100% {
        background-position: -120% 0;
    }
}

@media screen and (max-width: 991.98px) {
    .hg-chat-shell {
        grid-template-columns: 1fr;
    }

    .hg-chat-sidebar {
        position: static;
        max-height: none;
    }

    .hg-chat-list {
        display: flex;
        gap: .65rem;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        padding: .15rem .1rem .35rem;
        scroll-snap-type: x mandatory;
    }

    .hg-chat-item {
        width: min(82vw, 320px);
        flex: 0 0 auto;
        scroll-snap-align: start;
    }

    .hg-chat-panel {
        grid-template-rows: auto minmax(360px, 58vh) auto;
    }

    .hg-chat-messages {
        min-height: 360px;
        max-height: 58vh;
    }

    .hg-message {
        max-width: 92%;
    }
}

@media screen and (max-width: 767.98px) {
    .hg-profile-summary {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .hg-photo-preview-row {
        align-items: flex-start;
    }

    .hg-chat-sidebar {
        display: none;
    }

    .hg-chat-back {
        display: inline-flex;
        align-items: center;
        gap: .4rem;
    }

    .hg-chat-panel {
        grid-template-rows: auto minmax(320px, 52vh) auto;
    }

    .hg-chat-messages {
        min-height: 320px;
        max-height: 52vh;
    }

    .hg-chat-composer {
        grid-template-columns: 42px minmax(0, 1fr) 42px;
        padding: .45rem;
    }

    .hg-chat-photo-btn,
    .hg-chat-send-btn {
        width: 42px;
        height: 42px;
    }

    .hg-chat-image-preview {
        left: .45rem;
        right: .45rem;
        bottom: calc(100% + .55rem);
    }

    .hg-chat-preview-card {
        width: min(210px, 70vw);
    }

    .hg-chat-index-item {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .hg-chat-index-item > .badge {
        justify-self: start;
        grid-column: 2;
    }
}

.app-form-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 140px;
    gap: .9rem;
}

.tip-list {
    display: grid;
    gap: .65rem;
    margin-top: 1rem;
}

.tip-list span {
    display: flex;
    align-items: center;
    gap: .55rem;
    color: var(--hg-ink);
    font-weight: 700;
}

.tip-list i {
    color: var(--hg-orange);
}

.app-results-search {
    position: sticky;
    top: 92px;
}

.app-results-main {
    min-width: 0;
}

.app-alert-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .9rem;
    padding: .85rem 1rem;
}

.app-alert-strip .app-panel__header {
    margin-bottom: 0;
}

.app-alert-strip__content {
    min-width: 0;
}

.app-alert-strip__icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    font-size: .9rem;
}

.app-alert-strip h2 {
    font-size: 1.05rem;
}

.app-alert-strip p {
    max-width: 660px;
    font-size: .86rem;
    line-height: 1.35;
    color: #6f7c74;
}

.app-alert-strip__action {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    margin-left: auto;
}

.app-alert-strip__action .btn,
.app-alert-strip > .btn {
    white-space: nowrap;
}

.app-search-sheet {
    height: auto !important;
    border-radius: 18px 18px 0 0;
}

.ride-list {
    display: grid;
    gap: .85rem;
}

.ride-card {
    position: relative;
    display: grid;
    grid-template-columns: 96px 78px minmax(0, 1fr) 112px;
    gap: .95rem;
    align-items: center;
    min-height: 104px;
    padding: .9rem 1rem;
    border: 1px solid var(--hg-line);
    border-radius: 8px;
    color: var(--hg-ink);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(247, 249, 245, .9));
    text-decoration: none;
    box-shadow: 0 18px 48px rgba(23, 33, 27, .1);
    overflow: hidden;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.ride-card::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, var(--hg-orange), var(--hg-green));
}

.ride-card:hover {
    color: var(--hg-ink);
    border-color: rgba(238, 121, 17, .45);
    box-shadow: 0 24px 70px rgba(23, 33, 27, .16);
    transform: translateY(-3px);
}

.ride-card__time,
.ride-card__avatar,
.ride-card__price {
    display: grid;
    place-items: center;
    align-self: stretch;
    min-height: 70px;
    padding: .55rem .5rem;
    border: 1px solid rgba(36, 92, 54, .12);
    border-radius: 8px;
    background: rgba(36, 92, 54, .07);
    text-align: center;
}

.ride-card__time strong,
.ride-card__route span,
.ride-card__price strong {
    display: block;
    font-weight: 900;
}

.ride-card__time strong {
    color: var(--hg-green);
    font-size: 1.15rem;
    line-height: 1.05;
}

.ride-card__time span,
.ride-card__route small,
.ride-card__price span,
.ride-card__avatar span {
    color: var(--hg-muted);
    font-size: .82rem;
}

.ride-card__avatar {
    gap: .25rem;
    background: rgba(255, 255, 255, .66);
}

.ride-card__avatar > span {
    width: 100%;
    min-width: 0;
    overflow: hidden;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ride-card__route {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr);
    gap: .3rem .55rem;
    align-items: center;
    min-width: 0;
    padding: .2rem 0;
}

.ride-card__route span {
    min-width: 0;
    font-size: 1.08rem;
    line-height: 1.18;
    overflow-wrap: anywhere;
}

.ride-card__route i {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    color: var(--hg-orange);
    background: rgba(238, 121, 17, .1);
}

.ride-card__route small {
    grid-column: 1 / -1;
    display: inline-flex;
    width: fit-content;
    padding: .24rem .55rem;
    border-radius: 999px;
    color: var(--hg-green);
    background: rgba(36, 92, 54, .09);
    font-weight: 850;
}

.ride-card__price {
    background: rgba(238, 121, 17, .1);
    text-align: right;
}

.ride-card__price strong {
    color: var(--hg-orange);
    font-size: 1.65rem;
    line-height: .95;
}

.ride-card__price sup {
    font-size: .7rem;
}

.ride-card.is-disabled {
    opacity: .58;
    cursor: not-allowed;
    filter: grayscale(.35);
}

.ride-card.is-disabled:hover {
    border-color: var(--hg-line);
    box-shadow: 0 18px 48px rgba(23, 33, 27, .1);
    transform: none;
}

.ride-card__badge {
    position: absolute;
    top: .7rem;
    right: .7rem;
    border-radius: 999px;
    background: #6c757d;
    color: #fff;
    padding: .25rem .55rem;
    font-size: .7rem;
    font-weight: 800;
}

.ride-card__badge--full,
.ride-card__badge--limited {
    background: #4f5b55;
}

.ride-card__availability--full,
.ride-card__availability--limited {
    color: #4f5b55 !important;
    background: rgba(79, 91, 85, .12) !important;
}

.empty-state {
    display: grid;
    place-items: center;
    min-height: 260px;
    padding: 2rem;
    border: 1px dashed rgba(36, 92, 54, .28);
    border-radius: 8px;
    background: rgba(255, 255, 255, .72);
    text-align: center;
}

.empty-state i {
    color: var(--hg-orange);
    font-size: 2.6rem;
}

.empty-state h3 {
    margin: .7rem 0 .2rem;
    font-weight: 900;
}

.empty-state__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .65rem;
    margin-top: 1rem;
}

.ride-scene {
    position: relative;
    height: 92px;
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .86), rgba(241, 248, 239, .92)),
        linear-gradient(90deg, rgba(36, 92, 54, .1), rgba(238, 121, 17, .14));
    overflow: hidden;
}

.ride-scene__road {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 25px;
    height: 8px;
    border-radius: 999px;
    background:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .95) 0 16px, transparent 16px 32px),
        linear-gradient(90deg, rgba(36, 92, 54, .34), rgba(238, 121, 17, .38));
    box-shadow: 0 8px 18px rgba(23, 33, 27, .1);
}

.ride-scene__sign {
    position: absolute;
    top: 12px;
    z-index: 2;
    border-radius: 999px;
    background: #fff;
    color: var(--hg-green);
    padding: .25rem .55rem;
    font-size: .68rem;
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(23, 33, 27, .1);
}

.ride-scene__sign--start {
    left: 14px;
}

.ride-scene__sign--end {
    right: 14px;
}

.ride-scene__van {
    position: absolute;
    left: 26px;
    bottom: 26px;
    z-index: 3;
    display: grid;
    width: 44px;
    height: 34px;
    place-items: center;
    grid-template-columns: 1fr;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, var(--hg-orange), var(--hg-gold));
    box-shadow: 0 12px 24px rgba(238, 121, 17, .28);
    animation: hgRideShare 7.2s cubic-bezier(.65, 0, .35, 1) infinite;
}

.ride-scene__van i {
    font-size: 1.35rem;
}

.ride-scene__passengers {
    position: absolute;
    right: 6px;
    top: 6px;
    display: flex;
    gap: 2px;
    opacity: 0;
    animation: hgPassengerWindows 7.2s cubic-bezier(.65, 0, .35, 1) infinite;
}

.ride-scene__passengers span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 0 0 1px rgba(14, 46, 32, .14);
}

.ride-scene__group {
    position: absolute;
    z-index: 2;
    display: flex;
    gap: 4px;
}

.ride-scene__group span {
    position: relative;
    width: 12px;
    height: 20px;
    border-radius: 999px 999px 5px 5px;
    background: var(--hg-green);
    box-shadow: inset 0 7px 0 rgba(255, 255, 255, .26);
}

.ride-scene__group span::before {
    content: '';
    position: absolute;
    left: 2px;
    top: -7px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #6f4934;
}

.ride-scene__group--start {
    left: 78px;
    bottom: 31px;
    animation: hgPeopleWait 7.2s cubic-bezier(.65, 0, .35, 1) infinite;
}

.ride-scene__group--arrival {
    right: 20px;
    bottom: 31px;
    z-index: 4;
    opacity: 0;
    transform: translateX(-22px) scale(.82);
    animation: hgPeopleArrival 7.2s cubic-bezier(.65, 0, .35, 1) infinite;
}

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

.profile-hero {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 1.2rem;
    align-items: center;
}

.profile-hero__avatar {
    width: 112px;
    height: 112px;
    object-fit: cover;
    border: 4px solid #fff;
    border-radius: 50%;
    box-shadow: 0 16px 40px rgba(23, 33, 27, .18);
}

.dashboard-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.dashboard-action {
    display: grid;
    gap: .35rem;
    color: var(--hg-ink);
    text-decoration: none;
    min-height: 150px;
}

.dashboard-action:hover {
    color: var(--hg-ink);
    transform: translateY(-3px);
}

.dashboard-action i {
    color: var(--hg-orange);
    font-size: 1.8rem;
}

.dashboard-action strong {
    font-size: 1.1rem;
    font-weight: 900;
}

.dashboard-action span {
    color: var(--hg-muted);
}

.app-reveal {
    opacity: 0;
    filter: blur(10px);
    transform: translate3d(0, 28px, 0) scale(.98);
}

.app-reveal--left {
    transform: translate3d(-18px, 28px, 0) scale(.98);
}

.app-reveal--right {
    transform: translate3d(18px, 28px, 0) scale(.98);
}

.app-reveal.is-visible {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(1);
    transition:
        opacity .7s cubic-bezier(.2, .8, .2, 1) var(--reveal-delay),
        transform .7s cubic-bezier(.2, .8, .2, 1) var(--reveal-delay),
        filter .7s cubic-bezier(.2, .8, .2, 1) var(--reveal-delay);
}

/* Legacy pages upgrade: applies to pages not yet rebuilt as components. */
.app-main > .container.py-5,
.app-main > .container.my-5,
.app-main > .container.mt-5,
.app-main > .container {
    position: relative;
}

.app-main > .container.py-5 > h1:first-child,
.app-main > .container.py-5 > h2:first-child,
.app-main > .container.my-5 > h1:first-child,
.app-main > .container.mt-5 > h1:first-child {
    margin: 0 auto 1.5rem;
    max-width: 860px;
    color: var(--hg-ink);
    text-align: center;
    font-family: var(--hg-font-display);
    font-size: clamp(1.8rem, 3.6vw, 2.85rem);
    line-height: 1.08;
}

.app-main .container.py-5 > .row,
.app-main .container.my-5 > .row {
    border-radius: 12px;
}

.app-main form.bg-light,
.app-main .bg-light.p-4,
.app-main .shadow-sm.border,
.app-main .card,
.app-main .accordion,
.app-main .table-responsive,
.app-main .list-group {
    border-color: var(--hg-line) !important;
}

.app-main form.bg-light,
.app-main .bg-light.p-4,
.app-main .shadow-sm.border {
    background: rgba(255, 255, 255, .9) !important;
    box-shadow: var(--hg-shadow) !important;
}

.app-main .table {
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    vertical-align: middle;
}

.app-main .table-responsive,
.app-main .table-responsive-sm,
.app-main .table-responsive-md,
.app-main .table-responsive-lg,
.app-main .table-responsive-xl,
.app-main .table-responsive-xxl {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
}

.app-main .table-responsive > .table,
.app-main .table-responsive-sm > .table,
.app-main .table-responsive-md > .table,
.app-main .table-responsive-lg > .table,
.app-main .table-responsive-xl > .table,
.app-main .table-responsive-xxl > .table {
    min-width: 720px;
    margin-bottom: 0;
}

.app-main .table thead th {
    border: 0;
    background: rgba(36, 92, 54, .09);
    color: var(--hg-green);
    font-weight: 900;
}

.app-main .table tbody tr {
    transition: background .18s ease, transform .18s ease;
}

.app-main .table tbody tr:hover {
    background: rgba(238, 121, 17, .06);
}

@media screen and (max-width: 767.98px) {
    .app-main .responsive-card-table {
        min-width: 0 !important;
        border-collapse: separate;
        border-spacing: 0 .85rem;
        background: transparent;
    }

    .app-main .responsive-card-table thead {
        display: none;
    }

    .app-main .responsive-card-table tbody,
    .app-main .responsive-card-table tr,
    .app-main .responsive-card-table td {
        display: block;
        width: 100%;
    }

    .app-main .responsive-card-table tbody tr {
        overflow: hidden;
        margin-bottom: .85rem;
        border: 1px solid var(--hg-line);
        border-radius: 8px;
        background: rgba(255, 255, 255, .96);
        box-shadow: 0 14px 34px rgba(23, 33, 27, .08);
    }

    .app-main .responsive-card-table td {
        display: grid;
        grid-template-columns: minmax(112px, .42fr) minmax(0, 1fr);
        gap: .75rem;
        align-items: center;
        padding: .85rem .95rem;
        border: 0 !important;
        border-bottom: 1px solid rgba(36, 92, 54, .1) !important;
        text-align: left !important;
        word-break: break-word;
    }

    .app-main .responsive-card-table td:last-child {
        border-bottom: 0 !important;
    }

    .app-main .responsive-card-table td::before {
        content: attr(data-label);
        color: var(--hg-green);
        font-size: .78rem;
        font-weight: 900;
        letter-spacing: .02em;
        text-transform: uppercase;
    }

    .app-main .responsive-card-table td[data-label=""]::before,
    .app-main .responsive-card-table td[colspan]::before {
        display: none;
    }

    .app-main .responsive-card-table td[colspan] {
        display: block;
    }
}

.app-main .badge {
    border-radius: 999px;
    padding: .45rem .62rem;
    font-weight: 800;
}

.app-main .alert {
    border: 1px solid var(--hg-line);
    border-radius: 8px;
    box-shadow: 0 16px 42px rgba(23, 33, 27, .08);
}

.app-main .accordion-item {
    margin-bottom: .7rem;
    overflow: hidden;
    border: 1px solid var(--hg-line);
    border-radius: 8px;
    box-shadow: 0 14px 36px rgba(23, 33, 27, .08);
}

.app-main .accordion-button {
    font-weight: 900;
}

.app-main .modal-content {
    overflow: hidden;
}

.offcanvas-backdrop {
    z-index: var(--hg-z-offcanvas-backdrop) !important;
}

.offcanvas {
    z-index: var(--hg-z-offcanvas) !important;
}

.modal-backdrop {
    z-index: var(--hg-z-modal-backdrop) !important;
}

.modal {
    z-index: var(--hg-z-modal) !important;
}

.flatpickr-calendar {
    z-index: var(--hg-z-floating-control) !important;
    border: 1px solid var(--hg-line) !important;
    border-radius: 14px !important;
    box-shadow: 0 18px 45px rgba(23, 33, 27, .18) !important;
    overflow: hidden;
    font-family: var(--hg-font-body);
}

.flatpickr-months,
.flatpickr-weekdays {
    background: linear-gradient(135deg, var(--hg-green), #337e4c);
}

.flatpickr-months .flatpickr-month,
.flatpickr-current-month,
.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year,
.flatpickr-weekday {
    color: #fff !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
    font-weight: 800;
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
    color: #fff !important;
    fill: #fff !important;
}

.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover {
    color: var(--hg-gold) !important;
    fill: var(--hg-gold) !important;
}

.flatpickr-day {
    border-radius: 10px !important;
    color: var(--hg-ink);
}

.flatpickr-day.today {
    border-color: var(--hg-orange) !important;
    color: var(--hg-orange);
    font-weight: 800;
}

.flatpickr-day:hover,
.flatpickr-day:focus {
    border-color: rgba(238, 121, 17, .18) !important;
    background: rgba(238, 121, 17, .12) !important;
    color: var(--hg-green-2) !important;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected:hover {
    border-color: var(--hg-green) !important;
    background: linear-gradient(135deg, var(--hg-green), #3f9658) !important;
    color: #fff !important;
}

.flatpickr-day.disabled,
.flatpickr-day.disabled:hover {
    color: rgba(100, 114, 104, .42) !important;
    background: transparent !important;
}

.modal .flatpickr-calendar {
    z-index: calc(var(--hg-z-modal) + 1) !important;
}

.offcanvas .flatpickr-calendar {
    z-index: calc(var(--hg-z-offcanvas) + 1) !important;
}

.swal2-container {
    z-index: var(--hg-z-swal) !important;
}

.ui-menu {
    z-index: var(--hg-z-floating-control) !important;
}

.app-main .nav-tabs,
.app-main .nav-pills {
    gap: .45rem;
}

@media screen and (max-width: 575.98px) {
    .app-panel__header {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: .7rem;
    }

    .app-panel__header > .btn {
        width: 100%;
        margin-left: 0;
    }

    .app-panel__header h2,
    .app-panel h2 {
        font-size: 1.18rem;
        line-height: 1.15;
    }

    .app-panel__header p,
    .app-panel p {
        font-size: .84rem;
    }

    .app-panel__icon {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
        font-size: .92rem;
    }

    .reservations-summary-panel__header,
    .account-summary-panel__header {
        display: grid;
        grid-template-columns: 36px minmax(0, 1fr);
    }

    .reservations-summary-panel__header .btn,
    .account-summary-panel__header .btn {
        grid-column: 1 / -1;
        min-height: 40px;
    }

    .settings-page .hg-form-actions {
        justify-items: stretch;
    }

    .settings-page .hg-form-actions .btn {
        width: 100%;
        min-width: 0;
    }

    .app-alert-strip {
        display: grid;
        gap: .65rem;
        padding: .85rem;
    }

    .app-alert-strip__content {
        gap: .65rem;
    }

    .app-alert-strip h2 {
        font-size: 1rem;
    }

    .app-alert-strip p {
        font-size: .82rem;
    }

    .app-alert-strip__action,
    .app-alert-strip__action .btn,
    .app-alert-strip > .btn {
        width: 100%;
    }

    .hg-filter-tabs {
        display: none;
    }

    .hg-filter-select {
        display: block;
    }
}

.auth-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 1.2rem;
    align-items: start;
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.auth-card {
    min-width: 0;
}

.auth-aside {
    position: sticky;
    top: 96px;
}

.auth-aside .tip-list {
    margin-top: 1.2rem;
}

.auth-form {
    gap: 1rem;
}

.auth-form__heading {
    display: flex;
    gap: .85rem;
    align-items: center;
    margin-bottom: .25rem;
}

.auth-form__heading > span {
    display: inline-flex;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--hg-green), #4aa763);
}

.auth-form__heading h2 {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 900;
}

.auth-form__heading p {
    margin: .15rem 0 0;
    color: var(--hg-muted);
}

.auth-input-group .form-control,
.auth-input-group .input-group-text,
.auth-input-group .btn {
    min-height: 52px;
}

.auth-form__links {
    display: flex;
    justify-content: flex-end;
    font-size: .95rem;
}

.auth-form__submit {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    width: 100%;
    font-weight: 900;
}

.auth-form__register {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    align-items: center;
    justify-content: center;
    padding-top: 1rem;
    border-top: 1px solid var(--hg-line);
}

.auth-form__register span {
    color: var(--hg-muted);
}

.contact-form__fields {
    margin: 0;
    padding: 0;
    border: 0;
}

.contact-form .form-control:disabled,
.contact-form .form-control[readonly] {
    color: var(--hg-muted);
    background: rgba(247, 249, 245, .88);
    border-color: rgba(36, 92, 54, .14);
    opacity: 1;
}

.contact-form .form-control[readonly]:not(:disabled) {
    cursor: default;
}

.contact-login-notice {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    padding: .85rem;
    border: 1px solid rgba(238, 121, 17, .28);
    border-radius: 8px;
    color: #6c4500;
    background: rgba(255, 247, 232, .86);
}

.contact-login-notice i {
    display: inline-flex;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #fff;
    background: var(--hg-orange);
}

.contact-login-notice strong,
.contact-login-notice span {
    display: block;
}

.contact-login-notice span {
    margin-top: .12rem;
    color: var(--hg-muted);
    font-size: .88rem;
}

.hg-helpbot {
    position: fixed;
    right: 0;
    top: 52%;
    bottom: auto;
    z-index: var(--hg-z-helpbot);
    font-family: var(--hg-font-body);
    transform: translateY(-50%);
}

.hg-admin-float {
    position: absolute;
    right: 0;
    bottom: calc(100% + .55rem);
    display: inline-flex;
    align-items: center;
    gap: .34rem;
    min-height: 34px;
    padding: .42rem .68rem .42rem .58rem;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 999px 0 0 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--hg-orange), #c45607);
    box-shadow: -8px 12px 26px rgba(23, 33, 27, .18);
    font-size: .78rem;
    font-weight: 950;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .18s ease, box-shadow .18s ease;
}

.hg-admin-float:hover,
.hg-admin-float:focus-visible {
    color: #fff;
    transform: translateX(-4px);
    box-shadow: -12px 16px 32px rgba(23, 33, 27, .24);
}

.hg-admin-float i {
    font-size: .92rem;
}

.hg-helpbot__trigger {
    display: grid;
    width: 30px;
    height: 44px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 16px 0 0 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--hg-green), #111f18);
    box-shadow: -8px 12px 26px rgba(23, 33, 27, .2);
    font-weight: 900;
    transition: width .18s ease, transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.hg-helpbot__trigger-tip {
    position: absolute;
    right: calc(100% + .55rem);
    top: 50%;
    white-space: nowrap;
    padding: .42rem .62rem;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 999px;
    color: var(--hg-green);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 12px 28px rgba(23, 33, 27, .14);
    font-size: .78rem;
    font-weight: 900;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) translateX(8px) scale(.96);
    transition: opacity .18s ease, transform .18s ease;
}

.hg-helpbot__trigger-tip::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -.34rem;
    width: .68rem;
    height: .68rem;
    background: rgba(255, 255, 255, .96);
    border-top: 1px solid rgba(255, 255, 255, .72);
    border-right: 1px solid rgba(255, 255, 255, .72);
    transform: translateY(-50%) rotate(45deg);
}

.hg-helpbot__trigger:hover,
.hg-helpbot__trigger:focus-visible {
    width: 48px;
    transform: translateX(-4px);
    box-shadow: -12px 16px 36px rgba(23, 33, 27, .27);
}

.hg-helpbot__trigger:hover .hg-helpbot__trigger-tip,
.hg-helpbot__trigger:focus-visible .hg-helpbot__trigger-tip {
    opacity: 1;
    transform: translateY(-50%) translateX(0) scale(1);
}

.hg-helpbot__trigger-icon {
    display: inline-grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 50%;
    color: var(--hg-green);
    background: #fff;
    font-size: .78rem;
    transition: width .18s ease, height .18s ease, font-size .18s ease;
}

.hg-helpbot__trigger:hover .hg-helpbot__trigger-icon,
.hg-helpbot__trigger:focus-visible .hg-helpbot__trigger-icon {
    width: 34px;
    height: 34px;
    font-size: 1.05rem;
}

.hg-helpbot__panel {
    position: absolute;
    z-index: 1;
    right: calc(100% + .75rem);
    top: 50%;
    bottom: auto;
    width: min(380px, calc(100vw - 1.5rem));
    max-height: min(680px, calc(100vh - 7rem));
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    border: 1px solid rgba(255, 255, 255, .74);
    border-radius: 18px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 26px 70px rgba(23, 33, 27, .22);
    transform: translateY(-50%);
    transform-origin: center right;
    animation: hgHelpbotIn .22s ease both;
}

.hg-helpbot__panel[hidden] {
    display: none;
}

.hg-helpbot__header {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1rem .85rem;
    color: #fff;
    background:
        radial-gradient(circle at 92% 8%, rgba(238, 121, 17, .42), transparent 32%),
        linear-gradient(135deg, var(--hg-green), #13251b);
}

.hg-helpbot__eyebrow {
    display: block;
    color: rgba(255, 255, 255, .78);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hg-helpbot__header h2 {
    margin: .1rem 0 0;
    font-family: var(--hg-font-display);
    font-size: 1.45rem;
    letter-spacing: 0;
}

.hg-helpbot__close {
    display: inline-grid;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, .12);
}

.hg-helpbot__intro {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: .75rem;
    align-items: center;
    padding: .95rem 1rem;
    background: linear-gradient(180deg, rgba(31, 116, 71, .08), rgba(255, 255, 255, 0));
}

.hg-helpbot__avatar {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--hg-orange);
    font-size: 1.25rem;
    box-shadow: 0 12px 24px rgba(238, 121, 17, .24);
}

.hg-helpbot__intro p {
    margin: 0;
    color: var(--hg-muted);
    font-size: .92rem;
    font-weight: 700;
    line-height: 1.45;
}

.hg-helpbot__search {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: .55rem;
    align-items: center;
    margin: 0 1rem .75rem;
    padding: .7rem .85rem;
    border: 1px solid var(--hg-line);
    border-radius: 12px;
    background: rgba(247, 249, 245, .9);
    color: var(--hg-green);
}

.hg-helpbot__search input {
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--hg-ink);
    font-weight: 800;
}

.hg-helpbot__search input::placeholder {
    color: rgba(82, 93, 88, .72);
}

.hg-helpbot__tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .4rem;
    padding: 0 1rem .8rem;
}

.hg-helpbot__tabs button {
    min-height: 42px;
    border: 1px solid var(--hg-line);
    border-radius: 999px;
    color: var(--hg-muted);
    background: #fff;
    font-weight: 900;
    transition: color .18s ease, background .18s ease, transform .18s ease;
}

.hg-helpbot__tabs button.active {
    color: #fff;
    border-color: transparent;
    background: var(--hg-green);
}

.hg-helpbot__content {
    max-height: 190px;
    overflow-y: auto;
    padding: 0 1rem .8rem;
}

.hg-helpbot__group {
    display: none;
    gap: .45rem;
}

.hg-helpbot__group.active {
    display: grid;
}

.hg-helpbot__group button {
    width: 100%;
    padding: .78rem .85rem;
    border: 1px solid rgba(36, 92, 54, .12);
    border-radius: 12px;
    color: var(--hg-ink);
    background: rgba(247, 249, 245, .76);
    font-weight: 850;
    text-align: left;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.hg-helpbot__group button:hover,
.hg-helpbot__group button:focus-visible,
.hg-helpbot__group button.active {
    border-color: rgba(31, 116, 71, .42);
    background: #fff;
    transform: translateX(2px);
}

.hg-helpbot__answer {
    margin: 0 1rem 1rem;
    padding: 1rem;
    border-left: 4px solid var(--hg-orange);
    border-radius: 12px;
    color: #23352a;
    background: linear-gradient(135deg, rgba(255, 245, 234, .98), rgba(255, 255, 255, .98));
    box-shadow: 0 12px 28px rgba(23, 33, 27, .08);
    font-size: .95rem;
    font-weight: 760;
    line-height: 1.55;
}

.hg-helpbot__answer strong {
    display: block;
    margin-bottom: .25rem;
    color: var(--hg-green);
    font-weight: 950;
}

.hg-helpbot__contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    margin: 0 1rem 1rem;
    min-height: 46px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--hg-orange), #d96109);
    font-weight: 900;
    text-decoration: none;
}

.hg-helpbot__empty {
    padding: .85rem;
    border: 1px dashed rgba(36, 92, 54, .22);
    border-radius: 12px;
    color: var(--hg-muted);
    background: rgba(247, 249, 245, .72);
    font-weight: 800;
}

@keyframes hgHelpbotIn {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(12px) scale(.96);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0) scale(1);
    }
}

@keyframes hgHelpbotMobileIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes hgFloat {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
    50% { transform: translate3d(-12px, -18px, 0) rotate(8deg); }
}

@keyframes hgMarkerSwipe {
    0% {
        transform: scaleX(.08) rotate(-1deg);
        opacity: 0;
    }
    55% {
        opacity: .95;
    }
    100% {
        transform: scaleX(1) rotate(-1deg);
        opacity: .9;
    }
}

@keyframes hgDrive {
    0% { transform: translateX(0); }
    50% { transform: translateX(320px); }
    100% { transform: translateX(0); }
}

@keyframes hgRideShare {
    0%, 12% { left: 26px; }
    24%, 42% { left: 96px; }
    68%, 92% { left: calc(100% - 92px); }
    100% { left: calc(100% + 20px); }
}

@keyframes hgPeopleWait {
    0%, 18% { opacity: 1; transform: translateY(0) scale(1); }
    24%, 31% { opacity: 1; transform: translateX(-7px) translateY(-3px) scale(.92); }
    36%, 100% { opacity: 0; transform: translateX(-14px) translateY(-8px) scale(.78); }
}

@keyframes hgPassengerWindows {
    0%, 30% { opacity: 0; transform: scale(.7); }
    36%, 82% { opacity: 1; transform: scale(1); }
    90%, 100% { opacity: 0; transform: scale(.72); }
}

@keyframes hgPeopleArrival {
    0%, 76% { opacity: 0; transform: translateX(-22px) translateY(-6px) scale(.78); }
    84%, 94% { opacity: 1; transform: translateX(0) translateY(0) scale(1); }
    100% { opacity: 0; transform: translateX(14px) translateY(0) scale(1); }
}

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

.hg-consent {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    z-index: calc(var(--hg-z-swal) - 10);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    max-width: 960px;
    margin: 0 auto;
    padding: .9rem;
    border: 1px solid rgba(36, 92, 54, .16);
    border-radius: 8px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 18px 44px rgba(23, 33, 27, .18);
    backdrop-filter: blur(18px);
}

.hg-consent[hidden] {
    display: none;
}

.hg-consent__content {
    min-width: 0;
}

.hg-consent__content strong {
    display: block;
    color: var(--hg-green);
    font-weight: 950;
}

.hg-consent__content p {
    margin: .2rem 0 0;
    color: var(--hg-muted);
    font-size: .9rem;
    font-weight: 720;
    line-height: 1.4;
}

.hg-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    justify-content: flex-end;
}

@media screen and (max-width: 575.98px) {
    .hg-consent {
        bottom: 5.8rem;
        grid-template-columns: 1fr;
    }

    .hg-consent__actions {
        display: grid;
        grid-template-columns: 1fr;
        justify-content: stretch;
    }
}

@media screen and (max-width: 991.98px) {
    body.app-shell {
        padding-bottom: 86px;
    }

    .hg-helpbot {
        top: auto;
        right: 0;
        bottom: 104px;
        transform: none;
    }

    .hg-admin-float {
        bottom: 0;
        right: 0;
        transform: translateY(calc(100% + .45rem));
    }

    .hg-admin-float:hover,
    .hg-admin-float:focus-visible {
        transform: translateY(calc(100% + .45rem)) translateX(-4px);
    }

    .hg-helpbot__trigger {
        display: none;
    }

    .hg-helpbot__panel {
        position: fixed;
        right: .75rem;
        bottom: 96px;
        top: auto;
        width: calc(100vw - 1.5rem);
        max-height: calc(100vh - 8rem);
        transform: none;
        transform-origin: bottom right;
    }

    .hg-helpbot__panel {
        animation-name: hgHelpbotMobileIn;
    }

    .app-page-grid,
    .app-results-layout,
    .auth-layout,
    .reservation-layout,
    .payment-layout,
    .ride-detail-layout,
    .ride-reservation-card {
        grid-template-columns: 1fr;
    }

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

    .reservation-side > .app-panel {
        min-width: 0;
    }

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

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

    .ride-reservation-card__badges,
    .ride-reservation-card__actions {
        justify-content: flex-start;
    }

    .hg-profile-grid {
        grid-template-areas:
            "main"
            "trust"
            "presentation"
            "preferences";
    }

    .auth-layout {
        padding-top: 1.2rem;
        padding-bottom: 2.5rem;
    }

    .auth-aside {
        position: static;
    }

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

    .ride-card {
        grid-template-columns: 86px 72px minmax(0, 1fr) 102px;
        gap: .75rem;
    }

    .ride-card__avatar {
        padding-right: .35rem;
        padding-left: .35rem;
    }

    .ride-card__route {
        grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr);
    }

    .ride-card__route i {
        width: 30px;
        height: 30px;
    }

    .ride-card__price strong {
        font-size: 1.45rem;
    }

    .app-drawer__mobile-redundant {
        display: none !important;
    }
}

@media screen and (max-width: 575.98px) {
    .app-page-header {
        padding-top: 4.8rem;
        padding-bottom: 1.35rem;
    }

    .auth-page-header {
        padding-bottom: 2rem;
    }

    .auth-page-header h1 {
        font-size: 2rem;
    }

    .auth-form {
        padding: 1rem;
    }

    .auth-form__heading {
        align-items: flex-start;
    }

    .auth-form__heading h2 {
        font-size: 1.25rem;
    }

    .auth-input-group {
        display: flex;
        flex-wrap: nowrap;
        width: 100%;
    }

    .auth-input-group .input-group-text {
        flex: 0 0 48px;
    }

    .auth-input-group > .form-control {
        flex: 1 1 auto;
        width: 1%;
        min-width: 0;
    }

    .auth-input-group > .form-floating {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
    }

    .auth-input-group > .form-floating > .form-control {
        width: 100%;
        min-width: 0;
    }

    .auth-input-group .toggle-password {
        flex: 0 0 48px;
        padding-right: 0;
        padding-left: 0;
    }

    .auth-form__links {
        justify-content: center;
    }

    .auth-form__register .btn {
        width: 100%;
    }

    .app-form-row,
    .profile-hero,
    .hg-form-grid,
    .reservation-side,
    .ride-detail-side,
    .ride-detail-stats,
    .reservation-stats,
    .reservation-confirmation .reservation-stats {
        grid-template-columns: 1fr;
    }

    .reservation-hero {
        display: grid;
    }

    .reservation-status {
        width: 100%;
    }

    .reservation-actions {
        display: grid;
    }

    .reservation-actions .btn {
        width: 100%;
    }

    .ride-show-actions {
        display: flex;
        gap: .5rem;
        padding: 0;
    }

    .ride-show-actions .btn {
        width: auto;
        min-height: 34px;
        padding: .25rem .35rem;
        font-size: .82rem;
    }

    .ride-show-heading h1 {
        font-size: 1.82rem;
    }

    .ride-show-heading p:last-child {
        font-size: .95rem;
    }

    .ride-show-date {
        font-size: 1.2rem;
        text-align: left;
    }

    .ride-show-map-shell,
    .ride-show-map-shell #map {
        min-height: 180px;
    }

    .ride-show-flow {
        grid-template-columns: 1fr;
    }

    .ride-booking-card {
        position: static;
    }

    .ride-cancel-form,
    .ride-reservation-card__actions {
        display: grid;
        justify-content: stretch;
    }

    .ride-reservation-card {
        gap: .7rem;
        padding: .75rem;
    }

    .ride-reservation-card__user {
        align-items: center;
    }

    .ride-reservation-card__badges {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .45rem;
        justify-content: stretch;
    }

    .ride-reservation-card__badges .reservation-status {
        width: 100%;
        min-height: 34px;
        padding: .42rem .55rem;
        font-size: .78rem;
        text-align: center;
        white-space: normal;
        line-height: 1.15;
    }

    .ride-reservation-card__actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .5rem;
    }

    .ride-cancel-form .btn,
    .ride-reservation-card__actions .btn,
    .ride-reservation-card__actions form {
        width: 100%;
    }

    .ride-reservation-card__actions .btn {
        min-height: 36px;
        justify-content: center;
        padding-inline: .55rem;
        font-size: .82rem;
    }

    .ride-reservation-card__actions form {
        display: contents;
    }

    .ride-reservation-card__actions .ride-reservation-card__code-form {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: .5rem;
    }

    .ride-reservation-card__code-form .form-control {
        width: 100%;
    }

    .reservation-timeline__item,
    .reservation-next-step {
        grid-template-columns: 40px minmax(0, 1fr);
        padding: .8rem;
    }

    .reservation-timeline__item > span,
    .reservation-next-step > span {
        width: 40px;
        height: 40px;
    }

    .reservation-info-list > div {
        display: grid;
        gap: .2rem;
    }

    .reservation-info-list dd {
        text-align: left;
    }

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

    .reservation-route-card > i {
        transform: rotate(90deg);
    }

    .payment-route {
        grid-template-columns: 1fr;
    }

    .payment-route > i {
        transform: rotate(90deg);
    }

    .payment-total--compact {
        display: grid;
        gap: .25rem;
    }

    .payment-total--compact strong {
        white-space: normal;
    }

    .payment-detail-toggle {
        width: 100%;
        justify-content: center;
    }

    .hg-form-full {
        grid-column: auto;
    }

    .dashboard-actions {
        grid-template-columns: 1fr;
    }

    .ride-card {
        grid-template-columns: 72px minmax(0, 1fr) auto;
        grid-template-areas:
            "time route price"
            "avatar route price";
        gap: .42rem .55rem;
        min-height: 0;
        padding: .72rem .72rem .72rem .9rem;
    }

    .ride-card__time {
        grid-area: time;
        min-height: 48px;
        padding: .35rem .25rem;
        text-align: center;
    }

    .ride-card__time strong {
        font-size: .98rem;
        line-height: 1.05;
    }

    .ride-card__time span {
        font-size: .68rem;
    }

    .ride-card__avatar {
        grid-area: avatar;
        display: flex;
        gap: .35rem;
        align-items: center;
        justify-content: flex-start;
        min-height: 34px;
        padding: 0;
        border: 0;
        background: transparent;
    }

    .ride-card__avatar .hg-avatar-wrap {
        width: 30px !important;
        height: 30px !important;
    }

    .ride-card__avatar > span {
        display: block;
        min-width: 0;
        overflow: hidden;
        color: var(--hg-muted);
        font-size: .72rem;
        font-weight: 850;
        line-height: 1;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .ride-card__route {
        grid-area: route;
        display: grid;
        grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr);
        gap: .2rem .35rem;
        align-items: center;
        padding: 0;
        border: 0;
        background: transparent;
    }

    .ride-card__route span {
        min-width: 0;
        font-size: .98rem;
        line-height: 1.08;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .ride-card__route i {
        display: inline-grid;
        width: 22px;
        height: 22px;
        justify-self: center;
        border-radius: 999px;
        color: var(--hg-orange);
        background: rgba(238, 121, 17, .09);
    }

    .ride-card__route small {
        grid-column: 1 / -1;
        display: inline-flex;
        width: fit-content;
        margin-top: .15rem;
        padding: .18rem .45rem;
        border-radius: 999px;
        color: var(--hg-green);
        background: rgba(36, 92, 54, .09);
        font-size: .72rem;
        font-weight: 850;
    }

    .ride-card__price {
        grid-area: price;
        align-self: stretch;
        min-width: 64px;
        min-height: 0;
        padding: .35rem .45rem;
        border-radius: 8px;
        text-align: right;
        background: rgba(238, 121, 17, .1);
    }

    .ride-card__price strong {
        font-size: 1.15rem;
        line-height: 1;
    }

    .ride-card__price span {
        font-size: .62rem;
        font-weight: 850;
    }

    .mobile-tabbar span {
        font-size: .62rem;
    }
}

.trust-strip {
    position: relative;
    overflow: hidden;
    padding: clamp(2.6rem, 5vw, 4.8rem) 0;
    background:
        radial-gradient(circle at 12% 20%, rgba(255, 255, 255, .12), transparent 28%),
        linear-gradient(135deg, #1f5b36 0%, #2f7045 58%, #245c36 100%);
}

.trust-strip::before,
.trust-strip::after {
    content: "";
    position: absolute;
    pointer-events: none;
    border-radius: 999px;
    opacity: .35;
}

.trust-strip::before {
    width: 360px;
    height: 360px;
    right: -120px;
    top: -140px;
    border: 1px solid rgba(255, 255, 255, .18);
}

.trust-strip::after {
    width: 220px;
    height: 220px;
    left: -70px;
    bottom: -120px;
    background: rgba(238, 121, 17, .16);
    filter: blur(8px);
}

.trust-strip__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, .8fr) auto;
    align-items: center;
    gap: clamp(1rem, 3vw, 2rem);
}

.trust-strip .app-kicker {
    margin-bottom: .7rem;
    color: #ffd08a;
    font-size: .78rem;
    line-height: 1.2;
}

.trust-strip h2 {
    max-width: 860px;
    margin-bottom: .6rem;
    color: #fff;
    font-size: clamp(1.75rem, 3vw, 2.55rem);
    line-height: 1.06;
}

.trust-strip p {
    max-width: 820px;
    margin: 0;
    color: rgba(255, 255, 255, .9);
    font-size: clamp(1rem, 1.7vw, 1.22rem);
}

.trust-strip__checks {
    display: grid;
    gap: .55rem;
}

.trust-strip__checks span {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    width: fit-content;
    padding: .55rem .78rem;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    font-weight: 850;
    box-shadow: 0 14px 36px rgba(0, 0, 0, .12);
}

.trust-strip__checks i {
    color: #ffb247;
}

.trust-strip__button {
    justify-self: end;
    border: 0;
    color: var(--hg-green);
    font-weight: 900;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .16);
}

.home-feature-section,
.home-routes-section {
    position: relative;
    overflow: hidden;
}

.home-feature-section .app-section-heading,
.home-routes-section .app-section-heading {
    display: grid;
    gap: .35rem;
    max-width: 760px;
    margin-bottom: 1.25rem;
}

.home-feature-section .app-section-heading h2,
.home-routes-section .app-section-heading h2,
.trust-strip h2 {
    font-size: clamp(1.55rem, 2.4vw, 2.05rem);
    line-height: 1.08;
}

.home-feature-section .feature-grid {
    gap: .9rem;
}

.home-feature-section .feature-card {
    position: relative;
    min-height: 0;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: .2rem .9rem;
    align-items: start;
    padding: 1.05rem;
    border-color: rgba(36, 92, 54, .14);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(250, 252, 249, .96));
    box-shadow: 0 18px 42px rgba(20, 35, 27, .07);
}

.home-feature-section .feature-card img {
    grid-row: span 2;
    width: 50px;
    height: 50px;
    object-fit: contain;
    padding: .45rem;
    border-radius: 8px;
    background: #f4faf5;
}

.home-feature-section .feature-card h3 {
    margin: .05rem 0 .12rem;
    font-size: 1.05rem;
    line-height: 1.15;
}

.home-feature-section .feature-card p {
    font-size: .93rem;
    line-height: 1.4;
}

.home-routes-section .route-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .85rem;
}

.home-routes-section .route-item {
    min-height: 96px;
    grid-template-columns: 44px minmax(0, 1fr) 28px;
    padding: 1rem;
    border-color: rgba(36, 92, 54, .14);
    background: #fff;
    box-shadow: 0 18px 42px rgba(20, 35, 27, .06);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.home-routes-section .route-item:hover,
.home-routes-section .route-item:focus-visible {
    border-color: rgba(238, 121, 17, .55);
    box-shadow: 0 22px 48px rgba(238, 121, 17, .12);
    transform: translateY(-2px);
}

.home-routes-section .route-item__icon {
    color: #fff;
    background: linear-gradient(135deg, #2f7d46, #245c36);
    box-shadow: 0 12px 28px rgba(36, 92, 54, .18);
}

.home-routes-section .route-item strong {
    font-size: 1rem;
    line-height: 1.18;
}

.home-routes-section .route-item small {
    margin-top: .28rem;
    color: #647167;
    font-size: .88rem;
}

.home-routes-section .route-item > .bi-chevron-right {
    color: #ee7911;
}

.local-seo-section .feature-card {
    min-height: 0;
}

.local-seo-section .feature-card .app-panel__icon {
    width: 42px;
    height: 42px;
    margin-bottom: .65rem;
    font-size: 1rem;
}

.local-seo-section .feature-card h3 a {
    color: #245c36;
    text-decoration: none;
}

.local-seo-section .feature-card h3 a:hover,
.local-seo-section .feature-card h3 a:focus-visible {
    color: #ee7911;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: .16em;
}

.site-footer {
    color: #fff;
    background: #245c36;
}

.site-footer__main {
    position: relative;
    padding: clamp(2rem, 4vw, 3.4rem) 0 0 !important;
    background:
        linear-gradient(180deg, #1e2528 0%, #171d1f 100%) !important;
}

.site-footer__main .row {
    align-items: flex-start;
    row-gap: 1.6rem;
}

.site-footer img {
    max-width: 230px !important;
    height: auto;
    margin-bottom: .8rem;
}

.site-footer h6 {
    margin-bottom: .8rem;
    color: #ff9a26 !important;
    font-size: .88rem;
    font-weight: 900;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.site-footer ul {
    display: grid;
    gap: .42rem;
    margin: 0;
}

.site-footer a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    color: rgba(255, 255, 255, .86) !important;
    font-weight: 750;
    text-decoration: none !important;
    transition: color .18s ease, transform .18s ease, opacity .18s ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: #ffb247 !important;
    transform: translateY(-1px);
}

.site-footer .bi-facebook {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    font-size: 1.15rem !important;
}

.site-footer .footer-bg-dark-subtle {
    padding: 1rem 0 !important;
    background: linear-gradient(90deg, #245c36, #32623d) !important;
}

.site-footer .footer-bg-dark-subtle .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem 1.5rem;
    flex-wrap: wrap;
}

.site-footer .footer-bg-dark-subtle p {
    margin: 0 !important;
    color: rgba(255, 255, 255, .94);
    font-size: .95rem;
}

.site-footer .footer-bg-dark-subtle p:last-child {
    color: rgba(255, 255, 255, .8);
}

.security-page .feature-grid {
    gap: .85rem;
}

.security-page .feature-card {
    min-height: 0;
    padding: 1.05rem 1.1rem;
    display: grid;
    align-content: start;
}

.security-page .feature-card h3 {
    margin: 0 0 .38rem;
    font-size: 1.05rem;
    line-height: 1.15;
}

.security-page .feature-card p {
    font-size: .86rem;
    line-height: 1.35;
}

.security-page.app-page-grid {
    align-items: start;
}

@media (max-width: 991.98px) {
    .trust-strip__inner {
        grid-template-columns: 1fr;
    }

    .trust-strip__button {
        justify-self: start;
    }

    .home-feature-section .feature-grid,
    .home-routes-section .route-list {
        grid-template-columns: 1fr;
    }

    .home-routes-section .route-item {
        min-height: 0;
    }

    .site-footer .row {
        text-align: center !important;
    }

    .site-footer a {
        justify-content: center;
    }

    .site-footer .my-3 a {
        margin-left: .5rem !important;
        margin-right: .5rem !important;
    }
}

@media (max-width: 575.98px) {
    .security-page .feature-grid {
        gap: .65rem;
    }

    .security-page .feature-card {
        padding: .95rem 1rem;
    }

    .trust-strip__checks {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: .5rem;
    }

    .trust-strip__checks span {
        width: auto;
        min-height: 34px;
        justify-content: center;
        gap: .38rem;
        padding: .42rem .72rem;
        border-color: rgba(255, 255, 255, .2);
        background: rgba(255, 255, 255, .1);
        font-size: .82rem;
        line-height: 1;
        box-shadow: none;
    }

    .trust-strip__checks i {
        font-size: .8rem;
    }

    .trust-strip__button {
        width: 100%;
        justify-content: center;
    }

    .home-feature-section .app-section-heading,
    .home-routes-section .app-section-heading {
        margin-bottom: 1rem;
    }

    .home-feature-section .feature-card {
        grid-template-columns: 46px minmax(0, 1fr);
        padding: .92rem;
    }

    .home-feature-section .feature-card img {
        width: 42px;
        height: 42px;
        padding: .32rem;
    }

    .home-routes-section .route-item {
        grid-template-columns: 40px minmax(0, 1fr) 24px;
        padding: .82rem .9rem;
    }

    .home-routes-section .route-item__icon {
        width: 40px;
        height: 40px;
    }

    .site-footer__main {
        padding-top: 2.3rem !important;
    }

    .site-footer img {
        max-width: 190px !important;
    }

    .site-footer .footer-bg-dark-subtle .container {
        display: grid;
        gap: .25rem;
    }
}
