/* Booking Modal Redesign */
.schedule__modal .modal-content {
    background: #1a1b1e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.schedule__modal .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px;
}

.schedule__modal .modal-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
}

.schedule__modal .close {
    color: rgba(255, 255, 255, 0.5);
    background: none;
    border: none;
    font-size: 1.5rem;
    transition: 0.2s;
}

.schedule__modal .close:hover {
    color: #fff;
}

.schedule__modal .modal-body {
    padding: 30px;
}

/* Calendar Styling */
.schedule__title h4 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 600;
}

.date__wrap .table {
    margin-bottom: 0;
}

.date__wrap td,
.date__wrap th {
    border: none;
    text-align: center;
    padding: 10px 5px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.date__wrap th {
    color: #ef3e4a;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.date__wrap td {
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s;
}

.date__wrap td:not(.disabled):hover {
    background: rgba(239, 62, 74, 0.1);
    color: white;
}

.date__wrap td.selected {
    background: #ef3e4a;
    color: #fff;
    box-shadow: 0 4px 10px rgba(239, 62, 74, 0.3);
}

.date__wrap td.disabled {
    opacity: 0.3;
    pointer-events: none;
}

/* Time Slots Grid */
.time-selection-area {
    background: #151619;
    padding: 20px;
    border-radius: 12px;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.time-period-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 15px 0 10px;
    font-weight: 600;
}

.time-period-label:first-child {
    margin-top: 0;
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
}

.time-slot-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 5px;
    border-radius: 6px;
    font-size: 0.9rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.time-slot-btn:hover {
    background: rgba(239, 62, 74, 0.1);
    border-color: #ef3e4a;
    color: #ef3e4a;
}

.time-slot-btn.selected {
    background: #ef3e4a;
    color: #fff;
    border-color: #ef3e4a;
    box-shadow: 0 4px 12px rgba(239, 62, 74, 0.3);
}

.time-slot-btn.disabled {
    opacity: 0.3;
    pointer-events: none;
    text-decoration: line-through;
    background: transparent;
}

/* Booking Summary Footer */
.booking-summary {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.selected-time-display {
    display: flex;
    flex-direction: column;
}

.selected-time-display span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.selected-time-display strong {
    color: #fff;
    font-size: 1.1rem;
}

.btn-confirm-booking {
    background: #ef3e4a;
    color: white;
    padding: 10px 30px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-confirm-booking:hover {
    background: #d6323d;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(239, 62, 74, 0.3);
}


/* Checkout Recommendation Box */
.recommendation-alert {
    background: rgba(255, 193, 7, 0.1);
    /* Yellow tint */
    border: 1px solid rgba(255, 193, 7, 0.2);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    color: #ffd700;
    /* Gold text */
    margin-bottom: 20px;
}

.recommendation-alert strong {
    color: #fff;
    font-weight: 700;
}

.btn-confirm-booking:disabled {
    background: #333;
    color: #777;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ===============================
   Calendar Navigation
   =============================== */
.calendar-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.calendar-nav h4 {
    font-size: 1.1rem;
    color: #fff;
    margin: 0;
    font-weight: 600;
}

.calendar-nav-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.calendar-nav-btn:hover {
    background: rgba(239, 62, 74, 0.1);
    border-color: #ef3e4a;
    color: #ef3e4a;
}

.calendar-nav-btn:active {
    transform: scale(0.95);
}

/* ===============================
   Availability Dots
   =============================== */
.date__wrap td {
    position: relative;
}

.availability-dot {
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.availability-dot.high {
    background: #4ade80;
    box-shadow: 0 0 6px rgba(74, 222, 128, 0.5);
}

.availability-dot.medium {
    background: #facc15;
    box-shadow: 0 0 6px rgba(250, 204, 21, 0.5);
}

.availability-dot.low {
    background: #f87171;
    box-shadow: 0 0 6px rgba(248, 113, 113, 0.5);
    animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* Today indicator */
.date__wrap td.today {
    font-weight: 700;
    color: #fff;
    border: 1px solid rgba(239, 62, 74, 0.5);
}

/* Other month dates */
.date__wrap td.other-month {
    opacity: 0.25;
}

/* Available dates without selection */
.date__wrap td.available:not(.selected) {
    color: rgba(255, 255, 255, 0.9);
}

/* ===============================
   Calendar Legend
   =============================== */
.calendar-legend {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.legend-item .availability-dot {
    position: static;
    transform: none;
}