/* Homepage booking card only. Load after the existing home-page styles. */
#home_section .sc-home-booking {
    width: min(548px, calc(100vw - 38px));
    max-width: none;
    padding: 12px !important;
    gap: 0 !important;
    border: 1px solid rgba(20, 31, 46, .07);
    border-radius: 26px !important;
    background: #fff;
    box-shadow: 0 22px 55px rgba(13, 22, 37, .17);
    overflow: visible;
}

#home_section .sc-home-booking .sc-home-booking-banner {
    width: 100%;
    overflow: hidden;
    border-radius: 19px;
    background: #ffca00;
}

#home_section .sc-home-booking-banner img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

#home_section .sc-home-booking .card-header {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0 !important;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

#home_section .sc-home-booking .card-body {
    display: flex;
    flex-direction: column !important;
    padding: 18px 8px 8px !important;
    gap: 17px !important;
    min-width: 0;
}

#home_section .sc-home-booking .col-body {
    width: 100%;
    min-width: 0;
}

#home_section .sc-home-booking .sc-home-services {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px !important;
    padding: 0 !important;
    border: 0 !important;
    min-width: 0;
}

#home_section .sc-home-booking .sc-home-service {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    min-height: 85px;
    padding: 9px 4px;
    border: 1px solid #e6eaf0 !important;
    border-radius: 16px !important;
    background: #f3f5f8 !important;
    color: #111827 !important;
    font-size: 13px !important;
    line-height: 1.2;
    font-weight: 750;
    white-space: normal;
    text-align: center;
    box-shadow: none;
}

#home_section .sc-home-booking .sc-home-service::before {
    content: "";
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    background: center / contain no-repeat;
}

#home_section .sc-home-booking #btn-outstation::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-5.3 7-11a7 7 0 1 0-14 0c0 5.7 7 11 7 11Z'/%3E%3Ccircle cx='12' cy='10' r='2.2'/%3E%3Cpath d='M4 22h16'/%3E%3C/svg%3E");
}

#home_section .sc-home-booking #btn-local::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 10 9-7 9 7v11H3V10Z'/%3E%3Cpath d='M9 21v-8h6v8'/%3E%3C/svg%3E");
}

#home_section .sc-home-booking #btn-intercity::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21V9h7v12M10 21V3h7v18M17 21v-8h4v8M2 21h20M6 12h1m-1 3h1m5-8h1m-1 3h1m-1 3h1'/%3E%3C/svg%3E");
}

#home_section .sc-home-booking .sc-home-service.active-btn,
#home_section .sc-home-booking .sc-home-service.active-btn:hover {
    background: #ffca00 !important;
    border-color: #ffca00 !important;
    box-shadow: 0 8px 18px rgba(255, 202, 0, .21);
    color: #111827 !important;
}

#home_section .sc-home-booking .sc-home-service:not(.active-btn):hover {
    background: #e9edf2 !important;
    color: #111827 !important;
}

#home_section .sc-home-booking .sc-home-trip-switch {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px !important;
    flex-wrap: nowrap !important;
    margin-bottom: 19px;
}

#home_section .sc-home-booking .sc-home-trip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 0;
    min-height: 55px;
    padding: 10px 7px;
    border: 1px solid #e6eaf0 !important;
    border-radius: 16px !important;
    background: #f3f5f8 !important;
    color: #141c2a !important;
    font-size: 13px !important;
    line-height: 1.2;
    font-weight: 750;
    white-space: normal;
}

#home_section .sc-home-booking .sc-home-trip::before {
    content: "↠";
    font-size: 23px;
    line-height: 1;
    font-weight: 800;
}

#home_section .sc-home-booking #btn-roundtrip::before { content: "⇄"; }

#home_section .sc-home-booking .sc-home-trip.active-btn,
#home_section .sc-home-booking .sc-home-trip.active-btn:hover {
    background: #111820 !important;
    color: #fff !important;
    border-color: #ffca00 !important;
    box-shadow: 0 6px 14px rgba(17, 24, 32, .16);
}

#home_section .sc-home-booking .sc-home-trip.active-btn::after {
    content: "✓";
    display: grid;
    place-items: center;
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    border-radius: 50%;
    background: #ffca00;
    color: #111820;
    font-size: 12px;
}

