/* Premium Google Maps Car Search & Booking Widget Styles */

html {
    scroll-behavior: smooth;
}

:root {
    --widget-primary: #0f7c46;
    --widget-primary-hover: #0a6335;
    --widget-bg: #ffffff;
    --widget-text: #2D3748;
    --widget-text-light: #718096;
    --widget-border: #E2E8F0;
    --widget-badge: #E53E3E;
    --widget-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.premium-search-wrapper {
    margin: -30px auto 0 auto;
    max-width: 1140px;
    padding: 0 15px;
    position: relative;
    z-index: 10;
}

/* Tabs Styling */
.premium-search-tabs-container {
    display: flex;
    justify-content: center;
    margin-bottom: -15px;
    position: relative;
    z-index: 2;
}

.premium-search-tabs {
    background: var(--widget-bg);
    border-radius: 50px;
    padding: 6px;
    display: inline-flex;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--widget-border);
}

.premium-search-tab-btn {
    border: none;
    background: transparent;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--widget-text-light);
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.premium-search-tab-btn:hover {
    color: var(--widget-text);
}

.premium-search-tab-btn.active {
    background: var(--widget-primary);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(15, 124, 70, 0.25);
}

.premium-search-tab-subtext {
    font-size: 10px;
    font-weight: 400;
    margin-top: 2px;
    opacity: 0.8;
}

.premium-search-tab-btn.active .premium-search-tab-subtext {
    opacity: 0.9;
}

/* New Badge */
.premium-search-badge {
    position: absolute;
    top: -12px;
    background: var(--widget-badge);
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(229, 62, 62, 0.3);
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

/* Main Box Styling */
.premium-search-box {
    background: var(--widget-bg);
    border-radius: 24px;
    padding: 25px 30px;
    box-shadow: var(--widget-shadow);
    border: 1px solid var(--widget-border);
    position: relative;
    z-index: 1;
}

.premium-search-fields {
    display: none !important;
    background: var(--widget-bg);
}

.premium-search-fields.active {
    display: block !important;
}

.premium-search-inputs-grid {
    display: grid;
    gap: 15px;
    align-items: center;
    background: var(--widget-bg);
}

@media (min-width: 1025px) {
    .oneway-fields .premium-search-inputs-grid {
        grid-template-columns: 1.25fr 1.25fr 1fr 1fr;
    }

    .roundtrip-fields .premium-search-inputs-grid {
        grid-template-columns: 1.25fr 1.25fr 1fr 1fr 1fr;
    }

    .localtaxi-fields .premium-search-inputs-grid {
        grid-template-columns: 1.25fr 1.25fr 1fr 1fr;
    }
}

/* Column Item */
.premium-search-col {
    display: flex;
    flex-direction: column;
    padding: 8px 15px;
    border-right: 1px solid var(--widget-border);
    position: relative;
}

@media (min-width: 1025px) {
    .oneway-fields .premium-search-col:nth-child(4) {
        border-right: none;
    }

    .roundtrip-fields .premium-search-col:nth-child(5) {
        border-right: none;
    }

    .localtaxi-fields .premium-search-col:nth-child(4) {
        border-right: none;
    }
}

.premium-search-label {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--widget-text-light);
    margin-bottom: 5px;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.premium-search-label i {
    color: var(--widget-primary);
    font-size: 12px;
}

.premium-search-input-wrapper {
    position: relative;
}

.premium-search-input {
    border: none;
    background: transparent;
    padding: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--widget-text);
    width: 100%;
    outline: none;
    cursor: pointer;
    box-sizing: border-box;
}

.premium-search-input::placeholder {
    color: #A0AEC0;
    font-weight: 500;
}

/* Focus effects */
.premium-search-col:focus-within {
    background: rgba(15, 124, 70, 0.02);
    border-radius: 8px;
}

/* Static values */
.premium-search-static-val {
    font-size: 15px;
    font-weight: 700;
    color: var(--widget-text);
    padding: 0;
    margin: 0;
}

/* Search Button */
.premium-search-btn-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 10px;
}

