/*
 * VORIK — Location search
 * Responsive premium interface
 */

.vorik-location-page {
    --location-navy: #082b55;
    --location-blue: #0876dd;
    --location-blue-light: #eaf5ff;
    --location-yellow: #ffd21c;
    --location-text: #0a2d55;
    --location-muted: #637790;
    --location-line: #dce7f1;
    --location-surface: #ffffff;
    --location-background: #f4f8fc;
    --location-shadow:
        0 18px 55px rgba(8, 43, 85, 0.09);

    min-width: 320px;
    margin: 0;
    color: var(--location-text);
    background: var(--location-background);
}

.vorik-location-page *,
.vorik-location-page *::before,
.vorik-location-page *::after {
    box-sizing: border-box;
}

.vorik-location-page .vorik-home,
.vorik-location-page #vorik-main {
    min-height: 100svh;
}

.vorik-location {
    min-height: 100svh;
    padding:
        calc(
            84px
            + env(safe-area-inset-top)
        )
        0
        calc(
            30px
            + env(safe-area-inset-bottom)
        );
    background:
        radial-gradient(
            circle at 50% 4%,
            rgba(191, 224, 255, 0.38),
            transparent 28%
        ),
        linear-gradient(
            180deg,
            #ffffff,
            #f7fbff 58%,
            #f3f8fd
        );
}

.vorik-location__shell {
    width: min(100%, 760px);
    margin: 0 auto;
    padding: 28px 20px 0;
}

.vorik-location__heading {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    margin-bottom: 24px;
}

.vorik-location__back {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--location-line);
    border-radius: 14px;
    color: var(--location-navy);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 8px 22px rgba(8, 43, 85, 0.06);
    text-decoration: none;
}

.vorik-location__eyebrow {
    display: block;
    margin-bottom: 6px;
    color: var(--location-blue);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.17em;
}

.vorik-location__heading h1 {
    margin: 0;
    color: var(--location-navy);
    font-size: clamp(30px, 8vw, 45px);
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.vorik-location__heading p {
    margin: 10px 0 0;
    color: var(--location-muted);
    font-size: 15px;
    line-height: 1.55;
}

.vorik-location-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.vorik-location-card,
.vorik-location-advanced {
    margin: 0;
    padding: 20px;
    border: 1px solid rgba(8, 43, 85, 0.07);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--location-shadow);
}

.vorik-location-driver {
    min-width: 0;
}

.vorik-location-driver legend {
    display: block;
    width: 100%;
    margin-bottom: 15px;
    padding: 0;
    color: var(--location-navy);
    font-size: 15px;
    font-weight: 850;
}

.vorik-location-driver__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 11px;
}

.vorik-driver-option {
    display: block;
    cursor: pointer;
}

.vorik-driver-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.vorik-driver-option__visual {
    position: relative;
    min-height: 82px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 27px;
    gap: 13px;
    align-items: center;
    padding: 14px;
    border: 2px solid var(--location-line);
    border-radius: 16px;
    background: #ffffff;
    transition:
        border-color 160ms ease,
        background-color 160ms ease,
        box-shadow 160ms ease;
}

.vorik-driver-option__icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    color: var(--location-blue);
    background: var(--location-blue-light);
    font-size: 20px;
}

.vorik-driver-option__content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vorik-driver-option__content strong {
    color: var(--location-navy);
    font-size: 15px;
}

.vorik-driver-option__content small {
    color: var(--location-muted);
    font-size: 12px;
    line-height: 1.35;
}

.vorik-driver-option__check {
    width: 25px;
    height: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--location-line);
    border-radius: 50%;
    color: transparent;
    font-size: 10px;
}

.vorik-driver-option input:checked
+ .vorik-driver-option__visual {
    border-color: var(--location-blue);
    background: #f7fbff;
    box-shadow:
        0 10px 25px rgba(8, 118, 221, 0.10);
}

.vorik-driver-option input:checked
+ .vorik-driver-option__visual
.vorik-driver-option__check {
    color: #ffffff;
    border-color: var(--location-blue);
    background: var(--location-blue);
}

