:root {
	--merchant-primary-color: #2C66FF;
	--merchant-light-color: rgba(44, 102, 255, 0.1);
	--merchants-color-darker: #002a57;
	--merchant-yellow-color: #FFF7E5;
	--merchant-hover-color:#5672f9;
	--merchant-click-color:#5672f9;
}

* {
	font-family: "Inter", sans-serif !important;
}
a:focus{
	color:var(--merchant-click-color) !important;
}
a:hover{
	color: var(--merchant-hover-color) !important;
}
i {
	font-family: FontAwesome !important;
}
.btn-outline-primary {
    color:  var(--merchant-primary-color) !important;
    border-color:  var(--merchant-primary-color) !important;
	 background-color: transparent !important;
}
.btn-outline-primary:hover {
	color: var(--merchant-primary-color) !important;
	background-color: var(--merchant-light-color) !important;
	border-color: var(--merchant-primary-color) !important;
	font-weight: 600 !important;
}
.btn-merchants{
	color: #fff;
    background-color:var(--merchant-primary-color);
    border-color: var(--merchant-primary-color);
}
button:disabled,button:disabled:hover,button:disabled:focus,button:disabled:active {
	color: rgb(93, 93, 93) !important;
	background-color: rgb(209, 209, 209) !important;
	border-color: rgb(209, 209, 209) !important;
	cursor: unset;
	font-weight: normal !important;
}

.top-menus .nav-tabs .nav-link {
	border: 0;
	flex: 1 1;
	text-align: center;
	padding: 5px 0;
}

.top-menus .nav-tabs .nav-link.active {
	border-bottom: 5px solid var(--merchant-primary-color);
}

.navbar .navbar-brand {
	font-weight: 600 !important;
}

.navbar-brand.back-btn {
	width: auto;
	margin-left: 2px;
}

.message-title {
	font-size: 20px;
	font-weight: 600;
	color: #838282;
}

.message-subtitle {
	font-size: 14px;
	font-weight: 400;
	color: #838282;
	line-height: 16.94px;
}

.btn-merchants-light {
	background: var(--merchant-light-color);
	color: var(--merchant-primary-color);
}

.btn-merchants-yellow {
	background: var(--merchant-yellow-color);
	color: #FFCC00;
}

.btn-secondary.disabled,
.btn-secondary:disabled,
.btn-secondary.disabled:hover,
.btn-secondary:disabled:hover {
	color: #fff;
	background-color: #6c757d;
	border-color: #6c757d;
}

.btn-merchant,
.btn-merchant:focus {
	border-radius: 6px;
	padding: 4px 8px;
	border-radius: 6px;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	font-size: 0.8rem;
	border: 1px solid #7E8494;
	flex-wrap: wrap;
	box-shadow: 0px 2px 5px 0px rgb(0 0 0/.25);
	border-color: #BEBEC1;
	color: #212529;
	position: relative;
}

.btn-secondary-danger {
	background-color: #fcdede !important;
	color: #DC1F26 !important;
	padding: 12px;
}

.btn-secondary-danger:hover,
.btn-secondary-danger:focus,
.btn-secondary-danger:active {
	font-weight: bold;
}

.navigation .active {
	color: var(--merchant-primary-color);
	font-weight: 600;
}

.wrappers {
	margin: 5px 0;
}

.btn.item-filters {
	border-radius: 25px;
	box-shadow: none;
}

.btn-merchant-primary {
	background: var(--merchant-primary-color);
	color: #fff;
	border-color: var(--merchant-primary-color);
}

.bg-merchant-primary {
	background: var(--merchant-primary-color);
	color: #fff;
}

.btn-merchant-primary:hover,
.btn-merchant-primary:focus,
.btn-merchant-primary:active {
	color: #fff;
	font-weight: bold;
}

.btn-merchant-outline-primary {
	background: #fff;
	color: var(--merchant-primary-color) !important;
	border-color: var(--merchant-primary-color) !important;
}

.btn-merchant-outline-primary:hover {
	color: var(--merchant-primary-color) !important;
	background: var(--merchant-light-color) !important;
	font-weight: bold;
}

.btn-credits,
.btn-merchant.active,
.item-filters.active {
	color: #2C66FF;
	font-weight: 600;
	background: rgba(44, 102, 255, 0.1);
	border: 1px solid #2C66FF;
}

.item-dates .today {
	position: absolute;
	top: -1rem;
	color: #2C66FF;
	font-weight: bold;
}

