/**
 * EduNexa — ادونکسا
 * Classes Schedule, AJAX Filters, Popup Modal & Draggable Mobile Bottom Sheet Stylesheet
 *
 * @package EduNexa
 * @author  امیر حسین بناوند (Amir Hossein Banavand)
 * @link    https://npocto.ir
 * @version 1.1.0
 */

/* ==========================================================================
   1. Page Layout & Header Card
   ========================================================================== */
.Edu-classes-schedule-page,
.Edu-classes-schedule-embedded {
	padding: 40px 0 80px 0;
	direction: rtl;
	text-align: right;
	font-family: var(--e-global-typography-primary-font-family, var(--edu-font-sans, system-ui, -apple-system, 'Vazirmatn', sans-serif));
}

/* ==========================================================================
   Breadcrumb Navigation Component (Responsive & Styled)
   ========================================================================== */
.Edu-breadcrumb {
	margin-bottom: 20px;
}

.Edu-breadcrumb-list {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	padding: 6px 16px;
	margin: 0;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 999px;
	font-size: 0.82rem;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.Edu-breadcrumb-item {
	display: inline-flex;
	align-items: center;
	color: #64748b;
	font-weight: 600;
}

.Edu-breadcrumb-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #64748b;
	text-decoration: none;
	transition: all 0.2s ease;
}

.Edu-breadcrumb-link:hover {
	color: #FAB237;
}

.Edu-breadcrumb-link svg {
	width: 14px;
	height: 14px;
	stroke: currentColor;
}

.Edu-breadcrumb-separator {
	color: #cbd5e1;
	font-size: 0.85rem;
	user-select: none;
	display: inline-flex;
	align-items: center;
}

.Edu-breadcrumb-separator svg {
	width: 11px;
	height: 11px;
	stroke: #94a3b8;
}

.Edu-breadcrumb-current {
	color: #1e293b;
	font-weight: 800;
}

.Edu-schedule-header-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 20px;
	padding: 32px 36px;
	margin-bottom: 28px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
	position: relative;
	overflow: hidden;
}

.Edu-schedule-header-card::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 4px;
	background: linear-gradient(90deg, #FAB237, #e59d22);
}

.Edu-schedule-header-main {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-top: 14px;
	flex-wrap: wrap;
}

.Edu-schedule-header-text {
	flex: 1;
	min-width: 300px;
}

.Edu-schedule-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(250, 178, 55, 0.12);
	color: #925c00;
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 700;
	margin-bottom: 12px;
}

.Edu-badge-dot {
	width: 8px;
	height: 8px;
	background: #FAB237;
	border-radius: 50%;
	display: inline-block;
}

.Edu-schedule-title {
	font-size: 1.85rem;
	font-weight: 800;
	color: #1e293b;
	margin: 0 0 10px 0;
	line-height: 1.4;
}

.Edu-schedule-lead {
	font-size: 0.95rem;
	line-height: 1.85;
	color: #64748b;
	margin: 0;
	max-width: 720px;
}

.Edu-schedule-stats-bento {
	display: flex;
	align-items: center;
	gap: 12px;
}

.Edu-stat-pill {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 12px 18px;
	text-align: center;
	min-width: 90px;
	transition: all 0.25s ease;
}

.Edu-stat-pill:hover {
	transform: translateY(-2px);
	border-color: #cbd5e1;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.Edu-stat-pill-gold {
	background: rgba(250, 178, 55, 0.08);
	border-color: rgba(250, 178, 55, 0.3);
}

.Edu-stat-number {
	display: block;
	font-size: 1.4rem;
	font-weight: 800;
	color: #1e293b;
	line-height: 1.2;
}

.Edu-stat-pill-gold .Edu-stat-number {
	color: #925c00;
}

.Edu-stat-label {
	display: block;
	font-size: 0.75rem;
	color: #64748b;
	margin-top: 4px;
	font-weight: 600;
}

/* ==========================================================================
   2. Desktop Filters & Search Toolbar
   ========================================================================== */
