/* Booking Form Styles */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v18/UcCo3FwrK3iLTcviYwY.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
.limo-booking-form *{
      font-family: "Inter", sans-serif !important;
}

.limo-booking-form {
    max-width: 800px;
    margin: 0;
    padding: 25px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.limo-booking-form h2 {
    text-align: center;
    color: #333;
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 10px;
}
.limo-booking-form .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.limo-booking-form form#booking-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.limo-booking-form .form-group label {
    font-size: 14px;
    font-weight: 400;
    color: #262626;
    margin-bottom: 5px;
    line-height: normal;
    position: relative;
    
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.limo-booking-form .form-group input, 
.limo-booking-form .form-group select {
    width: 100%;
    padding: 8px 12px;
    font-size: 14px;
    border: none;
    border-radius: 4px;
    background: #f2f2f2;
    transition: border-color 0.3s ease;
    line-height: 1.5;
    
}

span#service_type-button {
    flex-direction: row-reverse;
    justify-content: space-between;
    width: 100%;
    padding: 8px 12px;
    font-size: 14px;
    border: none;
    border-radius: 4px;
    background: #f2f2f2;
    transition: border-color 0.3s ease;
    line-height: 1.5;
    margin: 0;
    font-family: 'Atlassian Sans' !important;
}

.limo-booking-form .form-group {
    margin-bottom: 0;
    width: calc(50% - 8px);
    line-height: normal;
}
.limo-booking-form .form-row > .form-group:only-child {
    width: 100%;
}

.limo-booking-form .form-group .required {
    color: red;
    position: absolute;
    right: -9px;
    top: -2px;
}

.limo-booking-form .form-group .contact-mode-options {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 10px;
}

.limo-booking-form .form-group .contact-mode-options label {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #4a4a4a;
    margin: 0;
    line-height: normal;
}

.limo-booking-form .form-group .contact-mode-options input[type="radio"] {
    margin: 0;
}

.limo-booking-form button[name="select_vehicle"], .limo-booking-form button[name="submit_vehicle"] {
    display: block;
    width: max-content;
    padding: 14px 50px;
    background: #FFD700;
    color: #000;
    border: none;
    border-radius: 30px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.3s ease;
    line-height: normal;
    letter-spacing: .5px;
    margin: 15px auto 5px;
    text-transform: uppercase;
    
}

.ui-selectmenu-icon.ui-icon {
    margin-top: 3px;
}

/* Car Selection Page Styles */
.limo-select-car {
    margin: 60px 0 40px;
}
.limo-select-car h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #4a4a4a;
    font-size: 28px;
    font-weight: 600;
}
.car-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 15px;
}
.car-item {
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 0px 15px 0px #0001;
    padding: 15px 15px 25px;
    border: 2px solid #F7F2EB;
}

.car-item > *:not(div) {
    padding: 0 10px;
}

.car-images {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
    position: relative;
}

.car-images img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.car-item h3 {
    margin-bottom: 15px;
    font-family: "Syne", Sans-serif;
    font-size: 22px;
    color: #2F4F4F;
    margin-top: 40px;
}

.car-item p {
    font-size: 14px;
    color: #666;
    margin-left: 10px;
    padding: 0;
    display: inline-block;
    margin-bottom: 5px;
}

.car-item form {
    margin-top: 15px;
}

.limo-select-car .car-item .car-images > img:nth-child(1) {
    border-radius: 20px;
    aspect-ratio: 5/3;
    object-fit: cover;
    width: 100%;
}

.limo-select-car .car-item .car-images > img:nth-child(2) {
    position: absolute;
    z-index: 9;
    right: -5px;
    bottom: -40px;
    max-width: 150px;
    object-fit: contain;
}
.car-item button[name="submit_vehicle"] {
    background-color: #FFD700;
    font-family: "Syne", Sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    border-color: #2F4F4F;
    border-radius: 50px;
    padding: 10px 20px;
    border: navajowhite;
    color: #000;
    line-height: 1.5;
}

.car-item p > span > small {
    font-weight: normal;
    font-size: 14px;
    background-color: #FFFFFF;
    margin-left: 10px;
    padding: 6px 15px;
    border-radius: 20px;
    line-height: 1.5;
}
.car-item > p > span {
    background: #F7F2EB;
    padding: 5px 5px 5px 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #000;
    font-weight: 600;
}
/* Popup Styles */
div#thank-you-popup.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

div#thank-you-popup .popup-content {
    background: #fff;
    padding: 5px;
    border-radius: 10px;
    text-align: center;
    max-width: 50vw;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-height: 75vh;
    height: 100%;
    width: auto;
}

div#thank-you-popup .popup-content > img {
    border-radius: 7px;
    height: 100%;
}

div#thank-you-popup .popup-content h2 {
    margin-bottom: 20px;
    color: #333;
    font-size: 24px;
}
div#thank-you-popup .popup-content button {
    padding: 5px;
    color: #000000;
    border: none;
    cursor: pointer;
    line-height: normal;
    height: 30px;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: serif;
    font-size: 30px;
    position: absolute;
    top: 10px;
    right: 10px;
    background: #fff;
    border-radius: 50%;
    transform: rotate(45deg);
}
/* jQuery UI Autocomplete Styles */
.ui-autocomplete {
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1000 !important;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.ui-menu-item {
    padding: 2px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    line-height: 1.8;
    
}

.ui-menu-item:hover {
    background: #f0f0f0;
}

.limo-booking-form .form-group label input#add_stop_toggle {
    width: auto;
    margin: 0;
}

/*ul.ui-menu.ui-widget.ui-widget-content.ui-autocomplete.ui-front {*/
/*    display: none !important;*/
/*}*/

@media(max-width:767px){
    div#thank-you-popup .popup-content {
    width: 95%;
    max-width: 440px;
    height: auto;
}
}

@media(max-width:424px){
    .limo-select-car .car-list {
    display: flex;
    flex-direction: column;
}

    .limo-select-car {
    margin: 40px 0;
}
    .limo-booking-form {
    padding: 20px;
}
    span#service_type-button {
    padding: 6px 10px;
    font-size: 13px;
}
    .limo-booking-form h2 {
    font-size: 22px;
}
    .limo-booking-form .form-group label {
    font-size: 13px;
}
    .limo-booking-form .form-row {
    gap: 12px;
}
    .limo-booking-form .form-group input, .limo-booking-form .form-group select {
    padding: 6px 10px;
    font-size: 13px;
    line-height: normal;
    min-height:31px
}
    .limo-booking-form form#booking-form {
    gap: 12px;
}
    .limo-booking-form .form-group .contact-mode-options label {
    font-size: 13px;
}
.limo-booking-form .form-group {
    width: 100%;
 
}
.limo-booking-form button[name="select_vehicle"], .limo-booking-form button[name="submit_vehicle"] {
    padding: 12px 50px;
    font-size: 13px;
}
div#thank-you-popup .popup-content {
    width: 100%;
    max-width: 90vw;
    height: auto;
}
.limo-booking-form .form-group .contact-mode-options {
    margin-top: -5px;
}
}



.limo-booking-form #booking-form .form-group {
    position: relative !important;
}