.premium-search-submit-btn {
    background: var(--widget-primary);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(15, 124, 70, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-search-submit-btn:hover {
    background: var(--widget-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 124, 70, 0.4);
}

.premium-search-submit-btn:active {
    transform: translateY(0);
}

/* Bottom Controls */
.premium-search-bottom {
    margin-top: 15px;
    display: flex;
    align-items: center;
    padding-left: 15px;
}

.premium-delivery-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--widget-text-light);
    cursor: pointer;
    user-select: none;
    margin-bottom: 0;
}

.premium-delivery-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--widget-border);
    border-radius: 4px;
    outline: none;
    background: #ffffff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.2s ease;
}

.premium-delivery-checkbox:checked {
    background: var(--widget-primary);
    border-color: var(--widget-primary);
}

.premium-delivery-checkbox:checked::after {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #ffffff;
    font-size: 10px;
}

.premium-delivery-checkbox-label:hover .premium-delivery-checkbox {
    border-color: var(--widget-primary);
}

/* Map Styling */
.premium-search-map-container {
    max-width: 1140px;
    margin: 25px auto 35px auto;
    padding: 0 15px;
}

.premium-search-map-card {
    background: var(--widget-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--widget-border);
}

.premium-search-map-header {
    background: #f8fafc;
    padding: 12px 20px;
    border-bottom: 1px solid var(--widget-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.premium-search-map-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--widget-text);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.premium-search-map-title i {
    color: var(--widget-primary);
}

#google-map-embed {
    width: 100%;
    height: 380px;
    background: #E2E8F0;
    transition: all 0.3s ease;
}

/* Glowing Pulse Focus Animation for Sidebar Form */
@keyframes formPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(15, 124, 70, 0.4);
        border-color: var(--widget-primary);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(15, 124, 70, 0);
        border-color: var(--widget-primary);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(15, 124, 70, 0);
    }
}

.glowing-sidebar-form {
    animation: formPulse 1.5s infinite ease-in-out;
    border: 2px solid var(--widget-primary) !important;
    border-radius: 8px;
    transition: all 0.3s ease;
}

/* Responsive Styling & Action Row styling */
.premium-search-btn-row {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

@media (max-width: 1024px) {
    .premium-search-inputs-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .premium-search-col {
        border-right: none !important;
        border-bottom: 1px solid var(--widget-border);
        padding-bottom: 12px;
    }

    .oneway-fields .premium-search-col:nth-child(3),
    .oneway-fields .premium-search-col:nth-child(4),
    .localtaxi-fields .premium-search-col:nth-child(3),
    .localtaxi-fields .premium-search-col:nth-child(4) {
        border-bottom: none;
    }

    .roundtrip-fields .premium-search-col:nth-child(4),
    .roundtrip-fields .premium-search-col:nth-child(5) {
        border-bottom: none;
    }

    .premium-search-btn-row {
        margin-top: 15px;
        justify-content: center;
        width: 100%;
    }

    .premium-search-submit-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .premium-search-inputs-grid {
        grid-template-columns: 1fr;
    }

    .premium-search-col {
        border-bottom: 1px solid var(--widget-border) !important;
        padding-bottom: 12px;
    }

    .premium-search-wrapper {
        margin: -20px auto 0 auto;
    }

    .oneway-fields .premium-search-col:nth-child(4),
    .roundtrip-fields .premium-search-col:nth-child(5),
    .localtaxi-fields .premium-search-col:nth-child(4) {
        border-bottom: none !important;
    }

    .premium-search-tabs {
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
    }

    .premium-search-tab-btn {
        padding: 8px 16px;
        flex: 1 0 auto;
    }

    .premium-search-box {
        padding: 20px 15px;
        border-radius: 16px;
    }
}

/* Custom styles for Current Location wrappers & Autocomplete dropdown */
.premium-search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.premium-search-input-wrapper .premium-search-input {
    padding-right: 30px !important;
}

.current-location-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--widget-primary);
    cursor: pointer;
    font-size: 13px;
    padding: 4px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.current-location-btn:hover {
    color: var(--widget-primary-hover);
    transform: translateY(-50%) scale(1.15);
}

.current-location-btn.loading {
    animation: rotateLocation 1s infinite linear;
    color: #A0AEC0;
}

@keyframes rotateLocation {
    0% {
        transform: translateY(-50%) rotate(0deg);
    }

    100% {
        transform: translateY(-50%) rotate(360deg);
    }
}

