#book-an-appointment-application {
	.booking-step-wrapper,
	.booking-component-wrapper {
		display: flex;
		gap: var(--booking-size--xlarge);
		justify-content: space-between;

		@media only screen and (max-width: 1024px) {
			flex-direction: column;
			padding: 0;
		}
	}

	.booking-calander-wrapper {
		@media only screen and (max-width: 1200px) {
			flex-direction: column;
			padding: 0;
		}
	}

	.booking-calander-container {
		display: flex;
		flex-basis: 60%;
		gap: var(--booking-size--xlarge);
		justify-content: space-between;

		.booking-time-picker-wrapper {
			width: 50%;
		}

		@media only screen and (max-width: 900px) {
			flex-direction: column;
			align-items: center;
			padding: 0;

			.booking-time-picker-wrapper {
				width: 100%;
			}
		}

	}

	.categories-dropdown-wrapper {
		display: flex;
		flex-basis: 70%;
		flex-direction: column;
		max-height: 60vh;
		padding: var(--booking-size--small);
		overflow: auto;
		background-color: var(--booking-border-color);
		gap: 15px;
		border-radius: 8px;
	}

	.dropdown-options {
		display: none;
		background-color: var(--booking-button-text-color);

		label {
			position: relative;
			display: flex;
			justify-content: space-between;
			padding: var(--booking-size--small);
			border: 1px solid var(--booking-secondary-border-color);
			border-top: 0;
			color: var(--booking-text-color);
			font-size: var(--booking-size--small);
			font-weight: 400;
			line-height: calc(20/16);
			letter-spacing: 0;
			background-color: var(--booking-background-color-secondary);
			cursor: pointer;
			transition: 0.3s all ease-in-out;

			&:hover {
				background-color: var(--booking-button-text-color);
			}

			input[type='checkbox'] {
				position: absolute;
				opacity: 0;
			}

			&:has(input:checked) {
				background-color: var(--booking-button-text-color); /* your desired color */
			}
			span::after {
				display: block;
				border-radius: 2px;
				width: 15px;
				height: 15px;
				border: 1px solid var(--booking-text-color);
				content: '';
			}

			span::before {
				position: absolute;
				top: 18px;
				right: 18px;
				display: none;
				width: 13px;
				height: 13px;
				background-image: url('./images/tick.svg');
				background-repeat: no-repeat;
				background-position: center;
				background-size: contain;
				content: '';
				transition: all 0.3s ease-in-out;
			}

			input[type='checkbox']:checked + span::before {
				display: block;
			}

			@media only screen and (max-width: 400px) {
				padding-left: 5px;
			}
		}

	}

	.dropdown-options.dropdown-open {
		display: block;
	}

	.categories-dropdown {
		border: 1px solid var(--booking-secondary-border-color);
		background-color: var(--booking-background-color-secondary);
		border-radius: 8px;
	}

	.categories-dropdown .booking-dropdown-heading  {
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin: 0;
		padding: var(--booking-size--small);
		color: var(--booking-base-color);
		font-weight: 600;
		line-height: calc(20/16);
		font-family: var(--booking-font--family--heading);
		font-size: var(--booking-size--small);
		transition: all 0.3s ease-in-out;
		cursor: pointer;
		border-radius: 8px;

		&:hover {
			background-color: var(--booking-button-text-color);
		}

		&::after {
			display: block;
			width: 16px;
			height: 10px;
			background-image: url('./images/dropdown-arrow.svg');
			background-repeat: no-repeat;
			background-position: center;
			background-size: contain;
			content: '';
			transition: all 0.3s ease-in-out;
		}
	}

	.dropdown-open label:first-child {
		border-top: 1px solid var(--booking-secondary-border-color);
	}

	.categories-dropdown .open-dropdown-heading {

		&::after {
			transform: rotate(180deg);
		}
	}
}
