.has-bg-img:after {
	content: '';
	background-image: url(/wp-content/uploads/2024/03/1471.jpg);
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	z-index: -1;
	opacity: 0.4;
	/* Here is your opacity */
	background-size: cover;
	background-position: center;
}

.has-bg-img {
	position: absolute;
	top: -16px;
	left: -16px;
	right: -16px;
	bottom: -16px;
	padding: 64px;
	font-weight: bold;
	background: #61CE7099;
	color: #fff;
}

#loader {
	text-align: center;
}

#loader img {
	width: 50px;
	/* Adjust size as needed */
	height: 50px;
	/* Adjust size as needed */
}

.provider-img img {
	border-radius: 50%;
	object-fit: cover;
}
.dynamictime_{
	height: 350px;
	overflow-y: scroll;
}
.hide-select{
	display: none;
}

/* =============================================
   Professional Filter Styles for Provider Custom Page
   ============================================= */

.provider-custom-page .filter-main {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 24px;
    margin: 30px 70px 30px 0;
}

.provider-custom-page .filter-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0;
    cursor: pointer;
    padding: 8px 0;
    transition: color 0.2s ease;
}

.provider-custom-page .filter-title:hover {
    color: var(--green);
}

.provider-custom-page .filter-title span:first-child {
    display: flex;
    align-items: center;
    gap: 8px;
}

.provider-custom-page .filter-title span:first-child::before {
    content: "⚙";
    font-size: 14px;
}

.provider-custom-page .filter-options {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.provider-custom-page .filter-options.hide {
    display: none;
}

.provider-custom-page .filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-end;
}

.provider-custom-page .filter-sel-option {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 200px;
    margin: 0;
}

.provider-custom-page .filter-label {
    font-size: 13px;
    font-weight: 500;
    color: #666;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.provider-custom-page .filter-sel-option .select2-container {
    width: 100% !important;
}

.provider-custom-page .filter-sel-option .select2-container--default .select2-selection--multiple {
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    min-height: 42px;
    padding: 4px 8px;
    background-color: #fafafa;
    transition: all 0.2s ease;
	line-height: normal;
}

.provider-custom-page .filter-sel-option .select2-container--default .select2-selection--multiple:hover {
    border-color: var(--green);
    background-color: #fff;
}

.provider-custom-page .filter-sel-option .select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: var(--green);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(106, 123, 96, 0.1);
}

.provider-custom-page .filter-sel-option .select2-container--default .select2-selection--single {
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    height: 42px;
    background-color: #fafafa;
    transition: all 0.2s ease;
}

.provider-custom-page .filter-sel-option .select2-container--default .select2-selection--single:hover {
    border-color: var(--green);
    background-color: #fff;
}

.provider-custom-page .filter-sel-option .select2-container--default.select2-container--open .select2-selection--single {
    border-color: var(--green);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(106, 123, 96, 0.1);
}

.provider-custom-page .filter-sel-option .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 40px;
    padding-left: 12px;
    color: var(--black);
}

.provider-custom-page .filter-sel-option .select2-container--default .select2-selection--multiple .select2-selection__rendered {
    padding: 0;
}

.provider-custom-page .filter-sel-option .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: var(--green);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 13px;
    margin: 2px;
}

.provider-custom-page .filter-sel-option .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #fff;
    margin-right: 6px;
    opacity: 0.8;
	height: 100%;
    display: contents;
}

.provider-custom-page .filter-sel-option .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    opacity: 1;
}

/* Medicare option styling */
.provider-custom-page .filter-sel-option.medicare-option {
    max-width: 160px;
}

/* Smooth animation for filter toggle */
.provider-custom-page .filter-options {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media only screen and (max-width: 991px) {
    .provider-custom-page .filter-main {
        padding: 16px 20px;
    }
    
    .provider-custom-page .filter-row {
        gap: 16px;
    }
    
    .provider-custom-page .filter-sel-option {
        min-width: calc(50% - 8px);
        flex: 0 0 calc(50% - 8px);
    }
    
    .provider-custom-page .filter-sel-option.medicare-option {
        max-width: none;
        flex: 0 0 calc(50% - 8px);
    }
}

@media only screen and (max-width: 575px) {
    .provider-custom-page .filter-main {
        padding: 12px 16px;
    }
    
    .provider-custom-page .filter-row {
        flex-direction: column;
        gap: 12px;
    }
    
    .provider-custom-page .filter-sel-option {
        min-width: 100%;
        flex: 0 0 100%;
    }
    
    .provider-custom-page .filter-sel-option.medicare-option {
        flex: 0 0 100%;
    }
    
    .provider-custom-page .filter-label {
        font-size: 12px;
    }
}

/* Medicare Toggle Switch Styles */
.pickup-calender-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid var(--black);
	padding-bottom: 40px;
	margin-bottom: 30px;
}

