/* Import Inter font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* CSS Variables matching the React design system */
:root {
    --background: 0 0% 100%;
    --foreground: 224 71% 4%;
    --card: 0 0% 100%;
    --card-foreground: 224 71% 4%;
    --popover: 0 0% 100%;
    --popover-foreground: 224 71% 4%;
    --primary: 258 84% 55%;
    --primary-foreground: 0 0% 100%;
    --secondary: 258 24% 96%;
    --secondary-foreground: 258 84% 18%;
    --muted: 220 14% 96%;
    --muted-foreground: 215 16% 46%;
    --accent: 38 95% 53%;
    --accent-foreground: 230 20% 15%;
    --destructive: 0 84% 60%;
    --destructive-foreground: 0 0% 98%;
    --border: 220 13% 91%;
    --input: 220 13% 91%;
    --ring: 258 84% 40%;
    --radius: 0.75rem;
    --success: 142 76% 36%;
    --success-foreground: 0 0% 98%;
    --warning: 38 92% 50%;
    --warning-foreground: 0 0% 9%;
    --info: 221 83% 53%;
    --info-foreground: 0 0% 98%;
    --primary-glow: 258 84% 60%;
    --gradient-primary: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-glow)));
    --shadow-elegant: 0 10px 30px -10px hsl(var(--primary) / 0.25);
    --shadow-glow: 0 0 40px hsl(var(--primary-glow) / 0.35);
    --shadow-success: 0 4px 14px 0 hsl(var(--success) / 0.39);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    /* background-color: #ffffff; */
    color: hsl(var(--foreground));
    line-height: 1.6;
    min-height: 100vh;
}

.booking-container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0.5rem 1rem 1.5rem 1rem;
}

.booking-header {
    text-align: center;
    margin-bottom: 3rem;
}

.booking-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: hsl(var(--foreground));
    margin-bottom: 0.5rem;
}

.booking-header p {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
}

.booking-form-container {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

/* Tab Navigation */
.tab-navigation {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: hsl(var(--muted) / 0.5);
    height: 3.5rem;
}

.tab-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: transparent;
    border: none;
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-button:hover {
    background: hsl(var(--muted) / 0.7);
}

.tab-button.active {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}

.tab-button i {
    font-size: 1rem;
}

/* Tab Content */
.tab-content {
    display: none;
    padding: 0;
}

.tab-content.active {
    display: block;
}

/* Form Card */
.form-card {
    background: transparent;
    border: none;
}

/* Trip Type Selector */
.trip-type-selector {
    margin-bottom: 1.5rem;
}

.trip-type-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    background: hsl(var(--muted));
    border-radius: 0.5rem;
    padding: 0.25rem;
    gap: 0.25rem;
}

.trip-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border: none;
    border-radius: 0.375rem;
    background: transparent;
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.trip-tab:hover {
    background: hsl(var(--background));
}

.trip-tab.active {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    box-shadow: 0 1px 3px hsl(var(--primary) / 0.2);
}