.Edu-schedule-filters-wrap {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 18px;
	padding: 20px 24px;
	margin-bottom: 24px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.Edu-filters-top-bar {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	padding-bottom: 18px;
	border-bottom: 1px solid #f1f5f9;
}

.Edu-search-input-wrap {
	flex: 1;
	min-width: 240px;
	position: relative;
	display: flex;
	align-items: center;
}

.Edu-search-input-wrap .Edu-search-icon {
	position: absolute;
	right: 14px;
	color: #94a3b8;
	pointer-events: none;
	display: inline-flex;
}

.Edu-classes-search-field {
	width: 100%;
	padding: 11px 40px 11px 36px;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	font-size: 0.92rem;
	color: #1e293b;
	background: #f8fafc;
	transition: all 0.2s ease;
	outline: none;
	box-sizing: border-box;
}

.Edu-classes-search-field:focus {
	background: #ffffff;
	border-color: #FAB237;
	box-shadow: 0 0 0 3px rgba(250, 178, 55, 0.2);
}

.Edu-search-clear-btn {
	position: absolute;
	left: 10px;
	background: #e2e8f0;
	color: #64748b;
	border: none;
	border-radius: 50%;
	width: 20px;
	height: 20px;
	font-size: 11px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	transition: all 0.2s ease;
}

.Edu-search-clear-btn:hover {
	background: #cbd5e1;
	color: #1e293b;
}

.Edu-filter-select-wrap {
	min-width: 160px;
}

.Edu-filter-select {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	background: #f8fafc;
	color: #334155;
	font-size: 0.88rem;
	font-weight: 600;
	outline: none;
	cursor: pointer;
	transition: all 0.2s ease;
}

.Edu-filter-select:focus {
	background: #ffffff;
	border-color: #FAB237;
	box-shadow: 0 0 0 3px rgba(250, 178, 55, 0.2);
}

/* Desktop Toggle Available Switch */
.Edu-filter-toggle-wrap {
	display: flex;
	align-items: center;
}

.Edu-desktop-toggle-label {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	user-select: none;
}

.Edu-desktop-toggle-label input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.Edu-toggle-slider-sm {
	position: relative;
	width: 42px;
	height: 24px;
	background: #cbd5e1;
	border-radius: 999px;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	display: inline-block;
}

.Edu-toggle-slider-sm::after {
	content: '';
	position: absolute;
	top: 3px;
	right: 3px;
	width: 18px;
	height: 18px;
	background: #ffffff;
	border-radius: 50%;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.Edu-desktop-toggle-label input:checked + .Edu-toggle-slider-sm {
	background: #222733;
}

.Edu-desktop-toggle-label input:checked + .Edu-toggle-slider-sm::after {
	transform: translateX(-18px);
	background: #FAB237;
}

.Edu-toggle-text {
	font-size: 0.86rem;
	font-weight: 700;
	color: #475569;
}

/* Department Tabs Row */
.Edu-departments-tabs-bar {
	margin-top: 16px;
	overflow: hidden;
}

.Edu-departments-tabs-scroll {
	display: flex;
	align-items: center;
	gap: 8px;
	overflow-x: auto;
	padding-bottom: 4px;
	scrollbar-width: thin;
	scrollbar-color: #cbd5e1 transparent;
}

.Edu-dept-tab-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	border-radius: 999px;
	background: #f1f5f9;
	color: #475569;
	border: 1px solid #e2e8f0;
	font-size: 0.85rem;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.Edu-dept-tab-btn:hover {
	background: #e2e8f0;
	color: #1e293b;
}

.Edu-dept-tab-btn.is-active {
	background: #222733;
	color: #FAB237;
	border-color: #222733;
	box-shadow: 0 4px 12px rgba(34, 39, 51, 0.2);
}

.Edu-dept-tab-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.08);
	color: inherit;
	font-size: 0.72rem;
	font-weight: 800;
}

.Edu-dept-tab-btn.is-active .Edu-dept-tab-count {
	background: rgba(250, 178, 55, 0.2);
	color: #FAB237;
}

/* ==========================================================================
   3. Classes Table Structure & Design
   ========================================================================== */
.Edu-schedule-table-container {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 20px;
	padding: 24px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
	position: relative;
}

.Edu-schedule-table-top-info {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
	font-size: 0.88rem;
	color: #64748b;
}

.Edu-classes-count-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	padding: 6px 14px;
	border-radius: 999px;
	font-weight: 700;
	color: #334155;
}

.Edu-classes-count-badge span:first-child {
	color: #FAB237;
	font-size: 1rem;
	font-weight: 800;
}

.Edu-classes-table-scroll-wrap {
	overflow-x: auto;
	border-radius: 12px;
	border: 1px solid #e2e8f0;
}

.Edu-classes-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.92rem;
	text-align: right;
	font-family: inherit;
}

.Edu-classes-table th {
	background: #222733;
	color: #f8fafc;
	font-weight: 800;
	padding: 16px 16px;
	font-size: 0.86rem;
	letter-spacing: -0.01em;
	white-space: nowrap;
	border: none;
	border-bottom: 3px solid #FAB237;
	text-align: center;
}

.Edu-classes-table th.Edu-th-title {
	text-align: right;
	padding-right: 20px;
}