.pickup-calender-header h3 {
	font-size: 32px;
	line-height: 48px;
	font-weight: 500;
	text-transform: capitalize;
	margin: 0;
	border: none;
	padding: 0;
	margin-bottom: 0 !important;
}

#loader-date, #scheduled-loader-date {
	margin-top: 50px;
}

.medicare-switch-wrapper {
	display: flex;
	align-items: center;
	gap: 10px;
}

.medicare-label {
	font-size: 20px;
	line-height: 48px;
	font-weight: 500;
	margin: 0;
	color: var(--black);
}

.switch {
	position: relative;
	display: inline-block;
	width: 60px;
	height: 30px;
	flex-shrink: 0;
}

.switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	transition: .4s;
}

.slider:before {
	position: absolute;
	content: "";
	height: 22px;
	width: 22px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	transition: .4s;
}

input:checked + .slider {
	background-color: var(--green);
}

input:checked + .slider:before {
	transform: translateX(30px);
}

.slider.round {
	border-radius: 34px;
}

.slider.round:before {
	border-radius: 50%;
}

/* =============================================
   Provider Custom Page – Available / Scheduled Tabs
   ============================================= */

.provider-tabs-wrapper {
	display: flex;
	justify-content: center;
	margin: 30px;
}

.provider-tabs {
	display: inline-flex;
	border: 2px solid var(--green);
	border-radius: 0;
	overflow: hidden;
}

.provider-tab-btn {
	padding: 12px 36px;
	font-size: 16px;
	font-weight: 600;
	font-family: "Poppins", sans-serif;
	letter-spacing: 0.5px;
	border: none;
	cursor: pointer;
	background-color: #fff;
	color: var(--black);
	transition: background-color 0.25s, color 0.25s;
	outline: none;
}

.provider-tab-btn + .provider-tab-btn {
	border-left: 2px solid var(--green);
}

.provider-tab-btn:hover {
	background-color: var(--green2);
}

.provider-tab-btn.active {
	background-color: var(--green);
	color: #fff;
}

/* Scheduled appointments list container */
.scheduled-appointments-list {
	height: 350px;
	overflow-y: auto;
	padding-right: 4px;
}

.scheduled-placeholder {
	text-align: center;
	color: var(--lucky-grey);
	padding: 40px 0;
	font-size: 16px;
}

.scheduled-no-results {
	text-align: center;
	color: var(--lucky-grey);
	padding: 40px 0;
	font-size: 16px;
}

/* Scheduled appointment card - styled like available appointment spots */
.scheduled-time-block {
	list-style: none;
	padding: 0;
	margin: 0;
}

.scheduled-time-block .scheduled-spot {
	background-color: #d3d3d3;
	padding: 16px 20px;
	text-align: center;
	margin-bottom: 12px;
	cursor: default;
	transition: background-color 0.2s;
}

.scheduled-time-block .scheduled-spot:hover {
	background-color: #c0c0c0;
}

.scheduled-time-block .scheduled-client-name {
	font-size: 16px;
	font-weight: 600;
	color: var(--black);
	margin-bottom: 4px;
	text-transform: uppercase;
}

.scheduled-time-block .scheduled-provider-name {
	font-size: 16px;
	font-weight: 600;
	color: var(--black);
	margin-bottom: 4px;
	text-transform: uppercase;
}

.scheduled-time-block .scheduled-datetime {
	font-size: 15px;
	font-weight: 500;
	color: var(--black);
	margin-bottom: 4px;
}

.scheduled-time-block .scheduled-location {
	font-size: 14px;
	font-weight: 400;
	color: var(--black);
}

/* Responsive adjustments for tabs */
@media only screen and (max-width: 575px) {
	.provider-tab-btn {
		padding: 10px 20px;
		font-size: 14px;
	}

	.scheduled-appointments-list {
		height: 280px;
	}
}

/* =============================================
   Datepicker Prev Button Disable for Past Months
   ============================================= */

/* Style for disabled prev button when on current month */
.datepicker .prev.disabled,
.datepicker .prev.disabled:hover {
    visibility: hidden;
    cursor: default;
    pointer-events: none;
}

/* Alternative: show as disabled but not clickable */
.datepicker .prev.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}