/**
 * استایل پنل مربی - طرح مینیمال موبایل‌فرست
 */
/*--fm-primary: #3b82f6;
--fm-primary-light: #60a5fa;
--fm-primary-dim: rgba(59, 130, 246, 0.15);
--fm-secondary: #10b981;
--fm-secondary-dim: rgba(16, 185, 129, 0.15);
--fm-bg: #0f172a;
--fm-bg-elevated: #1e293b;
--fm-bg-card: #1e293b;
--fm-bg-input: #1e293b;
--fm-text: #f1f5f9;
--fm-text-muted: #94a3b8;*/
:root {
	--fm-primary: #3b82f6;
	--fm-primary-light: #60a5fa;
	--fm-primary-dim: rgba(59, 130, 246, 0.15);
	--fm-secondary: #10b981;
	--fm-secondary-dim: rgba(16, 185, 129, 0.15);
	--fm-bg: #fdfdfd6b;
	--fm-bg-elevated: #ececec;
	--fm-bg-card: #fff;
	--fm-bg-input: #fdfdfdb0;
	--fm-text: #3a3a3a;
	--fm-text-muted: #94a3b8;
	--fm-border: rgba(148, 163, 184, 0.15);
	--fm-radius: 16px;
	--fm-radius-sm: 12px;
	--fm-radius-btn: 10px;
	--fm-radius-pill: 999px;
	--fm-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
	--fm-shadow-card:  0 -8px 28px rgba(0, 0, 0, 0.04);

	--fm-height-input: 48px;
	--fm-height-btn: 48px;
	--fm-safe-bottom: env(safe-area-inset-bottom, 0px);
	--fm-nav-height: 72px;
	--fm-header-height: 76px; /* 44px (avatar) + 16px (padding top) + 16px (padding bottom) */
	--fm-page-header-height: 56px; /* تقریباً 40px (content) + 16px (padding) */

}

*,
*::before,
*::after {
	box-sizing: border-box;
}
.fm-input-help{
	font-size: 12px;
	color:#ddd;
}
body.fitmember-coach,
body.fitmember-panel {
	font-family: 'IRANSansX', -apple-system, BlinkMacSystemFont, sans-serif;
	background-color: #f9f9f9;
	color: var(--fm-text);
	margin: 0;
	min-height: 100vh;
	min-height: 100dvh;
	direction: rtl;
	font-size: 15px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
.fm-coach-wrap{
	background-color: #fff;
}
.fm-coach-wrap {
	position: relative;
	max-width: 428px;
	margin: 0 auto;
	min-height: 100vh;
	min-height: 100dvh;
	padding-bottom: calc(var(--fm-nav-height) + 8px + var(--fm-safe-bottom));
}

/* لوگو و هدر لاگین */
.fm-login-header {
	text-align: center;
	padding: 2rem 1.5rem 1rem;
}
.fm-login-logo {
	width: 72px;
	height: 72px;
	margin: 0 auto 1rem;
	border-radius: var(--fm-radius);
	display: flex;
	align-items: center;
	justify-content: center;
}
.fm-logo-icon::before {
	content: '';
	display: block;
	width: 36px;
	height: 36px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e293b' stroke-width='2'%3E%3Cpath d='M6.5 6.5h11v11h-11z'/%3E%3Cpath d='M4 4l4 4M20 4l-4 4M4 20l4-4M20 20l-4-4'/%3E%3C/svg%3E") no-repeat center;
}
.fm-login-title {
	margin: 0 0 0.25rem;
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--fm-primary-light);
}
.fm-login-subtitle {
	margin: 0;
	color: var(--fm-text-muted);
	font-size: 0.9rem;
}

/* کارت و فرم لاگین */
.fm-login-main {
	padding: 0 1.5rem 2rem;
}
.fm-card {
	background: var(--fm-bg-card);
	border-radius: var(--fm-radius);
	padding: 1.25rem 1.5rem;
	box-shadow: none;
	border: 1px solid var(--fm-border);
	max-width: 100%;
	overflow-x: hidden;
	box-sizing: border-box;
}
.fm-card-title {
	margin: 0 0 1.25rem;
	font-size: 1.1rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}
.fm-title-bar {
	width: 4px;
	height: 1.25rem;
	background: var(--fm-primary);
	border-radius: 2px;
}
.fm-form .fm-field {
	margin-bottom: 1rem;
}
.fm-field-class{
	margin-top:15px;
}
.fm-form label {

	margin-bottom: 0.35rem;
	color: var(--fm-text-muted);
	font-size: 0.9rem;
}
.fm-input {
	width: 100%;
	height: 40px;
	padding: 7px 1rem;
	background: var(--fm-bg-input);
	border: 1px solid var(--fm-border);
	border-radius: var(--fm-radius-btn);
	color: var(--fm-text);
	font-family: inherit;
	font-size: 1rem;
	transition: border-color 0.2s, box-shadow 0.2s;
	margin-top: 5px;

}
.fm-logo-img{
  height: 50px;
  border-radius: 5px;
}
.fm-input:focus {
	outline: none;
	border-color: var(--fm-primary);
	box-shadow: 0 0 0 3px var(--fm-primary-dim);
}
.fm-input::placeholder {
	color: var(--fm-text-muted);
}
.fm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	height: var(--fm-height-btn);
	padding: 0 1.25rem;
	border: none;
	border-radius: var(--fm-radius-btn);
	font-family: inherit;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: opacity 0.2s;
}
.fm-btn:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}
.fm-btn-primary {
	background: var(--fm-primary);
	color: #fff;
	box-shadow: 0 2px 8px rgba(59, 130, 246, 0.35);
}
.fm-btn-primary:active {
	opacity: 0.95;
}
.fm-btn-block {
	width: 100%;
	margin-top: 0.5rem;
}
.fm-btn-send-otp {
	margin-top: 1rem;
}
.fm-btn-icon {
	font-size: 1.2rem;
}
.fm-terms {
	text-align: center;
	margin: 1.25rem 0 0;
	color: var(--fm-text-muted);
	font-size: 0.85rem;
}
.fm-back-link {
	text-align: center;
	margin-top: 1rem;
}
.fm-link-btn {
	background: none;
	border: none;
	color: var(--fm-primary-light);
	text-decoration: none;
	font-family: inherit;
	font-size: inherit;
	cursor: pointer;
	padding: 0;
}
.fm-link {
	color: var(--fm-primary-light);
	text-decoration: none;
}
.fm-otp-hint {
	margin: 0.5rem 0 0;
	font-size: 0.9rem;
	color: var(--fm-secondary);
}

/* باکس‌های جداگانه کد تایید */
.fm-otp-inputs {
	display: flex;
	flex-direction: row;
	direction: ltr; /* ورود از چپ به راست */
	gap: 0.75rem;
	justify-content: center;
	margin-top: 0.5rem;
}
.fm-otp-input {
	width: 56px;
	height: 56px;
	text-align: center;
	font-size: 1.5rem;
	font-weight: 600;
	border: 2px solid var(--fm-border);
	background: var(--fm-bg-input);
	color: var(--fm-text);
	border-radius: var(--fm-radius-sm);
	transition: all 0.2s ease;
}
.fm-otp-input:focus {
	outline: none;
	border-color: var(--fm-primary);
	background: #fbfbfb;
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.fm-otp-input:invalid {
	border-color: rgba(239, 68, 68, 0.5);
}

/* تایمر ارسال مجدد */
.fm-resend-timer {
	margin: 1rem 0 0;
	text-align: center;
	font-size: 0.9rem;
	color: var(--fm-text-muted);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
}
.fm-resend-timer span:last-child {
	font-weight: 600;
	color: var(--fm-primary-light);
}
/* مقالات مربی */
.fitmember-coach-articles-list .fm-summary-card {
	margin-bottom: 1rem;
}
.fm-articles-filter-card {
	margin-bottom: 1rem;
}
.fm-articles-list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}
/* فاصله و لینک کارت مقالات در پنل ورزشکار */
.fitmember-panel .fm-articles-list,
.fitmember-panel #fm-panel-articles-cards {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.fitmember-panel .fm-article-card {
	margin-bottom: 0;
}
.fitmember-panel .fm-panel-article-row {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}
.fitmember-panel .fm-panel-article-row-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.fitmember-panel .fm-panel-article-row-slider-wrap {
	position: relative;
}
.fitmember-panel .fm-panel-article-nav-btn {
	position: absolute;
	top: 38%;
	transform: translateY(-50%);
	width: 26px;
	height: 26px;
	border-radius: 999px;
	border: 1px solid var(--fm-border-subtle);
	background: #fff;
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	cursor: pointer;
	z-index: 3;
	backdrop-filter: blur(2px);
	border: 1px solid #f0f0f0;
}
.fitmember-panel .fm-panel-article-nav-prev {
	right: 0.2rem;
}
.fitmember-panel .fm-panel-article-nav-next {
	left: 0.2rem;
}
.fitmember-panel .fm-panel-article-row-title {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--fm-text);
}
.fitmember-panel .fm-panel-article-row-slider {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 1rem) / 3);
	gap: 0.4rem;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
}
.fitmember-panel .fm-panel-article-row-slider::-webkit-scrollbar {
	display: none;
}
.fitmember-panel .fm-panel-article-slide {
	scroll-snap-align: start;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}
.fitmember-panel .fm-panel-article-cover {
	aspect-ratio: 1 / 1;
	border-radius: 5px;
	overflow: hidden;
	background:#fafafa;
	border: 1px solid var(--fm-border-subtle);
}
.fitmember-panel .fm-panel-article-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.fitmember-panel .fm-panel-article-title {
	margin: 0.35rem 0 0;
	font-size: 0.78rem;
	font-weight: 500;
	color: var(--fm-text);
	line-height: 1.4;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	padding: 1px 6px;
}
.fitmember-panel a.fm-article-card,
.fitmember-panel .fm-article-card-link {
	padding: 0px 1px 5px 1px;
	text-decoration: none;
	color: inherit;
	display: block;
	transition: opacity 0.2s, transform 0.2s;
	border: 1px solid var(--fm-border);
	border-radius: 12px
}
.fitmember-panel a.fm-article-card:hover,
.fitmember-panel a.fm-article-card:active {
	opacity: 0.95;
}
.fm-article-card {
	padding: 0.9rem 1rem;
	background: var(--fm-bg-card);
	border: 1px solid var(--fm-border-subtle);
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}
.fm-article-header {
	display: flex;
	align-items: stretch; /* برای هم‌ارتفاع شدن تصویر و متن */
	justify-content: space-between;
	flex-direction: row-reverse; /* تصویر شاخص سمت راست */
	gap: 0.75rem;
}
.fm-article-header-main {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	flex: 1;
}
.fm-article-title {
	margin: 0;
	font-size: 1rem;
	font-weight: 600;
	color: var(--fm-text);
}
.fm-article-date {
	font-size: 0.8rem;
	color: var(--fm-text-muted);
}
.fm-article-cats {
	font-size: 0.8rem;
	color: var(--fm-primary-light);
}
.fm-article-cats-field .fm-article-cats-chips {
	margin-bottom: 0.75rem;
	min-height: 2rem;
}
.fm-article-cats-checkboxes {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	margin-bottom: 0.75rem;
	margin-top: 15px;
}
.fm-article-cats-search-wrap {
	position: relative;
}
.fm-article-cats-search-results {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	margin-top: 0.25rem;
	max-height: 200px;
	overflow-y: auto;
	background: var(--fm-bg-card);
	border: 1px solid var(--fm-border);
	border-radius: 10px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
	z-index: 10;
	padding: 8px;
}
.fm-article-cat-search-item {
	display: block;
	width: 100%;
	padding: 0.5rem 0.75rem;
	text-align: right;
	border: none;
	background: transparent;
	color: var(--fm-text);
	font-size: 0.9rem;
	cursor: pointer;
	transition: background 0.15s;
}
.fm-article-cat-search-item:hover,
.fm-article-cat-search-item.fm-selected {
	background: var(--fm-bg-elevated);
}
.fm-article-cat-search-item.fm-article-cat-add-new {
	color: var(--fm-primary);
	font-weight: 500;
}
.fm-article-cats-no-result {
	margin: 0;
	padding: 0.75rem;
	font-size: 0.85rem;
	color: var(--fm-text-muted);
}
.fm-article-header-actions {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}
.fm-article-header-actions {
	order: 1; /* سمت چپ کارت */
}
.fm-article-header-main {
	order: 2;
}
.fm-article-thumb-mini {
	order: 3; /* سمت راست کارت */
}
.fm-article-edit-btn,
.fm-article-delete-btn,
.fm-athlete-delete-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 999px;
	border: none;
	background: transparent;
	color: var(--fm-text-muted);
	cursor: pointer;
	transition: background 0.2s, color 0.2s, transform 0.1s;
}
.fm-article-edit-btn:hover,
.fm-article-delete-btn:hover,
.fm-athlete-delete-btn:hover {
	background: var(--fm-bg-elevated);
	color: var(--fm-primary-light);
}
.fm-article-delete-btn:hover,
.fm-athlete-delete-btn:hover {
	color: #ef4444;
}
.fm-article-edit-btn:active,
.fm-article-delete-btn:active,
.fm-athlete-delete-btn:active {
	transform: scale(0.96);
}
.fm-article-delete-btn:disabled,
.fm-athlete-delete-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}
.fm-article-thumb-mini {
	width: 90px;
	border-radius: var(--fm-radius-md);
	overflow: hidden;
	flex-shrink: 0;
	background: var(--fm-bg-elevated);
	display: flex;
	align-items: center;
	justify-content: center;
}
.fm-article-thumb-mini img {
	width: 100%;
	height: 100%;
	object-fit: cover; /* تصویر تا کل ارتفاع هدر کشیده می‌شود */
	display: block;
	border-radius: 6px;
}
.fm-article-thumb-mini-empty {
	border: 1px dashed var(--fm-border);
}
.fm-article-excerpt {
	margin: 0.1rem 0 0;
	font-size: 0.9rem;
	color: var(--fm-text-muted);
	line-height: 1.6;
	padding-top: 10px;
}
.fm-article-thumb-wrap {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}
.fm-article-thumb-label {
	display: block;
	border-radius: var(--fm-radius-lg);
	border: 1px dashed var(--fm-border);
	background: var(--fm-bg-elevated);
	padding: 0.75rem;
	text-align: center;
	cursor: pointer;
	transition: border-color 0.2s, background 0.2s;
}
.fm-article-thumb-label:hover {
	border-color: var(--fm-primary-light);
	background: var(--fm-bg-card);
}
.fm-article-thumb-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	color: var(--fm-text-muted);
}
.fm-article-thumb-img {
	width: 100%;
	max-height: 220px;
	object-fit: cover;
	border-radius: var(--fm-radius-md);
	display: block;
}
.fm-article-editor {
	min-height: 160px;
	resize: vertical;
}
.fm-article-editor-wrap {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}
.fm-article-editor-toolbar {
	display: flex;
	justify-content: flex-start;
}
.fm-article-editor-toolbar .fm-btn {
	padding: 0.3rem 0.6rem;
	font-size: 0.8rem;
}

/* فاصله‌های فرم ایجاد مقاله */
.fitmember-coach-create-article .fm-card-section + .fm-card-section {
	margin-top: 1rem;
}
.fitmember-coach-create-article .fm-create-article-form .fm-alert {
	margin-top: 0.75rem;
}

/* دکمه ارسال مجدد پیامک */
.fm-resend-btn {
	width: 100%;
	margin-top: 1rem;
	padding: 0.75rem 1rem;
	background: transparent;
	border: 1px solid var(--fm-primary);
	color: var(--fm-primary-light);
	border-radius: var(--fm-radius-btn);
	font-size: 0.95rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
	text-align: center;
}
.fm-resend-btn:hover {
	background: rgba(59, 130, 246, 0.1);
	border-color: var(--fm-primary-light);
}
.fm-resend-btn:active {
	transform: scale(0.98);
	background: rgba(59, 130, 246, 0.15);
}
.fm-resend-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}
.fm-btn-link {
	background: transparent;
	border: none;
	color: var(--fm-primary-light);
	text-decoration: none;
}

/* باکس‌های جداگانه کد تایید */
.fm-otp-inputs {
	display: flex;
	gap: 0.75rem;
	justify-content: center;
	margin: 0.5rem 0;
}
.fm-otp-input {
	width: 56px;
	height: 56px;
	text-align: center;
	font-size: 1.5rem;
	font-weight: 600;
	border: 2px solid var(--fm-border);
	background: var(--fm-bg-input);
	color: var(--fm-text);
	border-radius: var(--fm-radius-sm);
	transition: all 0.2s ease;
	font-family: 'IRANSansX', monospace;
}
.fm-otp-input:focus {
	outline: none;
	border-color: var(--fm-primary);
	background: var(--fm-bg-elevated);
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.fm-otp-input:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

/* تایمر ارسال مجدد */
.fm-resend-timer {
	margin: 1rem 0 0;
	text-align: center;
	font-size: 0.9rem;
	color: var(--fm-text-muted);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
}
.fm-resend-timer.fm-hidden {
	display: none;
}
#fm-timer-text,
#fm-send-timer-text {
	font-weight: 600;
	color: var(--fm-primary-light);
	font-family: 'IRANSansX', monospace;
	direction: ltr;
	display: inline-block;
	min-width: 3ch;
}

/* هدر داشبورد */
.fm-header {
	position: fixed;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 100%;
	max-width: 428px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 1.25rem;
	background: rgba(255, 255, 255, 0.99);
	backdrop-filter: blur(24px) saturate(175%);
	-webkit-backdrop-filter: blur(24px) saturate(175%);
	z-index: 999;
	box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.03);

}
.fm-header-icon {
	position: relative;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;

	border: 1px solid var(--fm-border);
	border-radius:var(--fm-radius-sm);
	color: #fff;
	text-decoration: none;
	font-size: 1.25rem;
	transition: background 0.2s;
}
.fm-header-icon:active {
	background: var(--fm-bg-elevated);
}
.fm-badge {
	position: absolute;
	top: -4px;
	right: -4px;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	background: #d33737;
	color: #fff;
	font-size: 0.7rem;
	font-weight: 700;
	border-radius: var(--fm-radius-pill);
	display: flex;
	align-items: center;
	justify-content: center;
}

.fm-greeting-text {
	display: block;
	font-size: 0.85rem;
	color: var(--fm-text-muted);
}
.fm-greeting-name {
	font-weight: 600;
	font-size: 1.05rem;
}
.fm-header-avatar {
	width: 44px;
	height: 44px;
	background: var(--fm-primary-dim);
	border: 1px solid var(--fm-border);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 1rem;
	color: var(--fm-primary-light);
}
.box-header-dashbaord{
	display:flex;
	align-items: center;
}
.fm-header-profile-link {
	text-decoration: none;
	color: inherit;
	display: flex;
	align-items: center;
	flex: 1;
	min-width: 0;
}
.fm-header-avatar-img {
	overflow: hidden;
	padding: 0;
}
.fm-header-avatar-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.fm-header-greeting{
    padding-right:10px;
}

