.step-1,
.step-2,
.step-3 {
	display: none;
}

.sports-section-active .step-1 {
	display: block;
}

.sports-section-active .btn-back-summary {
	display: none;
}

.slots-section-active .step-2,
.slots-section-active .selection-summary {
	display: block;
}

.slots-section-active .homePageBannerSwiper {
	display: none;
}

.addons-section-active .homePageBannerSwiper {
	display: none;
}

.addons-section-active .step-3 {
	display: block;
	opacity: 1;
    transform: translateY(0px);
}

.calendar-container-court {
	display: flex;
	justify-content: center;
	align-items: flex-start;
}

.court-loading-spinner {
	display: none;
	text-align: center;
	padding: 40px;
}

.court-loading-spinner .spinner-border {
	color: var(--primary-color);
}

.court-loading-spinner p {
	margin-top: 10px;
	color: var(--text-color);
}

.court-time-slot {
	padding: 5px 2px;
	text-align: center;
	border: 1px solid var(--divider-color);
	border-radius: 8px;
	background: var(--white-color);
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 14px;
	font-weight: 500;
}

.court-time-slot .base-price {
	text-decoration: line-through;
	color: #999;
	font-size: 11.5px;
	font-weight: 400;
}

.court-time-slot.is-selected {
	background: var(--accent-color);
	color: var(--white-color);
	border-color: var(--accent-color);
}

.court-time-slot.is-selected .slot-price {
	color: var(--white-color);
}



.court-time-slot.is-booked,
.court-time-slot.is-past,
.court-time-slot.in-process {
	background: #f5f5f5;
	color: #999;
	border-color: #ddd;
	cursor: not-allowed;
}


.court-time-slot.is-past .slot-price {
	display: none;
}

.court-time-slot.is-booked .slot-price {
	color: #999;
	text-transform: uppercase;
}




.mobile-court-slot {
	padding: 12px 8px;
	text-align: center;
	border: 2px solid var(--divider-color);
	border-radius: 8px;
	background: var(--white-color);
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 12px;
	font-weight: 500;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
}

.mobile-court-slot.is-selected {
	background: var(--accent-color);
	color: var(--white-color);
	border-color: var(--accent-color);
}

.mobile-court-slot.is-booked {
	background: #f5f5f5;
	color: #999;
	border-color: #ddd;
	cursor: not-allowed;
}

.mobile-court-slot .mobile-slot-price {
	font-size: 14px;
	color: var(--accent-color);
	font-weight: 600;
	line-height: 1.5;
}

.mobile-slot-price .base-price {
	text-decoration: line-through;
	color: #999;
	font-size: 11.5px;
	font-weight: 400;
}

.mobile-court-slot .mobile-slot-price-time {
	line-height: 1.5;
	font-size: 12px;
}

.mobile-court-slot.is-selected .mobile-slot-price {
	color: var(--white-color);
}

.mobile-court-slot.is-booked .mobile-slot-price {
	color: #999;
}

.mobile-court-slot.is-past,
.mobile-court-slot.is-booked,
.mobile-court-slot.in-process {
	background: #f5f5f5;
	color: #999;
	border-color: #ddd;
	cursor: not-allowed;
}

.mobile-court-slot.is-past .mobile-slot-price {
	display: none;
}

.mobile-court-slot.is-booked .mobile-slot-price {
	color: #999;
	text-transform: uppercase;
}

.booking-summary-section {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: var(--white-color);
	border-top: 2px solid var(--accent-color);
	/* padding:  0 0 20px 0; */
	z-index: 100;
	box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
	max-height: 90dvh;
	overflow-y: auto;
	overflow-x: hidden;
	transform: translateY(105%);
	opacity: 0;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.summary-content {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
}

.btn-show-details .hide-details-text,
.mobile-summary-details-active .btn-show-details .show-details-text {
	display: none;
}

.btn-show-details .show-details-text, 
.mobile-summary-details-active .btn-show-details .hide-details-text {
	display: block;
}

.mobile-summary-details-active .mobile-summary-details {
	display: block;
}

.booking-summary-section .no-slots-selected,
.booking-summary-section .no-addons-selected {
	color: var(--text-color);
	font-style: italic;
	text-align: center;
}

.booking-summary-section .btn-close-summary {
	display: none;
}

.addon-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    font-size: 14px;
}

