/* HCR VikRentCar Responsive Toolbar v3.3.0 */

/* Make the Elementor availability section and every nested wrapper use the
   available width. This is intentionally scoped to the requested aria-label. */
[aria-label="Car rental availability search"],
section[aria-label="Car rental availability search"] {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    overflow: visible !important;
}

[aria-label="Car rental availability search"] > .elementor-container,
[aria-label="Car rental availability search"] > .e-con-inner,
[aria-label="Car rental availability search"] .elementor-container,
[aria-label="Car rental availability search"] .e-con-inner,
[aria-label="Car rental availability search"] .elementor-column,
[aria-label="Car rental availability search"] .elementor-widget-wrap,
[aria-label="Car rental availability search"] .elementor-widget,
[aria-label="Car rental availability search"] .elementor-widget-container,
[aria-label="Car rental availability search"] .hcr-vik-search__mount,
[aria-label="Car rental availability search"] .vrcdivsearchmodule,
[aria-label="Car rental availability search"] form {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
}

[aria-label="Car rental availability search"] > .elementor-container,
[aria-label="Car rental availability search"] > .e-con-inner {
    padding-left: clamp(14px, 2.2vw, 34px) !important;
    padding-right: clamp(14px, 2.2vw, 34px) !important;
}

.hcr-vik-toolbar-form,
.hcr-vik-toolbar-form *,
.hcr-vik-toolbar-form *::before,
.hcr-vik-toolbar-form *::after {
    box-sizing: border-box !important;
}

form.hcr-vik-toolbar-form {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: both !important;
    overflow: visible !important;
    background: transparent !important;
    border: 0 !important;
}

.hcr-vik-toolbar-form .hcr-vik-native-group--hidden {
    display: none !important;
}

.hcr-vik-toolbar {
    --hcr-height: 56px;
    --hcr-gap: 12px;
    display: grid !important;
    grid-auto-flow: row !important;
    align-items: end !important;
    gap: var(--hcr-gap) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}

/* Wide desktop: all seven logical fields in one row. */
.hcr-vik-toolbar[data-hcr-layout="desktop"] {
    grid-template-columns:
        minmax(190px, 1.55fr)
        minmax(190px, 1.55fr)
        minmax(150px, 1fr)
        minmax(150px, 1.05fr)
        minmax(150px, 1fr)
        minmax(150px, 1.05fr)
        minmax(145px, .9fr) !important;
}

/* Laptop: generous four-column arrangement. */
.hcr-vik-toolbar[data-hcr-layout="laptop"] {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}
.hcr-vik-toolbar[data-hcr-layout="laptop"] .hcr-vik-toolbar__field--pickup-location,
.hcr-vik-toolbar[data-hcr-layout="laptop"] .hcr-vik-toolbar__field--dropoff-location {
    grid-column: span 2 !important;
}
.hcr-vik-toolbar[data-hcr-layout="laptop"] .hcr-vik-toolbar__field--submit {
    grid-column: 1 / -1 !important;
}

