/* ============================================================
 * Fizyo Uygunluk Testi — v1.0.3
 * Beyaz popup (elos paleti) + yesil vurgu. Tema (cmsmasters vb.)
 * global buton stillerini yuksek ozgullukte !important ile bastigi
 * icin tum kritik kurallar `html body` onekiyle guclendirildi ve
 * hover durumlari sabitlendi: yesil ogeler HER durumda yesil kalir.
 * ============================================================ */

html body .fzt-ut {
	--eut-accent: #0E8C7F;
	--fzt-accent-soft: rgba(14, 140, 127, 0.10);
	--fzt-metin: #2b2b33;
	--fzt-cizgi: #e3e7e6;
	max-width: 640px;
	margin: 2.5rem auto;
	font-family: inherit;
	color: var(--fzt-metin);
}

/* ---- Tema sifirlamasi: eklentinin TUM butonlari ---- */
html body .fzt-ut button,
html body .fzt-ut [role="button"],
html body .fzt-ut-fab,
html body .fzt-ut-modal__kapat {
	-webkit-appearance: none !important;
	appearance: none !important;
	box-sizing: border-box !important;
	font-family: inherit !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	text-shadow: none !important;
	min-width: 0 !important;
	min-height: 0 !important;
	margin: 0;
	outline: none;
	-webkit-user-select: none;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
}
html body .fzt-ut [role="button"]:focus-visible,
html body .fzt-ut-fab:focus-visible,
html body .fzt-ut-modal__kapat:focus-visible {
	outline: 2px solid var(--eut-accent, #0E8C7F);
	outline-offset: 2px;
}

html body .fzt-ut__kart {
	background: #ffffff !important;
	border: 1px solid var(--fzt-cizgi);
	border-radius: 16px;
	padding: 28px 28px 24px;
	box-shadow: 0 8px 28px rgba(20, 60, 55, 0.12);
}

/* ---- Giris ---- */
html body .fzt-ut__rozet {
	display: inline-block;
	background: var(--fzt-accent-soft) !important;
	color: var(--eut-accent) !important;
	font-size: 13px;
	font-weight: 600;
	padding: 4px 12px;
	border-radius: 999px;
	margin-bottom: 12px;
}
html body .fzt-ut__baslik {
	margin: 0 0 6px !important;
	font-size: 24px !important;
	line-height: 1.25 !important;
	color: #1c2b29 !important;
}
html body .fzt-ut__alt {
	margin: 0 0 18px;
	font-size: 14px;
	color: #6d7a78;
}

/* ---- Ana butonlar: her durumda yesil ---- */
html body .fzt-ut__btn,
html body .fzt-ut__btn:hover,
html body .fzt-ut__btn:focus,
html body .fzt-ut__btn:active {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px;
	background: var(--eut-accent) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 10px !important;
	padding: 13px 26px !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	cursor: pointer;
	text-decoration: none !important;
	text-align: center;
	transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
html body .fzt-ut__btn:hover,
html body .fzt-ut__btn:focus {
	filter: brightness(1.1);
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(14, 140, 127, 0.35);
}

/* WhatsApp butonu: her durumda WhatsApp yesili */
html body .fzt-ut__btn--wa,
html body .fzt-ut__btn--wa:hover,
html body .fzt-ut__btn--wa:focus,
html body .fzt-ut__btn--wa:active {
	background: #25D366 !important;
	color: #fff !important;
}
html body .fzt-ut__btn--wa:hover,
html body .fzt-ut__btn--wa:focus {
	filter: brightness(0.95);
	box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}
html body .fzt-ut__btn--wa svg,
html body .fzt-ut__btn--wa svg * {
	fill: currentColor !important;
	stroke: none !important;
}

/* ---- Ilerleme ---- */
html body .fzt-ut__ilerleme {
	height: 6px;
	background: var(--fzt-accent-soft);
	border-radius: 999px;
	overflow: hidden;
	margin-bottom: 20px;
}
html body .fzt-ut__ilerleme-bar {
	display: block;
	height: 100%;
	width: 0;
	background: var(--eut-accent) !important;
	border-radius: 999px;
	transition: width 0.3s ease;
}

/* ---- Soru ---- */
html body .fzt-ut__sayac {
	margin: 0 0 4px;
	font-size: 13px;
	font-weight: 600;
	color: var(--eut-accent);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
html body .fzt-ut__soru {
	margin: 0 0 16px !important;
	font-size: 19px !important;
	line-height: 1.35 !important;
	color: #1c2b29 !important;
}
html body .fzt-ut__secenekler {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

/* Secenekler: beyaz zemin, yesil hover cercevesi; secilince yesil dolgu */
html body .fzt-ut__secenek,
html body .fzt-ut__secenek:active {
	display: block !important;
	width: 100% !important;
	background: #ffffff !important;
	border: 1.5px solid var(--fzt-cizgi) !important;
	border-radius: 10px !important;
	padding: 13px 16px !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	line-height: 1.4 !important;
	text-align: left !important;
	cursor: pointer;
	color: var(--fzt-metin) !important;
	transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
html body .fzt-ut__secenek:hover,
html body .fzt-ut__secenek:focus,
html body .fzt-ut__secenek:focus-visible {
	border-color: var(--eut-accent) !important;
	background: var(--fzt-accent-soft) !important;
	color: #1c2b29 !important;
}
html body .fzt-ut__secenek--secili,
html body .fzt-ut__secenek--secili:hover,
html body .fzt-ut__secenek--secili:focus,
html body .fzt-ut__secenek--secili:active {
	border-color: var(--eut-accent) !important;
	background: var(--eut-accent) !important;
	color: #fff !important;
}

/* Onceki soru: sade baglanti; her durumda ayni stil, hover'da yesil */
html body .fzt-ut__geri,
html body .fzt-ut__geri:hover,
html body .fzt-ut__geri:focus,
html body .fzt-ut__geri:active {
	display: inline-block !important;
	margin-top: 16px !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	padding: 4px 0 !important;
	font-size: 14px !important;
	line-height: 1.4 !important;
	cursor: pointer;
	text-decoration: none;
}
html body .fzt-ut__geri { color: #6d7a78 !important; }
html body .fzt-ut__geri:hover,
html body .fzt-ut__geri:focus { color: var(--eut-accent) !important; text-decoration: underline; }

/* ---- Sonuc ---- */
html body .fzt-ut__sonuc-ust {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	margin-bottom: 20px;
}
html body .fzt-ut__halka {
	--eut-oran: 0;
	--eut-halka: var(--eut-accent);
	flex: 0 0 88px;
	width: 88px;
	height: 88px;
	border-radius: 50%;
	background: conic-gradient(var(--eut-halka) calc(var(--eut-oran) * 1%), var(--fzt-accent-soft) 0);
	display: grid;
	place-items: center;
	position: relative;
}
html body .fzt-ut__halka::before {
	content: '';
	position: absolute;
	inset: 9px;
	background: #ffffff;
	border-radius: 50%;
}
html body .fzt-ut__halka span {
	position: relative;
	font-size: 20px;
	font-weight: 700;
	color: var(--eut-halka);
}
html body .fzt-ut__halka--uzman { background: var(--fzt-accent-soft); }
html body .fzt-ut__sonuc-baslik {
	margin: 0 0 6px !important;
	font-size: 20px !important;
	line-height: 1.3 !important;
	color: #1c2b29 !important;
}
html body .fzt-ut__sonuc-metin {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: #4a5553;
}
html body .fzt-ut__cta {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}
html body .fzt-ut__cta .fzt-ut__btn { flex: 1 1 220px; }
html body .fzt-ut__tekrar,
html body .fzt-ut__tekrar:hover,
html body .fzt-ut__tekrar:focus,
html body .fzt-ut__tekrar:active {
	margin-top: 14px !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
	font-size: 13px !important;
	cursor: pointer;
	text-decoration: underline;
}
html body .fzt-ut__tekrar { color: #8b9694 !important; }
html body .fzt-ut__tekrar:hover,
html body .fzt-ut__tekrar:focus { color: var(--eut-accent) !important; }

/* ---- Yasal not ---- */
html body .fzt-ut__yasal {
	margin: 16px 0 0;
	font-size: 12px;
	line-height: 1.5;
	color: #8b9694;
	text-align: center;
}

/* ============================================================
 * Sticky buton (FAB): HER durumda yesil (hover dahil)
 * ============================================================ */
html body .fzt-ut-fab,
html body .fzt-ut-fab:hover,
html body .fzt-ut-fab:focus,
html body .fzt-ut-fab:active {
	--eut-accent: #0E8C7F;
	--fzt-fab-bg: #F7C99B;
	--fzt-fab-metin: #272626;
	position: fixed !important;
	left: 20px;
	bottom: 20px;
	z-index: 99998;
	display: flex !important;
	align-items: center !important;
	gap: 10px;
	background: var(--fzt-fab-bg) !important;
	color: var(--fzt-fab-metin) !important;
	border: 0 !important;
	border-radius: 999px !important;
	padding: 0 22px 0 0 !important;
	height: 60px !important;
	width: auto;
	cursor: pointer;
	box-shadow: 0 6px 20px rgba(90, 60, 30, 0.3) !important;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
html body .fzt-ut-fab:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 26px rgba(90, 60, 30, 0.4) !important;
}

/* Ikon: fill/stroke kilitli — her temada gorunur */
html body .fzt-ut-fab svg {
	flex: 0 0 auto;
	margin-left: 17px;
	width: 26px !important;
	height: 26px !important;
	display: block;
}
html body .fzt-ut-fab svg,
html body .fzt-ut-fab svg rect,
html body .fzt-ut-fab svg path {
	fill: none !important;
	stroke: #272626 !important;
	stroke-width: 2 !important;
	stroke-linecap: round !important;
	stroke-linejoin: round !important;
	background: transparent !important;
}

html body .fzt-ut-fab__etiket {
	font-size: 15px !important;
	font-weight: 600 !important;
	white-space: nowrap;
	color: #272626 !important;
}
html body .fzt-ut-fab__puls {
	position: absolute;
	inset: 0;
	border-radius: 999px;
	border: 2px solid var(--fzt-fab-bg, #F7C99B);
	animation: fzt-puls 2.4s ease-out infinite;
	pointer-events: none;
}
@keyframes fzt-puls {
	0%   { transform: scale(1);    opacity: 0.6; }
	70%  { transform: scale(1.25); opacity: 0; }
	100% { transform: scale(1.25); opacity: 0; }
}

/* Mobil FAB: sabit daire + balon etiket */
@media (max-width: 640px) {
	html body .fzt-ut-fab,
	html body .fzt-ut-fab:hover,
	html body .fzt-ut-fab:focus {
		left: 14px;
		bottom: 14px;
		width: 58px !important;
		height: 58px !important;
		padding: 0 !important;
		justify-content: center !important;
	}
	html body .fzt-ut-fab svg {
		position: absolute;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
		margin: 0 !important;
	}
	html body .fzt-ut-fab__etiket {
		position: absolute;
		left: calc(100% + 10px);
		top: 50%;
		background: var(--fzt-fab-bg, #F7C99B) !important;
		color: #272626 !important;
		padding: 9px 16px !important;
		border-radius: 999px;
		box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
		transform: translateY(-50%);
		transform-origin: left center;
		will-change: transform, opacity;
		transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
	}
	html body .fzt-ut-fab--kapali .fzt-ut-fab__etiket {
		transform: translateY(-50%) translateX(-10px) scale(0.85);
		opacity: 0;
		pointer-events: none;
	}
}

/* ============================================================
 * Modal
 * ============================================================ */
html body .fzt-ut-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
html body .fzt-ut-modal[hidden] { display: none; }
html body .fzt-ut-modal__arka {
	position: absolute;
	inset: 0;
	background: rgba(28, 43, 41, 0.55);
	backdrop-filter: blur(2px);
}
html body .fzt-ut--modal {
	position: relative;
	margin: 0;
	width: 100%;
	max-width: 560px;
	max-height: calc(100vh - 40px);
	overflow-y: auto;
	animation: fzt-gir 0.25s ease;
	border-radius: 16px;
}
html body .fzt-ut--modal .fzt-ut__kart { box-shadow: none; }
@keyframes fzt-gir {
	from { transform: translateY(16px); opacity: 0; }
	to   { transform: translateY(0);    opacity: 1; }
}

/* Kapat (X): acik zeminde gri daire, tam merkezli; her durumda ayni yapi */
html body .fzt-ut-modal__kapat,
html body .fzt-ut-modal__kapat:hover,
html body .fzt-ut-modal__kapat:focus,
html body .fzt-ut-modal__kapat:active {
	position: absolute !important;
	top: 12px;
	right: 12px;
	z-index: 2;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 36px !important;
	height: 36px !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	font-size: 20px !important;
	line-height: 1 !important;
	font-weight: 400 !important;
	cursor: pointer;
	box-shadow: none !important;
	transition: background 0.15s ease, color 0.15s ease;
}
html body .fzt-ut-modal__kapat {
	background: #eef1f0 !important;
	color: #4a5553 !important;
}
html body .fzt-ut-modal__kapat:hover,
html body .fzt-ut-modal__kapat:focus {
	background: var(--eut-accent, #0E8C7F) !important;
	color: #fff !important;
}

body.fzt-ut-kilit { overflow: hidden; }

/* Mobil: bottom sheet */
@media (max-width: 640px) {
	html body .fzt-ut-modal {
		padding: 0;
		align-items: flex-end;
	}
	html body .fzt-ut--modal {
		max-width: none;
		max-height: 92vh;
		border-radius: 18px 18px 0 0;
	}
	html body .fzt-ut--modal .fzt-ut__kart { border-radius: 18px 18px 0 0; }
	html body .fzt-ut__kart { padding: 20px 16px; }
	html body .fzt-ut__baslik { font-size: 20px !important; }
	html body .fzt-ut__sonuc-ust { flex-direction: column; align-items: center; text-align: center; }
}

/* ---- Hareket azaltma ---- */
@media (prefers-reduced-motion: reduce) {
	html body .fzt-ut__btn,
	html body .fzt-ut__secenek,
	html body .fzt-ut__ilerleme-bar,
	html body .fzt-ut-fab,
	html body .fzt-ut-fab__etiket { transition: none !important; }
	html body .fzt-ut-fab__puls { animation: none; }
	html body .fzt-ut--modal { animation: none; }
	html body .fzt-ut__btn:hover,
	html body .fzt-ut-fab:hover { transform: none; }
}