.calendar .item-dates.active,
.calendar-info .box.selected {
	color: #FFF;
	background: #2C66FF;
	border-color: var(--merchant-primary-color);
}

.btn-credits *,
.btn-merchant.active *,
.item-filters.active * {
	color: #2C66FF;
}

.calendar .item-dates.active * {
	color: #fff;
}

@media screen and (max-width:768px) {
	.list-dates .btn-merchant {
		padding: 4px;
	}
}

.text-merchant {
	color: var(--merchant-primary-color);
}

.text-truncate-multiline {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
	text-overflow: ellipsis;
}

.card {
	border-radius: 6px;
	overflow: hidden;
}

.list-filters button,
.list-filters button:focus {
	width: max-content;
	flex: 0 0 max-content;
	padding-left: 15px;
	padding-right: 15px;
}

.sort-by .form-control {
	padding: 4px 8px;
	border-radius: 6px;
	border: 1.5px solid #E5E7EF;
	height: 28px;
	min-width: 100px;
	flex: 1 1 100px;
	text-align: center;
}

.flex-wrapper,
.class-attribute,
.class-location_timeslot div {
	display: flex;
	flex-direction: row;
	align-items: center;
	flex-wrap: wrap;
}

.grid-wrapper {
	display: grid;
	grid-template-columns: repeat(7, auto);
	gap: 10px;
	margin-bottom: 10px;
}

.flex-wrapper>*:not(:last-child) {
	margin-right: 10px;
}

.class-attribute li:not(:last-child):after {
	content: "\f1db";
	margin: 10px;
	font-family: FontAwesome;
	font-size: 8px;
}

.class-location_timeslot {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
}

.class-location_timeslot i {
	padding-bottom: 0;
}

.item-classes .card-footer {
	background: #fff;
	border-top-style: dashed;
}

.calendar .today *,
.calendar-info .box.today {
	border-color: var(--merchant-primary-color);
	color: var(--merchant-primary-color);
}

.calendar .item-dates>.today,
.calendar-info .box.today {
	color: var(--merchant-primary-color) !important;
}

.calendar-info .box {
	width: 20px;
	height: 20px;
	border: 1px solid black;
	margin-right: 0.5rem;
	display: flex;
	justify-content: center;
	align-items: center;
}

.generate-calendar,
.class-unavailable {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	min-height: 275px;
	position: absolute;
	top: 0px;
	left: 0;
	right: 0;
	z-index: 100;
	bottom: 0px;
	background: #fff;
	height: 100%;
}

/* .item-classes .card-body:before {
	content: '';
	border-left: 6px solid orange;
	position: absolute;
	left: 0.25rem;
	z-index: 1;
	top: 0.25rem;
	bottom: 0.25rem;
	border-radius: 0.5rem;
} */
.list-credit_history .item-credit_history {
	display: block;
}

.list-credit_history .item-credit_history:not(:last-child) {
	margin-bottom: 1rem;
}

.phone-prefix {
	position: absolute;
	padding: 0.75rem;
}

.slick-dots li {
	margin: 0;
}

.slick-prev {
	left: 1rem !important;
	z-index: 1;
}

.slick-next {
	right: 1rem !important;
	z-index: 1;
}

.slick-dots {
	bottom: 1rem !important;
}

.custom-carousels .items img {
	width: 100%;
	object-fit: cover;
	aspect-ratio: 5/3;
	border-radius: 1rem;
	max-height: 300px;
}

.carousel-gallery .items img {
	aspect-ratio: 2/1;
	max-height: 300px;
}

.btn-action-booking {
	position: fixed;
	bottom: 85px;
	width: 520px
}

.div-action-next {
	z-index: 130;
	position: fixed;
	bottom: 0px;
	width: 550px;
	background-color: white;
	margin-left: -1rem;
	margin-right: -1rem;
}

@media (max-width: 992px) {

	.custom-carousels .items img,
	.carousel-gallery .items img {
		border-radius: .5rem;
	}

	.btn-action-booking {
		position: fixed;
		/* bottom: 65px; */
		left: 0.75rem;
		right: 0.75rem;
		width: auto;
	}

	.div-action-next {
		position: fixed;
		bottom: 0px;
		left: 0.75rem;
		right: 0.75rem;
		width: auto;
	}

	.container {
		width: 100%;
	}
}


.carousel-item img {
	max-height: 100% !important;
	object-fit: cover;
	aspect-ratio: 4/3;
}

