@-webkit-keyframes spinner-border {
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

@keyframes spinner-border {
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

@keyframes shake {

    0%,
    to {
        transform: translateX(0)
    }

    20%,
    60% {
        transform: translateX(-5px)
    }

    40%,
    80% {
        transform: translateX(5px)
    }
}

body .ui-autocomplete {
    z-index: 9999999999;
    position: absolute;
    background: #fff;
    border: 1px solid #a4aab4;
    top: 100%;
    width: 100px;
    height: auto;
    padding: 0;
    list-style-type: none;
    border-radius: 0 0 5px 5px
}

body .ui-autocomplete .ui-menu-item {
    list-style-type: none;
    width: 100%
}

body .ui-autocomplete .ui-menu-item .ui-menu-item-wrapper {
    font-size: 11px;
    padding: 4px 22px;
    background-image: url(https://book.barnettaxis.co.uk/images/pin.png);
    background-position: 5px center;
    background-size: 14px;
    background-repeat: no-repeat;
    color: #000;
    border-bottom: 1px solid #d1d9e6
}

body .ui-autocomplete .ui-menu-item .ui-menu-item-wrapper.airportList {
    background-image: url(https://book.barnettaxis.co.uk/images/plane.png);
    background-size: 12px;
    padding: 4px 24px
}

body .ui-autocomplete .ui-menu-item .ui-menu-item-wrapper.info-message {
    background-image: url(https://book.barnettaxis.co.uk/images/search.png);
    font-size: 11px;
    color: rgba(0 0 0/60%);
    font-style: italic;
    background-size: 11px;
    padding-left: 24px;
    font-weight: 600
}

body .ui-autocomplete .ui-menu-item .ui-menu-item-wrapper.invalidInput {
    background-image: url(https://book.barnettaxis.co.uk/images/sad.png);
    padding: 14px 14px 14px 24px
}

body .ui-autocomplete .ui-menu-item .ui-menu-item-wrapper.invalidInput span {
    font-weight: 700
}

body .ui-autocomplete .ui-menu-item .ui-menu-item-wrapper.addrSearching {
    background: 0 0;
    padding: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px
}

.ui-menu-item .ui-menu-item-wrapper.ui-state-active {
    color: #000 !important;
    padding: 24px;
    cursor: pointer;
    background-color: var(--webThemeColor) !important
}

.ui-autocomplete {
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden
}

.ui-helper-hidden {
    display: none
}

.ui-helper-hidden-accessible {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px
}

.inputListLoaderInner {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 8px;
    vertical-align: text-bottom;
    border: 2px solid #000;
    border-right-color: #fff0;
    border-radius: 50%;
    -webkit-animation: .75s linear infinite spinner-border;
    animation: .75s linear infinite spinner-border
}

#widgetBtnSpinner {
    position: absolute;
    width: 20px;
    height: 20px;
    border-width: 3px;
    display: none;
    margin: 0 auto
}

#getQuotesBtnTxt {
    position: absolute
}

.dataHoldableWrap {
    position: relative
}

#via-list .viaFieldBtnWrap {
    position: relative;
    margin-bottom: 10px
}

#holdabledata input,
#via-list input {
    padding: 0 25px 0 5px !important
}

#holdabledata button,
#via-list button {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    border: 0;
    background: 0 0;
    outline: 0
}

#holdabledata button img,
#via-list button img {
    width: 12px;
    height: 12px
}

.modal-header {
    padding: 10px 16px
}

.modal-header .modal-title {
    font-size: 20px;
    font-weight: 600
}

.modal-header button {
    width: 33px;
    height: 33px;
    background: red;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding: 0 !important;
    margin: 0 !important;
    opacity: .7
}

.modal-header button img {
    width: 17px;
    height: 17px;
    filter: invert(1)
}

#moreModalitem .modal-content {
    padding-bottom: 15px
}

#moreModalitem .modal-body {
    padding-bottom: 0
}

