@font-face {
    font-family: 'LEMONMILK';
    src: url('../fonts/LEMONMILK-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* Mobile: padding-left 20px */
.responsive-padding {
    padding-left: 12px;
    padding-right: 0;
}

/* Desktop: remove left padding */
@media (min-width: 768px) {
    .responsive-padding {
        padding-left: 0;
    }
}



.navbar {
    max-width: 1200px;

    margin: 0 auto;
}

/* Desktop override */
@media (min-width: 992px) {
    .bottom-section {
        padding: 10px 0 !important;
    }

    .bottom-row {
        padding: 10px 0 !important;
    }

    .navbar {

        margin-left: 0 auto;
    }
}


.form-container {
    width: 420px;
    background-color: white;
    display: block;
    margin: 0 0 0 auto;
    /* Aligns the container to the right */
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 100%;
}



.form-group {
    margin-bottom: 12px;
    width: 100%;
    background: #f1eeee;
    border-radius: 8px;
    padding: 8px;
    transition: background-color 0.2s ease;
}

/* Hover effect and pointer cursor */
.form-group:hover {
    background-color: #e6e3e3;
    cursor: pointer;
}

/* Focus effect (when input inside is selected) */
.form-group:focus-within {
    box-shadow: 0 0 0 2px #000000;
    /* Light grey outline */
    background-color: #eae7e7;
    /* Slightly highlighted */
}


/* Prevent the clear (×) button from bubbling the click event to the parent */
.clear-button {
    cursor: pointer;
    z-index: 2;
    position: relative;
}

.input-clearable {
    cursor: pointer;
}

.input-clearable input,
.input-clearable .input-icon,
.input-clearable .loading-spinner {
    cursor: pointer;
}


.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
    /* Reduced margin */
}

.form-label {
    font-weight: bold;
    color: #333;
    font-size: 1rem;
    /* Reduced font size */
}

.form-status {
    font-size: 0.9rem;
    /* Reduced font size */
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
}

.form-status:hover {
    color: #333;
}

.input-clearable {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 8px;
    /* Adjusted padding */
    color: #666;
    font-size: 1rem;
    /* Adjusted size */
    pointer-events: none;
    /* Prevent the icon from blocking input focus */
}

/* General Styling for Input Fields */
.form-control {
    padding-left: 30px;
    /* Adjust padding if necessary */
    border: none;
    /* No border */
    background: transparent;
    /* Transparent background */
    width: 100%;
    outline: none;
    /* No outline on focus */
    box-shadow: none;
    /* No shadow */
    font-size: 0.85rem;
    transition: none;
    /* No transition effects */
}

/* Ensuring No Effect on Focus */
.form-control:focus {
    border: none;
    /* No border on focus */
    background: transparent;
    /* Transparent background on focus */
    outline: none;
    /* No outline */
    box-shadow: none;
    /* No shadow */
    color: inherit;
    /* Maintain text color */
}


.clear-button {
    display: none;
    /* Start hidden */
    cursor: pointer;
    color: #6d6d6d;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.clear-button:hover {
    color: #333;
}


.form-row {
    display: flex;
    flex-direction: row;
    /* Ensures items stay in a row */
    gap: 8px;
    /* Adjusted gap */
    align-items: center;
    /* Aligns items vertically */
    justify-content: space-between;
    /* Ensures items spread out */
    width: 100%;
}

.form-group.flex-half {
    flex: 1;
    /* Ensures equal width */
    max-width: 48%;
    /* Limits width to fit within container */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
/* -- Original Button Styles -- */
.btn-custom {
    background: #1e1e1e;
    /* Charcoal background */
    border: 1px solid #333333;
    /* Slight border for a defined edge */
    color: #f5f5f5;
    /* Off-white text color */
    border-radius: 6px;
    /* Slightly rounded corners */
    padding: 12px 20px;
    /* Comfortable padding for touch */
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 600;
    /* Slightly bold text */
    display: inline-block;
    width: 100%;
    font-size: 0.9rem;
    /* Standard font size for readability */
    outline: none;
    /* Remove default outline */
    position: relative; /* Needed to center spinner/text if you choose */
    transition: background-color 0.2s ease, border-color 0.2s ease; /* Softer transition */
}

.btn-custom:hover {
    background: #0f0f0f;
    /* Darker color on hover */
    border: 1px solid #000000;
    /* Change border color on hover */
    color: #ffffff;
    /* Ensures text stays bright */
}

.btn-custom:active {
    background: #000000;
    /* Even darker on click for instant feedback */
    border: 1px solid #000000;
    color: #ffffff;
    transition: none;
    /* No transition on active state */
}

.btn-custom:focus {
    outline: none;
    /* Ensures no outline appears on focus */
}

/* -- Disabled State (When Spinner is Active) -- */
.btn-custom:disabled {
    background: #2a2a2a; /* Muted background */
    border-color: #444;
    color: #aaa;
    cursor: not-allowed; /* Indicates the button is busy */
    opacity: 0.8;
}

/* Prevent hover effects on the disabled button */
.btn-custom:disabled:hover {
    background: #2a2a2a;
    border-color: #444;
}

/* -- Spinner Styles -- */
.button-spinner {
    display: inline-block;
    width: 20px; /* Spinner size */
    height: 20px; /* Spinner size */
    
    /* The track of the spinner */
    border: 3px solid rgba(245, 245, 245, 0.3); /* Use button text color with transparency */
    
    /* The moving part of the spinner */
    border-top-color: #f5f5f5; /* Solid button text color */
    
    border-radius: 50%; /* Makes it a circle */
    
    /* Animation definition */
    animation: spin 1s ease-in-out infinite;
    -webkit-animation: spin 1s ease-in-out infinite;
}

/* -- Animation Keyframes -- */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    to {
        -webkit-transform: rotate(360deg);
    }
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    /* Bold in Poppins */
    color: white;

}


/* General Navbar Styles */
.navbar-brand {

    font-size: 40px;
    color: white;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 768px) {
    .navbar-brand {
        font-size: 2rem !important;

    }

}

.navbar-brand:focus {
    outline: none;
    box-shadow: none;
}




.loading-spinner {
    display: none;
    /* Hidden by default */
    width: 16px;
    height: 16px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-top: 2px solid #000;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    position: absolute;
    right: 10px;
    /* Adjust as necessary */
    top: 50%;
    transform: translateY(-50%);
}

@keyframes spin {
    0% {
        transform: translateY(-50%) rotate(0deg);
    }

    100% {
        transform: translateY(-50%) rotate(360deg);
    }
}





.form-control[type="date"],
.form-control[type="time"],

.form-control[type="number"] {
    text-align: left;
    margin-left: 0;
    padding: 0;
    /* Optional padding for better spacing */

}



/* Desktop Toggle */
.booking-toggle {
    margin-bottom: 15px;
    display: flex;
    /* Dim black border */
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background: #fff;
    /* Dark background */
}

/* Desktop Button Styles */
.toggle-btn {
    padding: 12px 20px;
    border: none;
    background: #fff;
    /* Dim black */
    color: #000000;
    /* Soft gray text */
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    position: relative;
}

/* Active Button with White Underline */
.toggle-btn.active {
    background: #f1eeee;
    /* Solid black for active */
    color: #000;
}


/* Hover Effect */
.toggle-btn:not(.active):hover {
    background: #f1eeee;
    /* Slightly lighter black on hover */
    color: #000;
}

/* Border Between Buttons */
.toggle-btn:first-child {
    border-right: 2px solid #ffffff;
    /* Subtle border */
}

/* Button styling */
#btn-per-hour {

    gap: 8px;

    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Icon styling */
#btn-per-hour i {
    font-size: 16px;
}