.link-copy,
.sharing {
	cursor: pointer;
}

.sharing {
	width: 2rem;
	justify-content: center;
	align-items: center
}

.sharing i {
	width: 100%;
	font-size: 1.25em;
	text-align: center;
}

@supports not (aspect-ratio: auto) {
	.carousel-item img {
		object-fit: cover;
		min-height: 420px;
	}

	.custom-carousels .items img {
		height: calc(100vw / 2);
	}
}

.item-coach:not(:last-child)::after {
	content: ', ';
}

.map-embed iframe {
	height: 300px !important;
}

.body-content span {
	font-size: 14px;
}

.link-transaction-detail:hover {
	color: inherit;
	box-shadow: 0 0 5px 3px rgb(0 0 0/.25);
	border-radius: 6px;
	overflow: hidden;
}

#wallet_transactions .item-transactions:not(:last-child) {
	padding-bottom: 1rem;
	border-bottom: 1px solid #d8d8d8;
}

.list-packages .item-packages button:focus,
.list-packages .item-packages button:hover {
	background-color: var(--merchant-light-color);
	color: var(--merchant-primary-color);
}

.list-packages .item-packages button:focus {
	outline-color: var(--merchant-primary-color);
	font-weight: bold;
}

.list-packages .item-packages button:hover .package-detail {
	border-color: var(--merchant-primary-color);
}

#topup-confirmation .content,
#topup-payment .content,
#class-detail .content,
#profile-detail .content {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 100%;
	height: 100%;
	overflow-y: auto;
	overflow-x: hidden;
}

#topup-confirmation .content>[class*="-content"],
#topup-payment .content>[class*="-content"],
#class-detail .content>[class*="-content"],
#profile-detail .content>[class*="-content"] {
	width: 100%;
}

@media screen and (max-width:480px) {

	#topup-confirmation .content>[class*="-content"].align-self-end,
	#topup-payment .content>[class*="-content"].align-self-end,
	#class-detail .content>[class*="-content"].align-self-end,
	#profile-detail .content>[class*="-content"].align-self-end {
		padding-bottom: 80px;
	}

	.navbar .navbar-brand {
		font-size: 1rem;
	}
}

#class-detail .item-overview {
	flex: 0 0 max-content;
	width: max-content;
	padding-left: 1rem;
}

.item-overview .icon-container {
	border-radius: 50% !important;
	color: #7E8494;
	background-color: #f8f9fa;
	border: 1px solid #dee2e6 !important;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 30px;
	height: 30px;
}

.item-packages .package-content {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	width: 100%;
}

