body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    color: #000;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.week-days {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 5px;
}

.week-days .day {
    flex: 1;
    text-align: center;
    background-color: var(--dayColor);
    color: white;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

.week-days .day span {
    display: block;
    margin-top: 5px;
    font-size: 0.9em;
}

.week-days .day.disabled, #prevWeekBtn.disabled, #nextWeekBtn.disabled, .time-slot.disabled {
    background-color: color-mix(in srgb, var(--dayColor) 15%, white 85%);
    cursor: not-allowed;
}

.month-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 20px;
}

.month-container .month {
    font-size: 1.5em;
    font-weight: bold;
}

.time-slots {
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 20px 0;
}

.time-slot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #ecf0f1;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2em;
}

.day.selected, .time-slot.selected {
    background-color: var(--selectedColor);
    color: white;
}

.error {
    text-align: center;
    color: #d4004c !important;
}

.spinner {
    background-color: #23282d;
    opacity: 0.75;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 100%;
    padding: 0;
    margin: 0 24px;
    position: relative;
}

.spinner::before {
    content: '';
    position: absolute;
    background-color: #fbfbfc;
    top: 4px;
    left: 4px;
    width: 6px;
    height: 6px;
    border: none;
    border-radius: 100%;
    transform-origin: 8px 8px;
    animation-name: spin;
    animation-duration: 1000ms;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    position: relative;
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    border-radius: 8px;
}

.close {
    color: #777;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 0;
    right: 15px;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}