/* محتوای اصلی */
.fm-main {
	padding: 0 1rem 1.5rem;
	margin-top: 20px;
	overflow-x: hidden;
	max-width: 100%;
	box-sizing: border-box;
}
.fm-create-class-btn,.fm-btn-block{
	text-decoration: none;
}
/* برای صفحات با fm-page-header - padding-top اضافه می‌شود */
.fitmember-coach .fm-page-header ~ .fm-main,
.fitmember-panel .fm-page-header ~ .fm-main {
	padding-top: calc(var(--fm-page-header-height) + 0.5rem);
}
/* برای dashboard با fm-header - padding-top اضافه می‌شود */
.fitmember-coach .fm-header ~ .fm-main,
.fitmember-panel .fm-header ~ .fm-main {
	padding-top: calc(var(--fm-header-height) + 0.5rem);
}
/* تقویم هفته داشبورد مربی — ظاهر اپ‌مانند */
.fm-dashboard-calendar {
	padding: 1.25rem 1rem 1.5rem;
	margin-bottom: 1.25rem;
	border-radius: 1rem;
	box-shadow:none;
}
.fm-dashboard-calendar-view-bar {
	display: flex;
	gap: 0.5rem;
	justify-content: flex-end;
	margin-bottom: 1rem;
}
.fm-dashboard-view-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.5rem 0.85rem;
	border: 1px solid var(--fm-border);
	background: var(--fm-bg-card);
	color: var(--fm-text-muted);
	border-radius: 0.65rem;
	font-size: 0.85rem;
	font-family: inherit;
	cursor: pointer;
	transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.fm-dashboard-view-btn:hover {
	background: var(--fm-bg-soft);
	color: var(--fm-text);
	border-color: var(--fm-border);
}
.fm-dashboard-view-btn.fm-active {
	background: var(--fm-primary);
	color: #fff;
	border-color: var(--fm-primary);
}
.fm-dashboard-view-btn .fm-dashboard-view-label {
	font-weight: 500;
}
.fm-icon-list,
.fm-icon-modal {
	display: inline-block;
	width: 1.1em;
	height: 1.1em;
	vertical-align: middle;
	background: currentColor;
	opacity: 0.9;
}
.fm-icon-list {
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cline x1='8' y1='6' x2='21' y2='6'/%3E%3Cline x1='8' y1='12' x2='21' y2='12'/%3E%3Cline x1='8' y1='18' x2='21' y2='18'/%3E%3Cline x1='3' y1='6' x2='3.01' y2='6'/%3E%3Cline x1='3' y1='12' x2='3.01' y2='12'/%3E%3Cline x1='3' y1='18' x2='3.01' y2='18'/%3E%3C/svg%3E") center/contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cline x1='8' y1='6' x2='21' y2='6'/%3E%3Cline x1='8' y1='12' x2='21' y2='12'/%3E%3Cline x1='8' y1='18' x2='21' y2='18'/%3E%3Cline x1='3' y1='6' x2='3.01' y2='6'/%3E%3Cline x1='3' y1='12' x2='3.01' y2='12'/%3E%3Cline x1='3' y1='18' x2='3.01' y2='18'/%3E%3C/svg%3E") center/contain no-repeat;
	-webkit-mask-size: contain;
	mask-size: contain;
}
.fm-icon-modal {
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='3' y1='9' x2='21' y2='9'/%3E%3Cline x1='9' y1='9' x2='9' y2='21'/%3E%3C/svg%3E") center/contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='3' y1='9' x2='21' y2='9'/%3E%3Cline x1='9' y1='9' x2='9' y2='21'/%3E%3C/svg%3E") center/contain no-repeat;
	-webkit-mask-size: contain;
	mask-size: contain;
}
.fm-dashboard-calendar .fm-calendar-week {
	display: flex;
	gap: 0.5rem;
	justify-content: space-between;
	flex-wrap: nowrap;
	margin-bottom: 1.25rem;
}
.fm-calendar-day {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex: 1;
	min-width: 0;
	padding: 0.75rem 0.4rem 1.1rem;
	border: 2px solid var(--fm-border);
	background: #3b82f6;
	color: #252525;
	border-radius: 1rem;
	font-family: inherit;
	font-size: 0.85rem;
	cursor: pointer;
	transition: transform 0.15s ease, background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
.fm-calendar-day-has-classes{
	background: #3b82f6;
	color:#fff;
}
.fm-calendar-day:hover {
	background: var(--fm-bg-soft);
	color: var(--fm-text);
	border-color: var(--fm-border);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
/* امروز (همان روز جاری): آبی پررنگ */
.fm-calendar-day-today {
	border-color: var(--fm-primary);
	color: #fff;
	background: var(--fm-primary);
	box-shadow: 0 4px 12px rgba(255, 255, 255, 0.35);
}
.fm-calendar-day-today:hover {
	background: var(--fm-primary);
	color: #fff;
	opacity: 0.95;
}
/* روز انتخاب‌شده با کلیک: آبی ملایم */
.fm-calendar-day-active {
	border-color: var(--fm-primary);
	background: #3b82f6;
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}
.fm-calendar-day-active:hover {
	background: rgba(59, 130, 246, 0.25);
	color: var(--fm-primary);
	transform: translateY(-2px);
}
/* اگر امروز همان روز انتخاب‌شده باشد: آبی پررنگ (اولویت با امروز) */
.fm-calendar-day-today.fm-calendar-day-active {
	background: var(--fm-primary);
	color: #fff;
}
.fm-calendar-day-name {
	display: block;
	font-size: 0.75rem;
	font-weight: 700;
	margin-bottom: 0.35rem;
	letter-spacing: 0.02em;
}
.fm-calendar-day-name-vertical {
	writing-mode: vertical-rl;
	text-orientation: mixed;
	letter-spacing: 0.12em;
	line-height: 1.35;
	transform: rotate(180deg);
	direction: ltr;
}
.fm-calendar-day-date {
	display: block;
	font-size: 1.1rem;
	font-weight: 800;
	line-height: 1.2;
}
/* روز بدون کلاس — غیرفعال با طرح متمایز */
.fm-calendar-day-no-classes,
.fm-calendar-day:disabled {
	cursor: not-allowed;
	opacity: 0.5;
	background: var(--fm-bg-soft);
	border-style: dashed;
	pointer-events: none;
}
.fm-calendar-day-no-classes:hover,
.fm-calendar-day:disabled:hover {
	transform: none;
	background: var(--fm-bg-soft);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
.fm-calendar-day-no-classes.fm-calendar-day-today {
	border-color: rgba(0, 0, 0, 0.15);
	color: #000;
	background: #ecf4ff;
}

/* روز دارای کلاس — نقطه کوچک (اختیاری) */
.fm-calendar-day-has-classes::after {
	content: '';
	position: absolute;
	bottom: 0.35rem;
	left: 50%;
	transform: translateX(-50%);
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: #fff;
	opacity: 0.8;
}
.fm-calendar-day-no-classes::after {
	display: none;
}
.fm-dashboard-day-classes {
	position: relative;
	min-height: 80px;
}
.fm-dashboard-day-classes-title {
	margin: 0 0 1rem;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--fm-text);
	letter-spacing: -0.01em;
}
.fm-dashboard-day-classes-hint,
.fm-dashboard-day-classes-empty {
	margin: 0;
	padding: 0.5rem 0;
	font-size: 0.9rem;
	line-height: 1.5;
}
.fm-dashboard-day-classes-loader {
	display: flex;
	justify-content: center;
	padding: 1.25rem;
}
.fm-dashboard-day-classes-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}
.fm-dashboard-day-class-item {
	margin: 0;
	padding: 0;
}
.fm-dashboard-day-class-link {
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;
	padding: 1rem 1.1rem;
	background: var(--fm-bg-soft);
	border-radius: 1rem;
	border: 1px solid var(--fm-border);
	text-decoration: none;
	color: var(--fm-text);
	transition: transform 0.15s ease, background 0.2s, border-color 0.2s, box-shadow 0.2s;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
.fm-dashboard-day-class-link:hover {
	background: var(--fm-bg-card);
	border-color: var(--fm-primary);
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}
.fm-dashboard-day-class-link:active {
	transform: translateY(0);
}
.fm-dashboard-day-class-icon {
	flex-shrink: 0;
	width: 2.5rem;
	height: 2.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(59, 130, 246, 0.12);
	border-radius: 0.75rem;
	color: var(--fm-primary);
}
.fm-dashboard-day-class-content {
	flex: 1;
	min-width: 0;
}
.fm-dashboard-day-class-name {
	display: block;
	font-weight: 700;
	font-size: 1rem;
	margin-bottom: 0.3rem;
	color: var(--fm-text);
}
.fm-dashboard-day-class-type {
	display: inline-block;
	font-size: 0.8rem;
	color: var(--fm-text-muted);
	margin-bottom: 0.4rem;
	padding: 0.15rem 0.5rem;
	background: rgba(148, 163, 184, 0.15);
	border-radius: 0.5rem;
}
.fm-dashboard-day-classes-list .fm-class-schedule {
	margin-top: 0.4rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}
.fm-dashboard-day-classes-list .fm-class-schedule-item {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.8rem;
	color: var(--fm-text-muted);
	padding: 0.25rem 0.55rem;
	background: var(--fm-bg-card);
	border-radius: 0.5rem;
	border: 1px solid var(--fm-border);
}
.fm-dashboard-day-classes-list .fm-class-schedule-item .fm-schedule-day {
	color: var(--fm-primary);
	font-weight: 600;
}

.fm-motivation-card {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding: 1rem 1.25rem;
	margin-bottom: 1rem;
	background: var(--fm-bg-card);
	border: 1px solid var(--fm-border);
	border-radius: var(--fm-radius);
	box-shadow: none;
	margin-top: 10px;
}
.fm-motivation-icon {
	font-size: 1.5rem;
	opacity: 0.9;
}
.fm-motivation-label {
	display: inline-block;
	color: var(--fm-primary-light);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	margin-bottom: 0.25rem;
}
.fm-motivation-text {
	margin: 0;
	font-size: 0.95rem;
	color: var(--fm-text-muted);
	line-height: 1.5;
}

/* آمار ۲×۲ */
.fm-stats-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem;
	margin-bottom: 1.25rem;
}
.fm-stat-card {
	background: var(--fm-bg-card);
	border: 1px solid var(--fm-border);
	border-radius: var(--fm-radius);
	padding: 1rem;
	text-align: center;
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.35rem;
	transition: transform 0.15s, background 0.15s;
}
.fm-stat-card:active {
	transform: scale(0.98);
}
.fm-stat-icon {
	font-size: 1.5rem;
	opacity: 0.9;
}
.fm-stat-messages { border-top: 3px solid #10b981; }
.fm-stat-athletes { border-top: 3px solid var(--fm-primary); }
.fm-stat-classes { border-top: 3px solid #8b5cf6; }
.fm-stat-articles { border-top: 3px solid #f59e0b; }
.fm-stat-activity { border-top: 3px solid #f59e0b; }
.fm-stat-notifications { border-top: 3px solid #ef4444; }
.fm-stat-value {
	font-size: 1.4rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}
.fm-stat-label {
	font-size: 0.8rem;
	color: var(--fm-text-muted);
}

/* دسترسی سریع */
.fm-section-title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 1rem;
	font-size: 1rem;
}
.fm-section-icon {
	font-size: 1.25rem;
}
.fm-quick-access {
	margin-bottom: 1rem;
}
.fm-quick-card {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.25rem;
	background: var(--fm-bg-card);
	border: 1px solid var(--fm-border);
	border-radius: var(--fm-radius);
	margin-bottom: 0.65rem;
	text-decoration: none;
	color: inherit;
	transition: transform 0.15s, background 0.15s;
}
.fm-quick-card:active {
	transform: scale(0.99);
	background: var(--fm-bg-elevated);
}
.fm-quick-icon {
	position: relative;
	width: 48px;
	height: 48px;
	background: #fff;
	border-radius: var(--fm-radius-sm);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	color: var(--fm-primary-light);
}
.fm-quick-icon .fm-quick-badge {
	top: -2px;
	right: -2px;
}

.fm-quick-content {
	flex: 1;
}
.fm-quick-title {
	display: block;
	font-weight: 600;
}
.fm-quick-desc {
	font-size: 0.85rem;
	color: var(--fm-text-muted);
}
.fm-quick-arrow {
	color: var(--fm-text-muted);
	font-size: 1.25rem;
}

/* نوار پایین (طراحی موبایل مدرن) */
.fm-bottom-nav {
	position: fixed;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 100%;
	max-width: 428px;
	min-height: var(--fm-nav-height);
	padding: 6px 8px calc(var(--fm-safe-bottom) + 4px);
	background:var(--fm-primary);;
	backdrop-filter: blur(24px) saturate(175%);
	-webkit-backdrop-filter: blur(24px) saturate(175%);
	border-top: 1px solid rgba(148, 163, 184, 0.2);
	border-radius: 24px 24px 0 0;
	display: flex;
	align-items: flex-start;
	justify-content: space-around;
	gap: 4px;
	z-index: 1000;
	box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.04);
}
.fm-nav-item {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.2rem;
	color: #fff;
	text-decoration: none;
	font-size: 0.7rem;
	font-weight: 500;
	padding: 0.35rem 0.5rem 0.4rem;
	min-width: 60px;
	border-radius: 999px;
	transition: color 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.2s ease, background 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
	flex: 1;
	box-sizing: border-box;
}
.fm-nav-item:active {
	transform: scale(0.96);
}
.fm-nav-item .fm-nav-icon {
	position: relative;
	width: 22px;
	height: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.fm-nav-item .fm-nav-badge {
	position: absolute;
	top: -6px;
	right: -8px;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	font-size: 0.65rem;
}
.fm-nav-item .fm-nav-icon .fm-icon {
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	filter: brightness(0.9);
	transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.fm-nav-item .fm-nav-label {
	line-height: 1.2;
	font-size: 0.7rem;
	transition: font-weight 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
	font-weight: 500;
	opacity: 0.85;
}
.fm-nav-active {
	background: rgba(217, 231, 255, 0.15);
}
.fm-nav-active .fm-nav-icon {
	transform: translateY(-1px);
}
.fm-nav-active .fm-nav-icon .fm-icon {
	transform: scale(1.12);
	filter: brightness(1.25);
}
.fm-nav-active .fm-nav-label {
	color: #fff;
	font-weight: 700;
	transform: scale(1.08);
	opacity: 1;
}

/* لودینگ مینیمال هنگام سوییچ بین صفحات پنل مربی - فقط روی بخش محتوا */
body.fitmember-coach.fm-page-transition .fm-coach-wrap::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: calc(var(--fm-nav-height) + 8px + var(--fm-safe-bottom));
	background: #fff;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	z-index: 2000;
	border-radius: 0;
}
body.fitmember-coach.fm-page-transition .fm-coach-wrap::after {
	content: '';
	position: absolute;
	top: calc((100% - var(--fm-nav-height) - 8px - var(--fm-safe-bottom)) / 2);
	left: 50%;
	width: 32px;
	height: 32px;
	border-radius: 999px;
	border: 2px solid rgba(248, 250, 252, 0.18);
	border-top-color: #ffffff;
	box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.8);
	transform: translate(-50%, -50%);
	animation: fm-page-spin 0.7s linear infinite;
	z-index: 2001;
	pointer-events: none;
}
@keyframes fm-page-spin {
	to {
		transform: translate(-50%, -50%) rotate(360deg);
	}
}

/* هدر صفحه (بازگشت + عنوان) */
.fm-page-header {
	position: fixed;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 100%;
	max-width: 428px;
	display: flex;
	align-items: center;
	/*gap: 0.75rem;*/
	padding: 0.875rem 1.25rem;
	background: rgba(255, 255, 255, 0.99);
	backdrop-filter: blur(24px) saturate(175%);
	-webkit-backdrop-filter: blur(24px) saturate(175%);
	z-index: 999;
	box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.03);
}
.fm-back-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	text-decoration: none;
	width: 32px;
	height: 32px;
	border-radius: var(--fm-radius-sm);
	transition: background 0.2s, opacity 0.2s;
	flex-shrink: 0;
}
.fm-back-btn:active {
	background: rgba(255, 255, 255, 0.1);
	opacity: 0.8;
}
.fm-back-btn .fm-icon {
	width: 24px;
	height: 24px;
}
.fm-page-title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 600;
	flex: 1;
}
.fm-header-icon.fm-icon-pdf {
	width: 44px;
	height: 44px;
}
.fm-excel-icon {
	width: 24px;
	height: 24px;
	display: block;

}

/* خلاصه و جستجو لیست ورزشکاران */
.fm-summary-card {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.25rem;
	margin-bottom: 1rem;
	background: var(--fm-bg-card);
	border: 1px solid var(--fm-border);
	border-radius: var(--fm-radius);
	box-shadow: var(--fm-shadow-card);
}
.fm-summary-value {
	font-size: 1.6rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}
.fm-summary-label {
	flex: 1;
	font-size: 0.9rem;
	color: var(--fm-text-muted);
}
.fm-summary-icon {
	font-size: 1.5rem;
	opacity: 0.9;
}
.fm-search-filter {
	display: flex;
	gap: 0.5rem;
	margin-bottom: 0.5rem;
	align-items: center;
}
.fm-sort-row {
	margin-bottom: 1rem;
}
.fm-search-wrap {
	position: relative;
	flex: 1;
}
.fm-search-input {
	padding-left: 1rem;
	padding-right: 1rem;
}
.fm-filter-btns {
	display: flex;
	gap: 0.35rem;
}
.fm-filter-btn {
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--fm-border);
	background: var(--fm-bg-card);
	color: var(--fm-text-muted);
	border-radius: var(--fm-radius-btn);
	font-family: inherit;
	font-size: 0.9rem;
	cursor: pointer;
}
.fm-filter-active {
	background: var(--fm-primary);
	color: #fff;
	border-color: var(--fm-primary);
}
.fm-sort-order {
	display: flex;
	gap: 0.35rem;
}
.fm-sort-btn {
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--fm-border);
	background: var(--fm-bg-card);
	color: var(--fm-text-muted);
	border-radius: var(--fm-radius-btn);
	font-family: inherit;
	font-size: 0.9rem;
	cursor: pointer;
}
.fm-sort-active {
	background: var(--fm-primary);
	color: #fff;
	border-color: var(--fm-primary);
}