/* Google Maps Places Autocomplete Dropdown Styling */
.pac-container {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
    border: 1px solid #E2E8F0 !important;
    font-family: inherit !important;
    z-index: 999999 !important;
    margin-top: 6px;
    padding: 0 !important;
    width: 380px !important;
    /* Force a more professional, readable width */
    max-width: 95vw !important;
    /* Extremely responsive on smaller screens */
    box-sizing: border-box !important;
    overflow-y: auto !important;
}


@media (max-width: 768px) {
    .pac-container {
        width: calc(100% - 30px) !important;
        left: 15px !important;
        border-radius: 16px !important;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
        max-height: 240px !important;
        overflow-y: auto !important;
    }

    .pac-item {
        padding: 14px 24px !important;
        /* Larger touch targets for mobile */
        gap: 12px !important;
    }

    .pac-item-query {
        font-size: 15px !important;
        /* Larger text for mobile */
    }

    .pac-item>span:not(.pac-item-query):not(.pac-icon) {
        font-size: 13px !important;
    }
}



.pac-item {
    padding: 12px 24px !important;
    font-size: 13px !important;
    color: #718096 !important;
    cursor: pointer;
    border-bottom: 1px solid #F1F5F9 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    line-height: 1.5 !important;
    transition: background 0.2s ease;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.pac-item:hover {
    background-color: #F8FAFC !important;
}

.pac-item-query {
    font-size: 14px !important;
    color: #2D3748 !important;
    font-weight: 600 !important;
    display: inline-block;
    flex-shrink: 0 !important;
    /* Keep main title fully visible */
}

/* Secondary address text truncation with ellipsis */
.pac-item>span:not(.pac-item-query):not(.pac-icon) {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    flex: 1 !important;
    min-width: 0 !important;
    /* Crucial for flex child truncation */
    display: inline-block !important;
    color: #718096 !important;
}

.pac-matched {
    color: var(--widget-primary) !important;
}

.pac-icon {
    display: none !important;
}

.pac-item::before {
    content: "\f3c5";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--widget-primary);
    font-size: 12px;
    flex-shrink: 0;
}

/* Autocomplete dropdown footer for Google logo styling */
.pac-logo::after {
    display: none !important;
}

/* Custom Styled Powered by Google Autocomplete Footer block */
.pac-container::after {
    content: "" !important;
    display: block !important;
    position: sticky !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 99999 !important;
    height: 32px !important;
    padding: 0 24px !important;
    margin: 0 !important;
    background-color: #f8fafc !important;
    background-image: url('https://maps.gstatic.com/mapfiles/api-3/images/powered-by-google-on-white3.png') !important;
    background-position: right 24px center !important;
    background-repeat: no-repeat !important;
    background-size: 100px 12px !important;
    border-top: 1px solid #edf2f7 !important;
    border-bottom-left-radius: 12px !important;
    border-bottom-right-radius: 12px !important;
    box-sizing: border-box !important;
}

/* Complete Focus & Outline Reset for Premium Widgets (Top & Sidebar) */
.premium-search-wrapper *:focus,
.premium-search-wrapper input:focus,
.premium-search-wrapper select:focus,
.premium-search-wrapper button:focus,
.premium-search-sidebar-wrapper *:focus,
.premium-search-sidebar-wrapper input:focus,
.premium-search-sidebar-wrapper select:focus,
.premium-search-sidebar-wrapper button:focus {
    outline: none !important;
    box-shadow: none !important;
    border-color: transparent !important;
}

