/*--------------------------------------------------------------
  SYF Programs Hub — Premium Tab Layout
--------------------------------------------------------------*/

/* Force full-width content area on Programs page */
.page-template-page-programs #primary,
.page-template-page-programs .bb-grid,
.page-template-page-programs .bb-content-area-cell,
.page-template-page-programs .site-content .container,
.page-template-page-programs .site-content > .bb-grid {
	max-width: 100% !important;
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.syf-programs-hub {
	max-width: 100%;
	padding: 20px 0 60px;
}

/* ---- Tab Navigation — Horizontal Cards ---- */
.syf-programs-nav {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	padding: 0 24px;
	margin: 0 auto 36px;
	max-width: 100%;
}

/* Each Tab Card */
.syf-tab {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px;
	background: #fff;
	border: 1px solid #e4e4e7;
	border-radius: 16px;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	overflow: hidden;
	user-select: none;
	min-height: 90px;
}

.syf-tab-glow {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.3s ease;
	background: radial-gradient(ellipse at 20% 50%, rgba(243,106,40,0.08), transparent 70%);
	pointer-events: none;
}

.syf-tab-inner {
	display: flex;
	align-items: center;
	gap: 16px;
	flex: 1;
	min-width: 0;
}

/* Icon Circle */
.syf-tab-icon-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	min-width: 56px;
	border-radius: 14px;
	background: #f4f4f5;
	color: #a1a1aa;
	transition: all 0.3s ease;
}

.syf-tab-icon-wrap svg {
	width: 28px;
	height: 28px;
	transition: transform 0.3s ease;
}

