/* ==========================================================
   AthletePro Dashboard — Stylesheet
   Palette: charcoal #16171A, iron #202226, bronze #C9922E,
            ember #E3572A, bone #F3EEE4, muted #9A968D
   ========================================================== */

.hcp-wrap {
	--hcp-bg: #16171A;
	--hcp-panel: #1E2024;
	--hcp-panel-2: #24262B;
	--hcp-border: #33353B;
	--hcp-bronze: #C9922E;
	--hcp-bronze-dark: #9C7223;
	--hcp-ember: #E3572A;
	--hcp-bone: #F3EEE4;
	--hcp-muted: #9A968D;
	--hcp-green: #4CA771;
	--hcp-radius: 10px;
	font-family: 'Vazirmatn', Tahoma, sans-serif;
	background: var(--hcp-bg);
	color: var(--hcp-bone);
	border-radius: 16px;
	overflow: hidden;
	max-width: 1100px;
	margin: 24px auto;
	box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

.hcp-wrap * { box-sizing: border-box; }

/* ---------- Header ---------- */
.hcp-header {
	background: linear-gradient(135deg, #1B1C1F 0%, #24211A 100%);
	border-bottom: 1px solid var(--hcp-border);
	padding: 36px 32px 28px;
	position: relative;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}
.hcp-header-user {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 14px;
	flex-shrink: 0;
}
.hcp-header-user-name {
	font-size: 13.5px;
	color: var(--hcp-bone);
	opacity: .9;
}
.hcp-logout-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12.5px;
	color: var(--hcp-muted);
	border: 1px solid var(--hcp-border);
	border-radius: 8px;
	padding: 7px 14px;
	text-decoration: none;
	transition: all .15s ease;
	white-space: nowrap;
}
.hcp-logout-link:hover {
	color: var(--hcp-ember);
	border-color: var(--hcp-ember);
}
.hcp-header::after {
	content: "";
	position: absolute;
	inset-inline-end: -40px;
	top: -40px;
	width: 180px;
	height: 180px;
	border-radius: 50%;
	border: 14px solid var(--hcp-bronze);
	opacity: .12;
}
.hcp-badge {
	display: inline-block;
	background: rgba(201,146,46,.15);
	color: var(--hcp-bronze);
	border: 1px solid rgba(201,146,46,.4);
	font-size: 12.5px;
	font-weight: 600;
	padding: 5px 14px;
	border-radius: 999px;
	margin-bottom: 12px;
	letter-spacing: .3px;
}
.hcp-title {
	font-size: 28px;
	font-weight: 800;
	margin: 0 0 6px;
	color: var(--hcp-bone);
}
.hcp-subtitle {
	margin: 0;
	color: var(--hcp-muted);
	font-size: 14.5px;
}

/* ---------- Tabs nav ---------- */
.hcp-tabs-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 2px;
	background: var(--hcp-panel-2);
	padding: 6px;
	border-bottom: 1px solid var(--hcp-border);
}
.hcp-tab-btn {
	flex: 1 1 150px;
	display: flex;
	align-items: center;
	gap: 10px;
	background: transparent;
	border: none;
	color: var(--hcp-muted);
	font-family: inherit;
	font-size: 13.5px;
	font-weight: 600;
	padding: 12px 14px;
	border-radius: 8px;
	cursor: pointer;
	transition: background .15s ease, color .15s ease;
	text-align: right;
}
.hcp-tab-btn:hover { background: rgba(255,255,255,.04); color: var(--hcp-bone); }
.hcp-tab-btn.is-active {
	background: var(--hcp-bronze);
	color: #16171A;
}
.hcp-tab-num {
	font-weight: 800;
	font-size: 12px;
	opacity: .65;
	border: 1.5px solid currentColor;
	border-radius: 50%;
	width: 22px;
	height: 22px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.hcp-tab-btn[data-tab="wizard"] .hcp-tab-num {
	color: #E3572A;
	opacity: 1;
}

/* ---------- Tab content ---------- */
.hcp-tabs-content { padding: 28px 32px 40px; }
.hcp-tab-pane { display: none; animation: hcpFade .25s ease; }
.hcp-tab-pane.is-active { display: block; }
@keyframes hcpFade { from { opacity: 0; transform: translateY(4px);} to { opacity: 1; transform: translateY(0);} }

/* ---------- Sub-tabs (cart & checkout) ---------- */
.hcp-subtabs-nav { display: flex; gap: 8px; margin: 18px 0 20px; border-bottom: 1px solid var(--hcp-border); }
.hcp-subtab-btn {
	background: transparent;
	border: none;
	border-bottom: 2px solid transparent;
	color: var(--hcp-muted);
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	padding: 10px 16px;
	cursor: pointer;
	transition: color .15s ease, border-color .15s ease;
}
.hcp-subtab-btn:hover { color: var(--hcp-bone); }
.hcp-subtab-btn.is-active { color: var(--hcp-bronze); border-bottom-color: var(--hcp-bronze); }
.hcp-subtab-pane { display: none; animation: hcpFade .25s ease; }
.hcp-subtab-pane.is-active { display: block; }

/* ---------- پس‌زمینه روشن برای بخش تسویه‌حساب؛ رنگ متن پیش‌فرض (تیره) به‌جای رنگ روشن ارث‌بری‌شده از hcp-wrap ---------- */
.hcp-cart-checkout-wrap .hcp-subtabs-content {
	background: #d8d8d8;
	padding: 24px;
	border-radius: var(--hcp-radius);
	color: #333333;
}
.hcp-cart-checkout-wrap .hcp-subtabs-content a {
	color: var(--hcp-bronze-dark);
}

.hcp-block-title {
	font-size: 17px;
	font-weight: 700;
	color: var(--hcp-bone);
	margin: 28px 0 14px;
	padding-inline-start: 12px;
	border-inline-start: 3px solid var(--hcp-bronze);
}
.hcp-block-title:first-child { margin-top: 0; }
.hcp-hint { color: var(--hcp-muted); font-size: 13.5px; margin: -6px 0 16px; }

/* ---------- Forms ---------- */
.hcp-form-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
}
.hcp-field { display: flex; flex-direction: column; gap: 6px; }
.hcp-field-wide { grid-column: 1 / -1; }
.hcp-field label { font-size: 13px; color: var(--hcp-muted); font-weight: 600; }