/* Tablet: two columns. */
.hcr-vik-toolbar[data-hcr-layout="tablet"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
.hcr-vik-toolbar[data-hcr-layout="tablet"] .hcr-vik-toolbar__field--submit {
    grid-column: 1 / -1 !important;
}

/* Phone: one logical field per row. */
.hcr-vik-toolbar[data-hcr-layout="mobile"] {
    grid-template-columns: minmax(0, 1fr) !important;
}
.hcr-vik-toolbar[data-hcr-layout="mobile"] .hcr-vik-toolbar__field {
    grid-column: 1 !important;
}

.hcr-vik-toolbar__field,
.hcr-vik-toolbar__control,
.hcr-vik-toolbar__control > *,
.hcr-vik-toolbar__time,
.hcr-vik-toolbar__time > *,
.hcr-vik-toolbar .hcr-vik-time-part,
.hcr-vik-toolbar .hcr-vik-time-part > * {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: none !important;
    position: static !important;
    inset: auto !important;
    transform: none !important;
}

.hcr-vik-toolbar__field {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    border: 0 !important;
    background: transparent !important;
    overflow: visible !important;
}

.hcr-vik-toolbar__label {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 0 7px !important;
    padding: 0 !important;
    color: #3f5667 !important;
    font-family: inherit !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    letter-spacing: .025em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.hcr-vik-toolbar input:not([type="hidden"]):not([type="submit"]):not([type="button"]),
.hcr-vik-toolbar select,
.hcr-vik-toolbar textarea {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: var(--hcr-height) !important;
    min-height: var(--hcr-height) !important;
    margin: 0 !important;
    border: 1px solid #cbd9e2 !important;
    border-radius: 10px !important;
    background-color: #fff !important;
    color: #0d2f4f !important;
    box-shadow: 0 3px 12px rgba(13, 59, 102, .06) !important;
    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-indent: 0 !important;
    float: none !important;
    position: static !important;
    transform: none !important;
    outline: none !important;
}

.hcr-vik-toolbar input:not([type="hidden"]):not([type="submit"]):not([type="button"]):focus,
.hcr-vik-toolbar select:focus {
    border-color: #00a7a5 !important;
    box-shadow: 0 0 0 3px rgba(0, 167, 165, .13) !important;
}

/* Location fields: pin icon on the left and chevron on the right. */
.hcr-vik-toolbar__field--pickup-location select,
.hcr-vik-toolbar__field--dropoff-location select {
    padding: 0 38px 0 46px !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    background-repeat: no-repeat, no-repeat !important;
    background-position: left 15px center, right 12px center !important;
    background-size: 19px 19px, 11px 11px !important;
}

.hcr-vik-toolbar__field--pickup-location select {
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='19' viewBox='0 0 24 24' fill='none' stroke='%2300a7a5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 12-8 12S4 15 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 20 20'%3E%3Cpath fill='%23526776' d='M5.5 7.5 10 12l4.5-4.5 1.4 1.4-5.9 5.9-5.9-5.9z'/%3E%3C/svg%3E") !important;
}

.hcr-vik-toolbar__field--dropoff-location select {
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='19' viewBox='0 0 24 24' fill='none' stroke='%2300a7a5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 21V4m0 0h11l-2 4 2 4H5'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 20 20'%3E%3Cpath fill='%23526776' d='M5.5 7.5 10 12l4.5-4.5 1.4 1.4-5.9 5.9-5.9-5.9z'/%3E%3C/svg%3E") !important;
}

/* Date fields: calendar icon inside on the left. */
.hcr-vik-toolbar__field--date input,
.hcr-vik-toolbar input.hasDatepicker {
    padding: 0 14px 0 46px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='19' viewBox='0 0 24 24' fill='none' stroke='%2300a7a5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='17' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: left 15px center !important;
    background-size: 19px 19px !important;
}

.hcr-vik-toolbar-form i.vrc-caltrigger,
.hcr-vik-toolbar-form .vrc-caltrigger {
    display: none !important;
}

/* Time group: hour and minute remain independent and cannot overlap. */
.hcr-vik-toolbar__time {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 12px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 4px !important;
    height: var(--hcr-height) !important;
    overflow: visible !important;
}

.hcr-vik-toolbar .hcr-vik-time-part {
    display: block !important;
    height: var(--hcr-height) !important;
    min-width: 0 !important;
    overflow: visible !important;
}

.hcr-vik-toolbar .hcr-vik-time-part select {
    height: var(--hcr-height) !important;
    min-height: var(--hcr-height) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 0 32px 0 40px !important;
    font-size: 14px !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17' viewBox='0 0 24 24' fill='none' stroke='%2300a7a5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='9' viewBox='0 0 20 20'%3E%3Cpath fill='%23526776' d='M5.5 7.5 10 12l4.5-4.5 1.4 1.4-5.9 5.9-5.9-5.9z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat, no-repeat !important;
    background-position: left 12px center, right 8px center !important;
    background-size: 17px 17px, 9px 9px !important;
}

/* Only the first time selector needs the clock glyph; this keeps the minute
   dropdown visually clean and gives both selectors more usable text width. */
.hcr-vik-toolbar .hcr-vik-time-part--minute select {
    padding-left: 12px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='9' viewBox='0 0 20 20'%3E%3Cpath fill='%23526776' d='M5.5 7.5 10 12l4.5-4.5 1.4 1.4-5.9 5.9-5.9-5.9z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 8px center !important;
    background-size: 9px 9px !important;
}

.hcr-vik-toolbar__time-separator {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 12px !important;
    min-width: 12px !important;
    height: var(--hcr-height) !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #526676 !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

.hcr-vik-toolbar__field--submit {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-end !important;
    min-width: 0 !important;
}

.hcr-vik-toolbar__field--submit .hcr-vik-toolbar__label {
    visibility: hidden !important;
}

.hcr-vik-toolbar__field--submit input[type="submit"],
.hcr-vik-toolbar__field--submit button[type="submit"],
.hcr-vik-toolbar__field--submit .vrcsearch {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: var(--hcr-height) !important;
    min-height: var(--hcr-height) !important;
    margin: 0 !important;
    padding: 0 20px 0 48px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background-color: #00a7a5 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='19' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: left 18px center !important;
    background-size: 19px 19px !important;
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(0, 167, 165, .22) !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    letter-spacing: .025em !important;
    text-align: center !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    float: none !important;
    position: static !important;
    transform: none !important;
    cursor: pointer !important;
}

.hcr-vik-toolbar__field--submit input[type="submit"]:hover,
.hcr-vik-toolbar__field--submit button[type="submit"]:hover,
.hcr-vik-toolbar__field--submit .vrcsearch:hover {
    background-color: #008f8d !important;
}

body .ui-datepicker,
body #ui-datepicker-div,
body .vrc-cal-container {
    z-index: 9999999 !important;
}

@media (max-width: 767px) {
    [aria-label="Car rental availability search"] > .elementor-container,
    [aria-label="Car rental availability search"] > .e-con-inner {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .hcr-vik-toolbar {
        --hcr-height: 54px;
        --hcr-gap: 11px;
    }

    .hcr-vik-toolbar__label {
        font-size: 11px !important;
    }

    .hcr-vik-toolbar input:not([type="hidden"]):not([type="submit"]):not([type="button"]),
    .hcr-vik-toolbar select,
    .hcr-vik-toolbar textarea {
        font-size: 15px !important;
    }
}