.time-slots-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 5px;
}

.booking-badge {
	width: 100%;
	padding: 12px 40px 12px 12px;
	background: transparent;
	font-size: 13px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0;
	color: var(--primary-color);
}

.time-slots-badges .btn-remove-slot, .addon-summary-item .btn-remove-addon {
    margin-left: 10px;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 500;
    height: 100%;
    width: 40px;
	padding: 11px;
}

.summary-section .addon-quantity-controls {
	display: flex;
	align-items: center;
}

.summary-section .btn-quantity-decrease,
.summary-section .btn-quantity-increase {
	background: transparent;
	border: 0;
	outline: none;
	color: var(--primary-color);
	font-size: 12px;
	font-weight: 500;
	padding: 10px 12px;
}



.booking-summary-section .addon-name {

}

@media only screen and (max-width: 991px) {
	.has-slots-selected .booking-summary-section {
		transform: translateY(0);
		opacity: 1;
	}

		.booking-summary-section #summaryContent .mobile-continue-addons {
			padding: 13px 10px;
		}

		.booking-summary-section .btn-show-details {
			padding: 8px 10px;
		}
	
}

@media only screen and (min-width: 991px) {

	.booking-summary-section {
		position: fixed;
		top: 0;
		right: 0;
		z-index: 9999;
		bottom: 0;
		left: auto;
        max-height: none;
		border: 0;
		transform: translateX(100%);
		min-width: 320px;
		max-width: 400px;
	}

	.booking-summary-section-overlay {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background: rgba(0, 0, 0, 0.5);
		z-index: 9990;
		display: none;
		opacity: 0;
		transition: opacity 0.3s ease;
	}

	.booking-summary-section > .row {
		height: 100%;
	}

	.booking-summary-section .booking-summary {
		height: 100%;
    	overflow-y: auto;
		border-radius: 0;
		display: flex;
        flex-direction: column;
		gap: 10px;
		
	}

	

	.booking-summary-section .addon-name {
		font-size: 13px;
		font-weight: 500;
		color: var(--primary-color);
	}

	.summary-section > div {
		margin-top: 10px;

	}

	

	.booking-summary-section h3 {
		font-size: 1.25rem;
		margin: 0;
	}

	.booking-summary-section .booking-summary-header {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 10px 10px 20px 10px;
        border-bottom: 1px solid var(--divider-color);
        margin: 0 -10px;
	}

	.booking-summary-section .btn-close-summary {
		display: block;
		background: transparent;
        border: 0;
        outline: none;
	}

	.booking-summary-section .summary-content {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
		flex: 1;
	}

	.booking-summary-section .summary-body {
		flex: 1;
	}

	.booking-summary-section .summary-footer {
		display: flex;
    justify-content: center;
    align-items: center;
	}

	.booking-summary-section .summary-detail {
		display: flex;
    	justify-content: space-between;
		align-items: center;
	}

	.booking-summary-section .summary-header {
		display: none;
	}

	.booking-summary-section .btn-back-summary {
		margin-right: auto;
	}

	.booking-summary-section .mobile-continue-addons{
		display: flex;
        align-items: center;
		gap: 10px;
	}

	.booking-summary-section .btn-arrow::before {
		position: static;
		display: block;
		transform: none;
	}

	.cart-section-active .booking-summary-section {
		display: block;
		opacity: 1;
		transform: translateX(0);
	}

	.cart-section-active .booking-summary-section-overlay {
		display: block;
		opacity: 1;
	}

}