/* ===== English Habit — الأنماط العامة ===== */
.eh-app {
	--eh-primary: #2f6f4f;
	--eh-primary-dark: #234f38;
	--eh-accent: #d4a017;
	--eh-bg: #f7f9f7;
	--eh-card-bg: #ffffff;
	--eh-text: #1e2a24;
	--eh-text-muted: #6b7a72;
	--eh-border: #e2e8e4;
	direction: rtl;
	text-align: right;
	font-family: "Tajawal", "Segoe UI", Tahoma, sans-serif;
	max-width: 720px;
	margin: 0 auto;
	color: var(--eh-text);
	background: var(--eh-bg);
	padding: 16px;
	border-radius: 16px;
}

.eh-app.eh-dark {
	--eh-bg: #101813;
	--eh-card-bg: #1a2620;
	--eh-text: #eaf2ec;
	--eh-text-muted: #9db3a7;
	--eh-border: #2a3b32;
}

.eh-card {
	background: var(--eh-card-bg);
	border: 1px solid var(--eh-border);
	border-radius: 14px;
	padding: 20px;
	margin-bottom: 16px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* الرأس */
.eh-header { background: linear-gradient(135deg, var(--eh-primary), var(--eh-primary-dark)); color: #fff; border-radius: 14px; padding: 18px 20px; margin-bottom: 16px; }
.eh-header-top { display: flex; justify-content: space-between; align-items: center; }
.eh-header h2 { margin: 0; font-size: 20px; }
.eh-darkmode-toggle { background: rgba(255,255,255,.15); border: none; border-radius: 8px; padding: 6px 10px; cursor: pointer; font-size: 16px; }
.eh-progress-row { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 13px; }
.eh-progress-bar { flex: 1; height: 10px; background: rgba(255,255,255,.25); border-radius: 6px; overflow: hidden; }
.eh-progress-fill { height: 100%; background: var(--eh-accent); border-radius: 6px; transition: width .4s ease; }
.eh-stats-row { display: flex; gap: 14px; margin-top: 12px; flex-wrap: wrap; font-size: 13px; }
.eh-mini-stat { background: rgba(255,255,255,.12); padding: 6px 10px; border-radius: 8px; }

/* البحث */
/* شريط خطوات اليوم (عند تفعيل أكثر من جملة يوميًا) */
.eh-day-steps { background: var(--eh-card-bg); border: 1px solid var(--eh-border); border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; text-align: center; }
.eh-day-steps-label { margin: 0 0 8px; font-size: 13px; font-weight: 700; color: var(--eh-primary-dark); }
.eh-app.eh-dark .eh-day-steps-label { color: #8fd6ac; }
.eh-day-steps-dots { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.eh-day-step-dot { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; background: var(--eh-bg); color: var(--eh-text-muted); border: 2px solid var(--eh-border); }
.eh-day-step-dot.done { background: var(--eh-primary); border-color: var(--eh-primary); color: #fff; }
.eh-day-step-dot.current { border-color: var(--eh-accent); color: var(--eh-primary-dark); box-shadow: 0 0 0 4px rgba(212,175,55,.18); }
.eh-app.eh-dark .eh-day-step-dot.current { color: #e8cf6f; }

/* تفاصيل قابلة للطي (تصفح حسب التصنيف) */
.eh-browse-card summary { cursor: pointer; font-weight: 700; font-size: 15px; color: var(--eh-primary-dark); list-style: none; }
.eh-app.eh-dark .eh-browse-card summary { color: #8fd6ac; }
.eh-browse-card summary::-webkit-details-marker { display: none; }
.eh-browse-card summary::after { content: ' ▾'; }
.eh-browse-card[open] summary::after { content: ' ▴'; }
.eh-browse-card .eh-cat-filter { margin-top: 14px; }

/* =========================================================
   وضع التركيز: عند بدء أي مرحلة/اختبار، يختفي كل شيء عدا
   المهمة الحالية وزر الرجوع — لمنع تشتيت المتعلم
   ========================================================= */
.eh-focus-back-btn {
	display: none;
	width: 100%;
	text-align: right;
	background: var(--eh-card-bg);
	border: 1px solid var(--eh-border);
	color: var(--eh-primary-dark);
	font-weight: 700;
	font-size: 14px;
	padding: 12px 16px;
	border-radius: 12px;
	margin-bottom: 14px;
	cursor: pointer;
}
.eh-app.eh-dark .eh-focus-back-btn { color: #8fd6ac; }
.eh-app.eh-focus-mode .eh-focus-back-btn { display: block; position: sticky; top: 8px; z-index: 20; box-shadow: 0 4px 14px rgba(0,0,0,.12); }

.eh-app.eh-focus-mode .eh-header,
.eh-app.eh-focus-mode .eh-day-steps,
.eh-app.eh-focus-mode .eh-search-box,
.eh-app.eh-focus-mode .eh-done-card,
.eh-app.eh-focus-mode .eh-review-card,
.eh-app.eh-focus-mode .eh-weekly-card,
.eh-app.eh-focus-mode .eh-badges-card,
.eh-app.eh-focus-mode .eh-browse-card {
	display: none !important;
}
.eh-app.eh-focus-mode .eh-sentence-card { box-shadow: 0 8px 24px rgba(0,0,0,.12); }

/* نافذة الإتمام الاحترافية (بديل alert) */
.eh-modal-overlay {
	position: fixed; inset: 0; z-index: 9999;
	background: rgba(10,46,33,.55);
	display: flex; align-items: center; justify-content: center;
	opacity: 0; transition: opacity .2s ease;
	padding: 20px;
}
.eh-modal-overlay.show { opacity: 1; }
.eh-modal-box {
	background: #fff;
	border-radius: 18px;
	padding: 32px 28px;
	max-width: 340px;
	width: 100%;
	text-align: center;
	transform: scale(.9);
	transition: transform .2s ease;
	box-shadow: 0 20px 50px rgba(0,0,0,.3);
	border-top: 4px solid #d4af37;
}
.eh-modal-overlay.show .eh-modal-box { transform: scale(1); }
.eh-modal-icon { font-size: 44px; margin-bottom: 8px; }
.eh-modal-title { margin: 0 0 8px; color: #0d3b2b; }
.eh-modal-message { margin: 0 0 22px; color: #5c7367; font-size: 14px; line-height: 1.7; }
.eh-modal-btn { width: 100%; }

.eh-search-box { position: relative; margin-bottom: 16px; }
.eh-search-box input { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--eh-border); background: var(--eh-card-bg); color: var(--eh-text); font-size: 14px; box-sizing: border-box; }
.eh-search-results { position: absolute; z-index: 10; background: var(--eh-card-bg); border: 1px solid var(--eh-border); border-radius: 10px; width: 100%; max-height: 260px; overflow-y: auto; margin-top: 4px; }
.eh-search-results:empty { display: none; }
.eh-search-result-item { padding: 10px 14px; border-bottom: 1px solid var(--eh-border); cursor: default; }
.eh-search-result-item:last-child { border-bottom: none; }
.eh-search-result-item small { color: var(--eh-text-muted); display: block; margin-top: 2px; }

/* بطاقة الجملة */
.eh-sentence-card .eh-card-top { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.eh-badge { font-size: 12px; padding: 4px 10px; border-radius: 20px; background: var(--eh-bg); border: 1px solid var(--eh-border); }
.eh-level-badge { background: #e8f3ec; color: var(--eh-primary-dark); }
.eh-cat-badge { background: #fdf3d9; color: #8a6a00; }
.eh-fav-btn { margin-inline-start: auto; background: none; border: none; font-size: 20px; cursor: pointer; opacity: .35; }
.eh-fav-btn.active { opacity: 1; }
.eh-sentence-image { width: 100%; aspect-ratio: 600 / 340; height: auto; object-fit: cover; border-radius: 12px; margin-bottom: 14px; display: block; box-shadow: 0 6px 18px rgba(10,46,33,.18); }
.eh-en-text { font-size: 20px; font-weight: 700; direction: ltr; text-align: left; margin: 6px 0; color: var(--eh-primary-dark); }
.eh-app.eh-dark .eh-en-text { color: #8fd6ac; }
.eh-ar-text { font-size: 16px; color: var(--eh-text-muted); margin: 4px 0 14px; }

/* المراحل */
.eh-stages { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.eh-stage-btn {
	flex: 1 1 auto;
	padding: 11px 8px;
	border-radius: 12px;
	border: 1.5px solid var(--eh-accent);
	background: var(--eh-card-bg);
	color: var(--eh-primary-dark);
	cursor: pointer;
	font-size: 13px;
	font-weight: 700;
	transition: all .2s ease;
	box-shadow: 0 2px 6px rgba(212,175,55,.12);
}
.eh-app.eh-dark .eh-stage-btn { color: #e8cf6f; }
.eh-stage-btn:hover:not(.done):not(:disabled) { background: var(--eh-bg); transform: translateY(-1px); box-shadow: 0 4px 10px rgba(212,175,55,.2); }
.eh-stage-btn.done { background: var(--eh-primary); border-color: var(--eh-primary); color: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.eh-stage-btn:disabled { opacity: .5; cursor: not-allowed; }

.eh-audio-controls { display: flex; gap: 8px; margin-bottom: 14px; }

/* لوحة التكرار الصوتي */
.eh-repeat-panel { background: var(--eh-bg); border-radius: 10px; padding: 14px; margin-bottom: 14px; }
.eh-repeat-instruction { font-size: 13px; color: var(--eh-text-muted); margin: 0 0 10px; }
.eh-repeat-dots { display: flex; gap: 10px; margin: 12px 0; }
.eh-repeat-dot { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--eh-border); background: var(--eh-card-bg); color: var(--eh-text); font-weight: 700; cursor: pointer; }
.eh-repeat-dot:disabled { opacity: .4; cursor: not-allowed; }
.eh-repeat-dot.done { background: var(--eh-primary); border-color: var(--eh-primary); color: #fff; }
.eh-repeat-status { font-size: 13px; font-weight: 600; color: var(--eh-primary-dark); margin: 4px 0 0; }
.eh-app.eh-dark .eh-repeat-status { color: #8fd6ac; }

/* البطاقة القابلة للقلب */
.eh-flashcard { perspective: 1000px; margin-bottom: 12px; cursor: pointer; }
.eh-flashcard-inner { position: relative; min-height: 100px; text-align: center; transition: transform .5s; transform-style: preserve-3d; }
.eh-flashcard.flipped .eh-flashcard-inner { transform: rotateY(180deg); }
.eh-flashcard-front, .eh-flashcard-back { position: absolute; inset: 0; backface-visibility: hidden; display: flex; align-items: center; justify-content: center; flex-direction: column; border-radius: 10px; padding: 16px; background: var(--eh-bg); border: 1px dashed var(--eh-border); }
.eh-flashcard-back { transform: rotateY(180deg); background: #eef7f0; }
.eh-app.eh-dark .eh-flashcard-back { background: #1f2e26; }

/* الاختبار */
.eh-quiz-box { background: var(--eh-bg); border-radius: 10px; padding: 14px; margin-top: 10px; }
.eh-quiz-prompt { background: #eef7f0; border: 1px solid var(--eh-primary); border-radius: 10px; padding: 12px 14px; margin-bottom: 14px; }
.eh-app.eh-dark .eh-quiz-prompt { background: #17261e; }
.eh-quiz-prompt-label { margin: 0 0 4px; font-size: 12px; color: var(--eh-text-muted); font-weight: 600; }
.eh-quiz-prompt-text { margin: 0; font-size: 18px; font-weight: 700; color: var(--eh-primary-dark); }
.eh-app.eh-dark .eh-quiz-prompt-text { color: #8fd6ac; }
.eh-quiz-instruction { font-size: 13px; color: var(--eh-text-muted); margin: 0 0 10px; font-weight: 600; }

.eh-order-answer { min-height: 42px; direction: ltr; text-align: left; font-weight: 700; font-size: 17px; margin-bottom: 12px; padding: 8px 10px; background: var(--eh-card-bg); border: 1px dashed var(--eh-primary); border-radius: 8px; color: var(--eh-primary-dark); }
.eh-app.eh-dark .eh-order-answer { color: #8fd6ac; }
.eh-word-bank { display: flex; flex-wrap: wrap; gap: 8px; direction: ltr; }
.eh-word-tile { padding: 8px 14px; border-radius: 8px; border: 1px solid var(--eh-border); background: var(--eh-card-bg); color: var(--eh-text); cursor: pointer; font-size: 14px; font-weight: 600; transition: all .15s; }
.eh-word-tile:hover:not(:disabled) { border-color: var(--eh-primary); }
.eh-word-tile.used, .eh-word-tile:disabled { opacity: .3; cursor: not-allowed; }

.eh-mcq-options { display: flex; flex-direction: column; gap: 8px; }
.eh-quiz-option { display: block; width: 100%; text-align: left; direction: ltr; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--eh-border); background: var(--eh-card-bg); color: var(--eh-text); cursor: pointer; font-size: 14px; }
.eh-quiz-option.correct { background: #d7f2df; border-color: #4caf6f; }
.eh-quiz-option.wrong { background: #fbdada; border-color: #d9534f; }

.eh-assisted-input { width: 100%; padding: 12px; border-radius: 8px; border: 1px solid var(--eh-border); background: var(--eh-card-bg); color: var(--eh-text); font-size: 15px; margin-bottom: 10px; box-sizing: border-box; }

.eh-quiz-feedback { font-size: 14px; margin-top: 12px; font-weight: 600; padding: 8px 12px; border-radius: 8px; }
.eh-quiz-feedback.ok { background: #d7f2df; color: #1d6b3a; }
.eh-quiz-feedback.no { background: #fbdada; color: #a4302b; }

/* السحب والإفلات: خانات ترتيب الجملة */
.eh-drop-slots { display: flex; flex-wrap: wrap; gap: 8px; direction: ltr; margin-bottom: 12px; min-height: 46px; }
.eh-drop-slot { min-width: 60px; height: 40px; padding: 0 10px; border: 2px dashed var(--eh-primary); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--eh-primary-dark); background: var(--eh-card-bg); }
.eh-drop-slot.filled { border-style: solid; background: #eef7f0; }
.eh-app.eh-dark .eh-drop-slot.filled { background: #17261e; }
.eh-drag-tile { cursor: grab; }
.eh-drag-tile.selected { outline: 3px solid var(--eh-accent); }
.eh-drag-tile.placed { display: none; }

/* السحب والإفلات: تعبئة الفراغ الوحيد */
.eh-blank-sentence { font-size: 19px; font-weight: 700; direction: ltr; text-align: left; line-height: 2; color: var(--eh-primary-dark); }
.eh-app.eh-dark .eh-blank-sentence { color: #8fd6ac; }
.eh-blank-slot { display: inline-block; min-width: 70px; border-bottom: 3px dashed var(--eh-accent); text-align: center; color: var(--eh-text-muted); }
.eh-blank-slot.correct { color: #1d6b3a; border-color: #4caf6f; }
.eh-blank-slot.wrong { color: #a4302b; border-color: #d9534f; }

/* أقسام إضافية */
.eh-section { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--eh-border); }
.eh-section h4 { margin: 0 0 8px; font-size: 14px; }
.eh-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.eh-chip { background: #eef3ef; color: var(--eh-primary-dark); padding: 4px 10px; border-radius: 20px; font-size: 12px; direction: ltr; }
.eh-app.eh-dark .eh-chip { background: #24352b; color: #a9d8bb; }
.eh-grammar-box { background: #fbf7ea; border-radius: 10px; padding: 12px; border-top: none; }
.eh-app.eh-dark .eh-grammar-box { background: #2a2618; }
.eh-challenge-box { background: #eaf3fb; border-radius: 10px; padding: 12px; border-top: none; }
.eh-app.eh-dark .eh-challenge-box { background: #17242e; }
.eh-challenge-answer { direction: ltr; text-align: left; font-weight: 700; margin-top: 8px; }

/* المراجعة */
.eh-review-list { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.eh-review-item { background: var(--eh-bg); border-radius: 10px; padding: 12px; }
.eh-review-actions { display: flex; gap: 8px; margin-top: 8px; }

/* الإنجازات — نظرة سريعة داخل التطبيق */
.eh-badges-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.eh-badges-count { background: var(--eh-bg); padding: 4px 12px; border-radius: 20px; font-size: 13px; font-weight: 700; color: var(--eh-primary-dark); }
.eh-app.eh-dark .eh-badges-count { color: #8fd6ac; }

.eh-next-badge-spotlight { display: flex; gap: 12px; align-items: center; background: linear-gradient(135deg, #fbf7ea, #f3ecd6); border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; }
.eh-app.eh-dark .eh-next-badge-spotlight { background: linear-gradient(135deg, #2a2618, #221f14); }
.eh-next-badge-icon { font-size: 34px; }
.eh-next-badge-info { flex: 1; }
.eh-next-badge-title { margin: 0 0 6px; font-size: 13px; font-weight: 700; color: var(--eh-text); }
.eh-next-badge-bar { height: 8px; background: rgba(0,0,0,.08); border-radius: 6px; overflow: hidden; }
.eh-next-badge-fill { height: 100%; background: linear-gradient(90deg, #d9b94a, #c9a227); border-radius: 6px; }
.eh-next-badge-sub { margin: 6px 0 0; font-size: 11px; color: var(--eh-text-muted); }

.eh-badges-strip { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; }
.eh-badge-chip { flex: 0 0 auto; width: 90px; text-align: center; padding: 10px 6px; border-radius: 12px; background: var(--eh-bg); position: relative; }
.eh-badge-chip.locked { opacity: .45; filter: grayscale(.6); }
.eh-badge-chip.earned { background: linear-gradient(135deg, #fbf3d9, #f0e3b0); box-shadow: 0 2px 8px rgba(201,162,39,.25); }
.eh-badge-chip-icon { font-size: 26px; display: block; }
.eh-badge-chip-title { font-size: 10px; display: block; margin-top: 4px; font-weight: 700; }
.eh-badge-chip-pct { position: absolute; top: 4px; left: 4px; font-size: 9px; background: var(--eh-primary); color: #fff; border-radius: 8px; padding: 1px 5px; }
.eh-badges-hint { font-size: 11px; color: var(--eh-text-muted); margin: 12px 0 0; text-align: center; }
.eh-badges-hint code { background: var(--eh-bg); padding: 2px 6px; border-radius: 4px; }

/* =========================================================
   صفحة الشارات الإبداعية الكاملة — [english_habit_badges]
   ========================================================= */
.eh-badges-page { max-width: 900px; }

.eh-badges-hero { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; background: linear-gradient(135deg, var(--eh-primary), var(--eh-primary-dark)); color: #fff; border-radius: 18px; padding: 28px; margin-bottom: 30px; }
.eh-badges-hero-ring { position: relative; width: 120px; height: 120px; flex-shrink: 0; }
.eh-hero-ring-svg { width: 120px; height: 120px; transform: rotate(-90deg); }
.eh-ring-track { fill: none; stroke: rgba(255,255,255,.18); stroke-width: 10; }
.eh-ring-fill { fill: none; stroke: #d9b94a; stroke-width: 10; stroke-linecap: round; transition: stroke-dasharray .6s ease; }
.eh-hero-ring-text { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.eh-hero-ring-num { font-size: 30px; font-weight: 800; line-height: 1; }
.eh-hero-ring-total { font-size: 12px; opacity: .85; }
.eh-badges-hero-info { flex: 1; min-width: 220px; }
.eh-badges-hero-info h2 { color: #fff; margin-bottom: 6px; }
.eh-badges-hero-info p { margin: 0 0 12px; opacity: .9; font-size: 14px; }
.eh-badges-hero-stats { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; }
.eh-badges-hero-stats span { background: rgba(255,255,255,.15); padding: 6px 12px; border-radius: 20px; }

.eh-badges-section { margin-bottom: 34px; }
.eh-badges-section-title { margin-bottom: 2px; }
.eh-badges-section-desc { color: var(--eh-text-muted); font-size: 13px; margin: 0 0 16px; }

.eh-badges-creative-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.eh-badge-card {
	position: relative;
	overflow: hidden;
	background: var(--eh-card-bg);
	border: 1px solid var(--eh-border);
	border-radius: 16px;
	padding: 20px 16px;
	text-align: center;
	transition: transform .2s ease, box-shadow .2s ease;
}
.eh-badge-card.earned {
	background: linear-gradient(160deg, #fffaf0, #fbf0cf);
	border-color: #d9b94a;
	box-shadow: 0 8px 22px rgba(201,162,39,.28);
}
.eh-app.eh-dark .eh-badge-card.earned { background: linear-gradient(160deg, #2a2618, #221f14); }
.eh-badge-card.earned:hover { transform: translateY(-4px); }
.eh-badge-card.locked { filter: grayscale(1); opacity: .55; }
.eh-badge-card-shine {
	position: absolute; top: -60%; left: -60%;
	width: 60%; height: 220%;
	background: linear-gradient(120deg, transparent, rgba(255,255,255,.55), transparent);
	transform: rotate(20deg);
	animation: eh-shine 3.2s ease-in-out infinite;
}
@keyframes eh-shine {
	0% { left: -60%; }
	50% { left: 130%; }
	100% { left: 130%; }
}
.eh-badge-card-icon { font-size: 44px; margin-bottom: 10px; }
.eh-badge-card-title { margin: 0 0 6px; font-size: 15px; }
.eh-badge-card-desc { font-size: 12px; color: var(--eh-text-muted); margin: 0 0 12px; min-height: 32px; }
.eh-badge-card-status { display: inline-block; background: var(--eh-primary); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 20px; }
.eh-badge-card-progress { text-align: center; }
.eh-badge-card-bar { height: 8px; background: var(--eh-bg); border-radius: 6px; overflow: hidden; margin-bottom: 6px; }
.eh-badge-card-fill { height: 100%; background: linear-gradient(90deg, var(--eh-primary), var(--eh-primary-dark)); border-radius: 6px; }
.eh-badge-card-pct { font-size: 11px; color: var(--eh-text-muted); font-weight: 600; }

@media (max-width: 480px) {
	.eh-badges-hero { flex-direction: column; text-align: center; }
	.eh-badges-creative-grid { grid-template-columns: repeat(2, 1fr); }
}

/* التصفح */
.eh-cat-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.eh-cat-chip { padding: 6px 12px; border-radius: 20px; border: 1px solid var(--eh-border); background: var(--eh-bg); color: var(--eh-text); cursor: pointer; font-size: 13px; }
.eh-cat-chip.active { background: var(--eh-primary); color: #fff; border-color: var(--eh-primary); }
#eh-cat-results { position: static; margin-top: 12px; max-height: none; }

/* أزرار عامة */
.eh-btn { display: inline-block; padding: 10px 18px; border-radius: 10px; border: 1px solid var(--eh-border); background: var(--eh-bg); color: var(--eh-text); cursor: pointer; font-size: 14px; text-decoration: none; }
.eh-btn-primary { background: var(--eh-primary); border-color: var(--eh-primary); color: #fff; }
.eh-btn-sm { padding: 6px 12px; font-size: 12px; }

/* بوابة تسجيل الدخول */
.eh-login-gate { display: flex; align-items: center; justify-content: center; min-height: 300px; }
.eh-login-box { text-align: center; }

/* لوحة تحكم الأدمن */
.eh-admin-wrap .eh-stat-cards { display: flex; gap: 14px; flex-wrap: wrap; margin: 16px 0; }
.eh-admin-wrap .eh-stat-card { background: #fff; border: 1px solid #dcdcde; border-radius: 10px; padding: 16px 20px; text-align: center; min-width: 130px; }
.eh-admin-wrap .eh-stat-num { display: block; font-size: 26px; font-weight: 700; color: #2f6f4f; }
.eh-admin-columns { display: flex; gap: 16px; flex-wrap: wrap; }
.eh-admin-box { flex: 1; min-width: 320px; background: #fff; border: 1px solid #dcdcde; border-radius: 10px; padding: 16px; }

@media (max-width: 480px) {
	.eh-stages { flex-direction: column; }
}