.vorik-location-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vorik-location-field + .vorik-location-field {
    margin-top: 15px;
}

.vorik-location-field label {
    color: var(--location-navy);
    font-size: 13px;
    font-weight: 800;
}

.vorik-location-control {
    min-height: 56px;
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 0 15px;
    border: 1.5px solid var(--location-line);
    border-radius: 15px;
    background: #ffffff;
    transition:
        border-color 150ms ease,
        box-shadow 150ms ease;
}

.vorik-location-control:focus-within {
    border-color: var(--location-blue);
    box-shadow:
        0 0 0 4px rgba(8, 118, 221, 0.10);
}

.vorik-location-control > i {
    color: var(--location-blue);
    font-size: 17px;
    text-align: center;
}

.vorik-location-control input,
.vorik-location-control select {
    width: 100%;
    min-width: 0;
    height: 52px;
    padding: 0;
    border: 0;
    outline: 0;
    color: var(--location-text);
    background: transparent;
    font: inherit;
    font-size: 15px;
    font-weight: 650;
}

.vorik-location-control select {
    cursor: pointer;
}

.vorik-location-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 16px 0;
    color: var(--location-muted);
    font-size: 13px;
    font-weight: 650;
    cursor: pointer;
}

.vorik-location-checkbox input {
    position: absolute;
    opacity: 0;
}

.vorik-location-checkbox__box {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: 2px solid var(--location-line);
    border-radius: 7px;
    color: transparent;
    font-size: 10px;
}

.vorik-location-checkbox input:checked
+ .vorik-location-checkbox__box {
    color: #ffffff;
    border-color: var(--location-blue);
    background: var(--location-blue);
}

.vorik-location-field.is-hidden {
    display: none;
}

.vorik-location-date-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 116px;
    gap: 11px;
}

.vorik-location-date-row
+ .vorik-location-date-row {
    margin-top: 17px;
    padding-top: 17px;
    border-top: 1px solid var(--location-line);
}

.vorik-location-date-row
.vorik-location-field {
    margin-top: 0;
}

.vorik-location-advanced {
    padding: 0;
    overflow: hidden;
}

.vorik-location-advanced summary {
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 20px;
    color: var(--location-navy);
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.vorik-location-advanced summary::-webkit-details-marker {
    display: none;
}

.vorik-location-advanced summary span {
    display: inline-flex;
    align-items: center;
    gap: 11px;
}

.vorik-location-advanced summary span i {
    color: var(--location-blue);
}

.vorik-location-advanced summary
> i {
    transition: transform 160ms ease;
}

.vorik-location-advanced[open] summary
> i {
    transform: rotate(180deg);
}

.vorik-location-advanced__content {
    padding: 0 20px 20px;
    border-top: 1px solid var(--location-line);
}

.vorik-location-advanced__content
.vorik-location-field:first-child {
    margin-top: 18px;
}

.vorik-location-error {
    margin: 0;
    padding: 13px 15px;
    border: 1px solid #fecaca;
    border-radius: 13px;
    color: #991b1b;
    background: #fef2f2;
    font-size: 13px;
    font-weight: 650;
}

.vorik-location-submit {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 0 23px;
    border: 0;
    border-radius: 17px;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--location-navy),
            #0c427c
        );
    box-shadow:
        0 16px 32px rgba(8, 43, 85, 0.18);
    font-size: 17px;
    font-weight: 850;
    cursor: pointer;
}

.vorik-location-submit span {
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.vorik-location-submit:active {
    transform: scale(0.99);
}

.vorik-location-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
    padding: 2px 5px 0;
    color: var(--location-muted);
    font-size: 11px;
    font-weight: 650;
}

.vorik-location-trust span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.vorik-location-trust i {
    color: var(--location-blue);
}