.item-packages .package-content .package-detail {
	flex: 1;
	border-radius: 6px;
	overflow: hidden;
	border: 1px solid rgba(0, 0, 0, .125);
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

.item-packages .package-content .package-arrow {
	flex: 0 0 max-content;
	font-size: 24px;
	border-radius: 6px;
	overflow: hidden;
	border: 1px solid var(--merchant-primary-color);
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}

.venue-description ol {
	list-style: decimal-leading-zero;
	padding-left: 1.25rem;
}

.credit {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: end;
	gap: 10px;
}

.credit .credit-item {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	align-items: center;
	border-radius: 5px;
	padding: 5px;
}

.credit .credit-item.free {
	background: var(--success);
}

.credit .credit-item.paid {
	background: var(--info);
}

.credit .credit-item .label {
	color: #fff;
	line-height: 1;
}

.credit .credit-item .amount {
	color: #fff;
	display: block;
	width: 100%;
	padding: 0 5px;
	text-align: center;
	font-weight: bolder;
}

.swal2-container {
	margin: 0 auto;
}

.text-success {
	color: var(--font-green-success) !important;
}

.text-danger {
	color: var(--font-red-saraga) !important;
}

.text-link {
	color: var(--merchant-primary-color) !important;
}

.text-dark {
	color: var(--dark-2) !important;
}

.text-link:hover {
	color: var(--dark-blue) !important;
}

/* Buttons */
.btn {
	border-radius: 8px;
}

.date-button {
	cursor: pointer;
	color: var(--dark-2);
	height: 3.5rem;
	padding-top: 10px;
	border-radius: 4px;
}

.flatpickr {
	cursor: pointer;
	color: #7E8494;
	height: 3.5rem;
	padding-top: 10px;
	border-radius: 4px;
}

.date-button p {
	font-weight: 500;
	font-size: 12px !important;
}

.date-button.active p {
	font-weight: 600;
}

.date-button.disabled,
.flatpickr.disabled {
	border-color: rgb(209, 209, 209) !important;
	background-color: rgb(209, 209, 209) !important;
}

.date-button:hover,
.flatpickr:hover {
	outline: none !important;
}

.date-button.active,
.time-button.active,
.flatpickr.active {
	border-color: var(--merchant-primary-color) !important;
	background: var(--merchant-light-color) !important;
	color: var(--merchant-primary-color);
}

.date-button.active>p,
.time-button.active>p,
.flatpickr.active>i {
	color: var(--merchant-primary-color) !important;
}

.time-button {
	cursor: pointer;
	border-radius: 4px;
	border: 1px solid var(--border-color-saraga) !important;
	color: var(--white) !important;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	aspect-ratio: 4/3;
	min-height: 60px;
	width: 100%;
	height: 100%;
	text-align: center;
}

.time-button p {
	margin: 0;
	padding: 0;
}

.time-button.disabled,
.time-button.disabled-multi-order {
	cursor: not-allowed;
	border-color: rgb(209, 209, 209) !important;
	background-color: rgb(209, 209, 209) !important;
}

/* Forms */
.field-timeslots {
	margin-left: -5px;
	margin-right: -5px;
}

.form-control-float:focus {
	outline: none;
	box-shadow: none;
}

/* Text */
a {
	font-size: 0.8rem;
}

.card-text {
	font-size: 12px;
	font-weight: 500;
	color: var(--dark-2);
}

.font-weight-bold {
	font-weight: 600 !important;
}

/* Tooltip */
.tooltip-wrapper {
	position: relative;
	display: inline-block;
	cursor: pointer;
}

.tooltip-wrapper .tooltip-text {
	visibility: hidden;
	font-weight: 400;
	font-size: 10px;
	text-align: left !important;
	width: 169px;
	background-color: #f6f7fa;
	color: #838282;
	border-radius: 5px;
	padding: 10px 12px;
	position: absolute;
	z-index: 1;
	top: 50%;
	/* Position in the middle of the element */
	left: 125%;
	/* Position to the right of the element */
	margin-top: -40px;
	margin-left: 8px;
	opacity: 0;
	transition: all 0.3s;
}

.tooltip-wrapper .tooltip-text::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 100%;
	/* Position at the left edge of the tooltip */
	margin-top: -5px;
	border-width: 7px;
	border-style: solid;
	border-color: transparent #f6f7fa transparent transparent;
}

.tooltip-wrapper:hover .tooltip-text,
.tooltip-wrapper.active .tooltip-text {
	visibility: visible;
	opacity: 1;
}

/* Layout */
.container-timeslots {
	min-height: 172px;
}

.container-timeslots .field-timeslots {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-gap: 12px;
	max-width: 100%;
}

.container {
	width: 100%;
}

/* Carousel */
.custom-carousels .items img,
.carousel-gallery .items img {
	border-radius: 0.5rem;
}

.carousel-item img {
	object-fit: cover;
	min-height: 420px;
}

.custom-carousels .items img {
	height: calc(100vw / 2);
}

.carousel-banner .slick-next.slick-arrow,
.carousel-banner .slick-prev.slick-arrow {
	display: inline-block;
}

.carousel-banner .slick-dots {
	bottom: 2rem !important;
}

.carousel-banner .slick-dots li button {
	display: none;
}

.carousel-banner .slick-dots li {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	opacity: 0.5;
	background-color: rgb(255, 255, 255);
	margin: 0 4px;
}

.carousel-banner .slick-dots li.slick-active {
	width: 20px;
	height: 8px;
	border-radius: 4px;
	opacity: 1;
	background-color: #fff;
}

.slick-dots li {
	margin: 0;
}

/* Lists */
.list-available_dates {
	display: flex;
	gap: 10px;
	flex-wrap: nowrap;
	max-width: 100%;
	overflow-x: auto;
	justify-content: center;
	align-items: center;
}

.list-available_dates .form-control {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0;
	padding: 0;
	text-align: center;
}

.list-available_dates .form-control p {
	padding: 0;
	margin: 0;
}

/* Shadows */
.shadow-bottom {
	box-shadow: 0 0.1rem 0.3rem rgba(0, 0, 0, 0.075) !important;
}

.shadow-top {
	box-shadow: 0 -0.1rem 0.3rem rgba(0, 0, 0, 0.075) !important;
}