.bottom-section h2 {
    font-size: 2.5rem;
    /* Adjust the size as needed */
    font-weight: bold;
    text-align: left;
    margin-top: 20px;
    color: white;
}


















 .booking-toggle-mobile {
            display: flex;
            justify-content: center;
            margin-bottom: 15px;
        }




        .hidden {
            display: none;
        }














@media (max-width: 768px) {
    .mobile-form-container {
        display: block;
        margin: 0 auto;
        padding: 0;
    }

    .form-container-mobile {
        border-radius: 8px;
        padding: 15px;
        /* Slightly reduced padding */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        max-width: 100%;
        margin: 0 auto;
    }

    .form-group-mobile {
        margin-bottom: 12px;
        width: 100%;
        background: #f1eeee;
        border-radius: 8px;
        padding: 8px;
        transition: background-color 0.2s ease, box-shadow 0.2s ease;
    }

    /* Hover effect and pointer cursor */
    .form-group-mobile:hover {
        background-color: #e6e3e3;
        cursor: pointer;
    }

    /* Focus effect (when input inside is selected) */
    .form-group-mobile:focus-within {
        box-shadow: 0 0 0 2px #000000;
        background-color: #eae7e7;
    }

    /* Cursor pointer on interactive elements */
    .input-clearable-mobile,
    .input-clearable-mobile input,
    .input-icon-mobile,
    .loading-spinner-mobile {
        cursor: pointer;
    }

    .form-header-mobile {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 4px;
        /* Reduced margin */
    }

    .form-label-mobile {
        font-weight: bold;
        color: #333;
        font-size: 0.85rem;
        /* Reduced font size */
    }

    .form-status-mobile {
        font-size: 0.9rem;
        /* Reduced font size */
        color: #999;
        cursor: pointer;
        transition: color 0.3s ease;
    }

    .form-status-mobile:hover {
        color: #333;
    }

    .input-clearable-mobile {
        position: relative;
        display: flex;
        align-items: center;
    }

    .input-icon-mobile {
        position: absolute;
        left: 8px;
        /* Adjusted padding */
        color: #666;
        font-size: 1rem;
        /* Adjusted size */
        pointer-events: none;
        /* Prevent the icon from blocking input focus */
    }

    .form-control-mobile {
        padding-left: 30px;
        /* Adjusted padding to leave space for the icon */
        border: none;
        background: transparent;
        width: 100%;
        outline: none;
        box-shadow: none;
        font-size: 0.85rem;
        /* Reduced font size */
    }

    .clear-button-mobile {
        display: none;
        /* Start hidden */
        cursor: pointer;
        color: #6d6d6d;
        font-size: 0.8rem;
        transition: color 0.3s ease;
    }

    .clear-button-mobile:hover {
        color: #333;
    }


    .form-row-mobile {
        display: flex;
        flex-direction: row;
        /* Ensures items stay in a row */
        gap: 8px;
        /* Adjusted gap */
        align-items: center;
        /* Aligns items vertically */
        justify-content: space-between;
        /* Ensures items spread out */
        width: 100%;
    }

    .form-group-mobile.flex-half {
        flex: 1;
        /* Ensures equal width */
        max-width: 48%;
        /* Limits width to fit within container */
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

  /* -- Original Mobile Button Styles -- */
.btn-custom-mobile {
    background: #1e1e1e;
    /* Charcoal background */
    border: 1px solid #333333;
    /* Slight border for a defined edge */
    color: #f5f5f5;
    /* Off-white text color */
    border-radius: 6px;
    /* Slightly rounded corners */
    padding: 12px 20px;
    /* Comfortable padding for touch */
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 600;
    /* Slightly bold text */
    display: inline-block;
    width: 100%;
    font-size: 0.9rem;
    /* Standard font size for readability */
    outline: none;
    /* Remove default outline */
    position: relative; /* Essential for positioning spinner correctly */
    transition: background-color 0.2s ease, border-color 0.2s ease; /* Smooth transition */
}

/* Added for better feedback on non-touch devices */
.btn-custom-mobile:hover {
    background: #0f0f0f;
    border: 1px solid #000000;
    color: #ffffff;
}

.btn-custom-mobile:active {
    background: #0f0f0f;
    /* Darker color on click */
    border: 1px solid #000000; /* Standardized the border with hover */
    color: #ffffff;
    /* Ensures text stays bright and visible */
    transition: none;
    /* No transition on active state for instant feedback */
}

.btn-custom-mobile:focus {
    outline: none;
    /* Ensures no outline appears on focus */
}

/* -- Disabled State (For When Spinner is Active) -- */
.btn-custom-mobile:disabled {
    background: #2a2a2a; /* Muted background */
    border-color: #444;
    color: #aaa;
    cursor: not-allowed; /* Indicates button is busy */
    opacity: 0.8;
}

/* Prevent hover effects when the button is disabled */
.btn-custom-mobile:disabled:hover {
    background: #2a2a2a;
    border-color: #444;
}


/* -- Button Spinner Styles -- */
/* This reuses the same spinner class for consistency */
.button-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    
    /* Spinner track using the button's text color with transparency */
    border: 3px solid rgba(245, 245, 245, 0.3);
    
    /* The moving part of the spinner */
    border-top-color: #f5f5f5; /* Solid part matches text color */
    
    border-radius: 50%;
    
    /* The animation definition */
    animation: button-spin 1s ease-in-out infinite;
    -webkit-animation: button-spin 1s ease-in-out infinite;
}


/* -- Universal Spinner Animation Keyframes -- */
/* Using a unique name to avoid conflicts with your other spin animation */
@keyframes button-spin {
    to {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes button-spin {
    to {
        -webkit-transform: rotate(360deg);
    }
}



    .form-control-mobile[type="date"],
    .form-control-mobile[type="time"],
    .form-control-mobile[type="number"] {
        text-align: left;
        padding-left: 10px;
        /* Optional padding for better spacing */
        font-size: 16px;
        /* Prevents mobile zooming behavior */

    }


    .form-control-mobile[type="date"],
    .form-control-mobile[type="time"] {
        color: black;
        /* Change to grey (#666) if you prefer */
        background-color: transparent;
        /* Optional: Ensures no unexpected background color */
        appearance: none;
        /* Optional: Removes default appearance for consistency across browsers */
        -webkit-appearance: none;
        /* Ensures consistency in WebKit-based browsers */
    }



}


/* Mobile Toggle */
.booking-toggle-mobile {
    display: flex;
    /* Dim black border */
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background: #fff;
    /* Dark background */
}

/* Mobile Button Styles */
.toggle-btn-mobile {
    padding: 12px 20px;
    border: none;
    background: #fff;
    /* Dim black */
    color: #000000;
    /* Soft gray text */
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
}

/* Active Button */
.toggle-btn-mobile.active {
    background: #f1eeee;
    /* Solid black for active */
    color: #000000;
}

/* Hover Effect */
.toggle-btn-mobile:not(.active):hover {
    background: #f1eeee;
    /* Slightly lighter black on hover */
    color: #000000;
}

/* Border Between Buttons */
.toggle-btn-mobile:first-child {
    border-right: 0px solid #444;
    /* Subtle border */
}

/* Mobile Fix: Prevent Overflow */
@media (max-width: 768px) {
    .booking-toggle-mobile {
        width: 100%;
    }

    .toggle-btn-mobile {
        font-size: 14px;
        padding: 12px 20px;
        width: 50%;
    }
}

/* Button styling */
#mobile-btn-per-hour {
    gap: 8px;

    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}








































@media (min-width: 768px) {


    .navbar-nav .nav-link {
        color: white;
    }

    .nav-link {
        font-size: 1rem;
        font-weight: bold;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link:focus {
        color: #d1d1d1;
        /* Slightly lighter for hover */
    }

    .dropdown-menu {
        background-color: #000;
        /* Black dropdown background */
        z-index: 1000;
        position: absolute;
    }

    .dropdown-item {
        color: rgb(0, 0, 0);
        /* White text */
    }

    .dropdown-item:hover,
    .dropdown-item:focus {
        background-color: #fff;
        /* White hover background */
        color: black;
        /* Black hover text */
    }
}






















/* Bottom Row Styles */
.bottom-row {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    border-radius: 8px;
}

.bottom-section {
    flex: 1 1 50%;
    padding: 20px;
    box-sizing: border-box;
}

.bottom-section h2 {
    font-size: 2.2rem;
    /* Adjust the size as needed */
    font-weight: bold;
    text-align: left;
    margin-top: 20px;
    color: white;
}

@media (max-width: 768px) {
    .bottom-row {
        flex-direction: column;
        padding: 0;

        /* Bottom Row Styles */
    }

    .bottom-section {
        flex: 1 1 100%;
        padding: 0px;

    }

    .bottom-section h2 {
        font-size: 1.5rem;
        /* Adjust the size as needed */
    }



}

























 /* General Styling for Autocomplete Dropdown */
        .pac-container {
            background-color: #f1eeee;
            /* Pure white for clean look */
            border: 1px solid #eaeaea;
            /* Light border for subtle separation */
            border-radius: 6px;
            /* Slightly rounded corners for modern feel */
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
            /* Minimal shadow for depth */
z-index: 12000 !important;
            max-width: inherit;
            /* Ensures it inherits width from its parent */
            overflow: hidden;
            /* Prevents content overflow */
            transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
            opacity: 0;
            /* Hidden by default */
            transform: translateY(5px);
            /* Start with slight downward shift */
            animation: dropdownFadeIn 0.2s ease forwards;
            /* Smooth appearance */
        }

        /* Dropdown Item Styling */
        .pac-item {
            display: flex;
            flex-direction: column;
            /* Stack address and country */
            padding: 10px 12px;
            /* Compact padding for a clean layout */
            font-size: 0.75rem;
            /* Modern, readable size */
            line-height: 1.3;
            /* Balanced line height */
            color: #000000;
            /* Neutral text color */
            border-bottom: 1px solid #f5f5f5;
            /* Very light divider for separation */
            transition: background-color 0.2s ease, color 0.2s ease;
            background-color: #f1eeee;
            /* Default transparent look */
            text-align: left;
            /* Align content to the left */
            word-wrap: break-word;
            /* Allow wrapping for long text */
        }

        /* Highlight Main Text (City/Address) */
        .pac-item .pac-item-query {
            color: #000000;
            /* Slightly darker for emphasis */
            font-weight: 500;
            /* Modern medium weight */
            margin-bottom: 2px;
            /* Subtle spacing */
            overflow: hidden;
            text-overflow: ellipsis;
            /* Truncate text if too long */
            white-space: nowrap;
            /* Prevent wrapping for main text */
        }

        /* Secondary Text (Country/Region) */
        .pac-item .pac-icon+span {
            color: #888888;
            /* Light gray for secondary info */
            font-size: 0.8rem;
            /* Slightly smaller than primary text */
            white-space: nowrap;
            /* Keep on one line */
            text-overflow: ellipsis;
            /* Truncate if too long */
            overflow: hidden;
        }

        /* Hover Effect */
        .pac-item:hover {
            background-color: #c9c9c9;
            /* Light gray background on hover */
            cursor: pointer;
        }

        /* Icon Styling */
        .pac-icon {
            display: none;
            /* Hide Google’s default icon for simplicity */
        }

        /* Responsive Design for Mobile */
        @media (max-width: 768px) {
            .pac-container {
                max-width: 100%;
                margin: 0 auto;
            }

            .pac-item {
                font-size: 0.9rem;
                /* Slightly larger font for readability */
                padding: 8px 10px;
                /* Compact padding for smaller screens */
            }

            .pac-item .pac-item-query {
                font-size: 1rem;
                /* Larger primary text on mobile */
            }
        }

        /* Dropdown Fade-In Animation */
        @keyframes dropdownFadeIn {
            0% {
                opacity: 0;
                transform: translateY(5px);
            }

            100% {
                opacity: 1;
                transform: translateY(0);
            }
        }



















/******************************************************************
 *  CUSTOM FLATPCIKR THEME: "BLACK & WHITE" (CORRECTED & STRONGER)
 ******************************************************************/

/* 
  TARGET: The currently selected day.
  FIX: Added `!important` to force the override.
*/
.flatpickr-day.selected {
    background: #1e1e1e !important;
    border-color: #1e1e1e !important;
    color: #ffffff !important;
}

/* 
  TARGET: Any day you hover over.
*/
.flatpickr-day:hover {
    background: #e9e9e9 !important; /* A slightly different grey for hover */
    border-color: #e9e9e9 !important;
    color: #1e1e1e !important; /* Make text black for contrast */
}

/*
  TARGET: Today's date (unselected).
  Gives it a subtle grey border.
*/
.flatpickr-day.today {
    border-color: #cccccc !important;
    color: #1e1e1e !important;
}

/*
  TARGET: Today's date when it is ALSO selected.
  Ensures it uses the primary selected style.
*/
.flatpickr-day.today.selected {
    background: #1e1e1e !important;
    border-color: #1e1e1e !important;
    color: #ffffff !important;
}

/*
  TARGET: The calendar arrows.
  Let's make them black to match the theme.
*/
.flatpickr-arrow {
    fill: #1e1e1e !important;
}












/******************************************************************
 *  CSS for the Custom Scrolling Time Picker (Responsive Fix)
 ******************************************************************/

/* --- Mobile First: Overlay --- */
.time-picker-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent backdrop */
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 9999;
    opacity: 0; /* Hidden by default for fade-in */
    transition: opacity 0.3s ease;
    pointer-events: none; /* Can't be clicked when hidden */
}
.time-picker-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

/* --- Mobile First: The Modal (Slides up from bottom) --- */
.time-picker-modal {
    position: relative;
    width: 100%;
    background: #ffffff;
    border-radius: 16px 16px 0 0; /* Rounded top corners on mobile */
    padding: 20px 15px 15px 15px;
    box-shadow: 0 -5px 25px rgba(0,0,0,0.2);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    z-index: 10000;
    margin-bottom: 0;

    /* Animation: Hidden by default, slides up when visible */
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.time-picker-modal.is-visible {
    transform: translateY(0);
}

/* --- Desktop Styles (Overrides mobile for screens wider than 768px) --- */
@media (min-width: 768px) {
    .time-picker-overlay {
        background: rgba(0, 0, 0, 0.3); /* Subtle overlay on desktop */
        align-items: stretch;
        justify-content: flex-start;
    }

    .time-picker-modal {
        position: absolute;
        width: 300px;
        max-width: calc(100vw - 40px);
        margin-bottom: 0;
        border-radius: 12px; /* All corners rounded on desktop */
        box-shadow: 0 5px 25px rgba(0,0,0,0.3);
        transform: none; /* Disable the slide-up animation */
        transition: opacity 0.2s ease; /* Just fade instead of slide */
        opacity: 0;
    }

    .time-picker-modal.is-visible {
        opacity: 1;
        transform: none;
    }
}

/* --- General Styling (No changes needed below this line) --- */
.time-picker-header {
    display: flex;
    justify-content: space-around;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}
.time-picker-col-header {
    flex: 1; text-align: center; font-weight: 600; color: #888; font-size: 14px;
}
.time-picker-body {
    display: flex;
    justify-content: space-around;
    margin-top: 10px;
    height: 150px;
}
.time-picker-col {
    flex: 1; overflow-y: auto; text-align: center; scrollbar-width: none;
}
.time-picker-col::-webkit-scrollbar { display: none; }
.tp-option {
    padding: 8px 0; font-size: 18px; cursor: pointer; border-radius: 6px; transition: background-color 0.2s, color 0.2s; color: #333;
}
.tp-option:hover { background-color: #f0f0f0; }
.tp-option.selected {
    background-color: #000000 !important;
    color: #ffffff !important;
    font-weight: bold;
}
.time-picker-save {
    background: #000000; color: #ffffff; font-weight: bold; border: none; border-radius: 8px; padding: 12px 20px; width: 100%; margin-top: 15px; cursor: pointer; font-size: 16px;
}























/******************************************************************
 *  Button Styling (with Centering Fix for Spinner)
 ******************************************************************/

/* --- Desktop Button --- */
.btn-custom {
    background: #1e1e1e;
    border: 1px solid #333333;
    color: #f5f5f5;
    border-radius: 6px;
    padding: 12px 20px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 600;
    width: 100%;
    font-size: 0.9rem;
    outline: none;
    transition: background-color 0.2s;

    /* THE FIX: Use Flexbox to perfectly center the spinner (or text) */
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-custom:hover {
    background: #0f0f0f;
}

.btn-custom:disabled {
    background: #2a2a2a;
    cursor: not-allowed;
}


/* --- Mobile Button --- */
.btn-custom-mobile {
    background: #1e1e1e;
    border: 1px solid #333333;
    color: #f5f5f5;
    border-radius: 6px;
    padding: 12px 20px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 600;
    width: 100%;
    font-size: 0.9rem;
    outline: none;
    transition: background-color 0.2s;

    /* THE FIX: Use Flexbox to perfectly center the spinner (or text) */
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-custom-mobile:hover {
    background: #0f0f0f;
}

.btn-custom-mobile:disabled {
    background: #2a2a2a;
    cursor: not-allowed;
}


/* --- Spinner Styling (This part is already correct) --- */
.button-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}





















/******************************************************************
 *  CSS for the Mobile Full-Screen Search Modal (Corrected White Theme)
 ******************************************************************/

.search-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff; /* CORRECTED: Pure white background */
    z-index: 11000;
    display: flex;
    flex-direction: column;
    padding: 15px;
    
    /* Animation for slide-in */
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
}

.search-modal-overlay.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.search-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.search-modal-title {
    color: #1e1e1e; /* CORRECTED: Dark text for white background */
    font-size: 1.2rem;
    font-weight: 600;
}

.search-modal-close {
    font-size: 2rem;
    color: #888;
    cursor: pointer;
    line-height: 1;
}

.search-modal-input-wrapper {
    position: relative;
    width: 100%;
}

#mobile-search-input {
    width: 100%;
    padding: 15px 45px 15px 15px;
    font-size: 1rem;
    border: 1px solid #e0e0e0; /* CORRECTED: Light grey border */
    border-radius: 8px;
    background: #f5f5f5;   /* CORRECTED: Light grey input background */
    color: #1e1e1e;          /* CORRECTED: Dark text */
}
#mobile-search-input:focus {
    outline: none;
    border-color: #000000; /* CORRECTED: Black highlight on focus */
}






































/******************************************************************
 *  CSS for the "Image Style" Number Stepper
 ******************************************************************/

.input-stepper-img {
    display: flex;
    justify-content: space-between; /* Pushes number to the left and controls to the right */
    align-items: center;
    width: 100%;
    border-radius: 8px;
    padding: 2px 15px;
}

.stepper-number {
    font-size: 1rem;
    font-weight: 600;
    color: #1e1e1e; /* Dark text color */
}

.stepper-controls {
    display: flex;
    align-items: center;
}

.stepper-btn {
    background: #333333; /* Dark charcoal for the buttons */
    border: none;
    color: #ffffff;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 6px;
    width: 32px;  /* Square buttons */
    height: 32px; /* Square buttons */
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
    transition: background-color 0.2s;
}



/* Add a small gap between the two buttons */
.stepper-btn.stepper-minus {
    margin-right: 5px;
}

/* Style for when a button is disabled (e.g., at min/max value) */
.stepper-btn:disabled {
    background: #cccccc;
    cursor: not-allowed;
}