/* Form Elements */
.booking-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }

    .form-row-3 {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

label {
    font-size: 0.8rem;
    font-weight: 500;
    color: hsl(var(--foreground));
}

.required {
    color: hsl(var(--destructive));
    margin-left: 2px;
}

/* Input Styles */
input,
select {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid hsl(var(--border));
    border-radius: 0.5rem;
    background: hsl(var(--background));
    color: hsl(var(--foreground));
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

input:focus,
select:focus {
    outline: none;
    border-color: hsl(var(--ring));
    box-shadow: 0 0 0 2px hsl(var(--ring) / 0.2);
}

input.error,
select.error {
    border-color: hsl(var(--destructive));
}

/* Custom Button Styles */
.time-picker-btn,
.car-type-btn,
.payment-btn,
.coupon-btn,
.date-picker-btn,
.custom-range-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    border: 1px solid hsl(var(--border));
    border-radius: 0.5rem;
    background: hsl(var(--background));
    color: hsl(var(--foreground));
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.time-picker-btn:hover,
.car-type-btn:hover,
.payment-btn:hover,
.coupon-btn:hover,
.date-picker-btn:hover {
    border-color: hsl(var(--ring));
}

.custom-range-btn {
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    background: hsl(var(--muted));
    border-color: hsl(var(--border));
}

.custom-range-btn:hover {
    background: hsl(var(--muted) / 0.8);
}

/* Location Input */
.location-input {
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.maps-indicator {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: hsl(var(--muted));
    color: hsl(var(--muted-foreground));
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    pointer-events: none;
}

.help-text {
    color: hsl(var(--muted-foreground));
    font-size: 0.75rem;
}

/* Date Grid */
.date-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .date-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.date-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 0.5rem;
    border: 1px solid hsl(var(--border));
    border-radius: 0.5rem;
    background: hsl(var(--background));
    color: hsl(var(--foreground));
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 4rem;
}

.date-btn:hover {
    border-color: hsl(var(--primary) / 0.5);
    background: hsl(var(--muted) / 0.5);
}

.date-btn.selected {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    border-color: hsl(var(--primary));
}

.date-btn .date-month {
    font-weight: 500;
}

.date-btn .date-day {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* Pricing Card */
.pricing-card {
    /* Container no longer styled as a card; tiles will be individual cards */
    margin: 0;
    /* removed top and bottom margins to tighten layout */
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.pricing-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .pricing-options {
        grid-template-columns: 1fr 1fr;
    }
}

.pricing-option {
    padding: 1.5rem;
    border: 2px solid hsl(var(--border));
    border-radius: var(--radius);
    background: hsl(var(--background));
    cursor: pointer;
    transition: all 0.3s ease;
}

.pricing-option:hover {
    border-color: hsl(var(--primary) / 0.5);
    transform: translateY(-2px);
}

.pricing-option.active {
    border-color: hsl(var(--primary));
    background: hsl(var(--primary) / 0.02);
    box-shadow: 0 4px 12px hsl(var(--primary) / 0.15);
}

.pricing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.pricing-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: hsl(var(--foreground));
}

.price {
    font-size: 1.25rem;
    font-weight: 700;
    color: hsl(var(--primary));
}

.pricing-features {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.pricing-features li i {
    color: hsl(var(--success));
    font-size: 0.75rem;
}

/* Ensure pricing-card-large (used in the booking template) appears as an individual card */
.pricing-card-large {
    padding: 0.5rem;
    border: 1px solid hsl(var(--border));
    border-radius: calc(var(--radius) - 2px);
    background: hsl(var(--card));
    box-shadow: 0 1px 6px hsl(var(--primary) / 0.04);
    margin: 0;
    min-height: 48px;
}

.pricing-card-large.active {
    border-color: hsl(var(--primary));
    box-shadow: 0 6px 18px hsl(var(--primary) / 0.12);
}

/* Book Now Button */
.book-now-btn {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: var(--radius);
    background: var(--gradient-primary);
    color: hsl(var(--primary-foreground));
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

.book-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.book-now-btn:active {
    transform: translateY(0);
}

.book-now-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: hsl(var(--card));
    border-radius: var(--radius);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: var(--shadow-elegant);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid hsl(var(--border));
}

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: hsl(var(--foreground));
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: hsl(var(--muted-foreground));
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
}

.close-btn:hover {
    color: hsl(var(--foreground));
}

.modal-body {
    padding: 1.5rem;
    max-height: 60vh;
    overflow-y: auto;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid hsl(var(--border));
}

/* Time Picker Container */
.time-picker-container {
    padding: 1rem 0;
}

.date-time-columns {
    display: flex;
    gap: 1rem;
    height: 300px;
}

.date-column,
.time-column {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.column-header {
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(var(--muted-foreground));
    margin-bottom: 0.75rem;
    padding: 0 1rem;
}

.date-list,
.time-list {
    flex: 1;
    overflow-y: auto;
    border: 1px solid hsl(var(--border));
    border-radius: 0.5rem;
    background: hsl(var(--background));
}

.date-item,
.time-item {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid hsl(var(--border) / 0.5);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.date-item:last-child,
.time-item:last-child {
    border-bottom: none;
}

.date-item:hover:not(.disabled),
.time-item:hover:not(.disabled) {
    background: hsl(var(--muted) / 0.5);
}

.date-item.selected,
.time-item.selected {
    background: hsl(var(--primary) / 0.1);
    color: hsl(var(--primary));
    font-weight: 600;
}

.time-item.disabled {
    color: hsl(var(--muted-foreground));
    opacity: 0.5;
    cursor: not-allowed;
}

/* Transmission Tabs */
.transmission-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    background: hsl(var(--muted));
    padding: 0.25rem;
    border-radius: 0.5rem;
}

.transmission-tab {
    padding: 0.75rem;
    border: none;
    border-radius: 0.375rem;
    background: transparent;
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.transmission-tab.active {
    background: hsl(var(--background));
    color: hsl(var(--foreground));
    box-shadow: 0 1px 3px hsl(var(--border));
}

/* Car Types */
.car-types {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.car-type-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 2px solid hsl(var(--border));
    border-radius: var(--radius);
    background: hsl(var(--background));
    cursor: pointer;
    transition: all 0.3s ease;
}

.car-type-option:hover {
    border-color: hsl(var(--primary) / 0.5);
}

.car-type-option.active {
    border-color: hsl(var(--primary));
    background: hsl(var(--primary) / 0.05);
}

.car-type-option img {
    width: 80px;
    height: 50px;
    object-fit: cover;
    border-radius: 0.375rem;
}

.car-type-option h4 {
    font-size: 1rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin: 0;
}

.car-type-option p {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    margin: 0;
}

/* Payment Methods */
.payment-methods {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 2px solid hsl(var(--border));
    border-radius: var(--radius);
    background: hsl(var(--background));
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-option:hover {
    border-color: hsl(var(--primary) / 0.5);
}

.payment-option.active {
    border-color: hsl(var(--primary));
    background: hsl(var(--primary) / 0.05);
}

.payment-option i {
    font-size: 1.5rem;
    color: hsl(var(--primary));
    width: 32px;
    text-align: center;
}

.payment-option h4 {
    font-size: 1rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin: 0;
}

.payment-option p {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    margin: 0;
}

/* Coupon Options */
.coupon-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.coupon-option {
    padding: 1rem;
    border: 2px solid hsl(var(--border));
    border-radius: var(--radius);
    background: hsl(var(--background));
    cursor: pointer;
    transition: all 0.3s ease;
}

.coupon-option:hover {
    border-color: hsl(var(--primary) / 0.5);
}

.coupon-option.active {
    border-color: hsl(var(--primary));
    background: hsl(var(--primary) / 0.05);
}

.coupon-option h4 {
    font-size: 1rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin: 0 0 0.25rem 0;
}

.coupon-option p {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    margin: 0;
}

/* Calendar */
.calendar-container {
    max-width: 300px;
    margin: 0 auto;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.calendar-nav {
    background: none;
    border: 1px solid hsl(var(--border));
    border-radius: 0.375rem;
    padding: 0.5rem 0.75rem;
    color: hsl(var(--foreground));
    cursor: pointer;
    transition: all 0.3s ease;
}

.calendar-nav:hover {
    background: hsl(var(--muted));
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.25rem;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid hsl(var(--border));
    border-radius: 0.25rem;
    background: hsl(var(--background));
    color: hsl(var(--foreground));
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calendar-day:hover {
    background: hsl(var(--muted));
}

.calendar-day.selected {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    border-color: hsl(var(--primary));
}

.calendar-day.disabled {
    color: hsl(var(--muted-foreground));
    cursor: not-allowed;
}

.calendar-day.other-month {
    color: hsl(var(--muted-foreground));
    opacity: 0.5;
}

/* Confirm Button */
.confirm-btn {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: var(--radius);
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.confirm-btn:hover {
    background: hsl(var(--primary) / 0.9);
}

.confirm-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Toast Messages */
.toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 400px;
}

.toast {
    padding: 1rem;
    border-radius: var(--radius);
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    box-shadow: var(--shadow-elegant);
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    border-left: 4px solid hsl(var(--success));
}

.toast.error {
    border-left: 4px solid hsl(var(--destructive));
}

.toast.warning {
    border-left: 4px solid hsl(var(--warning));
}

.toast h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin: 0 0 0.25rem 0;
}

.toast p {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .booking-container {
        padding: 1rem;
    }

    .booking-header h1 {
        font-size: 2rem;
    }

    /* .form-card {
        padding: 1rem;
    } */

    .tab-button {
        font-size: 0.75rem;
        gap: 0.25rem;
    }

    .tab-button i {
        font-size: 0.875rem;
    }

    .pricing-options {
        grid-template-columns: 1fr;
    }

    .date-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .time-slots {
        grid-template-columns: repeat(2, 1fr);
    }

    .modal-content {
        margin: 1rem;
        max-height: calc(100vh - 2rem);
    }

    .toast-container {
        left: 1rem;
        right: 1rem;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .booking-header h1 {
        font-size: 1.75rem;
    }

    .tab-navigation {
        height: auto;
        grid-template-columns: 1fr;
    }

    .tab-button {
        padding: 1rem;
        justify-content: center;
    }

    .trip-type-tabs {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .car-type-option {
        flex-direction: column;
        text-align: center;
    }

    .car-type-option img {
        width: 120px;
        height: 75px;
    }
}

/* Date Range Picker Styles */
.date-range-modal {
    max-width: 800px !important;
    width: 90vw;
}

.quick-select-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.quick-select-pill {
    padding: 6px 12px;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    background: white;
    color: var(--text-color);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-select-pill:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.quick-select-pill.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

.selected-range-display {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 20px;
    text-align: center;
}

.range-dates {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-color);
}

.range-separator {
    color: var(--primary-color);
    margin: 0 4px;
    font-weight: 600;
}

.dual-calendar {
    display: flex;
    gap: 24px;
    justify-content: center;
}

.calendar-month {
    flex: 1;
    max-width: 300px;
}

.calendar-month .calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    height: 40px;
}

.calendar-month .calendar-header h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 8px;
}

.weekday {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    padding: 8px 4px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.calendar-day {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    margin: 0 auto;
}

.calendar-day:hover:not(.disabled):not(.other-month) {
    background: var(--primary-color-light);
}

.calendar-day.selected {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.calendar-day.range-start {
    background: var(--primary-color);
    color: white;
    border-radius: 6px 0 0 6px;
    font-weight: 600;
    position: relative;
}

.calendar-day.range-end {
    background: var(--primary-color);
    color: white;
    border-radius: 0 6px 6px 0;
    font-weight: 600;
    position: relative;
}

.calendar-day.range-middle {
    background: var(--primary-color-light);
    color: var(--primary-color);
    border-radius: 0;
    font-weight: 600;
}

.calendar-day.range-start.range-end {
    background: var(--primary-color);
    color: white;
    border-radius: 6px;
    font-weight: 600;
}

.calendar-day.disabled {
    color: #d1d5db;
    cursor: not-allowed;
}

.calendar-day.other-month {
    color: #d1d5db;
}

.modal-footer .cancel-btn {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    margin-right: 8px;
}

.modal-footer .cancel-btn:hover {
    background: #e5e7eb;
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    .date-range-modal {
        width: 95vw;
    }

    .dual-calendar {
        flex-direction: column;
        gap: 16px;
    }

    .calendar-month {
        max-width: none;
    }
}

/* Custom Range Display Styles */
.selected-range-info {
    width: 100%;
    margin: 20px 0;
}

.range-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px;
    background: #f8fafc;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    color: var(--text-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.range-summary i {
    font-size: 18px;
    color: var(--primary-color);
}

.range-summary span:first-of-type {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-color);
}

.range-days {
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}


/* Customer info display for authenticated users */
.customer-info {
    padding: 0.75rem 1rem;
    background: hsl(var(--muted));
    border: 1px solid hsl(var(--border));
    border-radius: calc(var(--radius) - 2px);
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(var(--foreground));
    display: flex;
    align-items: center;
    min-height: 2.5rem;
}

/* Suggestions Section (Custom Autocomplete) */
.suggestions-wrapper {
    position: relative;
    width: 100%;
}

.suggestions-section {
    display: none;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 1000;
    margin-top: 4px;
}

.recent-locations-list {
    display: flex;
    flex-direction: column;
}

.recent-location-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    cursor: pointer;
    transition: background 0.2s;
    border-bottom: 1px solid #f1f5f9;
}

.recent-location-item:last-child {
    border-bottom: none;
}

.recent-location-item:hover {
    background: #f8fafc;
}

.recent-location-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 107, 53, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.recent-location-icon svg {
    width: 16px;
    height: 16px;
    color: #ff6b35;
}

.recent-location-text {
    flex: 1;
    font-size: 0.85rem;
    color: #334155;
    line-height: 1.4;
}

/* Marker icons for suggestions */
.marker-suggestion {
    color: #ff6b35;
}

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

.outside-warning {
    width: 100%;
    margin-top: 4px;
    font-size: 0.75rem;
    color: #ef4444;
    font-weight: 500;
}

.inside-note {
    margin-top: 4px;
    font-size: 0.75rem;
    color: #10b981;
    font-weight: 500;
}