.hcp-input, .hcp-select, .hcp-textarea {
	background: var(--hcp-panel);
	border: 1px solid var(--hcp-border);
	color: var(--hcp-bone);
	border-radius: 8px;
	padding: 10px 12px;
	font-family: inherit;
	font-size: 14px;
	width: 100%;
	transition: border-color .15s ease;
}
.hcp-input:focus, .hcp-select:focus, .hcp-textarea:focus {
	outline: none;
	border-color: var(--hcp-bronze);
}
.hcp-textarea { resize: vertical; }

.hcp-jalali-select { display: flex; gap: 8px; }
.hcp-jalali-select select { flex: 1; }

.hcp-form-actions { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.hcp-form-msg { font-size: 13px; color: var(--hcp-green); }
.hcp-form-msg.is-error { color: #E35A5A; }

/* ---------- Buttons ---------- */
.hcp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	font-family: inherit;
	font-weight: 700;
	font-size: 13.5px;
	padding: 11px 22px;
	border-radius: 8px;
	border: none;
	cursor: pointer;
	text-decoration: none;
	transition: transform .1s ease, opacity .15s ease;
}
.hcp-btn:hover { opacity: .9; }
.hcp-btn:active { transform: scale(.98); }
.hcp-btn-primary { background: var(--hcp-bronze); color: #16171A; }
.hcp-btn-secondary { background: var(--hcp-panel-2); color: var(--hcp-bone); border: 1px solid var(--hcp-border); }
.hcp-btn-ghost { background: transparent; color: var(--hcp-bronze); border: 1px solid var(--hcp-bronze-dark); }
.hcp-btn-block { width: 100%; margin-top: 10px; }

/* ---------- Progress tab ---------- */
.hcp-progress-wrap { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .hcp-progress-wrap { grid-template-columns: 1fr; } }
.hcp-progress-col-wide { grid-column: 1 / -1; }

/* ---------- عکس‌های پیشرفت (قبل/بعد) ---------- */
.hcp-photo-compare {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin: 18px 0;
}
.hcp-photo-compare-slot {
	position: relative;
	background: var(--hcp-panel-2);
	border: 1px solid var(--hcp-border);
	border-radius: var(--hcp-radius);
	overflow: hidden;
	text-align: center;
}
.hcp-photo-compare-slot img { width: 100%; max-height: 420px; object-fit: cover; display: block; }
.hcp-photo-compare-label {
	position: absolute;
	top: 10px;
	inset-inline-start: 10px;
	background: var(--hcp-bronze);
	color: #191A1D;
	font-size: 11.5px;
	font-weight: 800;
	padding: 3px 10px;
	border-radius: 6px;
}
.hcp-photo-compare-date { display: block; padding: 8px; font-size: 12.5px; color: var(--hcp-muted); }

.hcp-photo-gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 14px;
}
.hcp-photo-thumb {
	position: relative;
	width: 96px;
	cursor: pointer;
	border: 2px solid var(--hcp-border);
	border-radius: 10px;
	overflow: hidden;
	transition: border-color .15s ease;
}
.hcp-photo-thumb img { width: 100%; height: 96px; object-fit: cover; display: block; }
.hcp-photo-thumb.is-selected { border-color: var(--hcp-bronze); }
.hcp-photo-thumb-date {
	display: block;
	font-size: 10.5px;
	text-align: center;
	color: var(--hcp-muted);
	padding: 3px 2px;
	background: var(--hcp-panel-2);
}
.hcp-photo-thumb-delete {
	position: absolute;
	top: 4px;
	inset-inline-end: 4px;
	width: 20px;
	height: 20px;
	line-height: 18px;
	border-radius: 50%;
	background: rgba(0,0,0,.6);
	color: #fff;
	border: none;
	font-size: 13px;
	cursor: pointer;
	padding: 0;
}
.hcp-photo-thumb-delete:hover { background: var(--hcp-ember); }

@media (max-width: 480px) {
	.hcp-photo-compare { grid-template-columns: 1fr; }
}

.hcp-table-scroll { overflow-x: auto; border: 1px solid var(--hcp-border); border-radius: var(--hcp-radius); }
.hcp-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.hcp-table th, .hcp-table td { padding: 10px 12px; text-align: center; border-bottom: 1px solid var(--hcp-border); white-space: nowrap; }
.hcp-table th { background: var(--hcp-panel-2); color: var(--hcp-muted); font-weight: 700; }
.hcp-table tr:last-child td { border-bottom: none; }
.hcp-empty-row td { color: var(--hcp-muted); padding: 24px; }
.hcp-del-entry { background: none; border: none; color: #E35A5A; cursor: pointer; font-size: 12px; font-family: inherit; }

.hcp-checklist-form { background: var(--hcp-panel); border: 1px solid var(--hcp-border); border-radius: var(--hcp-radius); padding: 18px; }
.hcp-checklist-item { display: flex; align-items: center; gap: 10px; padding: 10px 4px; border-bottom: 1px solid var(--hcp-border); font-size: 14px; cursor: pointer; }
.hcp-checklist-item:last-of-type { border-bottom: none; }
.hcp-checklist-item input { width: 18px; height: 18px; accent-color: var(--hcp-bronze); }

/* ---------- Wizard tab ---------- */
.hcp-wizard-shortcode-holder { margin-top: 10px; }

/* ---------- My programs ---------- */
.hcp-program-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.hcp-program-card, .hcp-product-card {
	background: var(--hcp-panel);
	border: 1px solid var(--hcp-border);
	border-radius: var(--hcp-radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	position: relative;
}
.hcp-program-thumb img, .hcp-product-thumb img { width: 100%; height: 160px; object-fit: cover; display: block; }
.hcp-program-body, .hcp-product-body { padding: 14px 16px 18px; flex: 1; display: flex; flex-direction: column; }
.hcp-program-body h5, .hcp-product-body h5 { margin: 0 0 8px; font-size: 15px; }
.hcp-product-body h5 a, .hcp-program-body h5 a { color: var(--hcp-bone); text-decoration: none; }
.hcp-program-meta { font-size: 12.5px; color: var(--hcp-muted); margin: 0 0 12px; }
.hcp-program-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }

.hcp-empty-box { text-align: center; padding: 40px 20px; background: var(--hcp-panel); border: 1px dashed var(--hcp-border); border-radius: var(--hcp-radius); color: var(--hcp-muted); }
.hcp-empty-box p { margin: 0 0 16px; }
.hcp-empty-box-programs { padding: 56px 24px; background: linear-gradient(135deg, rgba(201,146,46,.08) 0%, rgba(227,87,42,.06) 100%); border: 1px dashed var(--hcp-bronze); }
.hcp-empty-box-programs .hcp-empty-icon { display: block; font-size: 42px; margin-bottom: 14px; }
.hcp-empty-box-programs p { margin: 0; font-size: 17px; font-weight: 700; color: var(--hcp-bronze); }
.hcp-orders-table .hcp-order-status { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--hcp-panel-2); color: var(--hcp-muted); }
.hcp-orders-table .hcp-order-status-completed { background: #e3f8ec; color: #1e8a4c; }
.hcp-orders-table .hcp-order-status-processing { background: #eaf2ff; color: #2563eb; }
.hcp-orders-table .hcp-order-status-on-hold { background: #fff6e0; color: #a86b00; }
.hcp-orders-table .hcp-order-status-cancelled,
.hcp-orders-table .hcp-order-status-failed,
.hcp-orders-table .hcp-order-status-refunded { background: #fdeaea; color: #c62828; }
.hcp-btn-small { padding: 6px 14px; font-size: 12px; }

/* ---------- Suggested products ---------- */
.hcp-product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.hcp-sale-badge {
	position: absolute; top: 10px; inset-inline-start: 10px;
	background: var(--hcp-ember); color: #fff; font-size: 11px; font-weight: 700;
	padding: 4px 10px; border-radius: 999px; z-index: 2;
}
.hcp-product-price { margin: 6px 0 4px; display: flex; gap: 8px; align-items: baseline; }
.hcp-old-price { text-decoration: line-through; color: var(--hcp-muted); font-size: 12.5px; }
.hcp-new-price { color: var(--hcp-bronze); font-weight: 700; font-size: 15px; }

/* ---------- Dashboard tab ---------- */
.hcp-dashboard-wrap .hcp-admin-banner { margin: 0 0 20px; }
.hcp-dashboard-welcome {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	background: linear-gradient(135deg, rgba(201,146,46,.12) 0%, rgba(227,87,42,.08) 100%);
	border: 1px solid rgba(201,146,46,.35);
	border-radius: var(--hcp-radius);
	padding: 24px 26px;
}
.hcp-dashboard-welcome-icon { font-size: 34px; line-height: 1; flex-shrink: 0; }
.hcp-dashboard-welcome-body h3 { margin: 0 0 8px; font-size: 19px; font-weight: 800; color: var(--hcp-bone); }
.hcp-dashboard-welcome-body p { margin: 0; font-size: 14.5px; line-height: 2; color: var(--hcp-muted); }

@media (max-width: 480px) {
	.hcp-dashboard-welcome { flex-direction: column; padding: 20px; }
}

.hcp-dashboard-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 14px;
	margin-top: 18px;
}
.hcp-dashboard-stat-card {
	display: flex;
	align-items: center;
	gap: 12px;
	background: var(--hcp-panel);
	border: 1px solid var(--hcp-border);
	border-radius: var(--hcp-radius);
	padding: 16px 18px;
	cursor: pointer;
	transition: border-color .15s ease, transform .15s ease;
}
.hcp-dashboard-stat-card:hover {
	border-color: var(--hcp-bronze);
	transform: translateY(-2px);
}
.hcp-dashboard-stat-icon { font-size: 24px; line-height: 1; flex-shrink: 0; }
.hcp-dashboard-stat-label { display: block; font-size: 12px; color: var(--hcp-muted); margin-bottom: 4px; }
.hcp-dashboard-stat-value { display: block; font-size: 14.5px; font-weight: 700; color: var(--hcp-bone); }
.hcp-dashboard-stat-empty { font-size: 13px; font-weight: 500; color: var(--hcp-bronze); }
.hcp-trend { font-size: 12.5px; font-weight: 700; margin-inline-start: 6px; }
.hcp-trend.is-up { color: var(--hcp-ember); }
.hcp-trend.is-down { color: #4CA771; }

/* ---------- Toast popup (پیام‌های سریع مثل افزودن به سبد خرید) ---------- */
.hcp-toast {
	position: fixed;
	z-index: 99999;
	bottom: 24px;
	inset-inline-end: 24px;
	display: flex;
	align-items: flex-start;
	gap: 10px;
	max-width: 340px;
	background: var(--hcp-panel, #1E2024);
	border: 1px solid var(--hcp-border, #33353B);
	color: var(--hcp-bone, #F3EEE4);
	padding: 14px 16px;
	border-radius: 10px;
	box-shadow: 0 12px 30px rgba(0,0,0,.35);
	font-family: 'Vazirmatn', Tahoma, sans-serif;
	font-size: 13.5px;
	line-height: 1.8;
	opacity: 0;
	transform: translateY(12px);
	transition: opacity .25s ease, transform .25s ease;
	direction: rtl;
}
.hcp-toast.is-visible { opacity: 1; transform: translateY(0); }
.hcp-toast.is-clickable { cursor: pointer; }
.hcp-toast-icon { font-size: 16px; flex-shrink: 0; }
.hcp-toast-msg { flex: 1; }
.hcp-toast-close { background: none; border: none; color: inherit; opacity: .7; cursor: pointer; font-size: 16px; line-height: 1; padding: 0 2px; flex-shrink: 0; }
.hcp-toast-close:hover { opacity: 1; }
.hcp-toast-success { border-color: rgba(76,167,113,.5); }
.hcp-toast-success .hcp-toast-icon { color: var(--hcp-green, #4CA771); }
.hcp-toast-info { border-color: rgba(201,146,46,.5); }
.hcp-toast-info .hcp-toast-icon { color: var(--hcp-bronze, #C9922E); }
.hcp-toast-warning { border-color: rgba(227,87,42,.5); }
.hcp-toast-warning .hcp-toast-icon { color: var(--hcp-ember, #E3572A); }

@media (max-width: 480px) {
	.hcp-toast { inset-inline: 16px; max-width: none; bottom: 16px; }
}

/* ---------- Add to cart button loading state ---------- */
.hcp-add-to-cart-btn.hcp-loading { opacity: .6; pointer-events: none; }
.hcp-add-to-cart-btn.hcp-in-cart { background: var(--hcp-panel-2); color: var(--hcp-bone); border: 1px solid var(--hcp-border); }

/* ---------- Notices ---------- */
.hcp-notice { padding: 14px 16px; border-radius: 8px; font-size: 13.5px; }
.hcp-notice-warning { background: rgba(227,87,42,.1); border: 1px solid rgba(227,87,42,.35); color: #F0A98C; }

/* ---------- Admin message banner (بالای پروفایل شاگرد) ---------- */
.hcp-admin-banner {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 18px 24px 0;
	padding: 14px 16px;
	border-radius: 10px;
	position: relative;
	animation: hcpFade .25s ease;
}
.hcp-admin-banner-icon { font-size: 18px; line-height: 1.3; }
.hcp-admin-banner-body { flex: 1; }
.hcp-admin-banner-body strong { display: block; font-size: 13px; margin-bottom: 4px; }
.hcp-admin-banner-body p { margin: 0 0 6px; font-size: 13.5px; line-height: 1.8; }
.hcp-admin-banner-date { font-size: 11.5px; opacity: .75; }
.hcp-admin-banner-close {
	background: none;
	border: none;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	color: inherit;
	opacity: .7;
	padding: 2px 4px;
}
.hcp-admin-banner-close:hover { opacity: 1; }

.hcp-admin-banner-info {
	background: rgba(76,167,113,.1);
	border: 1px solid rgba(76,167,113,.35);
	color: #8FD1AC;
}
.hcp-admin-banner-warning {
	background: rgba(227,87,42,.12);
	border: 1px solid rgba(227,87,42,.4);
	color: #F0A98C;
}

@media (max-width: 640px) {
	.hcp-admin-banner { margin: 14px 16px 0; }
}

/* ---------- Login notice ---------- */
.hcp-login-notice { display: flex; align-items: center; justify-content: center; min-height: 320px; }
.hcp-login-box { text-align: center; padding: 40px; }
.hcp-login-box h3 { font-size: 20px; margin-bottom: 10px; }
.hcp-login-box p { color: var(--hcp-muted); margin-bottom: 20px; }

/* ---------- Auth tabs (ورود / ثبت‌نام) ---------- */
.hcp-auth-tabs-nav {
	display: flex !important;
	flex-wrap: nowrap !important;
	gap: 2px;
	background: var(--hcp-panel-2);
	padding: 6px;
	border-bottom: 1px solid var(--hcp-border);
}
.hcp-auth-tab-btn {
	position: relative;
	z-index: 1;
	display: flex !important;
	align-items: center;
	justify-content: center;
	flex: 1 1 0 !important;
	width: auto !important;
	min-width: 0;
	background: transparent;
	border: none;
	color: var(--hcp-muted);
	font-family: inherit;
	font-weight: 700;
	font-size: 14px;
	padding: 14px 8px;
	border-radius: 8px;
	cursor: pointer;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: background .15s ease, color .15s ease;
}
.hcp-auth-tab-btn.is-active { background: var(--hcp-ember); color: #fff; }
.hcp-auth-tab-btn:not(.is-active):hover { background: rgba(255,255,255,.04); color: var(--hcp-bone); }

@media (max-width: 480px) {
	.hcp-auth-tab-btn { font-size: 12px; padding: 12px 4px; }
}

.hcp-auth-tabs-content { padding: 32px; max-width: 480px; margin: 0 auto; }
.hcp-auth-tab-pane { display: none; animation: hcpFade .25s ease; }
.hcp-auth-tab-pane.is-active { display: block; }

.hcp-field-inline { display: flex; align-items: center; justify-content: space-between; }
.hcp-checkbox-label { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--hcp-muted); cursor: pointer; }
.hcp-checkbox-label input { width: 16px; height: 16px; accent-color: var(--hcp-bronze); }

@media (max-width: 640px) {
	.hcp-auth-tabs-content { padding: 22px 16px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
	.hcp-header { padding: 26px 20px; }
	.hcp-tabs-content { padding: 20px 16px 32px; }
	.hcp-title { font-size: 22px; }
	.hcp-tab-btn { flex: 1 1 100%; }
}

/* ---------- Honeypot (ضدربات نامرئی) ---------- */
.hcp-hp-field {
	position: absolute;
	left: -9999px;
	top: -9999px;
	height: 0;
	width: 0;
	overflow: hidden;
}

/* ---------- راهنمای کوچک زیر فیلدها ---------- */
.hcp-field-hint {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	line-height: 1.6;
	color: var(--hcp-muted);
}

/* ---------- جعبه تنظیمات ورود (تغییر شماره موبایل حساب) ---------- */
.hcp-login-settings-box {
	background: var(--hcp-panel-2);
	border: 1px solid var(--hcp-border);
	border-radius: var(--hcp-radius);
	padding: 16px 18px;
	margin-bottom: 20px;
}
.hcp-login-settings-summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
}
.hcp-login-settings-summary strong { color: var(--hcp-bronze); }
.hcp-login-settings-summary span { color: var(--hcp-muted); font-size: 13.5px; }
.hcp-login-settings-summary .hcp-btn { margin-inline-start: auto; }
#hcp-change-mobile-form { margin-top: 16px; }

/* ---------- شورت‌کدهای اضافه‌شده از تنظیمات پیشخوان (قبل/بعد هر تب) ---------- */
.hcp-tab-extra { margin: 0 0 20px; }
.hcp-tab-extra-after { margin: 20px 0 0; }

/* ---------- رنگ سفارشی پس‌زمینه تب (از تنظیمات پیشخوان) ---------- */
.hcp-tab-btn-custom-color { color: #fff !important; }
.hcp-tab-btn-custom-color .hcp-tab-num { color: rgba(255,255,255,.85) !important; }
.hcp-tab-btn-custom-color:hover { filter: brightness(1.1); }

/* ---------- رنگ سفارشی پس‌زمینه محتوای تب (از تنظیمات پیشخوان) ---------- */
.hcp-tab-pane-custom-bg {
	border-radius: 14px;
	padding: 20px;
}
/* این باید فقط وقتی تب واقعاً فعال/نمایش‌داده‌شده است اعمال شود، وگرنه چون
   specificity برابر با ".hcp-tab-pane { display:none; }" دارد و بعد از آن در
   فایل می‌آید، می‌تواند تب‌های غیرفعال را هم همیشه نمایان نگه دارد (باگ جدی). */
.hcp-tab-pane.is-active.hcp-tab-pane-custom-bg {
	display: flow-root; /* مطمئن می‌شود اگر داخل تب المانی float یا flex شناور باشد (مثل ستون منوی حساب کاربری ووکامرس در نمای دسکتاپ)، ارتفاعش کامل داخل این جعبه رنگی حساب شود */
}

/* هر چیز داخل تب سفارشی‌رنگ، به‌طور پیش‌فرض شفاف می‌شود تا رنگ انتخابی شما
   همه‌جای تب را بپوشاند (حتی اگر قالب سایت یا شورت‌کدی مثل حساب کاربری
   ووکامرس، خودش رنگ پس‌زمینه مجزا و اولویت‌دار گذاشته باشد). تکرار کلاس
   .hcp-wrap اولویت این قانون را از اکثر قوانین قالب سایت بالاتر می‌برد. */
.hcp-wrap.hcp-wrap .hcp-tab-pane.hcp-tab-pane-custom-bg * {
	background-color: transparent !important;
	background-image: none !important;
}

/* ولی این چند مورد باید ظاهر طبیعی خودشان (دکمه، جدول، پیام‌های ووکامرس و…)
   را حفظ کنند، وگرنه ناخوانا می‌شوند؛ رنگشان را به حالت پیش‌فرض خودشان برمی‌گردانیم. */
.hcp-wrap.hcp-wrap .hcp-tab-pane.hcp-tab-pane-custom-bg button,
.hcp-wrap.hcp-wrap .hcp-tab-pane.hcp-tab-pane-custom-bg input,
.hcp-wrap.hcp-wrap .hcp-tab-pane.hcp-tab-pane-custom-bg select,
.hcp-wrap.hcp-wrap .hcp-tab-pane.hcp-tab-pane-custom-bg textarea,
.hcp-wrap.hcp-wrap .hcp-tab-pane.hcp-tab-pane-custom-bg .button,
.hcp-wrap.hcp-wrap .hcp-tab-pane.hcp-tab-pane-custom-bg table,
.hcp-wrap.hcp-wrap .hcp-tab-pane.hcp-tab-pane-custom-bg thead,
.hcp-wrap.hcp-wrap .hcp-tab-pane.hcp-tab-pane-custom-bg th,
.hcp-wrap.hcp-wrap .hcp-tab-pane.hcp-tab-pane-custom-bg td,
.hcp-wrap.hcp-wrap .hcp-tab-pane.hcp-tab-pane-custom-bg tr,
.hcp-wrap.hcp-wrap .hcp-tab-pane.hcp-tab-pane-custom-bg .woocommerce-message,
.hcp-wrap.hcp-wrap .hcp-tab-pane.hcp-tab-pane-custom-bg .woocommerce-error,
.hcp-wrap.hcp-wrap .hcp-tab-pane.hcp-tab-pane-custom-bg .woocommerce-info,
.hcp-wrap.hcp-wrap .hcp-tab-pane.hcp-tab-pane-custom-bg .woocommerce-Message {
	background-color: revert !important;
	background-image: revert !important;
}

/* ---------- رنگ سفارشی متن محتوای تب (اختیاری، برای وقتی متن با پس‌زمینه سفارشی ناخوانا می‌شود) ---------- */
.hcp-wrap.hcp-wrap .hcp-tab-pane.hcp-tab-pane-custom-text * {
	color: inherit !important;
}

/* ---------- جعبه آماده «کلیک برای پرش به تب دیگر» — برای استفاده در محتوای سفارشی هر تب ---------- */
.hcp-jump-box {
	display: block;
	background: var(--hcp-panel);
	border: 1px solid var(--hcp-border);
	border-radius: var(--hcp-radius);
	padding: 16px 18px;
	cursor: pointer;
	color: var(--hcp-bone);
	text-decoration: none;
	transition: border-color .15s ease, transform .15s ease;
}
.hcp-jump-box:hover { border-color: var(--hcp-bronze); transform: translateY(-2px); color: var(--hcp-bone); }