@media (min-width: 620px) {
    .vorik-location__shell {
        padding-top: 46px;
        padding-right: 30px;
        padding-left: 30px;
    }

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

    .vorik-location-card {
        padding: 26px;
    }

    .vorik-location-advanced summary {
        padding-right: 26px;
        padding-left: 26px;
    }

    .vorik-location-advanced__content {
        display: grid;
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        gap: 16px;
        padding-right: 26px;
        padding-left: 26px;
    }

    .vorik-location-advanced__content
    .vorik-location-field {
        margin-top: 18px;
    }
}

@media (min-width: 900px) {
    .vorik-location {
        padding-top:
            calc(
                100px
                + env(safe-area-inset-top)
            );
    }

    .vorik-location__shell {
        width: min(100%, 920px);
    }

    .vorik-location-form {
        display: grid;
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    .vorik-location-driver,
    .vorik-location-advanced,
    .vorik-location-error,
    .vorik-location-submit,
    .vorik-location-trust {
        grid-column: 1 / -1;
    }

    .vorik-location-submit {
        width: min(100%, 500px);
        justify-self: center;
    }
}

@media (max-width: 374px) {
    .vorik-location__shell {
        padding-right: 14px;
        padding-left: 14px;
    }

    .vorik-location-card {
        padding: 16px;
    }

    .vorik-location-date-row {
        grid-template-columns: 1fr;
    }

    .vorik-location-field--time {
        margin-top: 0 !important;
    }
}


/*
 * City autocomplete integration
 */

.vorik-location-control
.vorik-city-autocomplete {
    min-width: 0;
    width: 100%;
}

.vorik-location-control
.vorik-city-autocomplete input {
    width: 100%;
    min-width: 0;
}


/*
 * VORIK Location — Premium booking summary
 */

.vorik-location-summary {
    display: flex;
    flex-direction: column;
    gap: 13px;
    padding: 17px;
    border: 1px solid rgba(8, 118, 221, 0.10);
    border-radius: 18px;
    background:
        linear-gradient(
            145deg,
            #f7fbff,
            #ffffff
        );
    box-shadow:
        0 12px 30px rgba(8, 43, 85, 0.06);
}

.vorik-location-summary__top {
    display: grid;
    grid-template-columns:
        42px
        minmax(0, 1fr)
        auto;
    gap: 11px;
    align-items: center;
}

.vorik-location-summary__icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    color: var(--location-blue);
    background: var(--location-blue-light);
}