/* Vertical column dividers in header */
.Edu-classes-table th + th {
	border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.Edu-classes-table th:first-child {
	border-top-right-radius: 11px;
}

.Edu-classes-table th:last-child {
	border-top-left-radius: 11px;
}

.Edu-classes-table td {
	padding: 16px 16px;
	border-bottom: 1px solid #e2e8f0;
	vertical-align: middle;
	color: #334155;
	transition: background 0.2s ease;
	text-align: center;
}

.Edu-classes-table td.Edu-class-col-title {
	text-align: right;
	padding-right: 20px;
}

/* Vertical column dividers between table body cells */
.Edu-classes-table td + td {
	border-right: 1px solid #f1f5f9;
}

/* Alternating zebra row tint */
.Edu-class-row:nth-child(even) td {
	background: #fafbfc;
}

.Edu-class-row:hover td {
	background: #f8fafc;
}

.Edu-class-row:last-child td {
	border-bottom: none;
}

/* Centered components inside table cells */
.Edu-class-col-branch .Edu-class-branch-tag,
.Edu-class-col-date .Edu-class-date-cell,
.Edu-class-col-days .Edu-class-schedule-cell,
.Edu-class-col-fee .Edu-class-fee-cell,
.Edu-class-col-actions .Edu-class-actions-wrap {
	margin: 0 auto;
	justify-content: center;
}

.Edu-capacity-cell {
	align-items: center;
	text-align: center;
}

.Edu-capacity-cell .Edu-class-status-badge {
	align-self: center;
}

/* Column 1: Title Wrap & Dept Badge */
.Edu-class-title-wrap {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.Edu-class-dept-badge {
	display: inline-block;
	align-self: flex-start;
	font-size: 0.72rem;
	font-weight: 700;
	color: #925c00;
	background: rgba(250, 178, 55, 0.12);
	border: 1px solid rgba(250, 178, 55, 0.3);
	padding: 2px 8px;
	border-radius: 6px;
}

.Edu-class-name {
	font-size: 0.98rem;
	font-weight: 800;
	color: #1e293b;
	margin: 0;
	line-height: 1.45;
}

.Edu-class-name a {
	color: #1e293b;
	text-decoration: none;
	transition: color 0.2s ease;
}

.Edu-class-name a:hover {
	color: #FAB237;
}

/* Column 2: Branch Tag */
.Edu-class-branch-tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.85rem;
	font-weight: 600;
	color: #475569;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	padding: 4px 10px;
	border-radius: 8px;
	white-space: nowrap;
}

.Edu-class-branch-tag svg {
	width: 14px;
	height: 14px;
	color: #64748b;
}

/* Column 3: Start Date */
.Edu-class-date-cell {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
	font-size: 0.88rem;
	color: #1e293b;
}

.Edu-date-icon svg {
	width: 15px;
	height: 15px;
	color: #925c00;
}

/* Column 4: Schedule Days */
.Edu-class-schedule-cell {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.86rem;
	color: #475569;
}

.Edu-time-icon svg {
	width: 14px;
	height: 14px;
	color: #64748b;
}

/* Column 5: Duration */
.Edu-class-duration-pill {
	display: inline-block;
	font-size: 0.82rem;
	font-weight: 700;
	color: #334155;
	background: #f1f5f9;
	padding: 4px 10px;
	border-radius: 6px;
	white-space: nowrap;
}

/* Column 6: Capacity & Status */
.Edu-capacity-cell {
	display: flex;
	flex-direction: column;
	gap: 4px;
	white-space: nowrap;
}

.Edu-class-status-badge {
	display: inline-block;
	align-self: flex-start;
	font-size: 0.72rem;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: 6px;
}

.Edu-class-status-open {
	background: #dcfce7;
	color: #15803d;
	border: 1px solid #bbf7d0;
}

.Edu-class-status-full {
	background: #fee2e2;
	color: #b91c1c;
	border: 1px solid #fecaca;
}

.Edu-class-status-soon {
	background: #fef3c7;
	color: #92400e;
	border: 1px solid #fde68a;
}

.Edu-capacity-num {
	font-size: 0.76rem;
	color: #64748b;
}

/* Column 7: Tuition Fee */
.Edu-class-fee-cell {
	white-space: nowrap;
}

.Edu-fee-old {
	font-size: 0.76rem;
	color: #94a3b8;
	text-decoration: line-through;
	margin-left: 4px;
}

.Edu-fee-current {
	font-size: 0.98rem;
	font-weight: 800;
	color: #059669;
	display: block;
}

.Edu-fee-free {
	font-size: 0.95rem;
	font-weight: 800;
	color: #059669;
}

/* Column 8: Action Buttons */
.Edu-class-actions-wrap {
	display: flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
}

/* Teal Register Button (Matching user screenshot #388373) */
.Edu-btn-class-register {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 16px;
	border-radius: 8px;
	background: #388373;
	color: #ffffff;
	font-size: 0.85rem;
	font-weight: 700;
	text-decoration: none;
	border: none;
	cursor: pointer;
	box-shadow: 0 4px 10px rgba(56, 131, 115, 0.25);
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.Edu-btn-class-register:hover {
	background: #2d6b5e;
	transform: translateY(-1px);
	box-shadow: 0 6px 14px rgba(56, 131, 115, 0.35);
	color: #ffffff;
}

.Edu-btn-class-register.is-disabled {
	background: #94a3b8;
	box-shadow: none;
	cursor: not-allowed;
	opacity: 0.7;
}

.Edu-btn-class-details {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 7px 12px;
	border-radius: 8px;
	background: #f8fafc;
	color: #334155;
	border: 1px solid #cbd5e1;
	font-size: 0.82rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
}

.Edu-btn-class-details:hover {
	background: #222733;
	color: #FAB237;
	border-color: #222733;
}

/* ==========================================================================
   4. Loading Spinner Overlay
   ========================================================================== */
.Edu-table-loading-overlay {
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(3px);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	z-index: 50;
	border-radius: 20px;
	gap: 12px;
}

.Edu-spinner-pulse {
	width: 44px;
	height: 44px;
	border: 4px solid #f1f5f9;
	border-top-color: #FAB237;
	border-radius: 50%;
	animation: EduSpin 0.8s linear infinite;
}

.Edu-loading-text {
	font-size: 0.9rem;
	font-weight: 700;
	color: #222733;
}

@keyframes EduSpin {
	to { transform: rotate(360deg); }
}

body.Edu-modal-open {
	overflow: hidden !important;
}

/* ==========================================================================
   5. Class Details Popup Modal (Matching Image 1)
   ========================================================================== */
.Edu-class-modal {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	direction: rtl;
	text-align: right;
}

.Edu-class-modal[hidden] {
	display: none !important;
}

.Edu-class-modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.75);
	backdrop-filter: blur(6px);
	transition: opacity 0.3s ease;
}