/* Tab Text */
.syf-tab-info {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.syf-tab-text {
	font-size: 15px;
	font-weight: 700;
	color: #3f3f46;
	line-height: 1.2;
	letter-spacing: -0.2px;
}

.syf-tab-desc {
	font-size: 12px;
	color: #a1a1aa;
	line-height: 1.4;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Arrow */
.syf-tab-arrow {
	display: flex;
	align-items: center;
	color: #d4d4d8;
	margin-left: 8px;
	transition: all 0.3s ease;
	flex-shrink: 0;
}

/* --- Hover --- */
.syf-tab:hover {
	border-color: #d4d4d8;
	box-shadow: 0 4px 20px rgba(0,0,0,0.06);
	transform: translateY(-1px);
}

.syf-tab:hover .syf-tab-icon-wrap {
	background: #efefef;
}

.syf-tab:hover .syf-tab-arrow {
	color: #a1a1aa;
	transform: translateX(2px);
}

/* --- Active --- */
.syf-tab.active {
	border-color: var(--bb-primary-color, #F36A28);
	box-shadow:
		0 0 0 1px var(--bb-primary-color, #F36A28),
		0 8px 30px rgba(243,106,40,0.12),
		0 2px 8px rgba(243,106,40,0.08);
	transform: translateY(-1px);
}

.syf-tab.active .syf-tab-glow {
	opacity: 1;
}

.syf-tab.active .syf-tab-icon-wrap {
	background: var(--bb-primary-color, #F36A28);
	color: #fff;
	box-shadow: 0 4px 12px rgba(243,106,40,0.3);
}

.syf-tab.active .syf-tab-icon-wrap svg {
	transform: scale(1.05);
}

.syf-tab.active .syf-tab-text {
	color: #18181b;
}

.syf-tab.active .syf-tab-desc {
	color: #71717a;
}

.syf-tab.active .syf-tab-arrow {
	color: var(--bb-primary-color, #F36A28);
	transform: translateX(2px);
}

/* Tab links — remove default anchor styling */
a.syf-tab {
	text-decoration: none !important;
	color: inherit;
}

a.syf-tab:hover {
	text-decoration: none !important;
}

/* ---- Sidebar Layout: Filters | Grid ---- */
.syf-panel-layout {
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 28px;
	padding: 0 24px;
	align-items: start;
}

.syf-panel-filters {
	position: sticky;
	top: 80px;
	background: #fff;
	border: 1px solid #e4e4e7;
	border-radius: 14px;
	padding: 16px 18px;
	box-shadow: 0 1px 4px rgba(0,0,0,0.04);
	max-height: calc(100vh - 100px);
	overflow-y: auto;
}

.syf-panel-grid {
	min-width: 0;
}

/* PiotnetGrid alignment */
.syf-panel-filters .piotnetgrid-facet__label {
	padding: 8px 0;
	border-bottom: 0.5px dashed rgba(0,0,0,0.12);
	margin-bottom: 0 !important;
}

.syf-panel-filters .ff label {
	padding-top: 2px !important;
	padding-bottom: 2px !important;
	font-size: 13px !important;
}

.syf-panel-filters .ffin {
	padding-top: 8px !important;
	padding-bottom: 8px !important;
}

.syf-panel-filters .ffimg {
	margin-right: 8px;
}

/* ---- Placeholder ---- */
.syf-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 380px;
	background: linear-gradient(145deg, #fafafa 0%, #f4f4f5 100%);
	border: 2px dashed #e4e4e7;
	border-radius: 20px;
	text-align: center;
	padding: 50px 30px;
}

.syf-placeholder-icon {
	color: #d4d4d8;
	margin-bottom: 20px;
}

.syf-placeholder h3 {
	font-size: 22px;
	font-weight: 700;
	color: #a1a1aa;
	margin: 0 0 8px;
}

.syf-placeholder p {
	font-size: 14px;
	color: #c4c4c4;
	max-width: 380px;
	line-height: 1.7;
	margin: 0;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
	.syf-programs-nav {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
		padding: 0 16px;
	}

	.syf-tab {
		min-height: 80px;
		padding: 16px;
	}

	.syf-panel-layout {
		grid-template-columns: 220px 1fr;
		gap: 20px;
		padding: 0 16px;
	}
}

@media (max-width: 600px) {
	.syf-programs-hub {
		padding: 16px 0 40px;
	}

	.syf-programs-nav {
		grid-template-columns: 1fr;
		gap: 10px;
		padding: 0 12px;
	}

	.syf-tab {
		min-height: auto;
		padding: 14px 16px;
	}

	.syf-tab-icon-wrap {
		width: 44px;
		height: 44px;
		min-width: 44px;
		border-radius: 12px;
	}

	.syf-tab-icon-wrap svg {
		width: 22px;
		height: 22px;
	}

	.syf-tab-text {
		font-size: 14px;
	}

	.syf-tab-desc {
		font-size: 11px;
	}

	.syf-tab-arrow {
		display: none;
	}

	.syf-panel-layout {
		grid-template-columns: 1fr;
		gap: 16px;
		padding: 0 12px;
	}

	.syf-panel-filters {
		position: static;
		max-height: none;
	}
}


/*--------------------------------------------------------------
  SYF Homepage
--------------------------------------------------------------*/

/* Full width — remove all container constraints */
.page-template-page-home #primary,
.page-template-page-home .bb-grid,
.page-template-page-home .bb-content-area-cell,
.page-template-page-home .site-content .container,
.page-template-page-home .site-content > .bb-grid {
	max-width: 100% !important;
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.syf-home {
	padding: 0 0 60px;
}

/* ---- Hero ---- */
.syf-home-hero {
	background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
	padding: 56px 48px 50px;
	margin-bottom: 0;
	position: relative;
	overflow: hidden;
}

.syf-home-hero::after {
	content: '';
	position: absolute;
	top: -40%;
	right: -5%;
	width: 500px;
	height: 500px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(242,104,39,0.12) 0%, transparent 70%);
	pointer-events: none;
}

.syf-home-hero-content {
	position: relative;
	z-index: 1;
	max-width: 700px;
}

.syf-home-title {
	font-family: "Poppins", sans-serif;
	font-size: 2.4rem;
	font-weight: 700;
	color: #fff;
	margin: 0 0 10px;
	line-height: 1.2;
}

.syf-home-subtitle {
	font-family: "Open Sans", sans-serif;
	font-size: 16px;
	color: rgba(255,255,255,0.65);
	margin: 0;
	font-weight: 400;
	line-height: 1.6;
}

/* ---- Quick Links ---- */
.syf-home-quicklinks {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	padding: 0 48px;
	margin-top: -28px;
	margin-bottom: 40px;
	position: relative;
	z-index: 2;
}

.syf-quicklink {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 20px 24px;
	background: #fff;
	border: 1px solid #e4e4e7;
	border-radius: 14px;
	text-decoration: none !important;
	color: inherit;
	transition: all 0.25s ease;
	box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.syf-quicklink:hover {
	border-color: #F26827;
	box-shadow: 0 4px 16px rgba(242,104,39,0.1);
	transform: translateY(-2px);
	text-decoration: none !important;
	color: inherit;
}

.syf-quicklink-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	min-width: 48px;
	border-radius: 12px;
	background: #FFF3ED;
	color: #F26827;
}

.syf-quicklink-title {
	font-family: "Poppins", sans-serif;
	font-size: 15px;
	font-weight: 700;
	color: #070707;
	display: block;
	line-height: 1.2;
}

.syf-quicklink-desc {
	font-family: "Open Sans", sans-serif;
	font-size: 12px;
	color: #999;
	display: block;
	margin-top: 2px;
}

/* ---- Course Section ---- */
.syf-home-courses {
	padding: 0 48px;
}

/* ---- BuddyBoss Course Cards Enhancement ---- */

/* Card hover */
.syf-home-courses .bb-course-items li .bb-cover-list-item {
	border-radius: 14px;
	overflow: hidden;
	transition: all 0.25s ease;
	border: 1px solid #e4e4e7;
}

.syf-home-courses .bb-course-items li .bb-cover-list-item:hover {
	box-shadow: 0 8px 24px rgba(0,0,0,0.08);
	transform: translateY(-3px);
}

/* Consistent image ratio */
.syf-home-courses .bb-course-items .bb-cover-wrap {
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.syf-home-courses .bb-course-items .bb-cover-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Card title */
.syf-home-courses .bb-course-items .bb-cover-list-item .bb-card-course-title h3 {
	font-family: "Poppins", sans-serif;
	font-weight: 600;
	font-size: 15px;
	line-height: 1.4;
}

/*--------------------------------------------------------------
  Course Single — "In Progress" Badge Fix
  Strip bloated theme styles, make it a clean small pill
--------------------------------------------------------------*/
.bb-course-status-content .ld-status.ld-status-progress.ld-primary-background {
	display: inline-flex !important;
	align-items: center !important;
	background: #F26827 !important;
	background-image: none !important;
	color: #fff !important;
	font-family: "Poppins", sans-serif !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	padding: 5px 14px !important;
	border-radius: 6px !important;
	letter-spacing: 0.4px !important;
	text-transform: uppercase !important;
	box-shadow: none !important;
	margin-bottom: 10px !important;
	line-height: 1.4 !important;
	min-height: auto !important;
	height: auto !important;
}

/*--------------------------------------------------------------
  Global Font Overrides — Poppins for headings, Open Sans for body
  Only target specific text elements. Never touch icons or plugins.
--------------------------------------------------------------*/

/* Headings — Poppins */
#page h1:not([class*="amelia"] h1),
#page h2:not([class*="amelia"] h2),
#page h3:not([class*="amelia"] h3),
#page h4:not([class*="amelia"] h4),
#page h5:not([class*="amelia"] h5),
#page h6:not([class*="amelia"] h6),
#page .bb-title,
#page .entry-title,
#page .entry-title a,
#page .bb-card-course-title,
#page .bb-card-course-title h3,
#page .bb-card-course-title a,
#page .ld-lesson-title,
#page .ld-topic-title,
#page .learndash-wrapper .ld-heading,
.syf-tab-text,
.syf-quicklink-title {
	font-family: "Poppins", sans-serif !important;
}

/* Navigation links — Poppins */
#page .main-navigation a,
#page .courses-type-navs a,
#page .bb-component-nav-item-point,
#page .component-navigation a,
#page .bb-cover-list-item .bb-card-course-title a,
#page .bb-course-title a,
.site-header .main-navigation a {
	font-family: "Poppins", sans-serif !important;
}

/* Body text — Open Sans (only specific text containers) */
#page p,
#page .ld-progress-stats,
#page .ld-progress-percentage,
#page .bb-card-course-meta,
.syf-tab-desc,
.syf-quicklink-desc,
#page .learndash-wrapper .ld-text {
	font-family: "Open Sans", sans-serif !important;
}

/* Buttons — Poppins */
#page .syf-prog-btn,
#page .syf-program-btn,
#page .gform_button,
#page .ld-button {
	font-family: "Poppins", sans-serif !important;
}

/*--------------------------------------------------------------
  Course Cards — Hide avatar/username, center text, style up
--------------------------------------------------------------*/

/* Hide avatar & author */
.bb-course-items .bb-card-course-details .bb-course-meta,
.bb-course-items .bb-card-course-details .bb-course-author,
.bb-course-items .avatar-wrap,
.bb-course-items .item-avatar,
.bb-course-items .bb-card-course-by {
	display: none !important;
}

/* Card container */
.bb-course-items > li .bb-cover-list-item {
	border: 1px solid #e4e4e7 !important;
	border-radius: 16px !important;
	overflow: hidden !important;
	background: #fff !important;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
	box-shadow: 0 1px 4px rgba(0,0,0,0.04) !important;
}

.bb-course-items > li .bb-cover-list-item:hover {
	box-shadow: 0 8px 28px rgba(0,0,0,0.1) !important;
	transform: translateY(-4px) !important;
	border-color: #d4d4d8 !important;
}

/* Image — consistent aspect ratio, sharp */
.bb-course-items .bb-cover-wrap {
	aspect-ratio: 16 / 10 !important;
	overflow: hidden !important;
	display: block !important;
}

.bb-course-items .bb-cover-wrap img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	display: block !important;
}

/* "In Progress" badge on cards */
.bb-course-items .bb-cover-wrap .ld-status {
	position: absolute !important;
	top: 12px !important;
	left: 12px !important;
	z-index: 2 !important;
	font-size: 10px !important;
	padding: 4px 12px !important;
	border-radius: 6px !important;
	background: #F26827 !important;
	background-image: none !important;
	box-shadow: none !important;
	min-height: auto !important;
	height: auto !important;
	line-height: 1.4 !important;
}

/* Card content area */
.bb-course-items .bb-card-course-details {
	text-align: center !important;
	padding: 18px 16px 20px !important;
}

/* Title */
.bb-course-items .bb-card-course-title {
	text-align: center !important;
	margin-bottom: 12px !important;
}

.bb-course-items .bb-card-course-title h3 {
	font-size: 15px !important;
	font-weight: 600 !important;
	line-height: 1.4 !important;
	margin: 0 !important;
}

/* Progress bar */
.bb-course-items .course-progress-wrap {
	text-align: center !important;
}

.bb-course-items .bb-progress {
	height: 5px !important;
	border-radius: 5px !important;
	background: #f0f0f0 !important;
}

.bb-course-items .bb-progress .bb-progress-bar {
	border-radius: 5px !important;
	background: #F26827 !important;
}

/* Meta (lessons, steps count) */
.bb-course-items .bb-course-meta-info {
	font-size: 12px !important;
	color: #999 !important;
	margin-top: 8px !important;
}

/*--------------------------------------------------------------
  Homepage Course Grid — Force 3 columns
--------------------------------------------------------------*/
.syf-home-courses .bb-course-items.grid-view {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr) !important;
	gap: 20px !important;
}

.syf-home-courses .bb-course-items.grid-view > li {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	flex: none !important;
}

@media (max-width: 768px) {
	.syf-home-courses .bb-course-items.grid-view {
		grid-template-columns: 1fr !important;
		gap: 16px !important;
	}
}

/* ---- Homepage Responsive ---- */
@media (max-width: 1024px) {
	.syf-home-hero { padding: 40px 28px 36px; }
	.syf-home-quicklinks { padding: 0 28px; margin-top: -24px; }
	.syf-home-courses { padding: 0 28px; }
}

@media (max-width: 768px) {
	.syf-home-hero { padding: 32px 20px 28px; }
	.syf-home-title { font-size: 1.6rem; }
	.syf-home-quicklinks {
		grid-template-columns: 1fr;
		gap: 10px;
		padding: 0 16px;
		margin-top: -20px;
	}
	.syf-home-courses { padding: 0 16px; }
}

/* Fix hero top spacing — flush to header */
.page-template-page-home .site-content {
	padding-top: 0 !important;
}
.page-template-page-home .bb-grid.site-content-grid {
	padding-top: 0 !important;
	margin-top: 0 !important;
}

/*--------------------------------------------------------------
  Program Single Page
--------------------------------------------------------------*/
.single-program #primary,
.single-speciality-program #primary {
	max-width: 100% !important;
	width: 100% !important;
}
.syf-prog { padding: 0; }

/* ---- Hero: Image left, info right ---- */
.syf-prog-banner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	background: #fafafa;
}

.syf-prog-banner-overlay {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f0f0f0;
	overflow: hidden;
}

.syf-prog-banner-overlay img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: contain;
}