.premium-search-input:focus,
.premium-search-input {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Premium Styling for Dropdown/Select option elements */
select.premium-search-input option {
    padding: 12px 15px !important;
    background-color: #ffffff !important;
    color: #2D3748 !important;
    font-size: 15px;
    font-weight: 600;
}

select.premium-search-input option:hover,
select.premium-search-input option:focus,
select.premium-search-input option:active {
    background-color: var(--widget-primary) !important;
    color: #ffffff !important;
}

/* Specifically clean up date and selection fields focus ring */
input[type="datetime-local"].premium-search-input:focus,
select.premium-search-input:focus,
input[type="tel"].premium-search-input:focus,
input[type="text"].premium-search-input:focus {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

/* Custom Calendar Icon for input fields (iOS/Cross-platform fix) */
.calendar-inside-icon {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--widget-primary);
    pointer-events: none;
    /* Clicks pass through directly to input */
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

/* Hide native picker icons and stretch active trigger area to full input */
input[type="datetime-local"] {
    position: relative !important;
    text-align: left !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

/* Fix for iOS Safari and other mobile browsers centering the date value */
input[type="datetime-local"]::-webkit-date-and-time-value {
    text-align: left !important;
    min-height: 1.5em;
}

input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    background: transparent !important;
    bottom: 0;
    color: transparent !important;
    cursor: pointer;
    height: auto;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
    opacity: 0 !important;
    /* Invisible but covers the entire area so clicking anywhere opens the calendar */
    z-index: 3;
}

/* Premium Typography & Headings inside content area */
.premium-content-area h1 {
    font-size: 32px;
    font-weight: 800;
    color: #1D2D44;
    line-height: 1.3;
    margin-bottom: 15px;
}

.premium-content-area h2 {
    font-size: 22px;
    font-weight: 800;
    color: #2D3748;
    position: relative;
    padding-left: 18px;
    margin-top: 35px;
    margin-bottom: 18px;
    letter-spacing: -0.3px;
}

.premium-content-area h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    bottom: 3px;
    width: 4px;
    background: var(--widget-primary);
    border-radius: 4px;
}

.premium-content-area h3 {
    font-size: 18px;
    font-weight: 700;
    color: #2D3748;
    margin-top: 30px;
    margin-bottom: 12px;
}

/* Premium Body Text */
.premium-content-area p {
    font-size: 15px;
    line-height: 1.8;
    color: #4A5568;
    margin-bottom: 22px;
    text-align: justify;
}

/* Premium Styled List Elements */
.premium-features-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 25px;
}

.premium-features-list li {
    position: relative;
    padding-left: 28px;
    font-size: 15px;
    line-height: 1.8;
    color: #4A5568;
    margin-bottom: 12px;
}

.premium-features-list li::before {
    content: "\f058";
    /* FontAwesome check-circle */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--widget-primary);
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 15px;
}

/* Beautiful Feature Section Callout Card */
.premium-callout-card {
    background: linear-gradient(135deg, rgba(15, 124, 70, 0.03) 0%, rgba(15, 124, 70, 0.01) 100%);
    border: 1px solid rgba(15, 124, 70, 0.08);
    border-radius: 16px;
    padding: 25px;
    margin: 30px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
}

/* Premium Discount Banner Section */
.premium-discount-banner {
    background: linear-gradient(135deg, #094727 0%, #0f7c46 50%, #1a202c 100%) !important;
    padding: 60px 0;
    color: #ffffff !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border-radius: 24px;
    max-width: 1140px;
    box-shadow: 0 15px 35px rgba(15, 124, 70, 0.15);
}

.premium-discount-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
    z-index: -1;
}

.premium-discount-title {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 15px;
}

.premium-discount-percentage {
    background: #FFC107;
    color: #000000;
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 900;
    display: inline-block;
    margin-left: 10px;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(255, 193, 7, 0.3);
}

.premium-discount-banner p {
    font-size: 15px;
    line-height: 1.8;
    color: #e2e8f0;
    margin-bottom: 25px;
    opacity: 0.95;
}

.premium-banner-btn {
    background: #ffffff;
    color: var(--widget-primary) !important;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.premium-banner-btn:hover {
    background: #FFC107;
    color: #000000 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.35);
}

/* Premium Car Packages Card Styles */
.premium-package-section {
    background-color: #f8fafc;
    padding: 60px 0;
}

.premium-section-title {
    font-size: 28px;
    font-weight: 800;
    color: #1D2D44;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.premium-section-subtitle {
    font-size: 13px;
    font-weight: 700;
    color: var(--widget-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 40px;
}

.premium-car-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--widget-border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.premium-car-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(15, 124, 70, 0.1);
    border-color: rgba(15, 124, 70, 0.2);
}

.premium-car-media {
    position: relative;
    overflow: hidden;
    height: 180px;
    background: #f1f5f9;
}

.premium-car-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.premium-car-card:hover .premium-car-media img {
    transform: scale(1.08);
}

.premium-car-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--widget-primary);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.premium-car-info {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.premium-car-title {
    font-size: 18px;
    font-weight: 700;
    color: #2D3748;
    margin-bottom: 4px;
    transition: color 0.2s ease;
}

.premium-car-card:hover .premium-car-title {
    color: var(--widget-primary);
}

.premium-car-sub {
    font-size: 12px;
    color: #718096;
    margin-bottom: 18px;
    font-weight: 500;
}

.premium-car-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    border-top: 1px dashed var(--widget-border);
    padding-top: 15px;
}