/* کارت ورزشکار */
.fm-athletes-list {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	position: relative;
	min-height: 200px;
}
.fm-athlete-card {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.875rem 1rem;
	background: var(--fm-bg-card);
	border: 1px solid var(--fm-border);
	border-radius: var(--fm-radius-sm);
	text-decoration: none;
	color: inherit;
	transition: transform 0.15s, background 0.15s, border-color 0.15s;
}
.fm-athlete-card:active {
	transform: scale(0.99);
	background: var(--fm-bg-elevated);
	border-color: var(--fm-primary);
}
.fm-athlete-initial {
	width: 44px;
	height: 44px;
	background: var(--fm-primary-dim);
	border-radius: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	font-size: 1rem;
	color: var(--fm-primary-light);
	flex-shrink: 0;
}
.fm-athlete-avatar {
	position: relative;
	overflow: hidden;
}
.fm-athlete-avatar-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
}
.fm-athlete-initial-text {
	position: relative;
	z-index: 2;
	display: none;
}
.fm-athlete-avatar-img[src=""],
.fm-athlete-avatar-img:not([src]) {
	display: none;
}
.fm-athlete-avatar-img[src=""] ~ .fm-athlete-initial-text,
.fm-athlete-avatar-img:not([src]) ~ .fm-athlete-initial-text {
	display: flex;
}
.fm-athlete-info {
	flex: 1;
}
.fm-athlete-name {
	display: block;
	font-weight: 600;
	margin-bottom: 0.2rem;
}
.fm-athlete-mobile {
	font-size: 0.9rem;
	color: var(--fm-text-muted);
}
.fm-athlete-meta {
	display: flex;
	gap: 0.5rem;
	margin-top: 0.5rem;
}
.fm-meta-pill {
	padding: 0.2rem 0.5rem;
	border-radius: 6px;
	font-size: 0.8rem;
}
.fm-meta-weight { background:rgba(16, 185, 129, 0.72); color: #fff; }
.fm-meta-age { rgb(103, 151, 255); color: #fff; }
.fm-athlete-actions {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}
.fm-athlete-action-btn {
	background: transparent;
	border: none;
	padding: 0.35rem;
	border-radius: var(--fm-radius-sm);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var(--fm-text-muted);
	transition: background 0.15s, color 0.15s, opacity 0.15s;
}
.fm-athlete-action-btn .fm-icon {
	color: inherit;
}
.fm-athlete-action-btn:hover {
	background: rgba(148, 163, 184, 0.18);
	color: #e5e7eb;
}
.fm-athlete-action-btn:active {
	opacity: 0.7;
}
.fm-athlete-message-btn {
	color: var(--fm-primary-light);
}
.fm-athlete-classes-btn {
	color: #22c55e;
}
.fm-athlete-arrow {
	color: #ffffff;
	font-size: 1.1rem;
	flex-shrink: 0;
	opacity: 0.8;
	transition: opacity 0.2s, transform 0.2s;
}
.fm-athlete-card:hover .fm-athlete-arrow,
.fm-athlete-card:active .fm-athlete-arrow {
	opacity: 1;
	transform: translateX(-2px);
}
.fm-athlete-arrow .fm-icon {
	color: #ffffff;
}
.fm-athlete-arrow .fm-icon-arrow-right {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 18l-6-6 6-6'/%3E%3C/svg%3E");
}

/* Loader دایره‌ای مینیمال سفید - عمومی برای تمام پروژه */
.fm-loader-wrap {
	position: absolute;
	left: 1rem;
	top: 50%;
	transform: translateY(-50%);
	width: 20px;
	height: 20px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
}
.fm-loader-wrap.fm-hidden {
	display: none;
}
.fm-loader {
	width: 20px;
	height: 20px;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-top-color: #ffffff;
	border-radius: 50%;
	animation: fm-spin 0.8s linear infinite;
}
.fm-loader-wrap.fm-loader-center {
	position: relative;
	left: auto;
	top: auto;
	transform: none;
	margin: 1rem auto;
}
.fm-loader-wrap.fm-loader-inline {
	position: relative;
	left: auto;
	top: auto;
	transform: none;
	display: inline-flex;
	margin: 0 0.5rem;
}
@keyframes fm-spin {
	to { transform: rotate(360deg); }
}

/* فرم ایجاد ورزشکار */
.fm-field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}
.fm-radio-group {
	display: flex;
	gap: 1rem;
	margin-top: 0.5rem;
}
.fm-radio-label {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	cursor: pointer;
}
.fm-required {
	color: #ef4444;
}
.fm-hidden {
	display: none !important;
}
.fm-empty-state {
	text-align: center;
	padding: 2rem;
	color: var(--fm-text-muted);
}
.fm-btn-secondary {
	background: var(--fm-bg-card);
	border: 1px solid var(--fm-border);
	color: var(--fm-text);
}
.fm-btn-secondary:active {
	opacity: 0.9;
	background: var(--fm-bg-elevated);
}
/* کارت اعلان پنل ورزشکار - ریدیزاین */
.fm-notification-card {
	padding: 1.25rem 1.25rem 1rem;
	background: var(--fm-bg-card);
	border: 1px solid var(--fm-border);
	border-radius: var(--fm-radius);
	box-shadow: none;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-bottom: 0.75rem;
}
.fm-notification-card .fm-notification-title {
	font-size: 1rem;
	font-weight: 700;
	color: var(--fm-text);
	line-height: 1.4;
	margin: 0;
	letter-spacing: -0.01em;
}
.fm-notification-card .fm-notification-message {
	font-size: 0.9rem;
	color: var(--fm-text-muted);
	line-height: 1.6;
	margin: 0;
	opacity: 0.95;
}
.fm-notification-card .fm-notification-meta {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 0.5rem;
	padding-top: 0.75rem;
	border-top: 1px solid var(--fm-border);
	font-size: 0.8rem;
	color: var(--fm-text-muted);
	opacity: 0.95;
	justify-content: end;
  flex-direction: row-reverse;
}
.fm-notification-card .fm-notification-meta::before {
	content: '';
	display: inline-block;
	width: 14px;
	height: 14px;
	flex-shrink: 0;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
	opacity: 0.85;
}
.fm-notification-card .fm-notification-date {
	color: var(--fm-text-muted);
}
.fm-notification-card .fm-notification-time {
	font-weight: 600;
	color: var(--fm-primary-light);
}
.fm-notification-card-summary {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	cursor: pointer;
	user-select: none;
	padding: 0.1rem 0;
}
.fm-notification-card-summary:focus {
	outline: 2px solid var(--fm-primary);
	outline-offset: 2px;
}
.fm-notification-card-summary .fm-notification-title {
	flex: 1;
	min-width: 0;
}
.fm-notification-card-summary .fm-notification-meta-inline {
	margin: 0;
	padding: 0;
	border: none;
	flex-shrink: 0;
	font-size: 0.8rem;
}
.fm-notification-card-summary .fm-notification-meta-inline::before {
	display: none;
}
.fm-notification-card-summary .fm-notification-toggle-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: none;
	border-radius: 0;
	background: transparent;
	color: rgba(255, 255, 255, 0.85);
	cursor: pointer;
	flex-shrink: 0;
}
.fm-notification-card-summary .fm-notification-chevron {
	transition: transform 0.2s ease;
	flex-shrink: 0;
}
.fm-notification-card-summary .fm-notification-chevron.fm-chevron-open {
	transform: rotate(180deg);
}
.fm-notification-card-body.fm-hidden {
	display: none !important;
}
.fm-notification-card-body {
	padding-top: 0.75rem;
	margin-top: 0.5rem;
	border-top: 1px solid var(--fm-border);
}

/* تاریخچه اعلان‌ها */
.fm-notifications-history {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.fm-notification-item {
	padding: 1rem;
}
.fm-notification-summary {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	cursor: pointer;
	padding: 0.25rem 0;
	user-select: none;
}
.fm-notification-summary:focus {
	outline: 2px solid var(--fm-primary);
	outline-offset: 2px;
}
.fm-notification-body.fm-hidden {
	display: none !important;
}
.fm-notification-body {
	padding-top: 0.75rem;
	margin-top: 0.5rem;
}
.fm-notification-chevron {
	transition: transform 0.2s ease;
	flex-shrink: 0;
}
.fm-notification-chevron.fm-chevron-open {
	transform: rotate(180deg);
}
.fm-notification-toggle-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: none;
	border-radius: 0;
	background: transparent;
	color: rgba(255, 255, 255, 0.85);
	cursor: pointer;
	flex-shrink: 0;
}
.fm-notification-item .fm-notif-header {
	margin-bottom: 0;
	flex: 1;
	min-width: 0;
	align-items: center;
}
.fm-notification-item .fm-notification-summary {
	align-items: center;
}
.fm-notification-item .fm-notif-header-content {
	flex-wrap: wrap;
}
.fm-notification-item .fm-notif-date {
	width: 100%;
	order: 1;
	margin-top: 0.2rem;
}
.fm-notification-item .fm-notification-toggle-btn,
.fm-notification-item .fm-notif-delete-btn {
	align-self: center;
	flex-shrink: 0;
}
.fm-notif-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1rem;
	margin-bottom: 0.75rem;
}
.fm-notif-header-content {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1rem;
	flex: 1;
}
.fm-notif-title {
	font-size: 1rem;
	font-weight: 600;
	color: var(--fm-text);
	margin: 0;
	flex: 1;
}
.fm-notif-date {
	font-size: 0.85rem;
	color: var(--fm-text-muted);
	flex-shrink: 0;
}
.fm-notif-delete-btn {
	background: transparent;
	border: none;
	padding: 0.5rem;
	cursor: pointer;
	color: var(--fm-text-muted);
	transition: color 0.2s;
	border-radius: var(--fm-radius-sm);
	flex-shrink: 0;
}
.fm-notif-delete-btn:hover {
	color: #ef4444;
	background: rgba(239, 68, 68, 0.1);
}
.fm-notif-delete-btn:active {
	opacity: 0.7;
}
/* آیکون حذف و باز/بسته در اعلان‌ها: سفید، ساده، مثل هم (مربی و ورزشکار) */
.fm-notification-item .fm-notif-delete-btn .fm-icon-trash {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3 6 5 6 21 6'/%3E%3Cpath d='M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2'/%3E%3Cline x1='10' y1='11' x2='10' y2='17'/%3E%3Cline x1='14' y1='11' x2='14' y2='17'/%3E%3C/svg%3E");
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}
.fm-notification-item .fm-notification-toggle-btn .fm-icon-arrow-down,
.fm-notification-card .fm-notification-toggle-btn .fm-icon-arrow-down {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}
.fm-notif-message {
	font-size: 0.9rem;
	color: var(--fm-text-muted);
	line-height: 1.6;
	margin: 0.5rem 0 0.75rem;
}
.fm-notif-attachment {
	margin: 0.5rem 0 0.75rem;
	font-size: 0.9rem;
}
.fm-notif-attachment-link {
	color: var(--fm-primary);
	text-decoration: none;
}
.fm-notif-attachment-link:hover {
	text-decoration: underline;
}
.fm-notif-recipients {
	font-size: 0.85rem;
	color: var(--fm-text-muted);
	border-top: 1px solid var(--fm-border);
	padding-top: 0.75rem;
	display: flex;
	gap: 0.35rem;
	flex-wrap: wrap;

  
  align-items: center;
}
.fm-notif-rec-label {
	color: var(--fm-text-muted);
}
.fm-notif-rec-value {
	color: var(--fm-text);
	font-weight: 500;
}
.fm-notif-rec-show-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	padding: 0;
	border: none;
	border-radius: var(--fm-radius-sm);
	background: var(--fm-bg-elevated);
	color: var(--fm-primary);
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}
.fm-notif-rec-show-btn:hover {
	background: var(--fm-primary-dim);
	color: var(--fm-primary);
}
.fm-notif-rec-show-btn:active {
	transform: scale(0.96);
}
.fm-recipients-list {
	list-style: none;
	margin: 0;
	padding: 0;
	max-height: 60vh;
	overflow-y: auto;
}
.fm-recipients-item {
	padding: 0.5rem 0.75rem;
	border-bottom: 1px solid var(--fm-border);
	font-size: 0.9rem;
	color: var(--fm-text);
}
.fm-recipients-item:last-child {
	border-bottom: none;
}
.fm-recipients-empty {
	padding: 0.75rem;
	color: var(--fm-text-muted);
	font-size: 0.9rem;
}
.fm-notif-search-wrap {
	margin-bottom: 0.75rem;
}
.fm-notif-search-wrap .fm-input-search {
	width: 100%;
	padding: 0.6rem 0.85rem;
	border-radius: var(--fm-radius-input);
	border: 1px solid var(--fm-border);
	background: var(--fm-bg-input);
	color: var(--fm-text);
	font-size: 0.9rem;
}
.fm-notif-athletes-list,
.fm-notif-classes-list {
	max-height: 220px;
	overflow-y: auto;
	overflow-x: hidden;
	padding: 0.5rem;
	margin: 0 -0.5rem;
	border-radius: var(--fm-radius);
	background: var(--fm-bg-elevated);
}
.fm-notif-athletes-list::-webkit-scrollbar,
.fm-notif-classes-list::-webkit-scrollbar {
	width: 6px;
}
.fm-notif-athletes-list::-webkit-scrollbar-track,
.fm-notif-classes-list::-webkit-scrollbar-track {
	background: transparent;
	border-radius: 3px;
}
.fm-notif-athletes-list::-webkit-scrollbar-thumb,
.fm-notif-classes-list::-webkit-scrollbar-thumb {
	background: var(--fm-border);
	border-radius: 3px;
}
.fm-notif-athletes-list::-webkit-scrollbar-thumb:hover,
.fm-notif-classes-list::-webkit-scrollbar-thumb:hover {
	background: var(--fm-text-muted);
}
.fm-notif-athletes-list .fm-athlete-option.fm-hidden,
.fm-notif-classes-list .fm-class-option.fm-hidden {
	display: none !important;
}
.fm-input-file {
	padding: 0.5rem 0;
	font-size: 0.9rem;
}
.fm-field-hint {
	display: block;
	font-size: 0.8rem;
	margin-top: 0.35rem;
}
.fm-notif-attachment-wrap .fm-notif-attachment-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}
.fm-notif-attachment-content.fm-hidden {
	display: none !important;
}
.fm-notif-attachment-content {
	margin-top: 0.75rem;
	padding-top: 0.75rem;
	border-top: 1px solid var(--fm-border);
}
.fm-notif-attachment-chevron {
	transition: transform 0.2s ease;
}
.fm-notif-attachment-chevron.fm-chevron-open {
	transform: rotate(180deg);
}
.fm-modal-header {
	position: relative;
}
.fm-modal-close {
	position: absolute;
	top: 0.5rem;
	left: 0.75rem;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: none;
	background: transparent;
	color: var(--fm-text-muted);
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	border-radius: var(--fm-radius-sm);
}
.fm-modal-close:hover {
	color: var(--fm-text);
	background: var(--fm-bg-elevated);
}
#fm-recipients-modal .fm-modal-header {
	padding-left: 2.75rem;
}
.fm-notification-item-compact {
	margin-bottom: 0.75rem;
}
.fm-notification-item-compact:last-child {
	margin-bottom: 0;
}
.fm-recent-notifications {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

/* چت - لیست مکالمات */
.fm-unread-card {
	background: var(--fm-bg-card);
	border: 1px solid var(--fm-border);
	border-radius: var(--fm-radius);
	margin-bottom: 1rem;
	padding: 1rem 1.25rem;
}
.fm-chat-search {
	margin-bottom: 1rem;
}
.fm-chat-search .fm-search-input {
	padding-left: 1rem;
	padding-right: 1rem;
}
.fm-conversation-card.fm-hidden {
	display: none;
}
.fm-conversations-list {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}
.fm-conversation-card {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.875rem 1rem;
	background: var(--fm-bg-card);
	border: 1px solid var(--fm-border);
	border-radius: var(--fm-radius-sm);
	text-decoration: none;
	color: inherit;
	transition: transform 0.15s, background 0.15s, border-color 0.15s;
}
.fm-conversation-card:active {
	transform: scale(0.99);
	background: var(--fm-bg-elevated);
	border-color: var(--fm-primary);
}
.fm-conv-avatar {
	width: 48px;
	height: 48px;
	background: var(--fm-primary-dim);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 1rem;
	color: var(--fm-primary-light);
	flex-shrink: 0;
}
.fm-conv-avatar-img {
	position: relative;
	overflow: hidden;
}
.fm-conv-avatar-img-el {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
}
.fm-conv-avatar-initial {
	position: relative;
	z-index: 2;
	display: none;
}
.fm-conv-avatar-img-el:not([src]),
.fm-conv-avatar-img-el[src=""],
.fm-conv-avatar-img-el[src="undefined"] {
	display: none;
}
.fm-conv-avatar-img-el:not([src]) ~ .fm-conv-avatar-initial,
.fm-conv-avatar-img-el[src=""] ~ .fm-conv-avatar-initial,
.fm-conv-avatar-img-el[src="undefined"] ~ .fm-conv-avatar-initial {
	display: flex;
}
.fm-conv-content {
	flex: 1;
	min-width: 0;
}
.fm-conv-name {
	display: block;
	font-weight: 600;
	margin-bottom: 0.2rem;
}
.fm-conv-preview {
	font-size: 0.9rem;
	color: var(--fm-text-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.fm-conv-meta {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.25rem;
	flex-shrink: 0;
}
.fm-conv-time {
	font-size: 0.8rem;
	color: var(--fm-text-muted);
	display: flex;
	align-items: center;
	gap: 0.35rem;
}
.fm-conv-time-now {
	color: var(--fm-primary);
	font-weight: 600;
}
.fm-conv-time-badge {
	width: 6px;
	height: 6px;
	background: var(--fm-primary);
	border-radius: 50%;
	flex-shrink: 0;
	animation: fm-pulse 2s ease-in-out infinite;
}
@keyframes fm-pulse {
	0%, 100% {
		opacity: 1;
		transform: scale(1);
	}
	50% {
		opacity: 0.6;
		transform: scale(1.2);
	}
}
.fm-conv-unread {
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	background: var(--fm-primary);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	border-radius: 11px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.fm-conv-arrow {
	color: #ffffff;
	font-size: 1.1rem;
	flex-shrink: 0;
	opacity: 0.8;
	transition: opacity 0.2s, transform 0.2s;
}
.fm-conversation-card:hover .fm-conv-arrow,
.fm-conversation-card:active .fm-conv-arrow {
	opacity: 1;
	transform: translateX(-2px);
}
.fm-conv-arrow .fm-icon-arrow-right {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 18l-6-6 6-6'/%3E%3C/svg%3E");
}

/* چت - صفحه مکالمه */
.fm-chat-conversation .fm-coach-wrap {
	padding-bottom: 0;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100dvh;
}
.fm-chat-conversation .fm-chat-main {
	flex: 1;
	min-height: 0;
}
/* پنل ورزشکار: چت دارای منوی پایین است؛ فاصله برای دیده شدن فرم ارسال */
.fitmember-panel.fm-chat-conversation .fm-coach-wrap {
	padding-bottom: 0;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100dvh;
}
.fitmember-panel.fm-chat-conversation .fm-chat-main {
	flex: 1;
	min-height: 0;
	padding-top: calc(60px + 1rem);
	padding-bottom: calc(80px + var(--fm-safe-bottom));
}
.fitmember-panel.fm-chat-conversation .fm-chat-footer {
	bottom: var(--fm-safe-bottom);
}
/* مخفی کردن منوی پایین در صفحه چت */
.fitmember-panel.fm-chat-conversation .fm-bottom-nav {
	display: none;
}
.fm-chat-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 0.75rem 1rem;
	padding-top: calc(0.75rem + var(--fm-safe-top, 0px));
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--fm-border);
	z-index: 99;
	animation: slideDownHeader 0.3s ease-out;
}
@media (prefers-color-scheme: dark) {
	.fm-chat-header {
		background: rgba(30, 41, 59, 0.98);
	}
}
.fm-chat-header-info {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex: 1;
	min-width: 0;
}
.fm-chat-avatar {
	width: 44px;
	height: 44px;
	background: linear-gradient(135deg, var(--fm-primary), #06b6d4);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 1.1rem;
	flex-shrink: 0;
}
.fm-chat-avatar-img {
	position: relative;
	overflow: hidden;
}
.fm-chat-avatar-img-el {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
}
.fm-chat-avatar-initial {
	position: relative;
	z-index: 2;
	display: none;
}
.fm-chat-avatar-img-el:not([src]),
.fm-chat-avatar-img-el[src=""],
.fm-chat-avatar-img-el[src="undefined"] {
	display: none;
}
.fm-chat-avatar-img-el:not([src]) ~ .fm-chat-avatar-initial,
.fm-chat-avatar-img-el[src=""] ~ .fm-chat-avatar-initial,
.fm-chat-avatar-img-el[src="undefined"] ~ .fm-chat-avatar-initial {
	display: flex;
}
.fm-chat-name {
	display: block;
	font-weight: 600;
}
.fm-chat-status {
	display: inline-block;
	padding: 0.15rem 0.5rem;
	background: var(--fm-secondary);
	color: #1e293b;
	font-size: 0.75rem;
	border-radius: 10px;
	margin-top: 0.2rem;
}
.fm-chat-menu-btn {
	width: 40px;
	height: 40px;
	background: transparent;
	border: none;
	color: var(--fm-text);
	font-size: 1.25rem;
	cursor: pointer;
}
.fm-chat-main {
	flex: 1;
	overflow-y: auto;
	padding: 1rem;
	padding-top: calc(60px + 1rem);
	padding-bottom: calc(80px + var(--fm-safe-bottom));
	min-height: calc(100vh - 140px);
}
.fm-chat-messages {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}
.fm-chat-bubble {
	max-width: 85%;
	padding: 0.75rem 1rem;
	border-radius: 16px;
	font-size: 0.95rem;
	position: relative;
}
.fm-chat-bubble-coach {
	align-self: flex-start;
	background: var(--fm-primary);
	color: #fff;
	border-bottom-left-radius: 12px;
}
.fm-chat-bubble-athlete {
	align-self: flex-end;
	background: var(--fm-bg-card);
	border: 1px solid var(--fm-border);
	border-bottom-right-radius: 12px;
}
.fm-chat-bubble-time {
	font-size: 0.75rem;
	opacity: 0.8;
	margin-top: 0.35rem;
}
/* انیمیشن برای ورود footer و header */
@keyframes slideUpFooter {
	from {
		transform: translateY(100%);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}
@keyframes slideDownHeader {
	from {
		transform: translateY(-100%);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}
.fm-chat-footer {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 0.75rem 1rem;
	padding-bottom: calc(0.75rem + var(--fm-safe-bottom));
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-top: 1px solid var(--fm-border);
	z-index: 100;
	animation: slideUpFooter 0.3s ease-out;
}
@media (prefers-color-scheme: dark) {
	.fm-chat-footer {
		background: rgba(30, 41, 59, 0.98);
	}
}
.fm-chat-form {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	max-width: 100%;
}
.fm-chat-attach {
	width: 44px;
	height: 44px;
	border: none;
	background:#bababa;
	color: var(--fm-text);
	border-radius: 50%;
	font-size: 1.1rem;
	cursor: pointer;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
	border: 1px solid var(--fm-border);
}
.fm-chat-attach:hover {
	background: #bababa;
	transform: scale(1.05);
}
.fm-chat-attach:active {
	transform: scale(0.95);
}
.fm-chat-send {
	width: 44px;
	height: 44px;
	border: none;
	background: var(--fm-primary);
	color: #fff;
	border-radius: 50%;
	font-size: 1.1rem;
	cursor: pointer;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
	box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}
.fm-chat-send:hover {
	background: #2563eb;
	transform: scale(1.05);
	box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}
.fm-chat-send:active {
	transform: scale(0.95);
}
.fm-chat-send:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}
.fm-chat-input {
	flex: 1;
	min-width: 0;
	height: 44px;
	padding: 0 1.25rem;
	background: var(--fm-bg-input);
	border: 1.5px solid var(--fm-border);
	border-radius: 22px;
	color: var(--fm-text);
	font-family: inherit;
	font-size: 0.95rem;
	transition: all 0.2s ease;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.fm-chat-input:focus {
	outline: none;
	border-color: var(--fm-primary);
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1), 0 2px 6px rgba(0, 0, 0, 0.08);
}
@media (prefers-color-scheme: dark) {
	.fm-chat-input:focus {
		background: var(--fm-bg-elevated);
	}
}

/* بهبود استایل دکمه attach در حالت disabled */
.fm-chat-attach:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none;
}

/* نوتیفیکیشن - چک‌باکس‌های سفارشی */
.fm-recipients-sublabel {
	display: block;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--fm-text-muted);
	margin-bottom: 0.35rem;
}
.fm-athletes-checkboxes {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-top: 0.75rem;
	overflow-x: hidden;
}
.fm-athletes-checkboxes::-webkit-scrollbar {
	width: 6px;
}
.fm-athletes-checkboxes::-webkit-scrollbar-track {
	background: transparent;
	border-radius: 3px;
}
.fm-athletes-checkboxes::-webkit-scrollbar-thumb {
	background: var(--fm-border);
	border-radius: 3px;
}
.fm-athletes-checkboxes::-webkit-scrollbar-thumb:hover {
	background: var(--fm-text-muted);
}
.fm-recipient-option {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	cursor: pointer;
	padding: 0.65rem 0.85rem;
	border-radius: var(--fm-radius);
	background: var(--fm-bg-card);
	border: 1px solid var(--fm-border);
	transition: all 0.2s ease;
	position: relative;
	margin: 0;
}
.fm-recipient-option:hover {
	background: var(--fm-bg-elevated);
	border-color: var(--fm-primary-dim);
}
.fm-recipient-checkbox {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
	margin: 0;
	padding: 0;
	pointer-events: none;
}
.fm-recipient-check {
	width: 22px;
	height: 22px;
	border: 2px solid var(--fm-border);
	border-radius: 5px;
	background: var(--fm-bg-card);
	position: relative;
	flex-shrink: 0;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.fm-recipient-checkbox:checked + .fm-recipient-check {
	background: var(--fm-primary);
	border-color: var(--fm-primary);
	box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
}
.fm-recipient-checkbox:checked + .fm-recipient-check::after {
	content: '';
	width: 5px;
	height: 9px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
	margin-top: -1px;
}
.fm-recipient-checkbox:focus + .fm-recipient-check {
	outline: 2px solid var(--fm-primary-dim);
	outline-offset: 2px;
}
.fm-recipients-field {
	margin-top: 1rem;
}
.fm-recipients-wrapper {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}
.fm-recipient-all {
	margin-bottom: 0.25rem;
	padding: 0.7rem 0.9rem;
	background: var(--fm-bg-elevated);
	border: 1px solid var(--fm-border);
	font-weight: 600;
}
.fm-recipient-all:hover {
	background: var(--fm-bg-card);
}
.fm-recipient-text {
	flex: 0 1 auto;
	font-size: 0.9rem;
	color: var(--fm-text);
	line-height: 1.4;
	font-weight: 500;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}
.fm-recipient-name {
	color: var(--fm-text);
	font-weight: 500;
}
.fm-recipient-mobile {
	color: var(--fm-text-muted);
	font-size: 0.8rem;
	font-weight: 400;
	opacity: 0.7;
}
.fm-recipient-option:active {
	transform: scale(0.97);
}
.fm-recipient-option:has(.fm-recipient-checkbox:checked) {
	background: rgba(59, 130, 246, 0.08);
	border-color: var(--fm-primary-dim);
}
.fm-recipient-all:has(.fm-recipient-checkbox:checked) {
	background: rgba(59, 130, 246, 0.12);
	border-color: var(--fm-primary);
}
/* تب‌های انتخاب گیرندگان */
.fm-notif-tabs-wrapper {
	margin-top: 0.5rem;
}
.fm-tabs-nav {
	display: flex;
	gap: 0.5rem;
	margin-bottom: 1rem;
	border-bottom: 2px solid var(--fm-border);
}
.fm-tab-btn {
	font-family: 'IRANSansX', -apple-system, BlinkMacSystemFont, sans-serif;
	flex: 1;
	padding: 0.75rem 1rem;
	background: transparent;
	border: none;
	border-bottom: 2px solid transparent;
	color: var(--fm-text-muted);
	font-size: 0.9rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s;
	margin-bottom: -2px;
	text-align: center;
}
.fm-tab-btn:hover {
	color: var(--fm-text);
	background: var(--fm-bg-elevated);
}
.fm-tab-btn.fm-tab-active {
	color: var(--fm-primary);
	border-bottom-color: var(--fm-primary);
	font-weight: 600;
}
.fm-tab-btn:active {
	transform: scale(0.98);
}
.fm-tabs-content {
	position: relative;
}
.fm-tab-panel {
	display: block;
}
.fm-tab-panel.fm-hidden {
	display: none;
}
/* دکمه تاریخچه */
.fm-history-link {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.875rem 1rem;
	margin-top: 1rem;
	background: var(--fm-bg-card);
	border: 1px solid var(--fm-border);
	border-radius: var(--fm-radius);
	color: var(--fm-primary);
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 500;
	transition: all 0.2s;
}
.fm-history-link:hover {
	background: var(--fm-bg-elevated);
	border-color: var(--fm-primary-dim);
	color: var(--fm-primary);
}
.fm-history-link:active {
	transform: scale(0.98);
	opacity: 0.9;
}
.fm-history-link .fm-icon {
	width: 1.1em;
	height: 1.1em;
}
.fm-textarea {
	min-height: 100px;
	resize: vertical;
	padding-top: 0.75rem;
}

/* Toast */
.fm-toast {
	position: fixed;
	bottom: calc(var(--fm-nav-height) + 16px + var(--fm-safe-bottom));
	left: 50%;
	transform: translateX(-50%);
	max-width: 90%;
	padding: 0.75rem 1.25rem;
	background: #fa6c6c;
	border: 1px solid var(--fm-border);
	border-radius: var(--fm-radius-sm);
	font-size: 0.9rem;
	z-index: 1001;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s, visibility 0.3s;
	box-shadow: var(--fm-shadow-card);
}
.fm-toast.fm-show {
	opacity: 1;
	visibility: visible;
}
.fm-toast.fm-error {
	border-color: #fff;
	color:#fff;
}
.fm-toast.fm-success {
	border-color: var(--fm-primary);
	color: #fff;
	background: var(--fm-primary)
}

/* پروفایل مربی */
.fm-profile-card {
	padding: 1.5rem;
}
.fm-profile-avatar-wrap {
	text-align: center;
	margin-bottom: 1.5rem;
}
.fm-profile-avatar-label {
	display: inline-block;
	position: relative;
	width: 100px;
	height: 100px;
	border-radius: 50%;
	overflow: hidden;
	background: var(--fm-bg-input);
	cursor: pointer;
	border: 3px solid var(--fm-border);
}
.fm-profile-avatar-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.fm-profile-avatar-initial {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-size: 2rem;
	font-weight: 700;
	color: var(--fm-primary-light);
}
.fm-profile-avatar-initial.fm-hidden {
	display: none;
}
.fm-profile-avatar-camera {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 32px;
	background: rgba(0, 0, 0, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
}
.fm-profile-avatar-camera .fm-icon-sm {
	width: 18px;
	height: 18px;
}
.fm-app-settings-card {
	margin-top: 0.75rem;
	padding: 0.9rem;
	background: #fafafa;
	border: 1px solid var(--fm-border-subtle);
}
.fm-section-subtitle {
	margin: 0 0 0.8rem;
	font-size: 0.92rem;
	font-weight: 700;
	color: var(--fm-text);
}
.fm-app-banner-preview {
	width: 100%;
	border-radius: 0.8rem;
	overflow: hidden;
	border: 1px dashed var(--fm-border);
	background: var(--fm-bg-card);
	margin-bottom: 0.5rem;
	margin-top: 8px;
}
.fm-app-banner-preview img {
	display: block;
	width: 100%;
	height: auto;
}
.fm-field-hint {
	margin: 0.25rem 0 0;
	font-size: 0.8rem;
	color: var(--fm-text-muted);
}
.fm-input[readonly] {
	opacity: 0.85;
	cursor: default;
}
.fm-input[type="number"]::-webkit-inner-spin-button,
.fm-input[type="number"]::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
.fm-input[type="number"] {
	-moz-appearance: textfield;
}

/* Date Picker شمسی iOS Style - Scroll Wheel */
.fm-date-picker-wrap {
	margin-top: 0.5rem;
}
.fm-date-picker-ios {
	display: flex;
	background: var(--fm-bg-card);
	border: 1px solid var(--fm-border);
	border-radius: var(--fm-radius);
	overflow: hidden;
	height: 200px;
	position: relative;
}
.fm-picker-column {
	flex: 1;
	display: flex;
	flex-direction: column;
	position: relative;
	border-left: 1px solid var(--fm-border);
}
.fm-picker-column:first-child {
	border-left: none;
}
.fm-picker-label {
	padding: 0.5rem 0.5rem;
	text-align: center;
	font-size: 0.85rem;
	font-weight: 600;
	color: #fff;
	background: #3b82f6;
	border-bottom: 1px solid var(--fm-border);
}
.fm-picker-wheel {
	flex: 1;
	overflow-y: auto;
	overflow-x: hidden;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	position: relative;
	padding: 60px 0;
}
.fm-picker-wheel::-webkit-scrollbar {
	display: none;
}
.fm-picker-wheel {
	-ms-overflow-style: none;
	scrollbar-width: none;
}
.fm-picker-item {
	padding: 0.75rem 0.5rem;
	text-align: center;
	font-size: 15px;
	color: var(--fm-text);
	cursor: pointer;
	user-select: none;
	-webkit-user-select: none;
	min-height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color 0.15s, opacity 0.15s, filter 0.15s;
	opacity: 0.6;
	filter: blur(1px);
}
.fm-picker-item:hover {
	color: var(--fm-primary-light);
}
.fm-picker-item.selected {
	opacity: 1;
	filter: blur(0);
}
.fm-picker-wheel::before,
.fm-picker-wheel::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	height: 60px;
	pointer-events: none;
	z-index: 1;
}
.fm-picker-wheel::before {
	top: 0;
	background: linear-gradient(to bottom, var(--fm-bg-card) 0%, rgba(30, 41, 59, 0) 100%);
}
.fm-picker-wheel::after {
	bottom: 0;
	background: linear-gradient(to top, var(--fm-bg-card) 0%, rgba(30, 41, 59, 0) 100%);
}
.fm-picker-item.selected {
	color: var(--fm-primary-light);
	font-weight: 600;
	font-size: 1.1rem;
	opacity: 1;
	filter: blur(0);
}
.fm-picker-wheel::before {
	content: '';
	position: absolute;
	top: 60px;
	left: 0;
	right: 0;
	height: 40px;
	border-top: 1px solid var(--fm-primary);
	border-bottom: 1px solid var(--fm-primary);
	pointer-events: none;
	z-index: 2;
	background: rgba(59, 130, 246, 0.05);
}

/* Gender Selector مستطیلی با آیکون و متن */
.fm-gender-selector {
	display: flex;
	gap: 0.75rem;
	margin-top: 0.75rem;
}
.fm-gender-option {
	flex: 1;
	cursor: pointer;
}
.fm-radio-hidden {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}
.fm-gender-card {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	border-radius: var(--fm-radius-sm);
	background: var(--fm-bg-input);
	border: 1px solid var(--fm-border);
	transition: all 0.2s;
	min-height: 56px;
}
.fm-gender-card .fm-icon {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
}
.fm-gender-card .fm-gender-icon {
	width: 30px;
	height: 30px;
	flex-shrink: 0;
	object-fit: contain;
}
.fm-gender-card .fm-gender-label {
	font-size: 1rem;
	font-weight: 500;
	color: var(--fm-text-muted);
	transition: color 0.2s;
}
.fm-gender-male .fm-gender-card {
	color: var(--fm-text-muted);
}
.fm-gender-female .fm-gender-card {
	color: var(--fm-text-muted);
}
.fm-gender-option input:checked + .fm-gender-card {
	background: var(--fm-primary-dim);
	border-color: var(--fm-primary);
}
.fm-gender-male input:checked + .fm-gender-card {
	color: var(--fm-primary-light);
}
.fm-gender-male input:checked + .fm-gender-card .fm-gender-label {
	color: var(--fm-primary-light);
}
.fm-gender-female input:checked + .fm-gender-card {
	color: #ec4899;
	border-color: #ec4899;
	background: rgba(236, 72, 153, 0.15);
}
.fm-gender-female input:checked + .fm-gender-card .fm-gender-label {
	color: #ec4899;
}
.fm-gender-option:active .fm-gender-card {
	transform: scale(0.98);
}

/* Type Selector (حضوری/آنلاین) */
.fm-type-selector {
	display: flex;
	gap: 0.75rem;
	margin-top: 0.75rem;
}
.fm-type-option {
	flex: 1;
	cursor: pointer;
}
.fm-type-card {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	border-radius: var(--fm-radius-sm);
	background: var(--fm-bg-input);
	border: 1px solid var(--fm-border);
	transition: all 0.2s;
	min-height: 56px;
	padding: 0.75rem;
}
.fm-type-card .fm-type-label {
	font-size: 1rem;
	font-weight: 500;
	color: var(--fm-text-muted);
	transition: color 0.2s;
}
.fm-type-option input:checked + .fm-type-card {
	background: var(--fm-primary-dim);
	border-color: var(--fm-primary);
}
.fm-type-option input:checked + .fm-type-card .fm-type-label {
	color: var(--fm-primary-light);
}
.fm-type-option:active .fm-type-card {
	transform: scale(0.98);
}

/* دکمه ایجاد ورزشکار جدید */
.fm-create-athlete-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	text-decoration: none;
}

/* صفحه‌بندی */
.fm-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin: 1.5rem 0;
	padding: 0.75rem;
}
.fm-pagination-btn {
	min-width: auto;
	height: 40px;
	padding: 0 0.75rem;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	border: 1px solid var(--fm-border);
	background: var(--fm-bg-card);
	color: var(--fm-text);
	border-radius: var(--fm-radius-sm);
	text-decoration: none;
	font-family: inherit;
	font-size: 0.9rem;
	transition: all 0.2s ease;
	cursor: pointer;
}
.fm-pagination-btn:hover:not(.fm-disabled) {
	background: var(--fm-bg-elevated);
	border-color: var(--fm-primary);
	color: var(--fm-primary-light);
}
.fm-pagination-btn.fm-disabled {
	opacity: 0.4;
	cursor: not-allowed;
	pointer-events: none;
}
.fm-pagination-numbers {
	display: flex;
	align-items: center;
	gap: 0.35rem;
}
.fm-pagination-number {
	min-width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--fm-border);
	background: var(--fm-bg-card);
	color: var(--fm-text);
	border-radius: var(--fm-radius-sm);
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 500;
	transition: all 0.2s ease;
	cursor: pointer;
}
.fm-pagination-number:hover {
	background: var(--fm-bg-elevated);
	border-color: var(--fm-primary);
	color: var(--fm-primary-light);
}
.fm-pagination-number.fm-active {
	background: var(--fm-primary);
	border-color: var(--fm-primary);
	color: #fff;
	cursor: default;
}
.fm-pagination-dots {
	padding: 0 0.5rem;
	color: var(--fm-text-muted);
	font-size: 0.9rem;
}
.fm-pagination-info {
	font-size: 0.9rem;
	color: var(--fm-text-muted);
	padding: 0 0.5rem;
}

