/* SAOKO BOOKING STYLES (Material Orange Minimal) */

/* 1. Style the Date Display Input */
.flatpickr-input {
    /* Behavior */
    pointer-events: none; /* Makes it non-clickable */
    cursor: default;
    
    /* Appearance */
    background-color: #f7f7f7 !important; /* A slightly off-white, disabled look */
    border: none !important;
    padding: 10px;
    margin-bottom: 15px;
    font-size: 1rem;
    color: #333;
    
    /* Centering */
    text-align: center;
    width: 100%;
}

/* 2. Remove Top Padding from Header */
.flatpickr-current-month {
    padding-top: 0 !important; 
}

.flatpickr-month {
   height: 40px !important; 
}

/* 3. Essential Time Slot Button Styling (Matches Material Orange) */
.saoko-slot-btn {
    background-color: #fff;
    border: 1px solid #ddd;
    color: #333;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
    margin-right: 5px;
    margin-bottom: 5px;
}

.saoko-slot-btn:hover {
    background-color: #f9f9f9;
    border-color: #ff9800; /* Material Orange Hover */
}

.saoko-slot-btn.alt {
    /* Selected State */
    background-color: #ff9800 !important; 
    color: #fff !important;
    border-color: #ff9800 !important;
}

.saoko-slot-btn:disabled {
    opacity: 0.5;
    background-color: #eee;
    pointer-events: none;
}

/* 4. Action Area (Price & Confirm) */
#saoko-booking-actions {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.flatpickr-day:not(.flatpickr-disabled) {
  font-weight: bold !important;
  color: blue !important;
}

.flatpickr-day.flatpickr-disabled{
   color: rgba(72,72,72,0.3);
}

/* 5. Hide days from previous/next months for a cleaner look */
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
    visibility: hidden !important;
}

.flatpickr-days {
    margin-top: 5px;
}

.qty-btn {
    width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;     /* vertical centering */
    justify-content: center; /* horizontal centering */
    font-size: 18px;         /* optional */
}

.saoko-quantity-wrapper {
    display: flex;
    align-items: center;
    justify-content: center; /* centers children */
}

.saoko-qty-label {
    pointer-events: none; /* Makes it non-clickable */
    cursor: default;
}