/* Monido Lab Tests — Frontend
   פלטה וגופנים זהים לאתר monido.co.il (Elementor globals + גופן Polin), RTL */

/* גופן Polin — נטען מספריית המדיה של האתר (אותו דומיין) */
@font-face {
	font-family: 'Polin';
	src: url('https://monido.co.il/wp-content/uploads/2026/03/Polin-Light.woff2') format('woff2'),
	     url('https://monido.co.il/wp-content/uploads/2026/03/Polin-Light.woff') format('woff');
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Polin';
	src: url('https://monido.co.il/wp-content/uploads/2026/03/Polin-Regular.woff2') format('woff2'),
	     url('https://monido.co.il/wp-content/uploads/2026/03/Polin-Regular.woff') format('woff');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Polin';
	src: url('https://monido.co.il/wp-content/uploads/2026/03/Polin-Bold.woff2') format('woff2'),
	     url('https://monido.co.il/wp-content/uploads/2026/03/Polin-Bold.woff') format('woff');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

.monido-lab {
	/* Elementor global colors של האתר */
	--ml-bg-1: #35495E;      /* accent  */
	--ml-bg-2: #2a3c4d;      /* גוון כהה יותר של secondary #344E64 */
	--ml-card: rgba(231, 238, 242, 0.05);
	--ml-card-hover: rgba(231, 238, 242, 0.09);
	--ml-border: rgba(231, 238, 242, 0.14);
	--ml-green: #41B782;     /* primary */
	--ml-green-2: #3ACE8B;   /* מנטה בהיר */
	--ml-green-dark: #35a06e;
	--ml-text: #E7EEF2;      /* light   */
	--ml-muted: #A9BBCB;
	--ml-radius: 16px;

	position: relative;
	direction: rtl;
	text-align: right;
	padding: clamp(32px, 6vw, 80px) clamp(16px, 4vw, 40px);
	color: var(--ml-text);
	font-family: 'Polin', "Assistant", "Heebo", -apple-system, Arial, sans-serif;
	overflow: hidden;
	background: linear-gradient(160deg, var(--ml-bg-1) 0%, var(--ml-bg-2) 100%);
}

.monido-lab-bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(circle at 85% 10%, rgba(58, 206, 139, 0.14), transparent 45%),
		radial-gradient(circle at 10% 90%, rgba(58, 206, 139, 0.08), transparent 40%);
}

.monido-lab-inner {
	position: relative;
	max-width: 1080px;
	margin: 0 auto;
}

/* ---- ראש הדף ---- */
.monido-lab-header {
	text-align: center;
	margin-bottom: clamp(28px, 5vw, 52px);
}

.monido-lab-header h1 {
	font-size: clamp(2rem, 5vw, 3.2rem);
	font-weight: 800;
	line-height: 1.1;
	margin: 0 0 16px;
	color: #fff;
}

.monido-lab-header h1::after {
	content: "";
	display: block;
	width: 72px;
	height: 4px;
	margin: 18px auto 0;
	border-radius: 4px;
	background: linear-gradient(90deg, var(--ml-green), var(--ml-green-dark));
}

.monido-lab-header-text {
	max-width: 680px;
	margin: 0 auto;
	font-size: 1.08rem;
	line-height: 1.8;
	color: var(--ml-muted);
}

.monido-lab-header-text p { margin: 0 0 12px; }

/* ---- טאבים ---- */
.monido-lab-tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-bottom: 36px;
}

.monido-lab-tab {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
	min-width: 150px;
	padding: 16px 22px 14px;
	border: 1px solid var(--ml-border);
	border-radius: 14px;
	background: var(--ml-card);
	color: var(--ml-text);
	font-family: inherit;
	cursor: pointer;
	transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.monido-lab-tab::before {
	content: "";
	position: absolute;
	top: -1px;
	right: 18px;
	left: 18px;
	height: 3px;
	border-radius: 0 0 4px 4px;
	background: var(--ml-green);
	opacity: 0;
	transition: opacity 0.2s ease;
}

.monido-lab-tab:hover {
	background: var(--ml-card-hover);
	transform: translateY(-2px);
}

.monido-lab-tab.is-active {
	background: var(--ml-card-hover);
	border-color: rgba(58, 206, 139, 0.5);
	box-shadow: 0 10px 30px -12px rgba(58, 206, 139, 0.5);
}

.monido-lab-tab.is-active::before { opacity: 1; }

.monido-lab-tab .tab-he {
	font-size: 1.05rem;
	font-weight: 700;
}

.monido-lab-tab .tab-latin {
	font-size: 0.78rem;
	color: var(--ml-muted);
	font-style: italic;
	direction: ltr;
}

/* ---- פאנלים ---- */
.monido-lab-panel { display: none; }
.monido-lab-panel.is-active {
	display: block;
	animation: monidoFade 0.35s ease;
}

@keyframes monidoFade {
	from { opacity: 0; transform: translateY(10px); }
	to   { opacity: 1; transform: translateY(0); }
}

.monido-lab-panel-head {
	margin-bottom: 24px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--ml-border);
}

.monido-lab-panel-head h2 {
	font-size: 1.7rem;
	font-weight: 800;
	margin: 0;
	color: #fff;
}

.monido-lab-panel-head h2 .latin {
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--ml-green);
	font-style: italic;
	margin-inline-start: 8px;
	direction: ltr;
	display: inline-block;
}

.monido-lab-panel-intro {
	margin: 12px 0 0;
	color: var(--ml-muted);
	font-size: 1.02rem;
	line-height: 1.7;
}

/* ---- כרטיסי בדיקות ---- */
.monido-lab-tests {
	display: grid;
	gap: 16px;
}

.monido-lab-test {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 20px 22px;
	border: 1px solid var(--ml-border);
	border-radius: var(--ml-radius);
	background: var(--ml-card);
	transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.monido-lab-test:hover {
	background: var(--ml-card-hover);
	border-color: rgba(58, 206, 139, 0.35);
	transform: translateX(-4px);
}

.monido-lab-test-icon {
	flex: 0 0 auto;
	width: 52px;
	height: 52px;
	display: grid;
	place-items: center;
	font-size: 1.5rem;
	border-radius: 12px;
	background: rgba(58, 206, 139, 0.14);
}

.monido-lab-test-body {
	flex: 1 1 auto;
	min-width: 0;
}

.monido-lab-test-body h3 {
	margin: 0 0 4px;
	font-size: 1.15rem;
	font-weight: 700;
	color: #fff;
}

.monido-lab-test-desc {
	color: var(--ml-muted);
	font-size: 0.96rem;
	line-height: 1.6;
}
.monido-lab-test-desc p { margin: 0; }

.monido-lab-test-btn {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 22px;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--ml-green-2), var(--ml-green));
	color: #10231c;
	font-weight: 700;
	font-size: 0.95rem;
	text-decoration: none;
	white-space: nowrap;
	transition: filter 0.2s ease, transform 0.2s ease;
}

.monido-lab-test-btn:hover {
	filter: brightness(1.08);
	transform: translateY(-1px);
	color: #10231c;
}

.monido-lab-empty {
	padding: 40px;
	text-align: center;
	color: var(--ml-muted);
	border: 1px dashed var(--ml-border);
	border-radius: var(--ml-radius);
	background: var(--ml-card);
}

/* ---- רספונסיבי ---- */
@media (max-width: 640px) {
	.monido-lab-tab { min-width: calc(50% - 12px); }
	.monido-lab-test {
		flex-wrap: wrap;
		text-align: right;
	}
	.monido-lab-test-btn {
		width: 100%;
		justify-content: center;
	}
}