.Edu-class-modal-container {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 440px;
	margin: auto;
	animation: EduModalPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes EduModalPop {
	0% { opacity: 0; transform: scale(0.92) translateY(15px); }
	100% { opacity: 1; transform: scale(1) translateY(0); }
}

.Edu-class-modal-card {
	background: #ffffff;
	border-radius: 24px;
	padding: 28px 24px;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
	position: relative;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.Edu-class-modal-close {
	position: absolute;
	top: 18px;
	left: 18px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #f1f5f9;
	border: 1px solid #e2e8f0;
	color: #64748b;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	transition: all 0.2s ease;
}

.Edu-class-modal-close:hover {
	background: #fee2e2;
	color: #dc2626;
	border-color: #fecaca;
	transform: rotate(90deg);
}

.Edu-class-modal-close svg {
	width: 16px;
	height: 16px;
}

.Edu-class-modal-header {
	text-align: right;
	margin-bottom: 22px;
	padding-left: 40px;
}

.Edu-class-modal-badge {
	display: inline-block;
	background: #4338ca;
	color: #ffffff;
	font-size: 0.76rem;
	font-weight: 800;
	padding: 4px 10px;
	border-radius: 6px;
	margin-bottom: 8px;
}

.Edu-class-modal-title {
	font-size: 1.35rem;
	font-weight: 900;
	color: #4338ca;
	margin: 0;
	line-height: 1.45;
}

/* Rows Inside Modal (Matching image 1 lines) */
.Edu-class-info-rows {
	display: flex;
	flex-direction: column;
	gap: 0;
	border-top: 1px solid #f1f5f9;
}

.Edu-class-info-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 13px 4px;
	border-bottom: 1px solid #f1f5f9;
	font-size: 0.92rem;
}

.Edu-info-label {
	color: #4338ca;
	font-weight: 800;
	font-size: 0.88rem;
}

.Edu-info-value {
	color: #4338ca;
	font-weight: 800;
	font-size: 0.94rem;
	text-align: left;
	direction: ltr;
}

.Edu-info-fee-highlight {
	color: #4338ca;
	font-size: 1.05rem;
	font-weight: 900;
}

.Edu-class-modal-notes {
	margin-top: 14px;
	background: #f8fafc;
	border-radius: 10px;
	padding: 12px 14px;
	font-size: 0.84rem;
	color: #475569;
	line-height: 1.7;
}

.Edu-class-modal-notes p {
	margin: 0;
}

/* Modal Footer & Teal Big Register Button */
.Edu-class-modal-footer {
	margin-top: 24px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.Edu-btn-modal-register {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 14px 20px;
	border-radius: 12px;
	background: #388373; /* Match User Screenshot */
	color: #ffffff;
	font-size: 1.05rem;
	font-weight: 800;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 6px 18px rgba(56, 131, 115, 0.35);
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	box-sizing: border-box;
}

.Edu-btn-modal-register:hover {
	background: #2a6458;
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(56, 131, 115, 0.45);
	color: #ffffff;
}

.Edu-link-course-page {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	color: #64748b;
	font-size: 0.82rem;
	font-weight: 700;
	text-decoration: none;
	transition: color 0.2s ease;
	margin-top: 2px;
}

.Edu-link-course-page:hover {
	color: #FAB237;
}

.Edu-link-course-page svg {
	width: 14px;
	height: 14px;
}

/* ==========================================================================
   6. Mobile Filter & Sort Bar (Matching Image 2)
   ========================================================================== */
.Edu-classes-mobile-bar {
	display: none;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 14px 18px;
	margin-bottom: 20px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.Edu-mobile-bar-header {
	margin-bottom: 10px;
	text-align: right;
}

.Edu-mobile-count-text {
	font-size: 0.88rem;
	font-weight: 800;
	color: #1e293b;
}

.Edu-mobile-bar-actions {
	display: flex;
	align-items: center;
	border-top: 1px solid #f1f5f9;
	padding-top: 10px;
}

.Edu-mobile-btn {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: transparent;
	border: none;
	color: #334155;
	font-size: 0.95rem;
	font-weight: 800;
	cursor: pointer;
	padding: 8px 12px;
	transition: color 0.2s ease;
}

.Edu-mobile-btn:hover {
	color: #FAB237;
}

.Edu-mobile-btn-separator {
	width: 1px;
	height: 24px;
	background: #e2e8f0;
}

.Edu-filter-applied-badge {
	background: #FAB237;
	color: #222733;
	font-size: 0.72rem;
	font-weight: 800;
	border-radius: 50%;
	width: 18px;
	height: 18px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* ==========================================================================
   7. Draggable Mobile Bottom Sheet (Matching Image 3)
   ========================================================================== */
.Edu-bottom-sheet {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	direction: rtl;
	text-align: right;
}

.Edu-bottom-sheet[hidden] {
	display: none !important;
}

.Edu-bottom-sheet-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.6);
	backdrop-filter: blur(4px);
	transition: opacity 0.3s ease;
}

.Edu-bottom-sheet-dialog {
	position: relative;
	z-index: 2;
	background: #ffffff;
	border-radius: 28px 28px 0 0;
	height: auto;
	max-height: 88vh;
	max-height: 88dvh;
	display: flex;
	flex-direction: column;
	box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.25);
	transform: translateY(0);
	transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
	overflow: hidden;
}

/* Drag Handle Bar */
.Edu-bottom-sheet-drag-handle {
	flex-shrink: 0;
	padding: 12px 0 6px 0;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: grab;
	user-select: none;
	touch-action: none;
}

.Edu-bottom-sheet-drag-handle:active {
	cursor: grabbing;
}

.Edu-drag-bar {
	width: 44px;
	height: 5px;
	background: #cbd5e1;
	border-radius: 999px;
	display: inline-block;
}

/* Sheet Header */
.Edu-bottom-sheet-header {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 24px 16px 24px;
	border-bottom: 1px solid #f1f5f9;
}

.Edu-bottom-sheet-title {
	font-size: 1.25rem;
	font-weight: 900;
	color: #1e293b;
	margin: 0;
}

.Edu-btn-clear-filters {
	background: transparent;
	border: none;
	color: #64748b;
	font-size: 0.85rem;
	font-weight: 700;
	cursor: pointer;
	padding: 4px 8px;
	transition: color 0.2s ease;
}

.Edu-btn-clear-filters:hover {
	color: #dc2626;
}

/* Sheet Scroll Body */
.Edu-bottom-sheet-body {
	flex: 1 1 auto;
	min-height: 0 !important;
	padding: 16px 20px 24px 20px;
	overflow-y: auto !important;
	-webkit-overflow-scrolling: touch !important;
	overscroll-behavior: contain !important;
	touch-action: pan-y !important;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.Edu-bottom-sheet-body::-webkit-scrollbar {
	width: 5px;
}

.Edu-bottom-sheet-body::-webkit-scrollbar-thumb {
	background: #cbd5e1;
	border-radius: 10px;
}

.Edu-bottom-sheet-body::-webkit-scrollbar-track {
	background: transparent;
}

/* Filter Card Items (Matching image 3 round cards) */
.Edu-filter-card-item {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	overflow: hidden;
	transition: all 0.2s ease;
}

.Edu-filter-card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 18px;
	cursor: pointer;
	user-select: none;
}

.Edu-filter-card-title {
	font-size: 0.95rem;
	font-weight: 800;
	color: #1e293b;
}

.Edu-filter-header-right {
	display: flex;
	align-items: center;
	gap: 8px;
}

.Edu-filter-count-badge {
	font-size: 0.8rem;
	font-weight: 700;
	color: #64748b;
}

.Edu-filter-chevron {
	font-size: 0.8rem;
	color: #94a3b8;
	transition: transform 0.2s ease;
}

.Edu-filter-card-item.is-open .Edu-filter-chevron {
	transform: rotate(180deg);
}

.Edu-filter-card-content {
	display: none;
	padding: 0 18px 16px 18px;
	border-top: 1px dashed #e2e8f0;
}

.Edu-filter-card-item.is-open .Edu-filter-card-content {
	display: block;
}

.Edu-filter-options-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-top: 12px;
	max-height: 250px;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	padding-right: 4px;
}