/* لودینگ لیست - فقط روی بخش لیست ورزشکاران */
.fm-athletes-list {
	position: relative;
	min-height: 200px;
}
.fm-athletes-list.fm-loading::before {
	content: '';
	position: absolute;
	inset: 0;
	background: #fff;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	z-index: 10;
	border-radius: var(--fm-radius);
}
.fm-athletes-list.fm-loading::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 32px;
	height: 32px;
	border-radius: 999px;
	border: 2px solid rgba(248, 250, 252, 0.18);
	border-top-color: #ffffff;
	box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.8);
	transform: translate(-50%, -50%);
	animation: fm-page-spin 0.7s linear infinite;
	z-index: 11;
}
.fm-list-loader {
	display: none; /* استفاده از overlay روی لیست به جای loader جداگانه */
}

/* لیست کلاس‌های ورزشکار داخل مدال */
.fm-athlete-classes-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}
.fm-athlete-class-item {
	padding: 0.6rem 0.75rem;
	border-radius: var(--fm-radius-sm);
	background: var(--fm-bg-elevated);
	border: 1px solid var(--fm-border);
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	font-size: 0.9rem;
}
.fm-athlete-class-name-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
}
.fm-athlete-class-name {
	font-weight: 600;
	color: var(--fm-text);
}
.fm-athlete-class-type {
	font-size: 0.8rem;
	color: var(--fm-text-muted);
}
.fm-athlete-class-meta {
	display: inline-grid;
	flex-wrap: wrap;
	gap: 0.35rem;
	color: var(--fm-text-muted);
	margin-top: 12px;
}
.fm-athlete-class-tag {
	padding: 0.18rem 0.5rem;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.6);
	font-size: 0.8rem;
}

/* دکمه خروج از حساب کاربری */
.fm-logout-card {
	margin-top: 1rem;
	padding: 1rem 1.5rem;
}
.fm-btn-logout {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	background: transparent;
	border: 1px solid rgba(239, 68, 68, 0.3);
	color: #ef4444;
	padding: 0.75rem 1rem;
	border-radius: var(--fm-radius-btn);
	font-size: 0.95rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
}
.fm-btn-logout:hover {
	background: rgba(239, 68, 68, 0.1);
	border-color: rgba(239, 68, 68, 0.5);
}
.fm-btn-logout:active {
	transform: scale(0.98);
	background: rgba(239, 68, 68, 0.15);
}

/* مدال تایید خروج */
.fm-modal {
	position: fixed;
	inset: 0;
	z-index: 3000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	pointer-events: none;
}
.fm-modal.fm-hidden {
	display: none;
}
.fm-modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.75);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	opacity: 0;
	transition: opacity 0.2s ease;
}
.fm-modal:not(.fm-hidden) .fm-modal-overlay {
	opacity: 1;
	pointer-events: auto;
}
.fm-modal-content {
	position: relative;
	background: var(--fm-bg-card);
	border-radius: var(--fm-radius);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
	max-width: 90%;
	width: 100%;
	max-width: 360px;
	max-height: 85vh;
	display: flex;
	flex-direction: column;
	transform: scale(0.9);
	opacity: 0;
	transition: transform 0.2s ease, opacity 0.2s ease;
	pointer-events: auto;
}
.fm-modal:not(.fm-hidden) .fm-modal-content {
	transform: scale(1);
	opacity: 1;
}
.fm-modal-header {
	padding: 1.25rem 1.5rem 0.75rem;
	border-bottom: 1px solid var(--fm-border);
	flex-shrink: 0;
}
.fm-modal-title {
	margin: 0;
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--fm-text);
}
.fm-modal-header-with-close {
	display: flex;
	align-items: center;
}
.fm-modal-close-icon {
	flex-shrink: 0;
	width: 2.25rem;
	height: 2.25rem;
	display: inline-flex;
	align-items: center;
	padding: 0;
	border: none;
	background: transparent;
	color: var(--fm-text-muted);
	border-radius: var(--fm-radius-btn);
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}
.fm-modal-close-icon:hover {
	background: var(--fm-bg-soft);
	color: var(--fm-text);
}
.fm-modal-header-with-close .fm-modal-title {
	flex: 1;
}
/* در RTL اولین المان (دکمه بستن) سمت راست قرار می‌گیرد */
[dir="rtl"] .fm-modal-header-with-close .fm-modal-title {
	text-align: right;
}

