/* Стилі для днів тижня */
.day {
    display: inline-block;
    padding: 10px 15px;
    margin: 5px;
    cursor: pointer;
    background-color: #f8f9fa;
    border-radius: 5px;
    text-align: center;
    font-size: 14px;
}

.day.selected {
    background-color: #007bff;
    color: white;
}

.day.disabled {
    background-color: #e0e0e0; /* Сірий колір для неактивних */
    color: #6c757d; /* Темно-сірий текст */
    cursor: not-allowed; /* Курсор "заборонено" */
    pointer-events: none; /* Вимикаємо клікабельність */
}

/* Контейнер для таймслотів */
#timeslots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

/* Стилі для таймслотів */
.timeslot {
    padding: 10px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 13px;
}

.timeslot:hover {
    background-color: #e9ecef;
}

/* Стилі для навігації */
.timeslot-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

#prev-week, #next-week {
    padding: 5px 10px;
    font-size: 18px;
    cursor: pointer;
}

/* Стилі для форми */
#booking-step {
    display: none;
    margin-top: 20px;
}

#booking-form {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#booking-form label {
    display: block;
    margin: 10px 0 5px;
}

#booking-form input {
    width: 100%;
    max-width: 300px;
    padding: 8px;
    margin-bottom: 10px;
}

#book-btn {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#book-btn:hover {
    background-color: #0056b3;
}

#timeslot-widget {
    max-width: 800px !important;
}

.loader {
    text-align: center;
    padding: 20px;
    font-size: 16px;
    color: #007bff;
}

#month-display {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0;
    color: #333;
}

.loader_box{
    display: flex;
    width: 100%;
    justify-content: center;
    margin: 0 auto;
    position: absolute;
}

.loader {
    width: 48px;
    height: 48px;
    border: 5px solid #00C1F0;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    }

    @keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
    } 