
.booking-calendar-wrapper {
    margin: 20px 0;
    padding: 0;
    font-family: inherit;
}

.booking-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: border-color 0.2s ease-in-out;
}

.booking-card:hover {
    border-color: #cbd5e1;
}

.booking-header {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.booking-title {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.booking-title i {
    color: #0284c7;
}

.booking-badge {
    font-size: 11px;
    font-weight: 500;
    color: #475569;
    background: #e2e8f0;
    padding: 3px 8px;
    border-radius: 12px;
}

.booking-body {
    padding: 18px;
}

.booking-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

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

.booking-input-icon {
    position: absolute;
    left: 12px;
    color: #64748b;
    font-size: 15px;
    pointer-events: none;
    z-index: 2;
}

.booking-input {
    width: 100%;
    padding: 10px 14px 10px 38px !important;
    font-size: 14px;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    background-color: #f8fafc !important;
    color: #0f172a !important;
    cursor: pointer !important;
    transition: all 0.2s ease;
}

.booking-input:focus {
    border-color: #0284c7 !important;
    background-color: #ffffff !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15) !important;
}

/* Summary Box */
.booking-summary {
    margin-top: 15px;
    padding: 14px;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 6px;
}

.booking-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #0369a1;
    margin-bottom: 5px;
}

.summary-value {
    font-weight: 600;
}

.booking-divider {
    margin: 8px 0;
    border: 0;
    border-top: 1px dashed #7dd3fc;
}

.booking-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
    color: #0c4a6e;
}

.total-amount {
    color: #0284c7;
    font-size: 18px;
}

/* Legend */
.booking-legend {
    display: flex;
    gap: 15px;
    margin-top: 12px;
    font-size: 12px;
    color: #64748b;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.legend-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.legend-dot.available {
    background-color: #22c55e;
}

.legend-dot.booked {
    background-color: #ef4444;
}

.booking-hint {
    margin-top: 10px;
}

/* Flatpickr Styling Overrides */
.flatpickr-calendar {
    font-family: inherit !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid #e2e8f0 !important;
}

.flatpickr-day.flatpickr-disabled, 
.flatpickr-day.flatpickr-disabled:hover {
    color: #ef4444 !important;
    background: #fef2f2 !important;
    text-decoration: line-through;
    cursor: not-allowed !important;
}

.flatpickr-day.selected, 
.flatpickr-day.startRange, 
.flatpickr-day.endRange, 
.flatpickr-day.selected.inRange, 
.flatpickr-day.startRange.inRange, 
.flatpickr-day.endRange.inRange {
    background: #0284c7 !important;
    border-color: #0284c7 !important;
}

.flatpickr-day.inRange {
    background: #e0f2fe !important;
    border-color: #bae6fd !important;
    color: #0369a1 !important;
}