/* پیام ذخیره/خطا داخل مدال جلسات */
.fm-class-sessions-saved-msg {
	margin: 0 0 0.75rem;
	padding: 0.5rem 0.75rem;
	border-radius: var(--fm-radius-btn);
	font-size: 0.9rem;
	transition: opacity 0.2s;
}
.fm-class-sessions-saved-msg.fm-hidden {
	display: none;
}
.fm-class-sessions-saved-msg-success {
	background: rgba(34, 197, 94, 0.15);
	color: var(--fm-success, #22c55e);
}
.fm-class-sessions-saved-msg-error {
	background: rgba(239, 68, 68, 0.15);
	color: var(--fm-danger, #ef4444);
}

.fm-modal-body {
	padding: 1.25rem 1.5rem;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	flex: 1 1 auto;
	min-height: 0;
}
.fm-dashboard-day-modal-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.fm-dashboard-day-modal-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.75rem 0;
	border-bottom: 1px solid var(--fm-border);
}
.fm-dashboard-day-modal-item:last-child {
	border-bottom: none;
}
.fm-dashboard-day-modal-name {
	font-weight: 500;
	color: var(--fm-text);
}
.fm-dashboard-day-modal-time {
	font-variant-numeric: tabular-nums;
	color: var(--fm-primary);
	font-weight: 500;
}
.fm-dashboard-day-modal-time.fm-text-muted {
	color: var(--fm-text-muted);
	font-weight: normal;
}
.fm-modal-message {
	margin: 0;
	color: var(--fm-text-muted);
	line-height: 1.6;
	font-size: 0.95rem;
}
.fm-modal-footer {
	display: flex;
	gap: 0.75rem;
	padding: 0.75rem 1.5rem 1.25rem;
	border-top: 1px solid var(--fm-border);
	flex-shrink: 0;
}
.fm-modal-footer .fm-btn {
	flex: 1;
	padding: 0.75rem 1rem;
	border-radius: var(--fm-radius-btn);
	font-size: 0.9rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
	border: none;
}
.fm-modal-cancel {
	background: var(--fm-bg-input);
	color: var(--fm-text);
}
.fm-modal-cancel:hover {
	background: var(--fm-bg-elevated);
}
.fm-modal-cancel:active {
	transform: scale(0.98);
}
.fm-modal-confirm {
	background: #ef4444;
	color: #fff;
}
.fm-modal-confirm:hover {
	background: #dc2626;
}
.fm-modal-confirm:active {
	transform: scale(0.98);
	background: #b91c1c;
}
.fm-btn-danger {
	background: #ef4444;
	color: #fff;
}
.fm-btn-danger:hover {
	background: #dc2626;
}
.fm-btn-secondary {
	background: var(--fm-bg-input);
	color: var(--fm-text);
	border: 1px solid var(--fm-border);
}


/* ---------- صفحه ایجاد کلاس ---------- */
.fm-create-class-form .fm-card-section {
	margin-bottom: 1.25rem;
	max-width: 100%;
	overflow-x: hidden;
	box-sizing: border-box;
}
.fm-create-class-form .fm-section-title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 0.35rem;
	font-size: 1rem;
	font-weight: 600;
	color: var(--fm-text);
}
.fm-create-class-form .fm-section-desc {
	margin: 0 0 1rem;
	font-size: 0.9rem;
	color: var(--fm-text-muted);
}
/* اسکرول افقی روزهای هفته (فقط نام روز) */
.fm-day-scroll-wrap {
	margin-bottom: 0.75rem;
	overflow: hidden;
	-webkit-overflow-scrolling: touch;
}
.fm-day-scroll {
	display: flex;
	gap: 0.65rem;
	overflow-x: auto;
	overflow-y: hidden;
	padding: 0.5rem 0.25rem;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}
