#calendar,
#timeslots {
	margin: 20px auto;
	max-width: 300px;
}

/* Change calendar icon color in WebKit browsers */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}
button {
	display: block;
	width: 100%;
	padding: 10px;
	margin: 5px 0;
	cursor: pointer;
}
.booked {
	background: red;
	color: #fff;
	cursor: not-allowed;
}
.booking {
    padding: 20px;
    max-width: 1000px;
    margin: 100px auto;
    border-top: solid 1px #000;
    overflow-x: hidden;
    position: relative;
}
h1 {
    display: flex;
    justify-content: center;
    margin: 0 0 20px;
    font-size: 2rem;
}
form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background-color: rgba(128, 159, 255, 0.4);
    max-width: 1000px;
    margin: auto;
    border-radius: 10px;
    box-shadow: 0 3px 15px 0px rgba(0, 0, 0, 0.2);
}
label {
    width: 160px;
    text-align: left;
    margin-right: 10px;
}
input {
    flex: 1;
    width: 100%;
    max-width: 250px;
    min-width: 150px;
    text-decoration: none;
    border: none;
    background-color: rgba(128, 159, 255, 1);
    padding: 2px 5px;
    font-size: 1rem;
    color: #fff;
    border-radius: 10px;
    box-sizing: border-box;
}
.form-group {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 400px;
}
.form-group #date {
    cursor: pointer;
}
.form-group input:focus {
    outline: solid 1px #fff;
    box-sizing: border-box;
}
#timeslots:empty {
    display: none;
}
form button {
    max-width: 200px;
    margin: 0;
    text-decoration: none;
    border: none;
    background-color: rgba(128, 159, 255, 1);
    padding: 5px 10px;
    font-size: 1.25rem;
    font-weight: bold;
    color: #fff;
    border-radius: 10px;
    cursor: pointer;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}
form button:hover {
    box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 1);
    transform: translate(-2px, -2px);
}
@media only screen and (max-width: 400px) {
    form {
        flex-direction: column;
    }
    .form-group {
        display: block;
        width: 100%;
    }
    label {
        width: 100%;
        margin-bottom: 5px;
    }
    input {
        width: 100%;
    }
}