#home_section .sc-home-booking .sc-home-trip:not(.active-btn):hover {
    background: #e9edf2 !important;
    color: #111827 !important;
}

#home_section .sc-home-booking form { min-width: 0; }

#home_section .sc-home-booking form .pickup,
#home_section .sc-home-booking form .destination,
#home_section .sc-home-booking form .picklocation,
#home_section .sc-home-booking form .destlocation {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    column-gap: 10px;
    position: relative;
    padding-top: 0 !important;
    margin-bottom: 17px;
    min-width: 0;
}

#home_section .sc-home-booking form .pickup::before,
#home_section .sc-home-booking form .destination::before,
#home_section .sc-home-booking form .picklocation::before,
#home_section .sc-home-booking form .destlocation::before {
    content: "";
    position: relative;
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: start;
    z-index: 1;
    width: 40px;
    height: 40px;
    margin-top: 2px;
    border-radius: 50%;
    background: #17a873 center / 19px no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-5.3 7-11a7 7 0 1 0-14 0c0 5.7 7 11 7 11Z'/%3E%3Ccircle cx='12' cy='10' r='2.2'/%3E%3C/svg%3E");
    box-shadow: 0 5px 12px rgba(10, 30, 40, .1);
}

#home_section .sc-home-booking form .destination::before,
#home_section .sc-home-booking form .destlocation::before { background-color: #ff0754; }

#home_section .sc-home-booking form .pickup::after,
#home_section .sc-home-booking form .picklocation::after {
    content: "";
    position: absolute;
    left: 20px;
    top: 44px;
    bottom: -29px;
    border-left: 1px dashed #cad1dc;
}

#home_section .sc-home-booking #local .picklocation::after { display: none; }

#home_section .sc-home-booking form .pickup label,
#home_section .sc-home-booking form .destination label,
#home_section .sc-home-booking form .picklocation label,
#home_section .sc-home-booking form .destlocation label {
    grid-column: 2;
    display: block;
    width: auto;
    padding: 0 0 7px !important;
    margin: 0;
    color: #0b1220;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 750;
}

#home_section .sc-home-booking form .pickup > input:not([type="hidden"]),
#home_section .sc-home-booking form .destination > input:not([type="hidden"]),
#home_section .sc-home-booking form .picklocation > input:not([type="hidden"]),
#home_section .sc-home-booking form .destlocation > input:not([type="hidden"]) {
    grid-column: 2;
}

#home_section .sc-home-booking form .pickup > input:not([type="hidden"]),
#home_section .sc-home-booking form .destination > input:not([type="hidden"]),
#home_section .sc-home-booking form .picklocation > input:not([type="hidden"]),
#home_section .sc-home-booking form .destlocation > input:not([type="hidden"]),
#home_section .sc-home-booking form .package select {
    display: block;
    width: 100% !important;
    min-width: 0;
    min-height: 52px;
    margin: 0 !important;
    padding: 12px 42px 12px 14px !important;
    border: 1px solid #dfe5eb !important;
    border-radius: 15px !important;
    outline: none;
    background-color: #f8f9fb !important;
    color: #111827;
    font-size: 13px;
    box-shadow: none;
}

#home_section .sc-home-booking form .pickup > input:not([type="hidden"]),
#home_section .sc-home-booking form .destination > input:not([type="hidden"]),
#home_section .sc-home-booking form .picklocation > input:not([type="hidden"]),
#home_section .sc-home-booking form .destlocation > input:not([type="hidden"]) {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6677' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='6'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3Cpath d='M12 2v3m0 14v3M2 12h3m14 0h3'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 13px center;
    background-size: 19px;
}

#home_section .sc-home-booking input::placeholder { color: #8a94a3; opacity: 1; }

#home_section .sc-home-booking form input:focus,
#home_section .sc-home-booking form select:focus {
    border-color: #d2a700 !important;
    box-shadow: 0 0 0 3px rgba(255, 202, 0, .18) !important;
}