.fm-day-scroll::-webkit-scrollbar {
	display: none;
}
.fm-day-scroll {
	-ms-overflow-style: none;
}
.fm-day-card {
	flex: 0 0 auto;
	min-width: 88px;
	width: 88px;
	padding: 0.85rem 0.5rem;
	border: 1px solid var(--fm-border);
	background: var(--fm-bg-card);
	color: var(--fm-text-muted);
	border-radius: var(--fm-radius-sm);
	font-family: inherit;
	font-size: 0.9rem;
	font-weight: 500;
	cursor: pointer;
	transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;

}
.fm-day-card:hover {
	border-color: var(--fm-primary);
	color: var(--fm-primary-light);
	background: var(--fm-bg-elevated);
}
.fm-day-card[aria-pressed="true"],
.fm-day-card-active {
	background: var(--fm-primary);
	border-color: var(--fm-primary);
	color: #fff;
	box-shadow: 0 2px 8px rgba(59, 130, 246, 0.35);
}
.fm-day-card-name {
	display: block;
	line-height: 1.3;
}
.fm-schedule-rows {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-top: 1rem;

}
.fm-schedule-row {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 0.5rem;
	margin-bottom: 0.5rem;
	padding: 0.6rem;
	background: #fbfbfb;
	border: 1px solid var(--fm-border);
	border-radius: var(--fm-radius);
	max-width: 100%;
	box-sizing: border-box;
}
@media (max-width: 768px) {
	.fm-schedule-row {
		padding: 0.5rem;
		gap: 0.4rem;
	}
}
@media (max-width: 480px) {
	.fm-schedule-row {
		flex-direction: row;
		padding: 0.35rem;
		gap: 0.25rem;
		flex-wrap: nowrap;
		align-items: stretch;
	}
	.fm-schedule-row .fm-schedule-day-header {
		min-width: 2.5rem;
		max-width: 2.5rem;
		padding-inline-end: 0.35rem;
		border-bottom: none;
		padding-bottom: 0;
		margin-bottom: 0;
		margin-inline-end: 0.25rem;
		font-size: 0.7rem;
		writing-mode: vertical-rl;
		text-orientation: mixed;
		justify-content: center;
		flex-shrink: 0;
		transform: rotate(180deg);
	}
	.fm-schedule-time-pickers {
		width: auto;
		flex-direction: row;
		gap: 0.25rem;
		flex-wrap: nowrap;
		flex: 1;
		min-width: 0;
		overflow: hidden;
	}
	.fm-schedule-row .fm-time-picker-group {
		flex: 1 1 auto;
		min-width: 0;
		max-width: calc(50% - 0.125rem);
	}
	.fm-time-picker-simple {
		width: 100%;
		min-width: 0;
	}
	.fm-time-value-group {
		padding: 0.25rem 0.3rem;
		min-height: 48px;
		gap: 0.15rem;
		width: 100%;
		max-width: 100%;
	}
	.fm-time-value-display {
		font-size: 0.95rem;
		min-width: 1.6rem;
	}
	.fm-time-separator {
		font-size: 0.95rem;
		margin: 0 0.1rem;
	}
	.fm-time-arrow-btn {
		width: 24px;
		height: 22px;
	}
	.fm-time-arrow-btn .fm-icon {
		width: 10px;
		height: 10px;
	}
	.fm-time-value-column {
		max-width: 50px;
		flex: 1;
		min-width: 0;
	}
	.fm-time-column-label {
		font-size: 0.5rem;
	}
}
.fm-schedule-row:last-child {
	margin-bottom: 0;
}
.fm-schedule-day-header {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	min-width: 4.5rem;
	padding-inline-end: 0.75rem;

	margin-inline-end: 0.5rem;
}
@media (max-width: 768px) {
	.fm-schedule-day-header {
		min-width: 3.5rem;
		padding-inline-end: 0.5rem;
		margin-inline-end: 0.35rem;
		font-size: 0.85rem;
	}
}
.fm-schedule-day-label {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--fm-text);
}
.fm-schedule-time-pickers {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 0.5rem;
	flex: 1;
	min-width: 0;
}
@media (max-width: 768px) {
	.fm-schedule-time-pickers {
		flex-wrap: wrap;
		gap: 0.4rem;
	}
}
.fm-schedule-row .fm-time-picker-group {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 0.35rem;
	flex: 1;
	min-width: 0;
}
@media (max-width: 768px) {
	.fm-schedule-row .fm-time-picker-group {
		
		min-width: 0;
		gap: 0.25rem;
	}
}
.fm-time-picker-group {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}
.fm-schedule-row .fm-time-label {
	flex-shrink: 0;
}
.fm-time-label {
	font-size: 0.85rem;
	color: var(--fm-text-muted);
	font-weight: 500;
}
.fm-time-picker-wrap {
	position: relative;
	flex: 1;
	min-width: 0;
}
/* Time Picker Simple (با دکمه‌های Arrow) */
.fm-time-picker-simple {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	flex: 1;
	min-width: 0;
}
.fm-time-value-group {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	background: var(--fm-bg-card);
	border: 1.5px solid var(--fm-border);
	border-radius: var(--fm-radius);
	padding: 0.5rem 0.6rem;
	min-height: 64px;
	transition: border-color 0.2s ease;
	max-width: 100%;
	box-sizing: border-box;
}
@media (max-width: 768px) {
	.fm-time-value-group {
		padding: 0.4rem 0.5rem;
		min-height: 58px;
		gap: 0.25rem;
	}
}
.fm-time-picker-simple:focus-within .fm-time-value-group {
	border-color: var(--fm-primary);
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.fm-time-value-column {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.2rem;
	flex: 1;
	min-width: 0;
	max-width: 80px;
	position: relative;
}
@media (max-width: 768px) {
	.fm-time-value-column {
		max-width: 65px;
		flex: 1 1 auto;
	}
}
.fm-time-column-label {
	font-size: 0.65rem;
	font-weight: 500;
	color: var(--fm-text-muted);
	text-align: center;
	line-height: 1;
	margin-bottom: 0.1rem;
	opacity: 0.7;
}
.fm-time-value-display {
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--fm-text);
	min-width: 2.8rem;
	text-align: center;
	line-height: 1.3;
	padding: 0.25rem 0.15rem;
	user-select: none;
	-webkit-user-select: none;
	transition: color 0.2s ease;
	position: relative;
	overflow: hidden;
}
/* انیمیشن slide برای تغییر اعداد */
.fm-time-value-display {
	overflow: hidden;
	position: relative;
	display: inline-block;
}
.fm-time-value-display.fm-time-value-sliding {
	overflow: visible;
}
/* Slide out animations */
.fm-time-value-display.fm-time-value-slide-up {
	animation: slideOutUp 0.25s ease-out forwards;
}
.fm-time-value-display.fm-time-value-slide-down {
	animation: slideOutDown 0.25s ease-out forwards;
}
/* Slide in animations */
.fm-time-value-display.fm-time-value-slide-in-up {
	animation: slideInUp 0.25s ease-out forwards;
}
.fm-time-value-display.fm-time-value-slide-in-down {
	animation: slideInDown 0.25s ease-out forwards;
}
@keyframes slideOutUp {
	0% {
		transform: translateY(0);
		opacity: 1;
	}
	100% {
		transform: translateY(-100%);
		opacity: 0;
	}
}
@keyframes slideOutDown {
	0% {
		transform: translateY(0);
		opacity: 1;
	}
	100% {
		transform: translateY(100%);
		opacity: 0;
	}
}
@keyframes slideInUp {
	0% {
		transform: translateY(100%);
		opacity: 0;
	}
	100% {
		transform: translateY(0);
		opacity: 1;
	}
}
@keyframes slideInDown {
	0% {
		transform: translateY(-100%);
		opacity: 0;
	}
	100% {
		transform: translateY(0);
		opacity: 1;
	}
}
.fm-time-separator {
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--fm-text-muted);
	padding: 0 0.2rem;
	flex-shrink: 0;
	line-height: 1.3;
}
.fm-time-arrow-btn {
	width: 36px;
	height: 32px;
	border: none;
	background: #787878;
	border: 1px solid var(--fm-border);
	border-radius: var(--fm-radius-sm);
	color: var(--fm-text);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
	flex-shrink: 0;
	padding: 0;
	position: relative;
}
.fm-time-arrow-btn:hover {
	background: var(--fm-primary);
	border-color: var(--fm-primary);
	transform: translateY(-1px);
	box-shadow: 0 2px 6px rgba(59, 130, 246, 0.3);
}
.fm-time-arrow-btn:active {
	transform: translateY(0);
	box-shadow: 0 1px 3px rgba(59, 130, 246, 0.2);
}
.fm-time-arrow-btn:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}
.fm-time-arrow-btn .fm-icon {
	width: 16px;
	height: 16px;
	transition: filter 0.2s ease;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 15l-6-6-6 6'/%3E%3C/svg%3E");
}
.fm-time-arrow-btn.fm-time-arrow-down .fm-icon {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}
.fm-time-arrow-btn:hover .fm-icon {
	filter: none;
}
.fm-schedule-row .fm-time-picker-ios {
	height: 100px;
	flex: 1;
	min-width: 100px;
}
.fm-schedule-row .fm-time-picker-ios .fm-picker-item {
	min-height: 22px;
	font-size: 13px;
	padding: 0.25rem 0.3rem;
}
.fm-schedule-row .fm-time-picker-ios .fm-picker-label {
	padding: 0.2rem 0.3rem;
	font-size: 0.75rem;
}
.fm-time-picker-ios {
	display: flex;
	background: var(--fm-bg-card);
	border: 1px solid var(--fm-border);
	border-radius: var(--fm-radius-sm);
	overflow: hidden;
	height: 140px;
	position: relative;
}
.fm-time-picker-ios .fm-picker-column {
	flex: 1;
	display: flex;
	flex-direction: column;
	position: relative;
	border-left: 1px solid var(--fm-border);
}
.fm-time-picker-ios .fm-picker-column:first-child {
	border-left: none;
}
.fm-time-picker-ios .fm-picker-label {
	padding: 0.35rem 0.4rem;
	text-align: center;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--fm-text-muted);
	background: var(--fm-bg-elevated);
	border-bottom: 1px solid var(--fm-border);
}
.fm-time-picker-ios .fm-picker-wheel {
	flex: 1;
	overflow-y: auto;
	overflow-x: hidden;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	position: relative;
	padding: 40px 0;
	scroll-snap-type: y proximity;
}
.fm-time-picker-ios .fm-picker-item {
	scroll-snap-align: center;
	scroll-snap-stop: normal;
}
.fm-time-picker-ios .fm-picker-wheel::-webkit-scrollbar {
	display: none;
}
.fm-time-picker-ios .fm-picker-wheel {
	-ms-overflow-style: none;
	scrollbar-width: none;
}
.fm-time-picker-ios .fm-picker-item {
	padding: 0.5rem 0.4rem;
	text-align: center;
	font-size: 14px;
	color: var(--fm-text);
	cursor: pointer;
	user-select: none;
	-webkit-user-select: none;
	min-height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color 0.2s ease, opacity 0.2s ease, filter 0.2s ease, transform 0.2s ease, background 0.2s ease;
	opacity: 0.5;
	filter: blur(0.8px);
}
.fm-time-picker-ios .fm-picker-item:hover {
	color: var(--fm-primary-light);
}
.fm-time-picker-ios .fm-picker-item.selected {
	color: var(--fm-primary);
	font-weight: 700;
	font-size: 1.15rem;
	opacity: 1;
	filter: blur(0);
	background: rgba(59, 130, 246, 0.2);
	border-radius: 6px;
	position: relative;
	z-index: 2;
	transform: scale(1.05);
	transition: all 0.2s ease;
}
.fm-schedule-row .fm-time-picker-ios .fm-picker-wheel {
	padding-top: 24px;
	padding-bottom: 24px;
	scroll-snap-type: y mandatory;
}
.fm-schedule-row .fm-time-picker-ios .fm-picker-wheel::before,
.fm-schedule-row .fm-time-picker-ios .fm-picker-wheel::after {
	height: 24px;
}
.fm-time-picker-ios .fm-picker-wheel::before,
.fm-time-picker-ios .fm-picker-wheel::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	height: 40px;
	pointer-events: none;
	z-index: 1;
}
.fm-time-picker-ios .fm-picker-wheel::before {
	top: 0;
	background: linear-gradient(to bottom, var(--fm-bg-card) 0%, rgba(30, 41, 59, 0) 100%);
}
.fm-time-picker-ios .fm-picker-wheel::after {
	bottom: 0;
	background: linear-gradient(to top, var(--fm-bg-card) 0%, rgba(30, 41, 59, 0) 100%);
}
/* نشانگر مرکز برای آیتم انتخاب‌شده - فقط highlight بدون خط */
.fm-time-picker-ios .fm-picker-column {
	position: relative;
}
.fm-time-picker-ios .fm-picker-column::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	height: 32px;
	background: rgba(59, 130, 246, 0.12);
	pointer-events: none;
	z-index: 0;
	border-radius: 6px;
}
.fm-schedule-row .fm-time-picker-ios .fm-picker-column::before {
	height: 26px;
}
.fm-time-picker-ios .fm-picker-item {
	position: relative;
	z-index: 1;
}
.fm-time-picker-ios .fm-picker-item.selected {
	z-index: 2;
}
.fm-alert {
	padding: 0.75rem 1rem;
	border-radius: var(--fm-radius-btn);
	margin-bottom: 1rem;
	font-size: 0.9rem;
}
.fm-alert-success {
	background: var(--fm-secondary-dim);
	color: #34d399;
	border: 1px solid rgba(16, 185, 129, 0.4);
}
.fm-alert-error {
	background: rgba(239, 68, 68, 0.15);
	color: #f87171;
	border: 1px solid rgba(239, 68, 68, 0.4);
}
.fm-athlete-search-wrap {
	margin-bottom: 0.75rem;
	max-width: 100%;
	overflow: hidden;
}
.fm-athlete-search-wrap .fm-search-input {
	max-width: 100%;
	box-sizing: border-box;
}
.fm-class-athlete-list {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	height: 300px;
	overflow-y: auto;
	overflow-x: hidden;
	margin-bottom: 0.75rem;
	max-width: 100%;
	box-sizing: border-box;
	padding: 0.25rem;
}
.fm-class-athlete-list::-webkit-scrollbar {
	width: 6px;
}
.fm-class-athlete-list::-webkit-scrollbar-track {
	background: var(--fm-bg-elevated);
	border-radius: 3px;
}
.fm-class-athlete-list::-webkit-scrollbar-thumb {
	background: var(--fm-border);
	border-radius: 3px;
}
.fm-class-athlete-list::-webkit-scrollbar-thumb:hover {
	background: var(--fm-text-muted);
}
.fm-class-athlete-list .fm-athlete-pagination {
	margin-top: 0.5rem;
	margin-bottom: 0;
	padding: 0.75rem 0;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
	flex-shrink: 0;
	position: sticky;
	bottom: 0;
	background: var(--fm-bg-card);
	border-top: 1px solid var(--fm-border);
	margin-inline: -0.25rem;
	padding-inline: 0.25rem;
}
.fm-class-athlete-list .fm-athlete-pagination button {
	padding: 0.4rem 0.8rem;
	font-size: 0.85rem;
	border-radius: var(--fm-radius-sm);
	border: 1px solid var(--fm-border);
	background: var(--fm-bg-elevated);
	color: var(--fm-text);
	cursor: pointer;
	transition: all 0.2s ease;
}
.fm-class-athlete-list .fm-athlete-pagination button:hover:not(:disabled) {
	background: var(--fm-primary-dim);
	border-color: var(--fm-primary);
	color: var(--fm-primary-light);
}
.fm-class-athlete-list .fm-athlete-pagination button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}
.fm-class-athlete-list .fm-athlete-pagination .fm-text-muted {
	font-size: 0.85rem;
	color: var(--fm-text-muted);
}
.fm-class-athlete-item {
	display: flex;
	align-items: center;
	flex-direction: row;
	gap: 0.75rem;
	padding: 0.65rem 1rem;
	cursor: pointer;
	border-radius: var(--fm-radius-sm);
	border: 1px solid var(--fm-border);
	transition: background 0.2s, border-color 0.2s;
	background: var(--fm-bg-card);
	margin-bottom: 0;
	max-width: 100%;
	overflow: hidden;
	box-sizing: border-box;
	flex-shrink: 0;
}
.fm-class-athlete-item:last-child {
	margin-bottom: 0;
}
.fm-class-athlete-item:hover {
	background: var(--fm-bg-elevated);
	border-color: var(--fm-primary);
}
.fm-class-athlete-item:has(input:checked) {
	background: var(--fm-primary-dim);
	border-color: var(--fm-primary);
}
.fm-class-athlete-item:has(input:checked):hover {
	background: var(--fm-primary-dim);
	border-color: var(--fm-primary-light);
}
.fm-class-athlete-item input.fm-athlete-pick-cb {
	width: 20px;
	height: 20px;
	accent-color: var(--fm-primary);
	flex-shrink: 0;
	cursor: pointer;
	margin: 0;
}
.fm-athlete-pick-name {
	font-weight: 500;
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	text-align: right;
}
.fm-athlete-pick-mobile {
	font-size: 0.85rem;
	color: var(--fm-text-muted);
	flex-shrink: 0;
	white-space: nowrap;
	margin-inline-start: auto;
}
@media (max-width: 768px) {
	.fm-class-athlete-item {
		padding: 0.55rem 0.75rem;
		gap: 0.6rem;
	}
	.fm-class-athlete-item input.fm-athlete-pick-cb {
		width: 18px;
		height: 18px;
	}
	.fm-athlete-pick-name {
		font-size: 0.9rem;
	}
	.fm-athlete-pick-mobile {
		font-size: 0.8rem;
	}
}
@media (max-width: 480px) {
	.fm-class-athlete-list {
		height: 250px;
	}
	.fm-class-athlete-item {
		padding: 0.5rem 0.6rem;
		gap: 0.5rem;
		flex-wrap: nowrap;
	}
	.fm-class-athlete-item input.fm-athlete-pick-cb {
		width: 18px;
		height: 18px;
	}
	.fm-athlete-pick-name {
		font-size: 0.85rem;
		flex: 1;
		min-width: 0;
	}
	.fm-athlete-pick-mobile {
		font-size: 0.75rem;
		margin-inline-start: auto;
	}
}
.fm-selected-athletes {
	margin-top: 0.75rem;
	padding-top: 0.75rem;
	border-top: 1px solid var(--fm-border);
}
.fm-selected-header {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.5rem;
}
.fm-selected-label {
	font-size: 0.85rem;
	color: var(--fm-text-muted);
}
.fm-selected-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.5rem;
	height: 1.5rem;
	padding: 0 0.35rem;
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--fm-primary-light);
	background: var(--fm-primary-dim);
	border-radius: var(--fm-radius-pill);
}
.fm-selected-chips-wrap {
	max-height: 200px;
	overflow-y: auto;
	overflow-x: hidden;
	border-radius: var(--fm-radius);
	border: 1px solid var(--fm-border);
	-webkit-overflow-scrolling: touch;
}
.fm-selected-chips-wrap::-webkit-scrollbar {
	width: 6px;
}
.fm-selected-chips-wrap::-webkit-scrollbar-track {
	background: transparent;
}
.fm-selected-chips-wrap::-webkit-scrollbar-thumb {
	background: var(--fm-border);
	border-radius: 3px;
}
.fm-selected-chips-wrap::-webkit-scrollbar-thumb:hover {
	background: var(--fm-text-muted);
}
.fm-selected-chips {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	padding: 0.4rem;
	max-width: 100%;
}
.fm-selected-chip {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.4rem 0.6rem;
	background: var(--fm-primary-dim);
	border-radius: var(--fm-radius);
	font-size: 0.85rem;
	color: var(--fm-primary-light);
	min-height: 0;
	flex-shrink: 0;
	box-sizing: border-box;
}
.fm-selected-chip .fm-selected-chip-label {
	flex: 1;
	min-width: 0;
	overflow: visible;
	white-space: normal;
	word-break: normal;
	margin-left: 0.25rem;
	line-height: 1.35;
}
.fm-selected-chip .fm-chip-paid-wrap,
.fm-selected-chip .fm-chip-manual-paid,
.fm-selected-chip .fm-chip-badge-paid {
	flex-shrink: 0;
}
@media (max-width: 480px) {
	.fm-selected-chips-wrap {
		max-height: 180px;
	}
}
.fm-selected-chip-remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	padding: 0;
	border: none;
	background: #ff6a6a;
	border-radius: 50%;
	color: #fff;
	font-size: 0.95rem;
	line-height: 1;
	cursor: pointer;
	transition: background 0.2s, transform 0.15s;
	flex-shrink: 0;
	opacity: 0.85;
}
.fm-selected-chip-remove:hover {
	background: rgba(0,0,0,0.3);
	opacity: 1;
}
.fm-selected-chip-remove:active {
	transform: scale(0.92);
}
.fm-selected-chip .fm-chip-paid-wrap {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	margin: 0 0.2rem;
	font-size: 0.78rem;
}
.fm-selected-chip .fm-chip-paid-cb {
	width: auto;
	height: auto;
}
.fm-selected-chip-paid .fm-chip-paid-label { color: var(--fm-success, #22c55e); }
.fm-selected-chip .fm-chip-manual-paid {
	margin: 0 0.2rem;
	padding: 0.15rem 0.4rem;
	font-size: 0.72rem;
	white-space: nowrap;
	font-weight: 500;
	background: transparent;
	border: 1px solid currentColor;
	border-radius: 4px;
	color: inherit;
	opacity: 0.9;
	min-height: 0;
	line-height: 1.2;
}
.fm-selected-chip .fm-chip-manual-paid:hover {
	background: rgba(255,255,255,0.08);
	opacity: 1;
}
.fm-selected-chip .fm-chip-badge-paid {
	font-size: 0.72rem;
	color: var(--fm-success, #22c55e);
	margin: 0 0.2rem;
	white-space: nowrap;
}
.fm-field-hint { font-size: 0.85rem; color: var(--fm-text-muted); margin-top: 0.25rem; }
.fm-create-class-form .fm-btn-submit {
	margin-top: 0.5rem;
	margin-bottom: 0.75rem;
}
.fm-create-class-form #fm-create-class-message {
	margin-top: 0;
	margin-bottom: 1rem;
}
.fm-loader-sm {
	width: 18px;
	height: 18px;
	border-width: 2px;
}

/* ---------- لیست کلاس‌ها ---------- */
.fm-filters-accordion {
	margin-bottom: 1rem;
	overflow: hidden;
}
.fm-filters-toggle {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.875rem 1rem;
	background: var(--fm-bg-card);
	border: 1px solid var(--fm-border);
	border-radius: var(--fm-radius);
	cursor: pointer;
	transition: all 0.2s;
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--fm-text);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.fm-filters-toggle:hover {
	background: var(--fm-bg-elevated);
	border-color: var(--fm-primary-light);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.fm-filters-toggle-active {
	background:#fbfbfb;
	border-color: var(--fm-primary);
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.fm-filters-toggle-icon {
	color: var(--fm-primary-light);
}
.fm-filters-toggle-text {
	flex: 1;
	text-align: right;
}
.fm-filters-toggle-arrow {
	color: var(--fm-text-muted);
	transition: transform 0.3s;
}
.fm-filters-toggle-active .fm-filters-toggle-arrow {
	transform: rotate(180deg);
}
.fm-filters-content {
	padding: 1rem;
	border: 1px solid var(--fm-border);
	border-top: none;
	border-radius: 0 0 var(--fm-radius) var(--fm-radius);
	background: #fbfbfb;
}
.fm-filters-title {
	margin: 0 0 1rem;
	font-size: 1rem;
	font-weight: 600;
	color: var(--fm-text);
}
.fm-filter-group {
	margin-bottom: 0.75rem;
}
.fm-filter-group:last-child {
	margin-bottom: 0;
}
.fm-filter-label {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.85rem;
	color: var(--fm-text-muted);
}
.fm-filter-select,
.fm-filter-input {
	width: 100%;
}
.fm-classes-list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	position: relative;
	min-height: 200px;
}
.fm-class-card {
	padding: 1rem;
}
.fm-class-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.75rem;
	gap: 0.5rem;
}
.fm-class-header-content {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex: 1;
}
.fm-class-name {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--fm-text);
	flex: 1;
}
.fm-class-type {
	padding: 0.25rem 0.6rem;
	background: var(--fm-primary-dim);
	color: var(--fm-primary-light);
	border-radius: var(--fm-radius-pill);
	font-size: 0.8rem;
	font-weight: 500;
}
.fm-class-price-label { font-size: 0.9rem; color: var(--fm-text-muted); margin-bottom: 0.5rem; }
.fm-class-payment-block { margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--fm-border); }
.fm-class-payment-status { font-size: 0.9rem; margin-bottom: 0.5rem; }
.fm-class-payment-done { color: var(--fm-success, #22c55e); }
.fm-class-payment-free { color: var(--fm-text-muted); }
.fm-class-payment-pending { color: var(--fm-warning, #eab308); }
.fm-class-pay-wrap { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.5rem; }
.fm-class-discount-row { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.fm-class-discount-input { flex: 1; min-width: 120px; }
.fm-class-discount-message { font-size: 0.9rem; margin-top: 0.25rem; }
.fm-class-discount-message.fm-class-discount-success { color: var(--fm-success, #22c55e); }
.fm-class-discount-message.fm-class-discount-error { color: var(--fm-error, #ef4444); }
.fm-empty-state .fm-empty-hint { margin-top: 0.5rem; font-size: 0.9rem; }
.fm-empty-state .fm-empty-hint a { color: var(--fm-primary-light); }
.fm-transactions-pagination { margin-top: 1rem; margin-bottom: 0.5rem; }
.fm-transactions-list { display: flex; flex-direction: column; gap: 0.75rem; }
.fm-transaction-card { padding: 1rem; }
.fm-transaction-row { display: flex; justify-content: space-between; align-items: center; padding: 0.35rem 0; font-size: 0.95rem; }
.fm-transaction-label { color: var(--fm-text-muted); }
.fm-transaction-amount { font-weight: 600; }
.fm-transaction-date { font-size: 0.9rem; color: var(--fm-text-muted); }
.fm-discount-form .fm-field { margin-bottom: 1rem; }
.fm-discount-code-card { padding: 0.75rem 1rem; margin-bottom: 0.5rem; }
.fm-discount-code-row { margin-bottom: 0.25rem; }
.fm-discount-code-code { font-size: 1.05rem; }
.fm-header-link { font-size: 0.9rem; color: var(--fm-primary); text-decoration: none; }
.fm-class-attendance-type {
	padding: 0.25rem 0.6rem;
	border-radius: var(--fm-radius-pill);
	font-size: 0.8rem;
	font-weight: 500;
	margin-right: 0.5rem;
}
.fm-class-attendance-in-person {
	background: rgba(34, 197, 94, 0.15);
	color: #22c55e;
}
.fm-class-attendance-online {
	background: rgba(59, 130, 246, 0.15);
	color: #3b82f6;
}
.fm-class-delete-btn {
	background: transparent;
	border: none;
	padding: 0.5rem;
	cursor: pointer;
	color: var(--fm-text-muted);
	transition: color 0.2s;
	border-radius: var(--fm-radius-sm);
	flex-shrink: 0;
}
.fm-class-delete-btn:hover {
	color: #ef4444;
	background: rgba(239, 68, 68, 0.1);
}
.fm-class-delete-btn:active {
	opacity: 0.7;
}
.fm-class-delete-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

/* دکمه فیکس ایجاد کلاس (لیست کلاس‌ها) - بالای نوبار، با اسکرول پایین مخفی و اسکرول بالا نمایش */
.fm-create-class-fab {
	position: fixed;
	left: 50%;
	transform: translateX(-50%) translateY(0);
	bottom: calc(var(--fm-nav-height) + 12px + var(--fm-safe-bottom));

	z-index: 999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1rem;
	background: var(--fm-primary);
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
	border-radius:50px;
	box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
	transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease, box-shadow 0.2s ease;
	pointer-events: auto;
}
.fm-create-class-fab:active {
	transform: translateX(-50%) translateY(0) scale(0.98);
}
.fm-create-class-fab-hidden {
	transform: translateX(-50%) translateY(calc(100% + 24px));
	opacity: 0;
	pointer-events: none;
}
.fm-create-class-fab .fm-create-class-fab-text {
	display: inline;
}

/* دکمه فیکس افزودن ورزشکار (لیست ورزشکاران) - همان رفتار دکمه ایجاد کلاس */
.fm-add-athlete-fab {
	position: fixed;
	left: 50%;
	transform: translateX(-50%) translateY(0);
	bottom: calc(var(--fm-nav-height) + 12px + var(--fm-safe-bottom));
	z-index: 999;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.75rem 1rem;
	background: var(--fm-primary);
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
	border-radius: 50px;
	box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
	transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease, box-shadow 0.2s ease;
	pointer-events: auto;
}
.fm-add-athlete-fab:active {
	transform: translateX(-50%) translateY(0) scale(0.98);
}
.fm-add-athlete-fab-hidden {
	transform: translateX(-50%) translateY(calc(100% + 24px));
	opacity: 0;
	pointer-events: none;
}
.fm-add-athlete-fab .fm-add-athlete-fab-text {
	display: inline;
}

.fm-class-schedule {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-bottom: 0.75rem;
}
.fm-class-schedule-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.5rem 0.75rem;
	background:#ebebeb1c;
	border-radius: var(--fm-radius-sm);
}
.fm-schedule-day {
	font-weight: 600;
	color: var(--fm-primary-light);
	min-width: 4.5rem;
}
.fm-schedule-time {
	color: var(--fm-text-muted);
	font-size: 0.9rem;
}
.fm-class-meta {
	margin-bottom: 0.75rem;
	font-size: 0.9rem;
	color: var(--fm-text-muted);
}
.fm-meta-label {
	font-weight: 500;
}
.fm-class-athletes {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.75rem;
	padding-top: 0.75rem;
	border-top: 1px solid var(--fm-border);
}
.fm-athlete-tag {
	padding: 0.35rem 0.6rem;
	background: var(--fm-secondary-dim);
	color: var(--fm-secondary);
	border-radius: var(--fm-radius-pill);
	font-size: 0.85rem;
}

/* دکمه/آیکون ورزشکاران در کارت کلاس */
.fm-class-athletes-wrap {
	margin-top: 0.75rem;
	padding-top: 0.75rem;
	border-top: 1px solid var(--fm-border);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	flex-wrap: wrap;
}
.fm-class-type-attendance-group {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
	flex: 0 1 auto;
}
.fm-class-athletes-wrap .fm-class-type,
.fm-class-athletes-wrap .fm-class-attendance-type {
	margin-right: 0;
}
.fm-class-athletes-btn {
	flex: 0 0 auto;
}
.fm-class-athletes-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.4rem 0.75rem;
	border: 1px solid var(--fm-border);
	background: var(--fm-bg-card);
	color: var(--fm-text-muted);
	border-radius: var(--fm-radius-btn);
	font-size: 0.9rem;
	cursor: pointer;
}
.fm-class-athletes-btn:hover {
	background: var(--fm-secondary-dim);
	color: var(--fm-secondary);
	border-color: var(--fm-secondary);
}
.fm-class-athletes-btn .fm-class-athletes-count {
	font-weight: 600;
	color: var(--fm-text);
	font-family: 'IRANSansX', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* مدال لیست ورزشکاران کلاس */
.fm-class-athletes-modal-list {
	list-style: none;
	margin: 0;
	padding: 0;
	max-height: 60vh;
	overflow-y: auto;
}
.fm-class-athlete-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.75rem 1rem;
	border-bottom: 1px solid var(--fm-border);
	cursor: pointer;
	transition: background 0.15s;
}
.fm-class-athlete-row:hover {
	background: var(--fm-bg-soft);
}
.fm-class-athlete-row:last-child {
	border-bottom: none;
}
.fm-class-athlete-name {
	font-weight: 500;
	color: var(--fm-text);
}
.fm-class-athlete-mobile {
	font-size: 0.9rem;
	color: var(--fm-text-muted);
	direction: ltr;
}

/* مدال جلسات و حضور */
.fm-modal-hint {
	margin-bottom: 1rem;
	font-size: 0.9rem;
}
.fm-class-sessions-modal-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.fm-class-session-row {
	padding: 0.6rem 0;
	border-bottom: 1px solid var(--fm-border);
}
.fm-class-session-row:last-child {
	border-bottom: none;
}
.fm-session-check-label {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	cursor: pointer;
}
.fm-session-check-label input[type="checkbox"] {
	width: 1.2rem;
	height: 1.2rem;
	accent-color: var(--fm-primary);
}
.fm-session-label {
	font-size: 1rem;
	color: var(--fm-text);
}

.fm-modal-footer-sessions {
	flex-wrap: wrap;
}
.fm-modal-footer-sessions .fm-class-sessions-back-btn {
	flex: 0 1 auto;
}

/* صفحه تک‌مقاله پنل ورزشکار */
.fm-article-single-main {
	padding-top: calc(var(--fm-page-header-height) + 0.5rem);
}
.fm-article-single {
	padding: 0;
	overflow: hidden;
}
.fm-article-single-header {
	padding: 1.25rem 1.25rem 0.75rem;
}
.fm-article-single-thumb {
	width: 100%;
	max-height: 220px;
	border-radius: var(--fm-radius-sm);
	overflow: hidden;
	margin-bottom: 1rem;
	background: var(--fm-bg-elevated);
}
.fm-article-single-thumb img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}
.fm-article-single-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--fm-text);
	line-height: 1.4;
	margin: 0 0 0.5rem;
	letter-spacing: -0.01em;
}
.fm-article-single-date-cats {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.85rem;
	color: var(--fm-text-muted);
}
.fm-article-single-date {
	opacity: 0.95;
}
.fm-article-single-cats {
	color: var(--fm-primary-light);
	font-weight: 500;
}
.fm-article-single-content {
	padding: 0 1.25rem 1.5rem;
	font-size: 0.95rem;
	line-height: 1.75;
	color: var(--fm-text);
}
.fm-article-single-content p {
	margin: 0 0 1rem;
}
.fm-article-single-content p:last-child {
	margin-bottom: 0;
}
.fm-article-single-content img {
	max-width: 100%;
	height: auto;
	border-radius: var(--fm-radius-sm);
}
.fm-article-single-content h2,
.fm-article-single-content h3 {
	font-size: 1.05rem;
	font-weight: 600;
	margin: 1.25rem 0 0.5rem;
	color: var(--fm-text);
}
.fm-article-single-content ul,
.fm-article-single-content ol {
	margin: 0 0 1rem;
	padding-right: 1.25rem;
}
.fm-article-single-content li {
	margin-bottom: 0.35rem;
}
.fm-article-single-content a {
	color: var(--fm-primary-light);
	text-decoration: none;
}
.fm-article-single-content a:hover {
	text-decoration: underline;
}

/* صفحه پروفایل ورزشکار */
.fm-profile-card {
	padding: 1.25rem;
}
.fm-profile-photo-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1.5rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--fm-border);
}
.fm-profile-photo-preview {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	background: var(--fm-primary-dim);
	border: 2px solid var(--fm-border);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.fm-profile-photo-preview img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.fm-profile-photo-preview .fm-profile-photo-initial {
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--fm-primary-light);
}
.fm-profile-photo-btn {
	margin: 0;
	cursor: pointer;
}
.fm-profile-photo-btn input {
	position: absolute;
	width: 0;
	height: 0;
	opacity: 0;
}
.fm-profile-card .fm-field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem;
}
.fm-header,.fm-page-header{
	border-radius: 0px 0px 24px 24px;
	border-bottom: 1px solid rgba(148, 163, 184, 0.1);
	box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.01);
}
.athlete .fm-chat-bubble-athlete{
	align-self: flex-start!important;
	background: var(--fm-primary)!important;
	color:#fff;
}
.athlete .fm-chat-bubble-coach{
	align-self: flex-end!important;
	background: var(--fm-bg-card);
    border: 1px solid var(--fm-border);
	color: var(--fm-text);
}



/* ────────────────────────────────────────
 * Article Format & Video Cards (Coach)
 * ──────────────────────────────────────── */