.premium-car-meta li {
    font-size: 13px;
    color: #4A5568;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.premium-car-meta li i {
    color: var(--widget-primary);
    font-size: 14px;
    width: 16px;
    text-align: center;
}

.premium-car-footer {
    margin-top: auto;
    border-top: 1px solid #F1F5F9;
    padding-top: 15px;
    gap: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.premium-car-price {
    font-size: 22px;
    font-weight: 800;
    color: var(--widget-primary);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.premium-car-price span {
    font-size: 12px;
    color: #718096;
    font-weight: 500;
}

.premium-car-btn {
    background: #e6f4ea;
    color: var(--widget-primary) !important;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    white-space: nowrap !important;
}

.premium-car-card:hover .premium-car-btn {
    background: var(--widget-primary);
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(15, 124, 70, 0.25);
}

/* ==========================================
   Premium Sticky Sidebar Widget Styles
   ========================================== */

/* Sticky sidebar container */
@media (min-width: 992px) {
    .sticky-sidebar-container {
        position: sticky;
        top: 90px;
        z-index: 100;
    }
}

/* Sidebar specific search inputs wrapper and vertical stacked grid styling */
.premium-search-inputs-grid-sidebar {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 15px;
    background: var(--widget-bg);
    width: 100%;
}

.premium-search-inputs-grid-sidebar .premium-search-col-sidebar {
    display: flex;
    flex-direction: column;
    padding: 8px 15px;
    border-bottom: 1px solid var(--widget-border);
    position: relative;
}

.premium-search-inputs-grid-sidebar .premium-search-col-sidebar:last-child {
    border-bottom: none !important;
}

.premium-search-btn-row-sidebar {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.premium-search-btn-row-sidebar .premium-search-submit-btn {
    width: 100%;
    justify-content: center;
}

/* Scaling down the tabs and widget card inside the sidebar wrapper */
.premium-search-sidebar-wrapper .premium-search-tabs {
    width: 100%;
    display: flex;
    justify-content: space-around;
    border-radius: 30px;
    padding: 4px;
    margin-bottom: 5px;
}

.premium-search-sidebar-wrapper .premium-search-tab-btn {
    padding: 8px 12px;
    font-size: 11px;
    flex: 1;
    text-align: center;
}

.premium-search-sidebar-wrapper .premium-search-tab-subtext {
    display: none !important;
}

.premium-search-sidebar-wrapper .premium-search-box {
    padding: 20px 18px;
    border-radius: 16px;
}

/* Callout Card Button */
.premium-callout-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--widget-primary);
    color: #ffffff !important;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 15px;
    box-shadow: 0 4px 15px rgba(15, 124, 70, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none !important;
}

.premium-callout-btn:hover {
    background: var(--widget-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 124, 70, 0.3);
}

/* ==========================================================================
   Premium Booking Page Component & Map Modal Picker Styles
   ========================================================================== */

/* 1. Standalone Booking Page Card Widget */
.premium-booking-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05), 0 5px 15px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    margin-bottom: 30px;
}

.premium-booking-tabs {
    display: flex;
    background: #f7fafc;
    border-bottom: 1px solid #edf2f7;
}

.booking-tab-btn {
    flex: 1;
    border: none;
    background: transparent;
    padding: 16px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #718096;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    outline: none !important;
}

.booking-tab-btn i {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.booking-tab-btn div {
    text-align: left;
}

.booking-tab-btn strong {
    display: block;
    font-size: 13px;
    color: #4a5568;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.booking-tab-btn span {
    display: block;
    font-size: 10px;
    font-weight: 500;
    opacity: 0.8;
    line-height: 1.1;
    margin-top: 2px;
}

.booking-tab-btn.active {
    background: #ffffff;
    color: #21ab64;
}

.booking-tab-btn.active strong {
    color: #21ab64;
    font-weight: 700;
}

.booking-tab-btn.active i {
    color: #21ab64;
    transform: scale(1.1);
}

.booking-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #21ab64;
}

