.item-detail-header .add-card-sub-text,
.item-detail-header .btn-order-onclick,
.item-detail-header .add-one-order-sub-text {
	display: none;
}

.swal-title-gradient {
	font-size: 28px;
	font-weight: 900;
	background: var(--bs-btn-bg2);
	/* -webkit-background-clip: text; */
	/* -webkit-text-fill-color: transparent; */
	color: white;
	padding: 8px;
	border-radius: 5px 5px 0px 0px;
}

.swal-footer-custom {
	margin-top: 0;
	padding: 5px 20px;
	width: 100%;
	justify-content: end;
	gap: 20px;
	background: #f5f5f5;
	border-top: 1px solid #ddd;
	border-radius: 0px 0px 5px 5px;
	z-index: 0;
}

.swal-footer-custom .swal2-cancel {
	padding: 5px 20px;
}
.swal2-close{
	z-index: 1;
}

#debit_info:hover {
	position: relative;
	cursor: pointer;
}

#debit_info:hover + #debit_tooltip {
	opacity: 1;
	visibility: visible;
	display: block;
}

#debit_tooltip {
	opacity: 0;
	visibility: hidden;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	display: none;
	padding: 10px;
	white-space: nowrap;
	font-size: 10.5px;
	line-height: 1.3;
	background: #ffd6cc;
	color: #111;
	border-radius: 3px;
	transition: 0.3s ease-in;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
	width: 100%;
	white-space: collapse;
}

#debit_tooltip:before {
	content: '';
	position: absolute;
	top: -13px;
	left: 50%;
	margin-left: -7px;
	border: 7px solid transparent;
	border-bottom: 7px solid #ffd6cc;
}

/* Overlay modal */
.ui-widget-overlay {
	z-index: 99998 !important;
}

/* Modal overlay */
.jquery-modal-calendar {
	z-index: 99999 !important;
}

.jquery-modal-calendar .ui-dialog-titlebar {
	display: none;
}

#jquery-modal-calendar {
	padding: 10px;
	overflow: hidden;
}

#jquery-modal-calendar .row {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
}

#jquery-modal-calendar .row .ui-widget-content {
	width: 240px;
}

#jquery-modal-calendar .ui-datepicker th {
	padding: 0;
}

/* Custom Modal CSS */
#customOrderModal {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.6);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 99999;
	padding: 20px;
	overflow-y: auto;
}

#customOrderModal.show {
	display: flex;
}

.custom-modal-dialog {
	width: 100%;
	max-width: 800px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
	overflow: hidden;
}

.custom-modal-header {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 16px 24px;
	font-size: 1.25rem;
	font-weight: bold;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.custom-modal-close {
	background: none;
	border: none;
	color: white;
	font-size: 1.5rem;
	cursor: pointer;
	padding: 0;
	width: 32px;
	height: 32px;
	opacity: 0.9;
}

.custom-modal-close:hover {
	opacity: 1;
}

.custom-modal-body {
	padding: 24px;
	min-height: 200px;
}

.custom-modal-footer {
	padding: 16px 24px;
	background: #f8f9fa;
	display: flex;
	justify-content: space-between;
	border-top: 1px solid #dee2e6;
}

.loading-spinner {
	text-align: center;
	padding: 60px 20px;
	color: #666;
}

.spinner {
	border: 5px solid #f3f3f3;
	border-top: 5px solid #667eea;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	animation: spin 1s linear infinite;
	margin: 0 auto 20px;
}

.c3d-form-container .c3dcol-sm-7{
	white-space: nowrap;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}