.Edu-filter-options-list::-webkit-scrollbar {
	width: 4px;
}

.Edu-filter-options-list::-webkit-scrollbar-thumb {
	background: #cbd5e1;
	border-radius: 4px;
}

.Edu-filter-radio-label {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.9rem;
	font-weight: 600;
	color: #334155;
	cursor: pointer;
}

.Edu-filter-radio-label input[type="radio"] {
	accent-color: #222733;
	width: 18px;
	height: 18px;
}

.Edu-dept-count {
	color: #94a3b8;
	font-size: 0.78rem;
}

/* Image 3 Switch Toggle Card */
.Edu-filter-switch-card {
	padding: 14px 18px;
}

.Edu-filter-switch-wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
}

.Edu-switch-details {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.Edu-switch-title {
	font-size: 0.95rem;
	font-weight: 800;
	color: #1e293b;
}

.Edu-switch-subtitle {
	font-size: 0.78rem;
	color: #64748b;
}

/* Switch Toggle (Image 3 style) */
.Edu-toggle-switch {
	position: relative;
	display: inline-block;
	width: 48px;
	height: 28px;
	flex-shrink: 0;
}

.Edu-toggle-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.Edu-toggle-slider {
	position: absolute;
	cursor: pointer;
	inset: 0;
	background-color: #cbd5e1;
	border-radius: 999px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.Edu-toggle-slider::before {
	position: absolute;
	content: '';
	height: 20px;
	width: 20px;
	right: 4px;
	bottom: 4px;
	background-color: white;
	border-radius: 50%;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.Edu-toggle-switch input:checked + .Edu-toggle-slider {
	background-color: #222733;
}

.Edu-toggle-switch input:checked + .Edu-toggle-slider::before {
	transform: translateX(-20px);
	background-color: #FAB237;
}

/* Sheet Sticky Footer */
.Edu-bottom-sheet-footer {
	flex-shrink: 0;
	padding: 14px 20px;
	border-top: 1px solid #f1f5f9;
	background: #ffffff;
	box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.04);
}

.Edu-btn-apply-filters {
	width: 100%;
	padding: 14px;
	border-radius: 14px;
	background: #222733;
	color: #FAB237;
	font-size: 1rem;
	font-weight: 800;
	border: none;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(34, 39, 51, 0.25);
	transition: all 0.2s ease;
}

.Edu-btn-apply-filters:hover {
	background: #151922;
}

/* ==========================================================================
   8. Responsive Behavior (Mobile Table vs Mobile Cards)
   ========================================================================== */
@media (max-width: 992px) {
	.Edu-schedule-header-card {
		padding: 24px 20px;
	}

	.Edu-schedule-stats-bento {
		width: 100%;
		justify-content: flex-start;
		margin-top: 14px;
	}
}

@media (max-width: 768px) {
	.Edu-classes-mobile-bar {
		display: block;
	}

	.Edu-schedule-filters-wrap {
		display: none; /* Replaced by mobile bar & bottom sheet */
	}

	.Edu-classes-table-scroll-wrap {
		border: none;
	}

	.Edu-classes-table thead {
		display: none; /* Convert table to cards on mobile */
	}

	.Edu-classes-table,
	.Edu-classes-table tbody,
	.Edu-classes-table tr,
	.Edu-classes-table td {
		display: block;
		width: 100%;
		box-sizing: border-box;
	}

	.Edu-classes-table td {
		border: none;
		padding: 8px 16px;
	}

	.Edu-class-row {
		background: #ffffff;
		border: 1px solid #e2e8f0;
		border-radius: 16px;
		margin-bottom: 14px;
		padding: 12px 0 16px 0;
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
		position: relative;
	}

	.Edu-class-col-title {
		border-bottom: 1px solid #f1f5f9 !important;
		padding-bottom: 12px !important;
	}

	.Edu-class-col-branch,
	.Edu-class-col-date,
	.Edu-class-col-days,
	.Edu-class-col-duration,
	.Edu-class-col-capacity,
	.Edu-class-col-fee {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 6px 16px !important;
	}

	.Edu-class-col-branch::before { content: 'شعبه:'; font-size: 0.8rem; color: #64748b; font-weight: 700; }
	.Edu-class-col-date::before   { content: 'تاریخ شروع:'; font-size: 0.8rem; color: #64748b; font-weight: 700; }
	.Edu-class-col-days::before   { content: 'روزهای برگزاری:'; font-size: 0.8rem; color: #64748b; font-weight: 700; }
	.Edu-class-col-duration::before { content: 'مدت دوره:'; font-size: 0.8rem; color: #64748b; font-weight: 700; }
	.Edu-class-col-capacity::before { content: 'ظرفیت / وضعیت:'; font-size: 0.8rem; color: #64748b; font-weight: 700; }
	.Edu-class-col-fee::before    { content: 'شهریه:'; font-size: 0.8rem; color: #64748b; font-weight: 700; }

	.Edu-class-col-actions {
		padding-top: 14px !important;
		border-top: 1px solid #f1f5f9 !important;
		margin-top: 6px;
	}

	.Edu-class-actions-wrap {
		width: 100%;
		display: flex;
		gap: 10px;
	}

	.Edu-btn-class-register {
		flex: 2;
		padding: 10px;
	}

	.Edu-btn-class-details {
		flex: 1;
		padding: 10px;
	}
}

@media (max-width: 480px) {
	.Edu-schedule-header-card {
		padding: 16px 14px;
		border-radius: 14px;
	}

	.Edu-schedule-title {
		font-size: 1.3rem;
	}

	.Edu-schedule-stats-bento {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 8px;
		width: 100%;
	}

	.Edu-stat-box {
		padding: 8px 10px;
	}

	.Edu-stat-number {
		font-size: 1.15rem;
	}

	.Edu-class-actions-wrap {
		flex-direction: column;
		gap: 8px;
	}

	.Edu-btn-class-register,
	.Edu-btn-class-details {
		width: 100%;
		flex: auto;
		justify-content: center;
	}
}

/* ==========================================================================
   ACADEMY OFFICIAL VENUE & GOOGLE MAPS SECTION (خواجه نصیر اصفهان)
   ========================================================================== */

/* 1. Header Location Stat Pill */
.Edu-stat-pill-location {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	cursor: pointer;
	position: relative;
	overflow: hidden;
}

.Edu-stat-pill-location:hover {
	transform: translateY(-2px);
	border-color: #fab237;
	box-shadow: 0 6px 16px rgba(250, 178, 55, 0.2);
}

.Edu-stat-location-val {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #925c00;
}

.Edu-stat-location-val svg {
	color: #eab308;
}

/* 2. Desktop Quick Location Button */
.Edu-location-quick-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #ffffff;
	border: 1.5px solid #e2e8f0;
	border-radius: 12px;
	padding: 10px 16px;
	font-size: 0.85rem;
	font-weight: 700;
	color: #334155;
	text-decoration: none;
	transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
	white-space: nowrap;
}

.Edu-location-quick-btn svg {
	color: #fab237;
	transition: transform 0.2s ease;
}

.Edu-location-quick-btn:hover {
	border-color: #fab237;
	background: #fffdf5;
	color: #1e293b;
	box-shadow: 0 4px 12px rgba(250, 178, 55, 0.15);
	transform: translateY(-1px);
}

.Edu-location-quick-btn:hover svg {
	transform: scale(1.15);
}

/* 3. Table Venue Tag Link */
.Edu-class-loc-link {
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: all 0.2s ease;
}

.Edu-class-loc-link:hover {
	background: #fff8e6;
	border-color: #fab237;
	color: #925c00;
	transform: translateY(-1px);
}

.Edu-class-loc-link .Edu-branch-icon svg {
	display: block;
	color: #fab237;
}

/* 4. Modal Venue Line */
.Edu-modal-venue-wrap {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
}

.Edu-modal-loc-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 0.78rem;
	color: #2563eb;
	text-decoration: none;
	transition: color 0.2s ease;
	margin-top: 2px;
}

.Edu-modal-loc-link:hover {
	color: #1d4ed8;
	text-decoration: underline;
}

/* 5. Mobile Bottom Sheet Venue Notice */
.Edu-mobile-venue-notice {
	background: #fffdf5;
	border: 1px dashed rgba(250, 178, 55, 0.6);
	border-radius: 14px;
	padding: 14px 16px;
	margin-bottom: 16px;
}

.Edu-mobile-venue-head {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #925c00;
	font-size: 0.88rem;
	margin-bottom: 6px;
}

.Edu-mobile-venue-address {
	font-size: 0.8rem;
	color: #475569;
	line-height: 1.6;
	margin: 0 0 10px 0;
}

.Edu-mobile-venue-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.8rem;
	font-weight: 700;
	color: #b45309;
	text-decoration: none;
}

/* 6. Main Academy Location Section Card */
.Edu-schedule-location-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 20px;
	padding: 32px 36px;
	margin-top: 36px;
	margin-bottom: 40px;
	box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);
	transition: all 0.35s ease;
	position: relative;
	scroll-margin-top: 100px;
}

.Edu-schedule-location-card.is-highlighted {
	animation: edunexaLocationPulse 2.4s ease-in-out;
}

@keyframes edunexaLocationPulse {
	0%, 100% {
		border-color: #e2e8f0;
		box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);
	}
	30%, 70% {
		border-color: #fab237;
		box-shadow: 0 0 0 4px rgba(250, 178, 55, 0.25), 0 12px 36px rgba(250, 178, 55, 0.15);
	}
}

.Edu-location-inner-grid {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: 36px;
	align-items: center;
}

/* Info Pane */
.Edu-location-info-pane {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.Edu-location-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(250, 178, 55, 0.12);
	color: #925c00;
	border: 1px solid rgba(250, 178, 55, 0.3);
	border-radius: 999px;
	padding: 6px 14px;
	font-size: 0.82rem;
	font-weight: 700;
	width: fit-content;
}

.Edu-location-badge-dot {
	width: 8px;
	height: 8px;
	background: #fab237;
	border-radius: 50%;
	display: inline-block;
}

.Edu-location-title {
	font-size: 1.6rem;
	font-weight: 800;
	color: #0f172a;
	margin: 0;
	line-height: 1.35;
}

.Edu-location-subtitle {
	font-size: 0.92rem;
	color: #64748b;
	line-height: 1.7;
	margin: 0;
}

/* Address Box */
.Edu-location-address-box {
	background: #f8fafc;
	border: 1.5px solid #e2e8f0;
	border-radius: 16px;
	padding: 16px 18px;
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 8px 0;
	position: relative;
	transition: all 0.25s ease;
}

.Edu-location-address-box:hover {
	border-color: #cbd5e1;
	background: #ffffff;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.Edu-location-address-icon {
	width: 44px;
	height: 44px;
	min-width: 44px;
	background: #eff6ff;
	color: #2563eb;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.Edu-location-address-content {
	flex: 1;
}

.Edu-address-label {
	display: block;
	font-size: 0.75rem;
	font-weight: 700;
	color: #94a3b8;
	margin-bottom: 2px;
	text-transform: uppercase;
}

.Edu-address-text {
	font-size: 0.9rem;
	font-weight: 700;
	color: #1e293b;
	line-height: 1.65;
	margin: 0;
}

.Edu-btn-copy-address {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	padding: 8px 12px;
	font-size: 0.78rem;
	font-weight: 700;
	color: #475569;
	cursor: pointer;
	transition: all 0.2s ease;
	white-space: nowrap;
}

.Edu-btn-copy-address:hover {
	background: #0f172a;
	color: #ffffff;
	border-color: #0f172a;
	transform: translateY(-1px);
}

.Edu-btn-copy-address.is-copied {
	background: #10b981;
	color: #ffffff;
	border-color: #10b981;
}

/* Features List */
.Edu-location-features {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 4px 0 10px 0;
}

.Edu-loc-feature-item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.86rem;
	font-weight: 600;
	color: #475569;
}

.Edu-loc-feat-icon {
	font-size: 1.1rem;
	line-height: 1;
}

/* Action Buttons */
.Edu-location-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 6px;
}