#home_section .sc-home-booking .phone.pt-4 { padding-top: 4px !important; }
#home_section .sc-home-booking .phone.pt-4.pb-6 { padding-bottom: 40px !important; }
#home_section .sc-home-booking .phone .inp-group,
#home_section .sc-home-booking .phone .iti { width: 100%; min-width: 0; }
#home_section .sc-home-booking .phone .iti { display: block; }
#home_section .sc-home-booking form .phone .iti input.intl-phone {
    display: block;
    box-sizing: border-box;
    width: 100% !important;
    min-width: 0;
    min-height: 52px;
    margin: 0 !important;
    padding-top: 12px !important;
    padding-right: 12px !important;
    padding-bottom: 12px !important;
    /* intl-tel-input calculates the left padding for the selected dial code. */
    border: 1px solid #dfe5eb !important;
    border-radius: 15px !important;
    outline: none;
    background-color: #f8f9fb !important;
    color: #111827 !important;
    font-size: 14px;
    text-align: left !important;
    text-indent: 0 !important;
    box-shadow: none;
}
#home_section .sc-home-booking .iti__flag-container { margin-right: 0 !important; }
#home_section .sc-home-booking .iti__selected-flag { background: #eef0f3; border-radius: 14px 0 0 14px; }

#home_section .sc-home-booking .package { margin: 3px 0 18px; padding-top: 0 !important; }
#home_section .sc-home-booking .package label { display: block; padding: 0 0 7px !important; font-size: 13px; font-weight: 750; }
#home_section .sc-home-booking .package .bootstrap-select { display: block; width: 100% !important; margin: 0 !important; }
#home_section .sc-home-booking .package .dropdown-toggle { min-height: 52px; border: 1px solid #dfe5eb; border-radius: 15px; background: #f8f9fb; }

#home_section .sc-home-booking .btnadd-outstation { padding-top: 0 !important; }
#home_section .sc-home-booking .btnadd-outstation #add {
    min-height: 45px;
    border: 1px solid #ffca00 !important;
    border-radius: 13px !important;
    background: #fff8db !important;
    color: #111827 !important;
    font-size: 13px;
}
#home_section .sc-home-booking #add_msg { display: block; margin: 4px 0 8px; font-size: 12px; }
#home_section .sc-home-booking .chips { width: 100%; max-width: 100%; gap: 6px; }
#home_section .sc-home-booking .chip { max-width: 100%; overflow-wrap: anywhere; }

#home_section .sc-home-booking .btnsearch-cab { padding-top: 17px !important; }
#home_section .sc-home-booking .btnsearch-cab .btn {
    display: block;
    width: 100%;
    min-height: 58px;
    border: 0 !important;
    border-radius: 15px !important;
    background-color: #ffca00 !important;
    color: #0b1018 !important;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0;
    text-align: center;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1018' stroke-width='2.5' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='7'/%3E%3Cpath d='m16 16 5 5'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1018' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 5 7 7-7 7'/%3E%3C/svg%3E");
    background-position: 18px center, right 14px center;
    background-repeat: no-repeat;
    background-size: 22px, 18px;
}

#home_section .sc-home-booking .btnsearch-cab .btn:hover,
#home_section .sc-home-booking .btnsearch-cab .btn:focus-visible {
    background-color: #efbc00 !important;
    color: #0b1018 !important;
}

#home_section .sc-home-booking #errorMsg { grid-column: 2; margin: 5px 0 0; font-size: 12px; }

@media (min-width: 1025px) {
    #home_section .sc-home-booking { margin-left: -86%; }
}

@media (min-width: 768px) and (max-width: 1024px) {
    #home_section .sc-home-booking { margin: 0 auto; }
}

@media (max-width: 767px) {
    #home_section { padding: 28px 12px !important; }
    #home_section .sc-home-booking { width: min(100%, 430px); margin: 0 auto; padding: 8px !important; border-radius: 23px !important; }
    #home_section .sc-home-booking .card-body { padding: 17px 9px 13px !important; gap: 18px !important; }
    #home_section .sc-home-booking .sc-home-service { min-height: 87px; }
    #home_section .sc-home-booking .sc-home-trip { min-height: 59px; }
}

@media (max-width: 360px) {
    #home_section .sc-home-booking .sc-home-service,
    #home_section .sc-home-booking .sc-home-trip { font-size: 12px !important; }
    #home_section .sc-home-booking form .pickup,
    #home_section .sc-home-booking form .destination,
    #home_section .sc-home-booking form .picklocation,
    #home_section .sc-home-booking form .destlocation { grid-template-columns: 38px minmax(0, 1fr); column-gap: 7px; }
    #home_section .sc-home-booking form .pickup::after,
    #home_section .sc-home-booking form .picklocation::after { left: 19px; }
}