#moreModalitem .card {
    border: 0
}

#moreModalitem .card-header {
    padding: 0;
    background: 0 0;
    border: 0
}

#moreModalitem .card-header button,
.modal-footer button {
    background-color: var(--webThemeColor);
    font-weight: 500;
    font-size: 16px
}

#moreModalitem .card-header button {
    margin-bottom: 10px;
    width: 100%;
    padding: 10px 5px
}

#moreModalitem .card-body {
    padding: 10px 20px
}

#moreModalitem .card-body button {
    width: 100%;
    background: rgba(0 0 0/85%);
    font-size: 16px;
    color: #e1e1e1;
    margin-bottom: 10px
}

.modal-footer button {
    width: 200px;
    margin: 5px auto
}

#holdabledata.row {
    margin-right: -5px;
    margin-left: -5px
}

#holdabledata.row .col-lg-6 {
    padding-right: 5px;
    padding-left: 5px
}

#progressBar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--webThemeColor);
    z-index: 9999;
    transition: width .4s ease
}

.progressBarWrap {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%
}

#myModalitem .input-group-text {
    height: 52px;
    border-radius: 0 5px 5px 0
}

.passengersWrap input::-webkit-inner-spin-button,
.passengersWrap input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0
}

.passengersWrap input {
    -moz-appearance: textfield
}

#timeError {
    animation: shake .4s
}

@media screen and (max-width:576px) {

    #moreModalitem .card-body button,
    #moreModalitem .card-header button,
    .modal-footer button {
        font-size: 14px
    }
}

@media screen and (max-height:470px) {
    .ui-autocomplete {
        max-height: 170px
    }
}


/* OVERLAY */
#pageLoader{
    display:none;
    opacity:0;
    visibility:hidden;
    transition:.3s ease;
}
.modern-loader-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 999999;
    display: none;           /* Must be none by default */
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.modern-loader-overlay.show {
    display: flex;
    opacity: 1;
    visibility: visible;
}

/* MAIN WRAPPER */
.modern-loader{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* CIRCLE CONTAINER */
.loader-circle{
    width: 118px;
    height: 118px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Rotating Ring */
.loader-circle .ring{
    position: absolute;
    width: 100%;
    height: 100%;
    border: 7px solid rgba(255,255,255,0.15);
    border-top: 5px solid #FFFFFF;
    border-right: 5px solid #FFFFFF;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Car - Stays Fixed (No Rotation) */
.loader-circle .car {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.6));
}

/* Car Animations */
.car__body {
    animation: shake 0.2s ease-in-out infinite alternate;
}

.car__line {
    transform-origin: center right;
    stroke-dasharray: 22;
    animation: line 0.8s ease-in-out infinite;
    animation-fill-mode: both;
}

.car__line--top   { animation-delay: 0s; }
.car__line--middle{ animation-delay: 0.2s; }
.car__line--bottom{ animation-delay: 0.4s; }

/* Text */
.loading-label{
    margin-top: 22px;
    color: #fff;
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: 2px;
    font-family: 'Segoe UI', Arial, sans-serif;
    text-transform: uppercase;
    opacity: 0.9;
}

/* Only Circle Rotates */
@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes shake {
    0%   { transform: translateY(-1px); }
    100% { transform: translateY(3px); }
}

@keyframes line {
    0%   { stroke-dashoffset: 22; }
    25%  { stroke-dashoffset: 22; }
    50%  { stroke-dashoffset: 0; }
    51%  { stroke-dashoffset: 0; }
    80%  { stroke-dashoffset: -22; }
    100% { stroke-dashoffset: -22; }
}

.error-msg{
    display:none;
    color:#dc2626;
    font-size:13px;
    margin-top:6px;
}

.field-error{
    border-color:#dc2626 !important;
}
#saveItemBtn:disabled{
    opacity:0.5;
    cursor:not-allowed;
}