.Edu-loc-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	border-radius: 12px;
	font-size: 0.84rem;
	font-weight: 700;
	text-decoration: none;
	transition: all 0.22s ease;
}

.Edu-loc-btn-google {
	background: #1a73e8;
	color: #ffffff;
	box-shadow: 0 4px 12px rgba(26, 115, 232, 0.2);
}

.Edu-loc-btn-google:hover {
	background: #1557b0;
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(26, 115, 232, 0.3);
}

.Edu-loc-btn-neshan {
	background: #118a8b;
	color: #ffffff;
	box-shadow: 0 4px 12px rgba(17, 138, 139, 0.2);
}

.Edu-loc-btn-neshan:hover {
	background: #0d6e6f;
	color: #ffffff;
	transform: translateY(-2px);
}

.Edu-loc-btn-balad {
	background: #0284c7;
	color: #ffffff;
	box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2);
}

.Edu-loc-btn-balad:hover {
	background: #0369a1;
	color: #ffffff;
	transform: translateY(-2px);
}

.Edu-loc-btn-phone {
	background: #f1f5f9;
	color: #1e293b;
	border: 1px solid #e2e8f0;
}

.Edu-loc-btn-phone:hover {
	background: #10b981;
	color: #ffffff;
	border-color: #10b981;
	transform: translateY(-2px);
}