.premium-booking-body {
    padding: 30px;
}

.booking-form-panel {
    animation: tabFadeIn 0.4s ease;
}

@keyframes tabFadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.booking-field-label {
    font-size: 13px;
    font-weight: 700;
    color: #4a5568;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.booking-field-label i {
    color: #21ab64;
    font-size: 14px;
}

.booking-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.booking-field-input {
    height: 48px !important;
    border-radius: 8px !important;
    border: 1.5px solid #e2e8f0 !important;
    padding: 10px 85px 10px 15px !important;
    font-size: 14px !important;
    color: #2d3748 !important;
    font-weight: 500 !important;
    background-color: #ffffff !important;
    box-shadow: none !important;
    transition: all 0.3s ease !important;
}

.booking-field-input:focus {
    border-color: #21ab64 !important;
    box-shadow: 0 0 0 3px rgba(33, 171, 100, 0.15) !important;
}

/* Icons inside wrapper */
.booking-input-wrapper .current-location-btn,
.booking-input-wrapper .map-modal-trigger-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #718096;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    width: 32px;
    border-radius: 50%;
    z-index: 5;
    outline: none !important;
}

.booking-input-wrapper .current-location-btn {
    right: 42px;
}

.booking-input-wrapper .map-modal-trigger-btn {
    right: 8px;
}

.booking-input-wrapper .current-location-btn:hover,
.booking-input-wrapper .map-modal-trigger-btn:hover {
    color: #21ab64;
    background: rgba(33, 171, 100, 0.1);
    transform: translateY(-50%) scale(1.1);
}

.booking-input-wrapper .current-location-btn.loading i {
    animation: geoRotate 1s linear infinite;
    color: #21ab64;
}

@keyframes geoRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

select.booking-field-input {
    padding-right: 15px !important;
    font-weight: 600 !important;
    cursor: pointer;
}

.booking-submit-btn {
    background: #21ab64 !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    padding: 14px 30px !important;
    height: auto !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 15px rgba(33, 171, 100, 0.3) !important;
    transition: all 0.3s ease !important;
    border: none !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.booking-submit-btn:hover {
    background: #0e8e4c !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(33, 171, 100, 0.4) !important;
}

/* 2. Premium Location Map Picker Modal */
.premium-map-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: modalBackdropFade 0.3s ease;
}

@keyframes modalBackdropFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.premium-map-modal-content {
    background: #ffffff;
    width: 100%;
    max-width: 980px;
    height: auto;
    max-height: 88vh;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: modalPanelSlide 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalPanelSlide {
    from { transform: scale(0.92) translateY(20px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

.premium-map-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid #edf2f7;
    background: #f8fafc;
}

.premium-map-modal-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.premium-map-modal-header h4 i {
    color: #21ab64;
}

.premium-map-modal-close {
    background: none;
    border: none;
    font-size: 30px;
    font-weight: 300;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    width: 36px;
    border-radius: 50%;
    outline: none !important;
}

.premium-map-modal-close:hover {
    color: #ef4444;
    background: #fee2e2;
}

.premium-map-modal-body {
    display: flex;
    flex: 1;
    overflow: hidden;
    min-height: 480px;
}

/* Split view compartments */
.premium-map-modal-left {
    flex: 1.2;
    position: relative;
    background: #f1f5f9;
    border-right: 1px solid #edf2f7;
}

#modal-map-canvas {
    width: 100%;
    height: 100%;
    min-height: 480px;
}

.premium-map-modal-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 24px;
    overflow-y: auto;
    background: #ffffff;
    max-height: 600px;
}

/* Modal Search Box Area */
.modal-search-box-wrapper {
    margin-bottom: 20px;
}

.modal-search-label {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: block;
}

.modal-search-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.modal-search-input-container input {
    width: 100%;
    height: 46px;
    border-radius: 10px;
    border: 1.5px solid #cbd5e1;
    padding: 10px 45px 10px 15px;
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
    outline: none !important;
}

.modal-search-input-container input:focus {
    border-color: #21ab64;
    box-shadow: 0 0 0 3px rgba(33, 171, 100, 0.12);
}

.modal-current-location-btn {
    position: absolute;
    right: 8px;
    background: none;
    border: none;
    height: 32px;
    width: 32px;
    border-radius: 50%;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    outline: none !important;
}

.modal-current-location-btn:hover {
    color: #21ab64;
    background: rgba(33, 171, 100, 0.10);
}

.modal-current-location-btn.loading i {
    animation: geoRotate 1s linear infinite;
    color: #21ab64;
}

/* Popular Landmark Buttons */
.modal-popular-list-wrapper h5 {
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    margin: 0 0 12px 0;
    text-transform: capitalize;
    display: flex;
    align-items: center;
    gap: 6px;
}

.modal-popular-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 20px;
}