.fm-format-tabs {
	display: flex;
	gap: 6px;
	background: #f1f5f9;
	border-radius: 11px;
	padding: 4px;
	margin-top: 10px;
}
.fm-format-tab {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	padding: 11px 12px;
	border-radius: 8px;
	border: none;
	background: transparent;
	color: #64748b;
	font-size: 0.86rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.18s;
	font-family: inherit;
}
.fm-format-tab:hover { color: #1e293b; }
.fm-format-tab.active {
	background: #fff;
	color: #3b82f6;
	box-shadow: 0 1px 3px rgba(0,0,0,0.07);
}
.fm-format-tab svg { flex-shrink: 0; }
.fm-format-hint { margin-top: 12px !important; }

.fm-video-card { animation: fmFadeIn 0.25s ease; }
@keyframes fmFadeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
.fm-video-source-tabs {
	display: flex;
	gap: 4px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 9px;
	padding: 3px;
	margin-bottom: 14px;
}
.fm-video-tab {
	flex: 1;
	padding: 8px 12px;
	border-radius: 7px;
	border: none;
	background: transparent;
	color: #64748b;
	font-size: 0.83rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.15s;
	font-family: inherit;
}
.fm-video-tab.active { background: #3b82f6; color: #fff; }

.fm-video-pane { display: none; }
.fm-video-pane.show { display: block; }

.fm-video-upload-btn {
	width: 100%;
	justify-content: center;
}
.fm-video-uploaded {
	margin-top: 12px;
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	border-radius: 10px;
	padding: 10px 12px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}
.fm-video-uploaded-info {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	flex: 1;
}
#fm-video-uploaded-name {
	font-size: 0.83rem;
	color: #166534;
	font-weight: 600;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	direction: ltr;
}
.fm-video-remove-btn {
	width: 28px;
	height: 28px;
	border-radius: 7px;
	border: none;
	background: #fee2e2;
	color: #dc2626;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s;
	flex-shrink: 0;
}
.fm-video-remove-btn:hover { background: #fecaca; }

.fm-video-progress {
	margin-top: 12px;
	display: flex;
	align-items: center;
	gap: 10px;
}
.fm-video-progress-bar {
	flex: 1;
	height: 8px;
	background: #e2e8f0;
	border-radius: 99px;
	overflow: hidden;
}
.fm-video-progress-fill {
	height: 100%;
	width: 0%;
	background: linear-gradient(90deg, #3b82f6, #60a5fa);
	border-radius: 99px;
	transition: width 0.2s ease;
}
.fm-video-progress-text {
	font-size: 0.78rem;
	font-weight: 700;
	color: #64748b;
	min-width: 38px;
	text-align: right;
	direction: ltr;
}


/* ────────────────────────────────────────
 * Profile Menu (link to app-settings)
 * ──────────────────────────────────────── */
.fm-profile-menu {
	background: #fff;
	border: 1px solid #e8eaed;
	border-radius: 14px;
	overflow: hidden;
	margin: 14px 0;
}
.fm-profile-menu-item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	text-decoration: none;
	color: inherit;
	transition: background 0.15s;
	cursor: pointer;
}
.fm-profile-menu-item:hover { background: #f8fafc; }
.fm-profile-menu-item:active { background: #f1f5f9; }
.fm-profile-menu-icon {
	width: 40px; height: 40px;
	border-radius: 11px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.fm-profile-menu-info {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.fm-profile-menu-title {
	font-size: 0.92rem;
	font-weight: 700;
	color: #0f172a;
}
.fm-profile-menu-desc {
	font-size: 0.76rem;
	color: #94a3b8;
	font-weight: 500;
}
.fm-profile-menu-arrow {
	color: #cbd5e1;
	display: flex;
	align-items: center;
	flex-shrink: 0;
}
.fm-profile-menu-item:hover .fm-profile-menu-arrow { color: #64748b; }

/* ────────────────────────────────────────
 * App Settings Page
 * ──────────────────────────────────────── */
.fm-app-settings-intro {
	display: flex;
	align-items: center;
	gap: 14px;
	background: linear-gradient(135deg, #eff6ff 0%, #faf5ff 100%);
	border: 1px solid #e0e7ff;
	margin-bottom: 14px;
}
.fm-app-settings-intro-icon {
	width: 48px; height: 48px;
	border-radius: 14px;
	background: #fff;
	color: #3b82f6;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	box-shadow: 0 2px 6px rgba(59,130,246,0.12);
}
.fm-app-settings-intro-text { flex: 1; }
.fm-app-settings-intro-text h2 {
	font-size: 0.96rem;
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 4px;
}
.fm-app-settings-intro-text p {
	font-size: 0.78rem;
	color: #64748b;
	margin: 0;
	line-height: 1.6;
}

/* بنر — preview با overlay قابل کلیک */
.fm-app-banner-preview {
	position: relative;
	border-radius: 14px;
	overflow: hidden;
	background: #f1f5f9;
	aspect-ratio: 16/9;
	transition: transform 0.18s;
	cursor: pointer;
	display: block;
	width: 100%;
	margin-bottom: 6px;
}
.fm-app-banner-preview:hover { transform: scale(0.99); }
.fm-app-banner-preview img {
	width: 100%; height: 100%;
	object-fit: cover; display: block;
}
.fm-app-banner-overlay {
	position: absolute; inset: 0;
	background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.55) 100%);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	padding-bottom: 16px;
	color: #fff;
	font-size: 0.83rem;
	font-weight: 700;
	gap: 6px;
	opacity: 0;
	transition: opacity 0.2s;
	pointer-events: none;
}
.fm-app-banner-preview:hover .fm-app-banner-overlay,
.fm-app-banner-preview:focus .fm-app-banner-overlay,
.fm-app-banner-preview:focus-within .fm-app-banner-overlay {
	opacity: 1;
}
/* روی موبایل همیشه نشون بده */
@media (hover: none) {
	.fm-app-banner-overlay { opacity: 1; }
	.fm-app-banner-overlay { background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.4) 100%); }
}


/* ────────────────────────────────────────
 * Quick Access — Minimal Grid (3 cols mobile)
 * ──────────────────────────────────────── */
.fm-qa-grid-section {
	margin-top: 14px;
	margin-bottom: 14px;
}
.fm-section-title-tight {
	margin-bottom: 10px !important;
}
.fm-qa-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
}
.fm-qa-tile {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: #fff;
	border: 1px solid #e8eaed;
	border-radius: 14px;
	padding: 14px 8px 12px;
	text-decoration: none;
	color: inherit;
	transition: transform 0.14s, border-color 0.15s, box-shadow 0.15s;
	-webkit-tap-highlight-color: transparent;
	min-height: 92px;
}
.fm-qa-tile:hover {
	border-color: #cbd5e1;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.fm-qa-tile:active {
	transform: scale(0.96);
}
.fm-qa-tile-icon {
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: var(--qa-bg, #eff6ff);
	color: var(--qa-color, #3b82f6);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.fm-qa-tile-label {
	font-size: 0.75rem;
	font-weight: 700;
	color: #1e293b;
	text-align: center;
	line-height: 1.4;
	letter-spacing: -0.01em;
}
.fm-qa-tile-badge {
	position: absolute;
	top: 8px;
	left: 8px;
	min-width: 18px;
	height: 18px;
	border-radius: 9px;
	background: #ef4444;
	color: #fff;
	font-size: 0.65rem;
	font-weight: 800;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 5px;
	line-height: 1;
	box-shadow: 0 0 0 2px #fff;
}

/* تب‌لت / دسکتاپ — ۴ ستون */
@media (min-width: 600px) {
	.fm-qa-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
	.fm-qa-tile { min-height: 100px; padding: 16px 10px 14px; }
	.fm-qa-tile-icon { width: 46px; height: 46px; }
	.fm-qa-tile-label { font-size: 0.8rem; }
}


/* ────────────────────────────────────────
 * Hero greeting - smaller name
 * ──────────────────────────────────────── */
.fm-greeting-text {
	font-size: 0.78rem !important;
	color: #94a3b8 !important;
	font-weight: 500 !important;
	display: block;
	line-height: 1.2;
	margin-bottom: 2px;
}
.fm-greeting-name {
	font-size: 0.95rem !important;
	font-weight: 700 !important;
	color: #1e293b !important;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

/* ────────────────────────────────────────
 * Quick Access tile - count badge
 * ──────────────────────────────────────── */
.fm-qa-tile-count {
	position: absolute;
	top: 8px;
	left: 8px;
	min-width: 22px;
	height: 22px;
	border-radius: 11px;
	background: rgba(15, 23, 42, 0.85);
	color: #fff;
	font-size: 0.7rem;
	font-weight: 800;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 6px;
	line-height: 1;
	box-shadow: 0 0 0 2px #fff;
	letter-spacing: -0.02em;
}

/* ────────────────────────────────────────
 * Athlete Profile - Coach Info Card
 * ──────────────────────────────────────── */
.fm-coach-info-card {
	display: flex;
	align-items: center;
	gap: 12px;
	background: #fff;
	border: 1px solid #e8eaed;
	margin-bottom: 14px;
	padding: 12px 14px;
	border-radius: 12px;
}
.fm-coach-info-avatar {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	overflow: hidden;
	background: #f1f5f9;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #64748b;
	font-weight: 700;
	font-size: 0.95rem;
	flex-shrink: 0;
}
.fm-coach-info-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.fm-coach-info-content {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 1px;
}
.fm-coach-info-label {
	display: block;
	font-size: 0.68rem;
	font-weight: 600;
	color: #94a3b8;
}
.fm-coach-info-name {
	display: block;
	font-size: 0.88rem;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.4;
}
.fm-coach-info-specialty {
	display: none;
}
.fm-coach-info-icon {
	display: none;
}

/* ────────────────────────────────────────
 * Coach bottom nav - 5 items support
 * ──────────────────────────────────────── */
.fitmember-coach .fm-bottom-nav {
	justify-content: space-around;
}
.fitmember-coach .fm-nav-item {
	min-width: 0;
	flex: 1;
	padding: 8px 4px;
}
.fitmember-coach .fm-nav-label {
	font-size: 0.68rem;
	white-space: nowrap;
}


/* ────────────────────────────────────────
 * Subscription Card (Coach Profile)
 * ──────────────────────────────────────── */
.fm-sub-card {
	background: #fff;
	border: 1px solid #e8eaed;
	margin-bottom: 14px;
}
.fm-sub-card.is-expired {
	background: #fff;
	border-color: #fecaca;
}
.fm-sub-card.is-none {
	background: #f8fafc;
	border-color: #e2e8f0;
}

.fm-sub-card-head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
}
.fm-sub-card-icon { display: none; }

.fm-sub-card-title-wrap { flex: 1; min-width: 0; }
.fm-sub-card-label {
	display: block;
	font-size: 0.7rem;
	color: #94a3b8;
	font-weight: 700;
	margin-bottom: 2px;
	letter-spacing: 0.02em;
}
.fm-sub-card-plan {
	display: block;
	font-size: 1rem;
	font-weight: 800;
	color: #0f172a;
	line-height: 1.3;
}
.fm-sub-card-status {
	font-size: 0.72rem;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 20px;
	flex-shrink: 0;
}
.fm-sub-card-status.active { background: #d1fae5; color: #065f46; }
.fm-sub-card-status.expired { background: #fee2e2; color: #991b1b; }

.fm-sub-card-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	background: #f8fafc;
	border: 1px solid #f1f5f9;
	border-radius: 11px;
	padding: 12px;
	margin-bottom: 14px;
}
.fm-sub-card-cell {
	text-align: center;
	padding: 4px 6px;
}
.fm-sub-cell-label {
	display: block;
	font-size: 0.7rem;
	color: #64748b;
	margin-bottom: 4px;
	font-weight: 600;
}
.fm-sub-cell-value {
	display: block;
	font-size: 0.86rem;
	font-weight: 800;
	color: #0f172a;
}
.fm-sub-cell-value.warn { color: #dc2626; }

.fm-sub-card-actions { text-align: center; }
.fm-sub-card-btn {
	display: inline-block;
	padding: 10px 24px;
	background: #3b82f6;
	color: #fff;
	border-radius: 11px;
	font-size: 0.86rem;
	font-weight: 700;
	text-decoration: none;
	transition: background 0.15s, transform 0.1s;
}
.fm-sub-card-btn:hover { background: #2563eb; }
.fm-sub-card-btn:active { transform: scale(0.97); }
.fm-sub-card.is-expired .fm-sub-card-btn { background: #dc2626; }
.fm-sub-card.is-expired .fm-sub-card-btn:hover { background: #b91c1c; }

/* ────────────────────────────────────────
 * Transaction list (minimal)
 * ──────────────────────────────────────── */
.fm-sub-tx-card { padding: 16px; }
.fm-sub-tx-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.fm-sub-tx-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid #f1f5f9;
}
.fm-sub-tx-item:last-child { border-bottom: none; }
.fm-sub-tx-meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.fm-sub-tx-plan {
	font-size: 0.86rem;
	font-weight: 700;
	color: #0f172a;
}
.fm-sub-tx-cycle {
	font-size: 0.72rem;
	color: #94a3b8;
	font-weight: 600;
}
.fm-sub-tx-date {
	font-size: 0.72rem;
	color: #64748b;
}
.fm-sub-tx-right {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 4px;
	flex-shrink: 0;
}
.fm-sub-tx-amount {
	font-size: 0.88rem;
	font-weight: 800;
	color: #0f172a;
}
.fm-sub-tx-amount small {
	font-size: 0.7rem;
	color: #94a3b8;
	font-weight: 500;
}
.fm-sub-tx-status {
	font-size: 0.7rem;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 8px;
}
.fm-sub-tx-status-success  { background: #d1fae5; color: #065f46; }
.fm-sub-tx-status-pending  { background: #fef3c7; color: #92400e; }
.fm-sub-tx-status-failed   { background: #fee2e2; color: #991b1b; }
.fm-sub-tx-status-replaced { background: #f1f5f9; color: #475569; }


/* ────────────────────────────────────────
 * Expired Notice on Login Page
 * ──────────────────────────────────────── */
.fm-expired-notice {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	background: linear-gradient(135deg, #fff1f2 0%, #fee2e2 100%);
	border-radius: 16px;
	padding: 18px 18px 20px;
	margin-bottom: 20px;
	animation: fmExpiredSlideIn 0.35s cubic-bezier(0.34, 1.3, 0.64, 1);
}
@keyframes fmExpiredSlideIn {
	from { opacity: 0; transform: translateY(-10px) scale(0.97); }
	to   { opacity: 1; transform: translateY(0) scale(1); }
}
.fm-expired-icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: #fff;
	color: #dc2626;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.fm-expired-body { flex: 1; min-width: 0; }
.fm-expired-title {
	font-size: 0.96rem;
	font-weight: 800;
	color: #991b1b;
	margin: 0 0 4px;
	letter-spacing: -0.01em;
}
.fm-expired-text {
	font-size: 0.84rem;
	color: #7f1d1d;
	margin: 0 0 14px;
	line-height: 1.7;
}
.fm-expired-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 11px 22px;
	background: #dc2626;
	color: #fff !important;
	border-radius: 11px;
	font-size: 0.86rem;
	font-weight: 700;
	text-decoration: none;
	transition: background 0.15s, transform 0.1s;
}
.fm-expired-btn:hover {
	background: #b91c1c;
	color: #fff !important;
}



/* ────────────────────────────────────────
 * Settings Page — Vertical sections (no tabs)
 * ──────────────────────────────────────── */
.fm-settings-section {
	display: block;
	margin-bottom: 24px;
}
.fm-settings-section:last-child {
	margin-bottom: 0;
}
.fm-settings-heading {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 4px 10px;
	font-size: 0.85rem;
	font-weight: 700;
	color: #64748b;
	text-transform: none;
	letter-spacing: 0.01em;
}
.fm-settings-heading svg {
	color: #94a3b8;
	flex-shrink: 0;
}

/* ────────────────────────────────────────
 * Subscription details card
 * ──────────────────────────────────────── */
.fm-sub-details-card {
	margin-top: 12px;
}
.fm-sub-features {
	list-style: none;
	padding: 0;
	margin: 8px 0 0;
}
.fm-sub-features li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 0;
	font-size: 0.86rem;
	color: #1e293b;
	font-weight: 500;
	border-bottom: 1px solid #f8fafc;
}
.fm-sub-features li:last-child { border-bottom: none; }
.fm-sub-features li svg { flex-shrink: 0; }

.fm-sub-empty-text {
	font-size: 0.84rem;
	color: #64748b;
	margin: 8px 0 14px;
	line-height: 1.7;
}

/* ────────────────────────────────────────
 * Transactions - improved
 * ──────────────────────────────────────── */
.fm-sub-tx-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 12px;
	border-bottom: 1px solid #f1f5f9;
	margin-bottom: 4px;
}
.fm-sub-tx-count {
	font-size: 0.74rem;
	font-weight: 700;
	color: #64748b;
	background: #f1f5f9;
	padding: 4px 10px;
	border-radius: 20px;
}
.fm-sub-tx-meta-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
	margin-top: 3px;
	font-size: 0.72rem;
	color: #94a3b8;
	font-weight: 500;
}
.fm-sub-tx-dot { color: #cbd5e1; }
.fm-sub-tx-ref code {
	background: #f1f5f9;
	padding: 1px 5px;
	border-radius: 4px;
	font-size: 0.7rem;
	color: #475569;
	font-family: 'Courier New', monospace;
	direction: ltr;
	display: inline-block;
}

/* ────────────────────────────────────────
 * Empty state cards
 * ──────────────────────────────────────── */
.fm-empty-card {
	text-align: center;
	padding: 32px 20px !important;
}
.fm-empty-icon {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: #f1f5f9;
	color: #94a3b8;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 14px;
}
.fm-empty-title {
	font-size: 0.96rem;
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 6px;
}
.fm-empty-text {
	font-size: 0.84rem;
	color: #64748b;
	margin: 0 0 16px;
	line-height: 1.7;
}


/* ────────────────────────────────────────
 * Tutorials list — minimal stacked
 * ──────────────────────────────────────── */
.fm-tutorials-card { margin-top: 16px; }
.fm-tutorials-intro {
	font-size: 0.84rem;
	color: #64748b;
	margin: 8px 0 16px;
	line-height: 1.7;
}
.fm-tutorials-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.fm-tutorial-item {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e8eaed;
	border-radius: 14px;
	overflow: hidden;
}
.fm-tutorial-thumb {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 16/9;
	border: none;
	padding: 0;
	margin: 0;
	background: #f1f5f9;
	cursor: pointer;
	overflow: hidden;
	font-family: inherit;
}
.fm-tutorial-thumb-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.fm-tutorial-thumb-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}
.fm-tutorial-play {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: rgba(255,255,255,0.95);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}
.fm-tutorial-play svg {
	color: #0f172a;
	margin-right: -3px;
}
.fm-tutorial-num {
	position: absolute;
	top: 10px;
	right: 12px;
	font-size: 0.7rem;
	font-weight: 700;
	color: #fff;
	background: rgba(15, 23, 42, 0.6);
	padding: 3px 9px;
	border-radius: 6px;
	letter-spacing: 0.04em;
}
.fm-tutorial-info {
	padding: 14px 16px 16px;
}
.fm-tutorial-title {
	font-size: 0.94rem;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 4px;
	line-height: 1.5;
}
.fm-tutorial-desc {
	font-size: 0.82rem;
	color: #64748b;
	margin: 0;
	line-height: 1.7;
}

/* ────────────────────────────────────────
 * Tutorial modal (video player)
 * ──────────────────────────────────────── */
.fm-tutorial-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 100000;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.fm-tutorial-modal.open { display: flex; }
.fm-tutorial-modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.85);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	cursor: pointer;
}
.fm-tutorial-modal-content {
	position: relative;
	background: #0f172a;
	border-radius: 16px;
	overflow: hidden;
	width: 100%;
	max-width: 800px;
	z-index: 1;
	animation: fmTutModalIn 0.25s cubic-bezier(0.34, 1.3, 0.64, 1);
}
@keyframes fmTutModalIn {
	from { opacity: 0; transform: scale(0.9); }
	to { opacity: 1; transform: scale(1); }
}
.fm-tutorial-modal-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 16px;
	background: #1e293b;
	border-bottom: 1px solid #334155;
}
.fm-tutorial-modal-title {
	font-size: 0.92rem;
	font-weight: 700;
	color: #f1f5f9;
	margin: 0;
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.fm-tutorial-modal-close {
	width: 32px;
	height: 32px;
	border-radius: 8px;
	border: none;
	background: rgba(255,255,255,0.1);
	color: #f1f5f9;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex-shrink: 0;
	transition: background 0.15s;
}
.fm-tutorial-modal-close:hover { background: rgba(255,255,255,0.2); }
.fm-tutorial-modal-player {
	position: relative;
	aspect-ratio: 16/9;
	background: #000;
}
.fm-tutorial-modal-player iframe {
	width: 100%;
	height: 100%;
	border: none;
	display: block;
}

@media (max-width: 480px) {
	.fm-tutorial-thumb-bg { width: 78px; }
	.fm-tutorial-play { width: 30px; height: 30px; }
}


/* ────────────────────────────────────────
 * Athlete classes list — clickable + arrow
 * ──────────────────────────────────────── */
.fm-athlete-class-item {
	position: relative;
	cursor: pointer;
	transition: background 0.15s, border-color 0.15s;
}
.fm-athlete-class-item:hover {
	background: #f8fafc;
	border-color: #cbd5e1;
}
.fm-athlete-class-item:active {
	background: #f1f5f9;
}
.fm-athlete-class-arrow {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: #94a3b8;
	display: flex;
	align-items: center;
	pointer-events: none;
}

/* ────────────────────────────────────────
 * Sessions modal — back button
 * ──────────────────────────────────────── */
.fm-modal-back-btn {
	width: 32px;
	height: 32px;
	border-radius: 8px;
	border: 1px solid #e2e8f0;
	background: #fff;
	color: #64748b;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	margin-left: 10px;
	flex-shrink: 0;
	transition: all 0.15s;
}
.fm-modal-back-btn:hover {
	background: #f1f5f9;
	border-color: #cbd5e1;
	color: #1e293b;
}
.fm-modal-back-btn:active {
	transform: scale(0.95);
}

/* ────────────────────────────────────────
 * Sessions list — sequential checkboxes
 * ──────────────────────────────────────── */
.fm-sessions-intro {
	font-size: 0.84rem;
	color: #64748b;
	margin: 0 0 12px;
	padding: 8px 12px;
	background: #f8fafc;
	border-radius: 8px;
}
.fm-sessions-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.fm-session-item {
	background: #fff;
	border: 1px solid #e8eaed;
	border-radius: 11px;
	overflow: hidden;
	transition: all 0.18s;
}
.fm-session-item.is-checked {
	background: #f0fdf4;
	border-color: #bbf7d0;
}
.fm-session-item.is-disabled {
	opacity: 0.5;
}
.fm-session-label {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	cursor: pointer;
	margin: 0;
}
.fm-session-item.is-disabled .fm-session-label {
	cursor: not-allowed;
}
.fm-class-session-row.is-disabled {
	opacity: 0.45;
}
.fm-class-session-row.is-disabled .fm-session-check-label {
	cursor: not-allowed;
}
.fm-session-fake-cb {
	width: 22px;
	height: 22px;
	border: 2px solid #cbd5e1;
	border-radius: 7px;
	background: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: all 0.15s;
	position: relative;
}
.fm-session-item.is-checked .fm-session-fake-cb {
	background: #16a34a;
	border-color: #16a34a;
}
.fm-session-item.is-checked .fm-session-fake-cb::after {
	content: '';
	width: 6px;
	height: 11px;
	border-right: 2.5px solid #fff;
	border-bottom: 2.5px solid #fff;
	transform: rotate(45deg) translate(-1px, -1px);
	display: block;
}
.fm-session-text {
	font-size: 0.92rem;
	font-weight: 700;
	color: #0f172a;
	flex: 1;
}
.fm-session-item.is-disabled .fm-session-text {
	color: #94a3b8;
}
.fm-session-status {
	font-size: 0.74rem;
	font-weight: 700;
	color: #16a34a;
	background: #dcfce7;
	padding: 3px 9px;
	border-radius: 6px;
}


/* ────────────────────────────────────────
 * Settings menu (index page) — vertical menu items
 * ──────────────────────────────────────── */
.fm-settings-menu {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.fm-settings-menu-item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	background: #fff;
	border: 1px solid #e8eaed;
	border-radius: 13px;
	text-decoration: none;
	transition: all 0.18s;
}
.fm-settings-menu-item:hover {
	border-color: #cbd5e1;
	background: #f8fafc;
	text-decoration: none;
}
.fm-settings-menu-item:active {
	transform: scale(0.99);
}
.fm-settings-menu-icon {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	background: #f1f5f9;
	color: #0f172a;
}
.fm-settings-menu-info {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.fm-settings-menu-title {
	font-size: 0.94rem;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.4;
}
.fm-settings-menu-desc {
	font-size: 0.78rem;
	color: #64748b;
	line-height: 1.5;
}
.fm-settings-menu-arrow {
	color: #cbd5e1;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
}


/* ────────────────────────────────────────
 * General Settings page — spacing between cards + upload state
 * ──────────────────────────────────────── */
#fm-app-settings-form {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
#fm-app-settings-form .fm-card {
	margin-bottom: 0;
}

/* وقتی بنر در حال آپلود است */
.fm-app-banner-preview.is-uploading {
	opacity: 0.6;
	pointer-events: none;
}
.fm-app-banner-preview.is-uploading .fm-app-banner-overlay {
	opacity: 1;
	background: rgba(15, 23, 42, 0.7);
}


/* ────────────────────────────────────────
 * Jalali Datepicker — مینیمال
 * ──────────────────────────────────────── */
.fm-jdp {
	position: absolute;
	z-index: 9999;
	width: 280px;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
	padding: 12px;
	font-family: inherit;
	user-select: none;
}
.fm-jdp-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
}
.fm-jdp-nav {
	width: 30px; height: 30px;
	border-radius: 8px;
	border: 1px solid #e2e8f0;
	background: #fff;
	color: #64748b;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.15s;
}
.fm-jdp-nav:hover {
	background: #f1f5f9;
	color: #0f172a;
	border-color: #cbd5e1;
}
.fm-jdp-title {
	flex: 1;
	background: transparent;
	border: 0;
	font-size: 0.92rem;
	font-weight: 700;
	color: #0f172a;
	cursor: pointer;
	padding: 6px;
	border-radius: 8px;
	font-family: inherit;
}
.fm-jdp-title:hover { background: #f1f5f9; }

.fm-jdp-weekdays {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 2px;
	margin-bottom: 4px;
}
.fm-jdp-wd {
	text-align: center;
	font-size: 0.72rem;
	font-weight: 700;
	color: #94a3b8;
	padding: 6px 0;
}
.fm-jdp-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 2px;
}
.fm-jdp-day {
	height: 34px;
	border: 0;
	background: transparent;
	border-radius: 8px;
	font-size: 0.83rem;
	font-weight: 600;
	color: #0f172a;
	cursor: pointer;
	transition: all 0.12s;
	font-family: inherit;
}
.fm-jdp-day:hover:not(:disabled) {
	background: #f1f5f9;
}
.fm-jdp-day.is-today {
	color: #3b82f6;
	font-weight: 800;
}
.fm-jdp-day.is-selected {
	background: #3b82f6 !important;
	color: #fff !important;
}
.fm-jdp-day.fm-jdp-empty {
	cursor: default;
}

.fm-jdp-foot {
	display: flex;
	gap: 6px;
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid #f1f5f9;
}
.fm-jdp-btn {
	flex: 1;
	height: 32px;
	border-radius: 8px;
	border: 1px solid #e2e8f0;
	background: #fff;
	color: #475569;
	font-size: 0.78rem;
	font-weight: 700;
	cursor: pointer;
	font-family: inherit;
	transition: all 0.15s;
}
.fm-jdp-btn:hover {
	background: #f8fafc;
	border-color: #cbd5e1;
}
.fm-jdp-btn-primary {
	background: #3b82f6;
	border-color: #3b82f6;
	color: #fff;
}
.fm-jdp-btn-primary:hover {
	background: #2563eb;
	border-color: #2563eb;
}

/* input که datepicker روشه */
.fm-jalali-date {
	cursor: pointer;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='18' rx='2' ry='2'/><line x1='16' y1='2' x2='16' y2='6'/><line x1='8' y1='2' x2='8' y2='6'/><line x1='3' y1='10' x2='21' y2='10'/></svg>");
	background-repeat: no-repeat;
	background-position: 12px center;
	padding-left: 40px !important;
}


/* ────────────────────────────────────────
 * Dashboard Monthly Calendar (minimal)
 * ──────────────────────────────────────── */
.fm-dashboard-calendar {
	padding: 14px;
}
.fm-mcal-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 12px;
}
.fm-mcal-nav {
	width: 32px;
	height: 32px;
	border-radius: 9px;
	border: 1px solid #e2e8f0;
	background: #fff;
	color: #64748b;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.15s;
	flex-shrink: 0;
}
.fm-mcal-nav:hover {
	background: #f1f5f9;
	color: #0f172a;
	border-color: #cbd5e1;
}
.fm-mcal-title {
	flex: 1;
	background: transparent;
	border: 0;
	font-size: 1rem;
	font-weight: 700;
	color: #0f172a;
	padding: 6px 10px;
	border-radius: 8px;
	font-family: inherit;
	text-align: center;
	user-select: none;
}
.fm-mcal-weekdays {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 4px;
	margin-bottom: 6px;
}
.fm-mcal-wd {
	text-align: center;
	font-size: 0.74rem;
	font-weight: 700;
	color: #94a3b8;
	padding: 4px 0;
}
.fm-mcal-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 4px;
}
.fm-mcal-day {
	position: relative;
	aspect-ratio: 1 / 1;
	border: 0;
	border-radius: 10px;
	background: #fff;
	font-size: 0.88rem;
	font-weight: 700;
	color: #0f172a;
	cursor: pointer;
	transition: all 0.15s;
	font-family: inherit;
	display: flex;
	align-items: center;
	justify-content: center;
}
.fm-mcal-day.fm-mcal-empty {
	background: transparent;
	cursor: default;
}
.fm-mcal-day.is-dim {
	color: #cbd5e1;
	cursor: default;
}
.fm-mcal-day.has-classes {
	background: #eff6ff;
	color: #1e40af;
}
.fm-mcal-day.has-classes:hover {
	background: #dbeafe;
	transform: scale(0.98);
}
.fm-mcal-day.is-today {
	box-shadow: inset 0 0 0 2px #3b82f6;
}
.fm-mcal-day.is-today.is-dim {
	color: #3b82f6;
}
.fm-mcal-dot {
	position: absolute;
	bottom: 5px;
	left: 50%;
	transform: translateX(-50%);
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: #3b82f6;
}

/* لیست کلاس‌های روز در مدال */
.fm-mcal-class-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 16px;
	background: #fff;
	border: 1px solid #e8eaed;
	border-radius: 11px;
	text-decoration: none;
	color: #0f172a;
	margin-bottom: 8px;
	transition: all 0.15s;
}
.fm-mcal-class-item:hover {
	background: #f8fafc;
	border-color: #cbd5e1;
	text-decoration: none;
}
.fm-mcal-class-item:last-child { margin-bottom: 0; }
.fm-mcal-class-name {
	font-size: 0.94rem;
	font-weight: 700;
}
.fm-mcal-class-item svg {
	color: #94a3b8;
	flex-shrink: 0;
}


/* ────────────────────────────────────────
 * Monthly calendar — day modal: class blocks with athletes
 * ──────────────────────────────────────── */
.fm-mcal-class-block {
	background: #fff;
	border: 1px solid #e8eaed;
	border-radius: 12px;
	margin-bottom: 10px;
	overflow: hidden;
}
.fm-mcal-class-block:last-child {
	margin-bottom: 0;
}
.fm-mcal-class-toggle {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 16px;
	background: transparent;
	border: 0;
	cursor: pointer;
	font-family: inherit;
	text-align: right;
}
.fm-mcal-class-toggle:hover {
	background: #f8fafc;
}
.fm-mcal-class-name {
	font-size: 0.94rem;
	font-weight: 700;
	color: #0f172a;
}
.fm-mcal-class-chev {
	color: #94a3b8;
	transition: transform 0.2s;
	flex-shrink: 0;
}
.fm-mcal-class-body {
	padding: 8px 16px 14px;
	border-top: 1px solid #f1f5f9;
}
.fm-mcal-info-row {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 10px 0;
}
.fm-mcal-info-chip {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 4px 10px;
	background: #f1f5f9;
	border-radius: 999px;
	font-size: 0.74rem;
	color: #475569;
	font-weight: 600;
}
.fm-mcal-info-chip svg { color: #64748b; }
.fm-mcal-info-text {
	font-size: 0.78rem;
	color: #64748b;
	margin: 4px 0 8px;
}

.fm-mcal-athlete-list {
	list-style: none;
	padding: 0;
	margin: 10px 0 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.fm-mcal-athlete-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 12px;
	background: #f8fafc;
	border-radius: 10px;
	border: 1px solid #f1f5f9;
}
.fm-mcal-athlete-name {
	font-size: 0.86rem;
	font-weight: 600;
	color: #0f172a;
}
.fm-mcal-sessions-btn {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 6px 10px;
	background: #fff;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	font-size: 0.74rem;
	color: #475569;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.15s;
	font-family: inherit;
}
.fm-mcal-sessions-btn:hover {
	background: #eff6ff;
	border-color: #3b82f6;
	color: #1e40af;
}
.fm-mcal-loading {
	text-align: center;
	padding: 14px 0;
}


/* ────────────────────────────────────────
 * Dashboard month-calendar — class head with session # + times
 * ──────────────────────────────────────── */
.fm-mcal-class-toggle {
	align-items: flex-start;
}
.fm-mcal-class-head {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}
.fm-mcal-session-num {
	display: inline-block;
	margin-right: 6px;
	padding: 2px 8px;
	background: #eff6ff;
	color: #1e40af;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 700;
	vertical-align: middle;
}
.fm-mcal-class-times {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}
.fm-mcal-slot-time {
	display: inline-flex;
	align-items: center;
	padding: 3px 8px;
	background: #f1f5f9;
	color: #475569;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 600;
}
.fm-mcal-class-chev {
	flex-shrink: 0;
	margin-top: 4px;
}


/* ────────────────────────────────────────
 * Today button + pulse animation + start_date badge
 * ──────────────────────────────────────── */
.fm-mcal-toolbar {
	display: flex;
	justify-content: center;
	margin: 0 0 12px;
}
.fm-mcal-today-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	background: #3b82f6;
	color: #fff;
	border: 0;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.18s;
	font-family: inherit;
	box-shadow: 0 2px 8px rgba(59, 130, 246, 0.25);
}
.fm-mcal-today-btn:hover {
	background: #2563eb;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(59, 130, 246, 0.32);
}
.fm-mcal-today-btn:active {
	transform: translateY(0);
}

/* Pulse animation وقتی روی امروز کلیک می‌کنیم */
@keyframes fm-mcal-pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.6),
		            inset 0 0 0 2px #3b82f6;
		transform: scale(1);
	}
	50% {
		box-shadow: 0 0 0 12px rgba(59, 130, 246, 0),
		            inset 0 0 0 2px #3b82f6;
		transform: scale(1.05);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(59, 130, 246, 0),
		            inset 0 0 0 2px #3b82f6;
		transform: scale(1);
	}
}
.fm-mcal-day.is-pulse {
	animation: fm-mcal-pulse 0.9s ease-out 2;
	z-index: 1;
	position: relative;
}

/* Badge تاریخ شروع کنار اسم کلاس */
.fm-class-start-badge {
	display: inline-block;
	margin-right: 8px;
	padding: 3px 10px;
	background: #eff6ff;
	color: #1e40af;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 700;
	vertical-align: middle;
	white-space: nowrap;
}


/* ════════════════════════════════════════════════════════
 * Athlete Channel (مقالات/کانال مربی) — Tab-based Layout
 * ════════════════════════════════════════════════════════ */

.fm-channel-section-head {
	display: flex; align-items: center; justify-content: space-between;
	margin: 4px 4px 12px;
}
.fm-channel-section-title {
	display: flex; align-items: center; gap: 8px;
	font-size: 1rem; font-weight: 800; color: #0f172a; margin: 0;
}
.fm-channel-section-dot {
	width: 7px; height: 7px; border-radius: 50%;
	background: #3b82f6;
	box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}
.fm-channel-dot-blue {
	background: #3b82f6;
	box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

/* ── تب‌بندی دسته‌ها (اسلایدر افقی) ── */
.fm-channel-tabs-wrap {
	overflow: hidden;
	margin: 0 -16px;
	padding: 0 16px;
}
.fm-channel-tabs {
	display: flex; gap: 8px;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding: 2px 0 10px;
}
.fm-channel-tabs::-webkit-scrollbar { display: none; }
.fm-channel-tab {
	flex-shrink: 0;
	padding: 8px 18px;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 999px;
	font-size: .82rem; font-weight: 700;
	color: #475569;
	cursor: pointer;
	transition: all .16s;
	font-family: inherit;
	white-space: nowrap;
}
.fm-channel-tab:hover {
	background: #f8fafc; border-color: #cbd5e1;
}
.fm-channel-tab.is-active {
	background: #3b82f6; border-color: #3b82f6; color: #fff;
}

/* ── لیست مطالب دسته (تمام پهنا، عمودی) ── */
.fm-channel-list {
	display: flex; flex-direction: column; gap: 10px;
	min-height: 60px;
	margin-top: 4px;
}
.fm-channel-list-card {
	display: flex; gap: 12px; align-items: stretch;
	background: #fff; border-radius: 12px;
	border: 1px solid #e8eaed;
	padding: 12px;
	text-decoration: none; color: #0f172a;
	transition: all .15s;
}
.fm-channel-list-card:hover {
	background: #f8fafc; border-color: #cbd5e1;
	text-decoration: none;
}
.fm-channel-list-thumb {
	width: 80px; height: 80px; flex-shrink: 0;
	border-radius: 10px; overflow: hidden;
	background: #f1f5f9;
	display: flex; align-items: center; justify-content: center;
}
.fm-channel-list-thumb img { width: 100%; height: 100%; object-fit: cover; }
.fm-channel-no-thumb { color: #94a3b8; }
.fm-channel-list-body {
	flex: 1; min-width: 0;
	display: flex; flex-direction: column; justify-content: center; gap: 4px;
}
.fm-channel-list-title {
	font-size: .9rem; font-weight: 700; color: #0f172a;
	margin: 0; line-height: 1.5;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
	overflow: hidden;
}
.fm-channel-list-excerpt {
	font-size: .76rem; color: #64748b;
	margin: 0; line-height: 1.6;
	display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical;
	overflow: hidden;
}
.fm-channel-list-date {
	font-size: .7rem; color: #94a3b8; font-weight: 600;
}
.fm-channel-list-arrow {
	display: flex; align-items: center;
	color: #cbd5e1; flex-shrink: 0;
}

/* ── دکمه نمایش بیشتر ── */
.fm-channel-load-more {
	display: flex; align-items: center; justify-content: center; gap: 8px;
	width: 100%;
	margin: 18px 0 6px;
	padding: 13px 20px;
	background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
	color: #fff;
	border: 0; border-radius: 12px;
	font-size: .88rem; font-weight: 700;
	cursor: pointer;
	font-family: inherit;
	transition: transform .18s, box-shadow .18s;
	box-shadow: 0 4px 14px rgba(59, 130, 246, 0.25);
}
.fm-channel-load-more:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(59, 130, 246, 0.35);
}
.fm-channel-load-more:active { transform: translateY(0); }
.fm-channel-load-loading {
	display: flex; justify-content: center; padding: 16px;
}

.fm-channel-empty {
	text-align: center; padding: 40px 20px;
	color: #94a3b8; font-size: .88rem;
}
.fm-channel-empty svg { display: block; margin: 0 auto 10px; color: #cbd5e1; }
.fm-channel-empty p { margin: 0; }

/* ── Skeleton loading ── */
.fm-channel-skeleton {
	pointer-events: none;
	cursor: default;
}
.fm-channel-skeleton:hover {
	background: #fff;
	border-color: #e8eaed;
}
.fm-skel-box {
	background: linear-gradient(90deg, #f1f5f9 0%, #e2e8f0 50%, #f1f5f9 100%);
	background-size: 200% 100%;
	animation: fm-skel-shimmer 1.4s ease-in-out infinite;
	border-radius: 10px;
}
.fm-skel-line {
	height: 12px;
	background: linear-gradient(90deg, #f1f5f9 0%, #e2e8f0 50%, #f1f5f9 100%);
	background-size: 200% 100%;
	animation: fm-skel-shimmer 1.4s ease-in-out infinite;
	border-radius: 6px;
	margin-bottom: 8px;
}
.fm-skel-line-lg { width: 85%; height: 14px; }
.fm-skel-line-md { width: 95%; height: 10px; }
.fm-skel-line-sm { width: 35%; height: 10px; margin-bottom: 0; }
@keyframes fm-skel-shimmer {
	0%   { background-position: -100% 0; }
	100% { background-position: 100% 0; }
}