/* Modals */
#mdl-share.modal {
	background: rgba(0, 0, 0, 0.5);
}

#mdl-share.modal .modal-dialog {
	height: auto !important;
}

/* Court Styles */
.card-court {
	border: 1px solid var(--border-color-saraga);
	border-radius: 8px;
}

.card-addon {
	border: 1px solid var(--border-color-saraga);
	border-radius: 8px;
}

.addon-dropdown-container .card-addon:not(:last-child) {
	margin-bottom: 16px;
}

.court-dropdown-container .card-court:not(:last-child) {
	margin-bottom: 16px;
}

.court-image {
	width: 60px;
	height: 60px;
	object-fit: cover;
	border-radius: 4px;
}

.court-name {
	font-size: 14px;
}

.court-image-preview {
	position: relative;
}

.court-image-preview .preview-icon {
	/* make icon on the top right */
	position: absolute;
	top: 4px;
	right: 4px;
	transition: all 0.3s ease;
}

.court-image-preview:hover .preview-icon {
	/* make position center */
	width: 20px;
	height: 20px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.court-image-modal .modal-dialog {
	width: 75%;
	height: auto;
	margin: 0 auto;
}

.court-image-modal img {
	border-radius: 8px;
}

/* Misc */
#innerelements {
	padding: 0.75em;
	position: relative;
	left: 80%;
	top: -30px;
	background-color: white;
	margin-right: auto;
	margin-bottom: auto;
	border-radius: 50%;
}

.scrolling-wrapper {
	overflow-x: scroll;
	overflow-y: hidden;
	white-space: nowrap;
}

.sharing {
	width: 2rem;
	justify-content: center;
	align-items: center;
}

.sharing i {
	width: 100%;
	font-size: 1.25em;
	text-align: center;
}

.title-dropdown {
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.rotate-180 {
	transform: rotate(180deg);
	transition: transform 0.3s ease;
}

.rotate-back {
	transform: rotate(0deg);
	transition: transform 0.3s ease;
}

.txt-selected_date {
	margin-top: 8px;
	font-weight: 500;
	font-size: 14px;
}

.timeslot-item * {
	-webkit-user-select: none;
	/* Safari */
	-moz-user-select: none;
	/* Firefox */
	-ms-user-select: none;
	/* Internet Explorer/Edge */
	user-select: none;
	/* Standard syntax */
}

.timeslot-item .text-timeslot {
	font-size: 13px !important;
}

.timeslot-item .text-price {
	font-size: 11px !important;
}

/* Media Queries */
@media (max-width: 992px) {
	.container {
		width: 100%;
	}

	.custom-carousels .items img,
	.carousel-gallery .items img {
		border-radius: 0.5rem;
	}
}

@media (max-width: 768px) {
	.card-text {
		font-size: 12px;
	}

	.date-button p {
		font-size: 10px !important;
	}

	.date-button,
	.flatpickr {
		height: 48px;
	}

	h4 {
		font-size: 1rem !important;
	}

	.navbar-title {
		font-size: 0.875rem !important;
	}

	.txt-selected_date {
		font-size: 12px;
	}

	.timeslot-item .text-timeslot {
		font-size: 9px !important;
	}

	.timeslot-item .text-price {
		margin-top: 2px;
		font-size: 8px !important;
	}

	.time-button {
		min-height: 40px !important;
		height: 40px !important;
	}

	.container-timeslots .field-timeslots {
		grid-gap: 4px;
	}
}

@supports not (aspect-ratio: 4 / 3) {
	.carousel-item img {
		object-fit: cover;
		min-height: 420px;
	}

	.custom-carousels .items img {
		height: calc(100vw / 2);
	}
}

iframe {
	max-width: 100%;
	border-radius: 8px;
}

.subtitle {
	font-size: clamp(8px, 2.5vw, 0.7rem);
}

.card-title-box {
	display: flex;
	flex-direction: row;
	width: 100%;
	max-width: 100%;
	gap: 10px;
	overflow: hidden;
}

.card-title-box .container-img,
.card-title-box .container-member {
	flex: 0 0 max-content;
}

.card-title-box .container-title {
	flex: 1; /* Mengambil sisa ruang yang tersedia */
	min-width: 0; /* Mencegah elemen melampaui container */
}

.card-title-box .container-title .court-name {
	overflow: hidden;
	white-space: break-spaces;
}