/**
 * Program List Styles
 * Minimal styling - most styles will be handled by Bricks theme
 */

.program-list-container {
    max-width: 100%;
}

/* Filter Toggle Button */
.filter-toggle-btn-container{
	margin-bottom: 32px;
	display: flex;
	justify-content: flex-end;
}
.filter-toggle-btn{
	position: relative;
	
	
}
.filter-toggle-btn:after{
	content: '';
	background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 6H21M6 12H18M10 18H14' stroke='white' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E%0A");
	background-size: contain;
	background-repeat: no-repeat;
	width: 24px;
	height: 24px;

}
/* Filters */
.program-filters {
    position: relative;
    margin-bottom: 32px;
    padding: 32px;
    padding-top: 48px;
    color: #ffffff;
    border-radius: 16px;
	border: 1px solid var(--blue-4, #01B1CB);
	background: var(--blue-1, #096A96);
}

/* Filter Close Button - Top Right */
.filter-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    color: #ffffff;
    border: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 16px;
    transition: opacity 0.3s ease;
}

.filter-close-btn:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Filter Apply Button - Bottom */
.filter-apply-btn {
    display: block;
    margin: 32px auto 0;
    padding: 16px 32px;
    background: #FFF;
    color: #096A96;
    border: none;
    border-radius: 8px;
	text-align: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
	width: 100%;
	max-width: 970px;
}

.program-filters h3 {
    margin-bottom: 48px;
    font-size: 1.25rem;
    font-weight: 600;
	color: #ffffff;
font-size: 24px;
font-style: normal;
font-weight: 500;
line-height: 28px; /* 116.667% */
}

.filter-options{
	display: flex;
	flex-direction: row;
	gap: 64px;
}

.filter-group {
    margin-bottom: 1.5rem;
}

.filter-group h4 {
	color: #ffffff;
	font-size: 20px;
	font-style: normal;
	font-weight: 500;
	line-height: 24px; /* 120% */
	margin-bottom: 16px;
}

.filter-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
	flex-direction: column;
}
.filter-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
	color: #ffffff;
}


/* Hide default checkbox */
.filter-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Custom checkbox container */
.filter-checkbox {
    position: relative;
    padding-left: 28px;
}

/* Custom checkbox box - default (white on blue background) */
.filter-checkbox input[type="checkbox"] + span:before {
    content: '';
    position: absolute;
    left: -24px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    border: 2px solid #ffffff;
    border-radius: 2px;
    background: transparent;
    transition: all 0.3s ease;
}

/* Custom checkbox checkmark - default (white) */
.filter-checkbox input[type="checkbox"]:checked + span:after {
    content: '';
    position: absolute;
    left: -19px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 4px;
    height: 8px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
}


.filter-checkbox span {
    user-select: none;
    position: relative;
}



/* Load More */
.load-more-container {
    text-align: center;
    margin-top: 2rem;
}



.loading-spinner {
    margin-top: 1rem;
    color: #666;
    font-style: italic;
}

.no-programs {
    text-align: center;
    padding: 2rem;
    color: #666;
    font-style: italic;
}

@media (min-width: 768px) {
	
	.filter-checkboxes.audience {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
	}
	.filter-checkboxes.audience .filter-checkbox{
		background: #ffffff;
		padding: 16px;
		padding-left: 36px;
		color: #4D4D4D;
		border-radius: 8px;
	}
	.filter-checkboxes.audience .filter-checkbox input[type="checkbox"] + span:before {
		border-color: #4D4D4D;
	}
	
	.filter-checkboxes.audience .filter-checkbox input[type="checkbox"]:checked + span:after {
		border-color: #4D4D4D;
	}
	
}

/* Mobile Styles */
@media (max-width: 767px) {
	.filter-options{
		flex-direction: column;
		gap: 16px;
	}
	.program-filters{
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background:#ffffff;
		z-index: 1000;
		color: #4D4D4D;
		border-radius: 0;
		border: none;
		overflow-y: auto;
	}
	.program-filters h3{
		color: #096A96;
	}
	
	/* Mobile Accordion Styles */
	.filter-group {
		padding-bottom: 16px;
		margin-bottom: 0;
	}
	
	.filter-group-header {
		color: #096A96 !important;
		cursor: pointer;
		position: relative;
		padding-right: 32px;
		user-select: none;
		transition: color 0.3s ease;
	}
	
	.filter-group-header:after {
		content: '';
		position: absolute;
		right: 0;
		top: 50%;
		transform: translateY(-50%);
		width: 20px;
		height: 20px;
		background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%23096A96' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
		background-size: contain;
		background-repeat: no-repeat;
		transition: transform 0.3s ease;
	}
	
	.filter-group.accordion-open .filter-group-header:after {
		transform: translateY(-50%) rotate(180deg);
	}
	
	.filter-checkboxes {
		overflow: hidden;
		flex-wrap: nowrap;
		padding-top: 16px;
	}
	.filter-checkbox, .filter-checkbox span{
		color: #4D4D4D;
		position: relative;
	}
	.filter-checkbox input[type="checkbox"] + span:before{
		border-color: #4D4D4D;
	}
	.filter-checkbox input[type="checkbox"]:checked + span:after{
		border-color: #4D4D4D;
	}
	.filter-close-btn{
		background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='40' height='40' rx='20' fill='%23096A96'/%3E%3Cpath d='M15 25L25 15M15 15L25 25' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
		background-size: contain;
		background-repeat: no-repeat;
		background-position: center;
		width: 40px;
		height: 40px;
		top: 16px;
		right: 16px;
		border: none;
		color: #ffffff;
		cursor: pointer;
		transition: all 0.3s ease;
		z-index: 1001;
		position: absolute;
		text-indent: -9999px;
		overflow: hidden;
		padding: 0;
		margin: 0;
		font-size: 0;
		line-height: 0;
		white-space: nowrap;
	}
	.filter-toggle-btn-container{
		position: fixed;
		bottom: 0px;
		left: 0;
		background: #ffffff;
		width: 100%;
		z-index: 1000;
		padding: 16px;
		display: flex;
		justify-content: center;
		align-items: center;
		gap: 16px;
		border-radius: 0;
		margin-bottom: 0;
		border: none;
	}
	.filter-apply-btn{
		background: linear-gradient(274.94deg, #01B1CB -57.94%, #096A96 60.32%);
		color: #ffffff;
	}
}