/* Map Pane */
.Edu-location-map-pane {
	position: relative;
}

.Edu-location-map-frame-wrap {
	position: relative;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	border: 2px solid #ffffff;
	background: #e2e8f0;
	line-height: 0;
}

.Edu-location-map-frame-wrap iframe {
	display: block;
	width: 100%;
	border: 0;
	min-height: 350px;
}

.Edu-map-overlay-badge {
	position: absolute;
	bottom: 14px;
	right: 14px;
	background: rgba(15, 23, 42, 0.85);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	color: #ffffff;
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 700;
	pointer-events: none;
	border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
	.Edu-location-inner-grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.Edu-schedule-location-card {
		padding: 24px 20px;
		margin-top: 28px;
	}

	.Edu-location-title {
		font-size: 1.35rem;
	}

	.Edu-location-map-frame-wrap iframe {
		min-height: 290px;
	}
}

@media (max-width: 640px) {
	.Edu-location-address-box {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.Edu-btn-copy-address {
		align-self: stretch;
		justify-content: center;
	}

	.Edu-location-actions {
		flex-direction: column;
	}

	.Edu-loc-btn {
		width: 100%;
		justify-content: center;
	}

	.Edu-schedule-stats-bento {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 480px) {
	.Edu-schedule-stats-bento {
		grid-template-columns: 1fr 1fr;
	}

	.Edu-stat-pill-location {
		grid-column: span 2;
	}
}


