.calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-block: 10px;
}

.datetime {
    width: min(100%, 35rem);
    margin: 0 auto;
}

.select-detail {
    padding: 10px 0px;
    color: rgba(99, 99, 99, 1);
    font-size: 14px;
    position: relative;
    word-wrap: normal;
    line-height: 1.8;
}

.calendar-header {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: rgb(195, 223, 240);
    padding: 0.5rem;
    border-radius: 5px;
}

.calendar-header button {
    background: transparent;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

.calendar div {
    padding: 5px;
    text-align: center;
    cursor: pointer;
    background-color: #f0f0f0;
    border-radius: 5px;
}

.calendar .selected {
    background-color: #4CAF50;
    color: white;
}

.calendar .disabled {
    background-color: #e0e0e0;
    color: #888;
    cursor: not-allowed;
}

.calendar div:hover:not(.disabled) {
    background-color: #ddd;
}

.time-picker, .duration-picker, .time-slots {
    margin-top: 20px;
}

.time-picker select,
.duration-picker select {
    width: 100%;
    padding: 10px;
    font-size: 16px;
}

.time-slots {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 20px;
    gap: 10px;
}

.time-slots > div {
    position: relative;
    min-width: 7rem;
    flex: 1;
}

.time-slots h3 {
    text-align: center;
    font-size: 1.2em;
    margin-bottom: 10px;
}

.time-slots ul {
    list-style-type: none;
    padding: 0;
}

.time-slots li {
    padding: 5px 0;
    background-color: #f0f0f0;
    margin-bottom: 5px;
    text-align: center;
    border-radius: 5px;
    cursor: pointer;
}

.time-slots li.selected {
    background-color: #4CAF50;
    color: white;
}

.show-selected {
    color: rgba(99, 99, 99, 1);
    margin-top: 20px;
    text-align: center;
}

.go-reservtion {
    height: auto;
    width: 100%;
    padding: 10px;
    margin-top: 40px;
    background: rgba(91, 177, 216, 1);
    border-radius: 10px;
    cursor: pointer;
    border: #f0f0f0;
}

.go-reservtion-text {
    color: rgba(255, 255, 255, 1);
    font-size: 18px;
}