.syf-prog-banner-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 20px;
	padding: 40px 40px 40px 36px;
}

.syf-prog-banner-content h1 {
	font-family: 'Poppins', sans-serif;
	font-size: 2rem;
	font-weight: 700;
	color: #070707;
	margin: 0;
	line-height: 1.25;
}

.syf-prog-banner-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.syf-prog-bpill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 14px;
	background: #FFF3ED;
	border-radius: 8px;
	color: #F26827;
	font-family: 'Poppins', sans-serif;
	font-size: 12px;
	font-weight: 600;
}

.syf-prog-bpill svg { color: #F26827; }

/* ---- Details section ---- */
.syf-prog-details {
	padding: 0;
}

.syf-prog-details-inner {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.syf-prog-desc {
	font-family: 'Open Sans', sans-serif;
	font-size: 15px;
	color: #555;
	line-height: 1.7;
}
.syf-prog-desc p { margin: 0; }

/* Equipment */
.syf-prog-equip-label {
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 14px;
	color: #070707;
	display: block;
	margin-bottom: 8px;
}
.syf-prog-equip-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.syf-prog-equip-tag {
	display: inline-block;
	padding: 6px 16px;
	background: #f4f4f5;
	color: #333;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	font-family: 'Poppins', sans-serif;
}

/* Buttons */
.syf-prog-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.syf-prog-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 28px;
	border-radius: 12px;
	font-family: 'Poppins', sans-serif;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none !important;
	cursor: pointer;
	transition: all 0.25s ease;
	border: 2px solid transparent;
}

.syf-prog-btn-primary {
	background: #F26827;
	color: #fff !important;
	border-color: #F26827;
	box-shadow: 0 4px 14px rgba(242,104,39,0.2);
}
.syf-prog-btn-primary:hover {
	background: #d95a20;
	border-color: #d95a20;
	color: #fff !important;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(242,104,39,0.35);
}

.syf-prog-btn-outline {
	background: #fff;
	color: #F26827 !important;
	border-color: #F26827;
}
.syf-prog-btn-outline:hover {
	background: #FFF3ED;
	color: #F26827 !important;
	transform: translateY(-2px);
}

/* ---- Popup (Assign Program) ---- */
.popup-overlay {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 999999;
	background: rgba(0,0,0,0.5);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	align-items: center;
	justify-content: center;
}

.popup-content {
	background: #fff;
	border-radius: 20px;
	padding: 0;
	max-width: 520px;
	width: 90%;
	position: relative;
	max-height: 90vh;
	overflow-y: visible;
	box-shadow: 0 20px 60px rgba(0,0,0,0.15);
	animation: popupSlideIn 0.3s ease;
}

@keyframes popupSlideIn {
	from { opacity: 0; transform: translateY(20px) scale(0.97); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

.popup-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 24px 28px 0;
}

.popup-header h3 {
	font-family: 'Poppins', sans-serif;
	font-size: 20px;
	font-weight: 700;
	color: #070707;
	margin: 0;
}

.popup-content .close-btn {
	font-size: 28px;
	cursor: pointer;
	color: #bbb;
	line-height: 1;
	transition: color 0.2s;
	background: none;
	border: none;
}
.popup-content .close-btn:hover { color: #333; }

.popup-subtitle {
	font-family: 'Open Sans', sans-serif;
	font-size: 13px;
	color: #999;
	margin: 4px 0 0;
	padding: 0 28px 20px;
	border-bottom: 1px solid #f0f0f0;
}

.popup-form-wrap { padding: 20px 28px 24px; }
.popup-form-wrap .gform_wrapper { margin: 0 !important; }
.popup-form-wrap .gform_wrapper input[type="text"],
.popup-form-wrap .gform_wrapper input[type="email"],
.popup-form-wrap .gform_wrapper input[type="date"],
.popup-form-wrap .gform_wrapper select {
	border: 1px solid #e4e4e7 !important;
	border-radius: 10px !important;
	padding: 12px 14px !important;
	font-family: 'Open Sans', sans-serif !important;
	font-size: 14px !important;
}
.popup-form-wrap .gform_wrapper input:focus,
.popup-form-wrap .gform_wrapper select:focus {
	border-color: #F26827 !important;
	box-shadow: 0 0 0 3px rgba(242,104,39,0.1) !important;
}
.popup-form-wrap .gform_wrapper .gform_button,
.popup-form-wrap .gform_wrapper input[type="submit"] {
	background: #F26827 !important;
	color: #fff !important;
	border: none !important;
	border-radius: 10px !important;
	padding: 12px 24px !important;
	font-family: 'Poppins', sans-serif !important;
	font-weight: 600 !important;
	font-size: 14px !important;
	cursor: pointer !important;
	width: 100% !important;
}
.popup-form-wrap .gform_wrapper .gform_button:hover {
	background: #d95a20 !important;
}

/* Date picker z-index fix */
.ui-datepicker,
.gform_wrapper .ui-datepicker,
#ui-datepicker-div {
	z-index: 9999999 !important;
}

/* Current programs list in popup */
#copup-list { padding: 0 28px 24px; }
.copup-header h3 { font-family: 'Poppins', sans-serif; font-size: 16px; font-weight: 700; color: #070707; margin: 0 0 4px; }
.copup-header .info-box { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #999; margin-bottom: 12px; }
.copup-header .info-icon { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 50%; background: #f0f0f0; font-size: 10px; font-weight: 700; color: #999; }
.copup-item { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid #f5f5f5; }
.copup-item .title { font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 600; color: #333; margin: 0; }
.copup-item .dates { font-size: 11px; color: #999; margin: 2px 0 0; }
.copup-item .toggle-btn { background: none; border: 1px solid #e74c3c; color: #e74c3c; font-family: 'Poppins', sans-serif; font-size: 11px; font-weight: 600; padding: 5px 14px; border-radius: 6px; cursor: pointer; }
.copup-item .toggle-btn:hover { background: #e74c3c; color: #fff; }

/* ---- Preview overlay (slide-in panel) ---- */
.workout-program-container {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.5);
	overflow-y: auto;
	justify-content: center;
	align-items: center;
	z-index: 99999;
}

.workout-program-section {
	position: absolute;
	right: 0;
	top: 0;
	width: 50%;
	max-width: 640px;
	padding: 32px 24px;
	height: 100%;
	background: #fff;
	box-shadow: -4px 0 30px rgba(0,0,0,0.15);
	overflow-y: auto;
	transform: translateX(100%);
	transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}

.workout-program-container.visible .workout-program-section,
.workout-program-section.visible {
	transform: translateX(0);
}

/* Preview header */
.workout-program-section .btn-text { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; }
.workout-program-section .content-title { margin-bottom: 0; }
.workout-program-section .content-title .title-shape { position: absolute; z-index: -1; max-width: 50px; }
.workout-program-section .content-title .title-shape img { width: 100%; }
.workout-program-section .content-title h2 { font-family: 'Poppins', sans-serif; font-size: 24px; font-weight: 700; color: #070707; margin: 0; }
.workout-program-section .close-overlay { cursor: pointer; padding: 8px; }
.workout-program-section .close-overlay img { width: 20px; }
.workout-program-section .requ-equi { display: none; }

/* Loading */
.workout-program-section .loading-container { text-align: center; padding: 40px 0; }
.workout-program-section .loading-spinner { width: 40px; height: 40px; border: 3px solid #f0f0f0; border-top-color: #F26827; border-radius: 50%; animation: spin 0.8s linear infinite; margin: 0 auto 12px; }
@keyframes spin { to { transform: rotate(360deg); } }
.workout-program-section .loading-container h4 { font-family: 'Poppins', sans-serif; font-size: 14px; color: #999; font-weight: 500; }

/* Accordion */
.workout-program-section .accordion { padding: 0; }
.workout-program-section .accordion-item { margin-bottom: 8px; border-radius: 10px; overflow: hidden; border: 1px solid #f0f0f0; }
.workout-program-section .accordion-header { width: 100%; background: #fafafa; color: #333; border: none; text-align: left; padding: 14px 16px; cursor: pointer; font-size: 15px; font-family: 'Poppins', sans-serif; font-weight: 600; display: flex; justify-content: space-between; align-items: center; border-bottom: none; border-radius: 0; }
.workout-program-section .accordion-header:hover { background: #f4f4f5; }
.workout-program-section .accordion-header span.title { color: #F26827; font-size: 15px; font-weight: 600; }
.workout-program-section .accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; padding: 0 16px; }
.workout-program-section .triangle-down { width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 8px solid #F26827; }
.workout-program-section .triangle-down.triangle-up { border-top: 0; border-bottom: 8px solid #F26827; }

/* Accordion card + table */
.workout-program-section .card-wrapper { display: flex; border-radius: 10px; background: #fafafa; margin: 12px 0; border: 1px solid #f0f0f0; }
.workout-program-section .card-wrapper .equipments-section { width: 60%; padding: 14px; border-right: 1px solid #f0f0f0; }
.workout-program-section .card-wrapper .estimated-time-section { width: 40%; padding: 14px; }
.workout-program-section .card-wrapper .section-title { display: flex; align-items: center; margin-bottom: 6px; }
.workout-program-section .card-wrapper .section-title .icon-img { width: 20px; height: 20px; margin-right: 10px; }
.workout-program-section .card-wrapper .section-title .icon-img img { max-width: 100%; }
.workout-program-section .card-wrapper .section-title h5 { font-size: 13px; font-weight: 600; font-family: 'Poppins', sans-serif; margin: 0; }
.workout-program-section .card-wrapper .content-list { margin-left: 30px; font-size: 13px; color: #666; }
.workout-program-section .card-wrapper .content-list p { margin: 0; }

.workout-program-section .table-content { padding-bottom: 12px; }
.workout-program-section .table-content table { background: #fff; width: 100%; border-collapse: collapse; border: 1px solid #f0f0f0; border-radius: 8px; overflow: hidden; font-size: 13px; }
.workout-program-section .table-content table th { padding: 10px 12px; background: #fafafa; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 12px; color: #999; text-transform: uppercase; border-bottom: 1px solid #f0f0f0; }
.workout-program-section .table-content table td { padding: 10px 12px; border-bottom: 1px solid #f8f8f8; }
.workout-program-section .table-content table td .wrap-content { display: flex; align-items: center; gap: 10px; }
.workout-program-section .table-content table td p { margin: 0; font-size: 13px; }
.workout-program-section .table-content table td.day-1 { text-align: center; font-weight: 700; color: #F26827; }
.workout-program-section .profile-icon { width: 28px; height: 28px; min-width: 28px; border-radius: 6px; overflow: hidden; }
.workout-program-section .profile-icon img { width: 100%; height: 100%; object-fit: cover; }
.text-left { text-align: left; }
.text-center { text-align: center; }

/* Responsive */
@media (max-width: 768px) {
	.syf-prog-banner { grid-template-columns: 1fr; }
	.syf-prog-banner-overlay { max-height: 300px; }
	.syf-prog-banner-content { padding: 24px 16px; }
	.syf-prog-banner-content h1 { font-size: 1.5rem; }
	.syf-prog-actions { flex-direction: column; }
	.syf-prog-btn { justify-content: center; width: 100%; }
	.popup-content { width: 95%; }
	.workout-program-section { width: 90%; max-width: none; }
}

/*--------------------------------------------------------------
  Docs / Knowledge Base Page
--------------------------------------------------------------*/
.post-type-archive-docs #primary {
	max-width: 100% !important;
	width: 100% !important;
}

.syf-docs {
	padding: 0 0 60px;
}

/* Header */
.syf-docs-header {
	text-align: center;
	padding: 48px 24px 36px;
	background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
	position: relative;
	overflow: hidden;
}

.syf-docs-header::after {
	content: '';
	position: absolute;
	bottom: -80px;
	right: -40px;
	width: 300px;
	height: 300px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(242,104,39,0.12) 0%, transparent 70%);
	pointer-events: none;
}

.syf-docs-header h1 {
	font-family: 'Poppins', sans-serif;
	font-size: 2rem;
	font-weight: 700;
	color: #fff;
	margin: 0 0 8px;
	position: relative;
	z-index: 1;
}

.syf-docs-header p {
	font-family: 'Open Sans', sans-serif;
	font-size: 15px;
	color: rgba(255,255,255,0.7);
	margin: 0 0 24px;
	position: relative;
	z-index: 1;
}

.syf-docs-search {
	max-width: 520px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

/* Override BetterDocs search styling within our header */
.syf-docs-search .betterdocs-searchform {
	display: flex;
	gap: 0;
}

.syf-docs-search .betterdocs-searchform input[type="search"],
.syf-docs-search .betterdocs-searchform input[type="text"] {
	flex: 1;
	border: none !important;
	border-radius: 12px 0 0 12px !important;
	padding: 14px 18px !important;
	font-family: 'Open Sans', sans-serif !important;
	font-size: 14px !important;
	background: #fff !important;
}

.syf-docs-search .betterdocs-searchform button,
.syf-docs-search .betterdocs-searchform input[type="submit"] {
	background: #F26827 !important;
	color: #fff !important;
	border: none !important;
	border-radius: 0 12px 12px 0 !important;
	padding: 14px 24px !important;
	font-family: 'Poppins', sans-serif !important;
	font-weight: 600 !important;
	cursor: pointer !important;
}

/* BetterDocs brand color override — orange instead of blue */
.betterdocs-wrapper .betterdocs-category-icon .betterdocs-category-icon-img,
.betterdocs-wrapper .betterdocs-single-category-wrapper .betterdocs-category-header-inner .betterdocs-category-icon {
	color: #F26827 !important;
}

.betterdocs-wrapper a:hover,
.betterdocs-wrapper .betterdocs-category-title a:hover,
.betterdocs-wrapper .betterdocs-articles-list li a:hover {
	color: #F26827 !important;
}

.betterdocs-wrapper .betterdocs-footer a,
.betterdocs-wrapper .betterdocs-footer a:hover {
	color: #F26827 !important;
}

/* Search button */
.betterdocs-wrapper .betterdocs-searchform button,
.betterdocs-wrapper .betterdocs-search-form-wrap .search-submit,
.betterdocs-search-modal .betterdocs-search-layout-1 button {
	background: #F26827 !important;
	border-color: #F26827 !important;
}

/* Category count badge */
.betterdocs-wrapper .betterdocs-category-items-counts span {
	color: #F26827 !important;
}

/* Breadcrumb active */
.betterdocs-wrapper .betterdocs-breadcrumb .current,
.betterdocs-wrapper .betterdocs-breadcrumb a:hover {
	color: #F26827 !important;
}

/* Sidebar active */
.betterdocs-wrapper .betterdocs-sidebar-content .current_page_item > a,
.betterdocs-wrapper .betterdocs-sidebar-content .active-doc a {
	color: #F26827 !important;
}

/* Grid area */
.syf-docs-grid {
	padding: 32px 24px 0;
}

/* BetterDocs category grid cards */
.syf-docs-grid .betterdocs-category-grid-inner-wrapper {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr) !important;
	gap: 24px !important;
}

.syf-docs-grid .betterdocs-single-category-wrapper {
	background: #fff !important;
	border: 1px solid #e4e4e7 !important;
	border-radius: 16px !important;
	padding: 28px 24px !important;
	transition: all 0.25s ease !important;
	box-shadow: 0 1px 4px rgba(0,0,0,0.04) !important;
}

.syf-docs-grid .betterdocs-single-category-wrapper:hover {
	box-shadow: 0 8px 24px rgba(0,0,0,0.08) !important;
	transform: translateY(-3px) !important;
}

/* Category icon */
.syf-docs-grid .betterdocs-category-icon {
	margin-bottom: 16px !important;
}

.syf-docs-grid .betterdocs-category-icon img {
	width: 48px !important;
	height: 48px !important;
}

/* Category title */
.syf-docs-grid .betterdocs-category-title {
	font-family: 'Poppins', sans-serif !important;
	font-size: 18px !important;
	font-weight: 700 !important;
	color: #070707 !important;
	margin-bottom: 4px !important;
}

.syf-docs-grid .betterdocs-category-title a {
	color: #070707 !important;
	text-decoration: none !important;
}

.syf-docs-grid .betterdocs-category-title a:hover {
	color: #F26827 !important;
}

/* Article count */
.syf-docs-grid .betterdocs-category-items-counts {
	font-family: 'Open Sans', sans-serif !important;
	font-size: 13px !important;
	color: #999 !important;
	margin-bottom: 14px !important;
}

/* Article list */
.syf-docs-grid .betterdocs-body .betterdocs-articles-list {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

.syf-docs-grid .betterdocs-body .betterdocs-articles-list li {
	margin: 0 !important;
	padding: 0 !important;
}

.syf-docs-grid .betterdocs-body .betterdocs-articles-list li a {
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
	padding: 8px 0 !important;
	font-family: 'Open Sans', sans-serif !important;
	font-size: 14px !important;
	color: #555 !important;
	text-decoration: none !important;
	border-bottom: 1px solid #f5f5f5 !important;
	transition: color 0.2s !important;
}

.syf-docs-grid .betterdocs-body .betterdocs-articles-list li a:hover {
	color: #F26827 !important;
}

.syf-docs-grid .betterdocs-body .betterdocs-articles-list li:last-child a {
	border-bottom: none !important;
}

/* Explore more button */
.syf-docs-grid .betterdocs-footer a {
	display: inline-flex !important;
	align-items: center !important;
	gap: 4px !important;
	font-family: 'Poppins', sans-serif !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	color: #F26827 !important;
	text-decoration: none !important;
	margin-top: 12px !important;
}

.syf-docs-grid .betterdocs-footer a:hover {
	text-decoration: underline !important;
}

/* Responsive */
@media (max-width: 768px) {
	.syf-docs-grid .betterdocs-category-grid-inner-wrapper {
		grid-template-columns: 1fr !important;
		gap: 16px !important;
	}

	.syf-docs-header {
		padding: 32px 16px 28px;
	}

	.syf-docs-header h1 {
		font-size: 1.5rem;
	}

	.syf-docs-grid {
		padding: 20px 16px 0;
	}
}

/*--------------------------------------------------------------
  My Account Page (page-id-1810)
--------------------------------------------------------------*/

/* Icon box cards — clean up */
.page-id-1810 .elementor-icon-box-wrapper {
	border: 1px solid #e4e4e7 !important;
	border-radius: 14px !important;
	padding: 22px 18px !important;
	transition: all 0.25s ease !important;
	box-shadow: 0 1px 4px rgba(0,0,0,0.04) !important;
	background: #fff !important;
}

.page-id-1810 .elementor-icon-box-wrapper:hover {
	box-shadow: 0 6px 20px rgba(0,0,0,0.08) !important;
	transform: translateY(-2px) !important;
	border-color: #F26827 !important;
}

/* Icon styling */
.page-id-1810 .elementor-icon-box-icon .elementor-icon {
	background: #FFF3ED !important;
	color: #F26827 !important;
	border: none !important;
	border-radius: 12px !important;
}

.page-id-1810 .elementor-icon-box-icon .elementor-icon i {
	color: #F26827 !important;
}

/* Card title */
.page-id-1810 .elementor-icon-box-title {
	font-family: 'Poppins', sans-serif !important;
	font-weight: 600 !important;
}

.page-id-1810 .elementor-icon-box-description {
	font-family: 'Open Sans', sans-serif !important;
	font-size: 13px !important;
	color: #888 !important;
}

/*--------------------------------------------------------------
  Hide Instructors dropdown from courses
--------------------------------------------------------------*/
#sfwd_instructors-order-by,
.sfwd-courses-filters .select-wrap:has(#sfwd_instructors-order-by) {
	display: none !important;
}

/* Hide grid/list view toggle on courses page */
.grid-filters {
	display: none !important;
}

/* Hide page title on Book a Call page */
.page-id-7523 .entry-title,
.page-id-7523 .entry-header {
	display: none !important;
}