.popular-loc-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 14px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 10px;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none !important;
}

.popular-loc-item:hover {
    background: rgba(33, 171, 100, 0.06);
    border-color: rgba(33, 171, 100, 0.25);
    transform: translateX(3px);
}

.popular-loc-item i {
    font-size: 15px;
    color: #21ab64;
    background: rgba(33, 171, 100, 0.1);
    height: 32px;
    width: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.popular-loc-item div {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.popular-loc-item strong {
    font-size: 12.5px;
    color: #334155;
    font-weight: 700;
}

.popular-loc-item span {
    font-size: 10px;
    color: #64748b;
    margin-top: 1px;
}

/* Confirm Action Footing */
.modal-confirm-actions {
    margin-top: auto;
    border-top: 1px solid #edf2f7;
    padding-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-selected-address-preview {
    font-size: 12.5px;
    line-height: 1.4;
    color: #475569;
    background: #f0fdf4;
    border: 1px dashed rgba(33, 171, 100, 0.3);
    padding: 10px 14px;
    border-radius: 10px;
}

.modal-selected-address-preview strong {
    color: #21ab64;
}

#confirmModalLocBtn {
    height: 46px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

#confirmModalLocBtn:disabled {
    background: #cbd5e1 !important;
    color: #94a3b8 !important;
    cursor: not-allowed;
    box-shadow: none !important;
}

/* Modal Responsive Settings */
@media only screen and (max-width: 991px) {
    .premium-map-modal-content {
        max-height: 94vh;
    }
}

@media only screen and (max-width: 767px) {
    .premium-map-modal-content {
        max-height: 96vh;
    }
    .premium-map-modal-body {
        flex-direction: column;
        overflow-y: auto;
    }
    .premium-map-modal-left {
        flex: none;
        height: 240px;
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #edf2f7;
    }
    #modal-map-canvas {
        min-height: 240px;
    }
    .premium-map-modal-right {
        flex: none;
        max-height: none;
        padding: 18px;
    }
    .modal-popular-grid {
        grid-template-columns: 1fr;
    }
}

/* Premium Custom Select Dropdown Styling */
.custom-select-container {
    position: relative;
    width: 100%;
    cursor: pointer;
    user-select: none;
}

.custom-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    font-size: 15px;
    font-weight: 700;
    color: #2D3748;
    background: transparent;
    border: none;
    padding: 6px 24px 6px 0;
    min-height: 24px;
    transition: all 0.2s ease;
    box-sizing: border-box;
    position: relative;
}

.custom-select-selected-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.custom-select-selected-text.placeholder {
    color: #A0AEC0;
    font-weight: 500;
}

/* Options Dropdown List */
.custom-select-options {
    position: absolute;
    top: 100%;
    left: -15px;
    right: -15px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid #E2E8F0;
    z-index: 1000;
    margin-top: 6px;
    padding: 6px 0;
    display: none;
    max-height: 250px;
    overflow-y: auto;
    animation: selectFadeIn 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

@keyframes selectFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-select-container.open .custom-select-options {
    display: block;
}

.custom-select-container.open .custom-select-trigger .calendar-inside-icon i {
    transform: rotate(180deg);
}

.custom-select-trigger .calendar-inside-icon i {
    transition: transform 0.2s ease;
}

/* Option item styling */
.custom-select-option {
    padding: 12px 20px;
    font-size: 14.5px;
    font-weight: 600;
    color: #4A5568;
    transition: all 0.2s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.custom-select-option:hover {
    background-color: #F7FAFC;
    color: var(--widget-primary);
}

.custom-select-option.selected {
    background-color: rgba(15, 124, 70, 0.06);
    color: var(--widget-primary);
}

.custom-select-option.selected::after {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 11px;
    color: var(--widget-primary);
}