.vorik-location-summary__heading {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.vorik-location-summary__heading small {
    color: var(--location-muted);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vorik-location-summary__heading strong {
    overflow: hidden;
    color: var(--location-navy);
    font-size: 14px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vorik-location-summary__mode {
    max-width: 110px;
    padding: 7px 9px;
    border-radius: 999px;
    color: var(--location-blue);
    background: var(--location-blue-light);
    font-size: 10px;
    font-weight: 850;
    line-height: 1.2;
    text-align: center;
}

.vorik-location-summary__dates {
    display: flex;
    align-items: center;
    gap: 9px;
    padding-top: 12px;
    border-top: 1px solid var(--location-line);
    color: var(--location-muted);
    font-size: 12px;
    font-weight: 650;
}

.vorik-location-summary__dates i {
    color: var(--location-blue);
}


/*
 * Recent searches
 */

.vorik-location-recent {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid rgba(8, 43, 85, 0.07);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--location-shadow);
}

.vorik-location-recent__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.vorik-location-recent__header h2 {
    margin: 0;
    color: var(--location-navy);
    font-size: 18px;
    letter-spacing: -0.02em;
}

.vorik-location-recent__clear {
    padding: 5px 0;
    border: 0;
    color: var(--location-blue);
    background: transparent;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.vorik-location-recent__list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.vorik-location-recent__item {
    width: 100%;
    display: grid;
    grid-template-columns:
        36px
        minmax(0, 1fr)
        auto;
    gap: 11px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--location-line);
    border-radius: 15px;
    color: var(--location-navy);
    background: #ffffff;
    text-align: left;
    cursor: pointer;
    transition:
        border-color 150ms ease,
        background-color 150ms ease,
        transform 150ms ease;
}

.vorik-location-recent__item:hover {
    border-color: rgba(8, 118, 221, 0.32);
    background: #f7fbff;
}

.vorik-location-recent__item:active {
    transform: scale(0.99);
}

.vorik-location-recent__item > i {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    color: var(--location-blue);
    background: var(--location-blue-light);
}

.vorik-location-recent__item-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vorik-location-recent__item-content strong,
.vorik-location-recent__item-content small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vorik-location-recent__item-content strong {
    font-size: 13px;
}

.vorik-location-recent__item-content small {
    color: var(--location-muted);
    font-size: 10px;
    font-weight: 650;
}

.vorik-location-recent__item > span:last-child {
    padding: 6px 8px;
    border-radius: 999px;
    color: var(--location-blue);
    background: var(--location-blue-light);
    font-size: 9px;
    font-weight: 850;
}

.vorik-location-recent__empty {
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 15px;
    text-align: center;
}

.vorik-location-recent__empty[hidden] {
    display: none;
}

.vorik-location-recent__empty > span {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    border-radius: 16px;
    color: var(--location-blue);
    background: var(--location-blue-light);
    font-size: 17px;
}

.vorik-location-recent__empty strong {
    color: var(--location-navy);
    font-size: 15px;
}

.vorik-location-recent__empty p {
    max-width: 260px;
    margin: 7px 0 0;
    color: var(--location-muted);
    font-size: 12px;
    line-height: 1.5;
}


/*
 * Mobile premium adjustments
 */

@media (max-width: 639px) {
    .vorik-location__shell {
        padding-right: 16px;
        padding-left: 16px;
    }

    .vorik-location-card,
    .vorik-location-advanced,
    .vorik-location-recent {
        border-radius: 20px;
    }

    .vorik-location-submit {
        position: sticky;
        z-index: 30;
        bottom:
            calc(
                12px
                + env(safe-area-inset-bottom)
            );
        box-shadow:
            0 17px 35px rgba(8, 43, 85, 0.20);
    }

    .vorik-location-summary__top {
        grid-template-columns:
            40px
            minmax(0, 1fr);
    }

    .vorik-location-summary__mode {
        grid-column: 2;
        justify-self: start;
        max-width: none;
    }

    .vorik-location-recent__item {
        grid-template-columns:
            36px
            minmax(0, 1fr);
    }

    .vorik-location-recent__item
    > span:last-child {
        grid-column: 2;
        justify-self: start;
    }
}

@media (min-width: 640px) {
    .vorik-location-driver__grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

/* VORIK LOCATION PREMIUM FINAL START */

/*
 * Premium page foundation
 */

.vorik-location-page {
    background:
        linear-gradient(
            180deg,
            #eef4fa 0,
            #f4f8fc 100%
        );
}

.vorik-location {
    padding-top:
        calc(
            74px
            + env(safe-area-inset-top)
        );

    background:
        radial-gradient(
            circle at 50% 0,
            rgba(42, 119, 255, 0.15),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #ffffff 0,
            #f4f8fc 34%,
            #edf4fa 100%
        );
}

.vorik-location__shell {
    width: min(100%, 790px);
    padding-top: 20px;
}

.vorik-location__heading {
    grid-template-columns:
        40px
        minmax(0, 1fr);

    gap: 12px;
    margin-bottom: 18px;
}

.vorik-location__back {
    width: 40px;
    height: 40px;
    border-radius: 13px;
}

.vorik-location__eyebrow {
    margin-bottom: 4px;
    font-size: 10px;
}

.vorik-location__heading h1 {
    font-size: clamp(
        27px,
        7vw,
        42px
    );
}

.vorik-location__heading p {
    margin-top: 7px;
    font-size: 14px;
}


/*
 * Compact form rhythm
 */

.vorik-location-form {
    gap: 13px;
}

.vorik-location-card {
    padding: 17px;
    border-radius: 21px;
    border-color:
        rgba(8, 43, 85, 0.08);

    box-shadow:
        0 14px 38px
        rgba(8, 43, 85, 0.07);
}


/*
 * Driver selector:
 * always one horizontal line
 */

.vorik-location-driver {
    padding: 7px;
    border-radius: 20px;
}

.vorik-location-driver legend {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    margin: -1px;
    padding: 0;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.vorik-location-driver__grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 6px;
}

.vorik-driver-option {
    min-width: 0;
}

.vorik-driver-option__visual {
    min-width: 0;
    min-height: 58px;

    grid-template-columns:
        34px
        minmax(0, 1fr);

    gap: 8px;
    padding: 8px 9px;

    border: 0;
    border-radius: 15px;

    background: transparent;
    box-shadow: none;
}

.vorik-driver-option__icon {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    font-size: 14px;
}

.vorik-driver-option__content {
    gap: 1px;
}

.vorik-driver-option__content strong {
    overflow: hidden;
    font-size: 12px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vorik-driver-option__content small {
    overflow: hidden;
    max-width: 100%;
    font-size: 9px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vorik-driver-option__check {
    position: absolute;
    top: 7px;
    right: 7px;

    width: 17px;
    height: 17px;

    border-width: 1.5px;
    font-size: 7px;
}

.vorik-driver-option input:checked
+ .vorik-driver-option__visual {
    border-color: transparent;
    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #082b55,
            #0d3769
        );

    box-shadow:
        0 10px 22px
        rgba(8, 43, 85, 0.20);
}

.vorik-driver-option input:checked
+ .vorik-driver-option__visual
.vorik-driver-option__icon {
    color: #ffffff;
    background:
        rgba(255, 255, 255, 0.13);
}

.vorik-driver-option input:checked
+ .vorik-driver-option__visual
.vorik-driver-option__content strong {
    color: #ffffff;
}

.vorik-driver-option input:checked
+ .vorik-driver-option__visual
.vorik-driver-option__content small {
    color:
        rgba(255, 255, 255, 0.70);
}

.vorik-driver-option input:checked
+ .vorik-driver-option__visual
.vorik-driver-option__check {
    color: #082b55;
    border-color: #ffd21c;
    background: #ffd21c;
}


/*
 * Premium fields
 */

.vorik-location-field {
    gap: 7px;
}

.vorik-location-field + .vorik-location-field {
    margin-top: 13px;
}

.vorik-location-field label {
    padding-left: 2px;
    font-size: 12px;
}

.vorik-location-control {
    min-height: 57px;
    border-color: #d9e5f0;
    border-radius: 16px;
    background:
        linear-gradient(
            180deg,
            #ffffff,
            #fbfdff
        );
}

.vorik-location-control:focus-within {
    border-color: #0876dd;
    box-shadow:
        0 0 0 4px
        rgba(8, 118, 221, 0.09),
        0 9px 22px
        rgba(8, 43, 85, 0.06);
}

.vorik-location-control input,
.vorik-location-control select {
    font-size: 14px;
    font-weight: 700;
}

.vorik-location-checkbox {
    margin: 14px 2px;
}


/*
 * Dates
 */

.vorik-location-date-row {
    grid-template-columns:
        minmax(0, 1fr)
        108px;

    gap: 9px;
}

.vorik-location-date-row
+ .vorik-location-date-row {
    margin-top: 14px;
    padding-top: 14px;
}


/*
 * Advanced options
 */

.vorik-location-advanced {
    border-radius: 19px;
    box-shadow:
        0 12px 30px
        rgba(8, 43, 85, 0.055);
}

.vorik-location-advanced summary {
    min-height: 59px;
    padding: 0 17px;
}


/*
 * Compact summary
 */

.vorik-location-summary {
    gap: 10px;
    padding: 14px 15px;
    border-radius: 17px;
    box-shadow: none;
}

.vorik-location-summary__top {
    grid-template-columns:
        36px
        minmax(0, 1fr)
        auto;

    gap: 9px;
}

.vorik-location-summary__icon {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    font-size: 13px;
}

.vorik-location-summary__heading strong {
    font-size: 13px;
}

.vorik-location-summary__dates {
    padding-top: 9px;
    font-size: 11px;
}


/*
 * Main VORIK yellow action
 */

.vorik-location-submit {
    min-height: 63px;
    padding: 0 20px;

    border: 0;
    border-radius: 18px;

    color: #082b55;

    background:
        linear-gradient(
            135deg,
            #ffd629,
            #ffc914
        );

    box-shadow:
        0 15px 31px
        rgba(232, 178, 0, 0.27);

    font-size: 15px;
    font-weight: 900;

    transition:
        transform 150ms ease,
        box-shadow 150ms ease,
        filter 150ms ease;
}

.vorik-location-submit:hover {
    filter: brightness(1.015);
    transform: translateY(-1px);

    box-shadow:
        0 18px 36px
        rgba(232, 178, 0, 0.32);
}

.vorik-location-submit:active {
    transform: scale(0.992);
}


/*
 * Trust indicators
 */

.vorik-location-trust {
    gap: 8px;
    padding: 2px 4px 0;
}

.vorik-location-trust span {
    font-size: 10px;
}


/*
 * Recent searches
 */

.vorik-location-recent {
    margin-top: 16px;
    padding: 17px;
    border-radius: 21px;
    box-shadow:
        0 14px 38px
        rgba(8, 43, 85, 0.065);
}

.vorik-location-recent__header {
    margin-bottom: 13px;
}

.vorik-location-recent__header h2 {
    font-size: 17px;
}

.vorik-location-recent__empty {
    min-height: 150px;
}


/*
 * Mobile optimisation
 */

@media (max-width: 639px) {
    .vorik-location {
        padding-top:
            calc(
                68px
                + env(safe-area-inset-top)
            );
    }

    .vorik-location__shell {
        padding:
            15px
            14px
            calc(
                24px
                + env(safe-area-inset-bottom)
            );
    }

    .vorik-location__heading {
        margin-bottom: 15px;
    }

    .vorik-location__heading p {
        max-width: 330px;
    }

    .vorik-location-card {
        padding: 15px;
    }

    .vorik-location-driver {
        padding: 6px;
    }

    .vorik-driver-option__visual {
        min-height: 56px;
        padding: 8px;
    }

    .vorik-location-summary__top {
        grid-template-columns:
            36px
            minmax(0, 1fr)
            auto;
    }

    .vorik-location-summary__mode {
        grid-column: auto;
        justify-self: auto;
        max-width: 86px;
        padding: 6px 7px;
        font-size: 8px;
    }

    .vorik-location-submit {
        bottom:
            calc(
                9px
                + env(safe-area-inset-bottom)
            );
    }
}


/*
 * Very small mobile screens
 */

@media (max-width: 380px) {
    .vorik-driver-option__visual {
        grid-template-columns:
            30px
            minmax(0, 1fr);

        gap: 6px;
        padding: 7px;
    }

    .vorik-driver-option__icon {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

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

    .vorik-driver-option__content small {
        display: none;
    }

    .vorik-driver-option__check {
        top: 5px;
        right: 5px;
        width: 15px;
        height: 15px;
    }

    .vorik-location-date-row {
        grid-template-columns:
            minmax(0, 1fr)
            96px;
    }

    .vorik-location-summary__mode {
        display: none;
    }
}


/*
 * Desktop enhancements
 */

@media (min-width: 700px) {
    .vorik-location__shell {
        padding-top: 30px;
    }

    .vorik-location-card {
        padding: 21px;
    }

    .vorik-driver-option__visual {
        min-height: 64px;
        padding: 10px 13px;
    }

    .vorik-driver-option__content strong {
        font-size: 13px;
    }

    .vorik-driver-option__content small {
        font-size: 10px;
    }
}


/*
 * Motion accessibility
 */

@media (prefers-reduced-motion: reduce) {
    .vorik-location-submit,
    .vorik-driver-option__visual,
    .vorik-location-control {
        transition: none;
    }
}

/* VORIK LOCATION PREMIUM FINAL END */

