/**
 * Hesaplama araclari — on yuz stilleri.
 *
 * SARTNAME 74: Her kural .elibol-hesap altina kapsullenmistir. Hicbir global
 * etiket hedeflenmez; bu dosya temanin gorunumunu bozmaz.
 *
 * Renkler Elibol Elektrik sitesinin lacivert/altin duzeniyle ayni tutuldu ki
 * sayfa temaya yamanmis gibi degil, sitenin parcasi gibi dursun.
 */

.elibol-hesap {
	--eh-lacivert: #1a237e;
	--eh-altin: #ffd45e;
	--eh-metin: #1f2430;
	--eh-soluk: #5b6376;
	--eh-cizgi: #dfe3ec;
	--eh-zemin: #f7f8fc;
	--eh-hata: #b3261e;
	--eh-basari: #1b6b3a;
	--eh-dikkat: #c47f00;

	max-width: 1000px;
	margin: 0 auto;
	color: var(--eh-metin);
	font-size: 16px;
	line-height: 1.5;
}

.elibol-hesap *,
.elibol-hesap *::before,
.elibol-hesap *::after { box-sizing: border-box; }

.elibol-hesap .eh-gizli { display: none !important; }

/* ── Sekmeler ─────────────────────────────────────────────── */
.elibol-hesap .eh-sekmeler {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 18px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--eh-lacivert);
}

.elibol-hesap .eh-sekme {
	padding: 9px 18px;
	border: 1px solid var(--eh-cizgi);
	border-radius: 999px;
	background: #fff;
	color: var(--eh-soluk);
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.16s, color 0.16s, border-color 0.16s;
}
.elibol-hesap .eh-sekme:hover { border-color: var(--eh-lacivert); color: var(--eh-lacivert); }
.elibol-hesap .eh-sekme.eh-aktif {
	border-color: var(--eh-lacivert);
	background: var(--eh-lacivert);
	color: #fff;
}

/* ── Arac bloklari ────────────────────────────────────────── */
.elibol-hesap .eh-arac {
	padding: 20px;
	border: 1px solid var(--eh-cizgi);
	border-radius: 12px;
	background: #fff;
}

.elibol-hesap .eh-arac h2 {
	margin: 0 0 8px;
	color: var(--eh-lacivert);
	font-size: 1.25rem;
}

.elibol-hesap .eh-aciklama {
	margin: 0 0 16px;
	color: var(--eh-soluk);
	font-size: 0.92rem;
}

.elibol-hesap code {
	padding: 1px 5px;
	border-radius: 4px;
	background: var(--eh-zemin);
	font-size: 0.9em;
}

/* ── Form ─────────────────────────────────────────────────── */
.elibol-hesap .eh-izgara {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 14px;
}

.elibol-hesap .eh-alan { display: block; }

.elibol-hesap .eh-alan > span {
	display: block;
	margin-bottom: 4px;
	color: var(--eh-soluk);
	font-size: 0.86rem;
	font-weight: 600;
}

/*
 * SECICI OZGULLUGU NOTU — !important burada BILEREK kullaniliyor.
 * Tema form ogelerine "body .wp-site-blocks input:not([type=submit])…"
 * kurali basiyor; ozgullugu bizimkinden yuksek oldugu icin kutularin
 * kenarligi "0px none" hesaplaniyor ve alanlar gorunmez oluyor.
 * Tum kurallar .elibol-hesap icine kapsullendigi icin sitenin geri
 * kalanindaki hicbir forma dokunmaz (sartname 74).
 */
.elibol-hesap .eh-alan input,
.elibol-hesap .eh-alan select {
	width: 100% !important;
	padding: 10px 11px !important;
	border: 1px solid var(--eh-cizgi) !important;
	border-radius: 8px !important;
	background: #fff !important;
	color: var(--eh-metin) !important;
	font-size: 1rem;
	font-family: inherit;
	line-height: 1.4;
	box-shadow: none !important;
}

.elibol-hesap .eh-alan input:focus,
.elibol-hesap .eh-alan select:focus {
	border-color: var(--eh-lacivert) !important;
	outline: 2px solid rgba(26, 35, 126, 0.16);
	outline-offset: 1px;
}

.elibol-hesap .eh-alan input:disabled {
	background: var(--eh-zemin) !important;
	color: var(--eh-soluk) !important;
}

.elibol-hesap .eh-ipucu {
	display: block;
	margin-top: 3px;
	color: var(--eh-soluk);
	font-size: 0.78rem;
	font-style: normal;
}

.elibol-hesap .eh-btn {
	display: inline-block;
	padding: 11px 24px;
	border: 0;
	border-radius: 999px;
	background: var(--eh-lacivert);
	color: #fff;
	font-family: inherit;
	font-size: 0.98rem;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.18s, color 0.18s;
}
.elibol-hesap .eh-btn:hover { background: var(--eh-altin); color: var(--eh-lacivert); }

.elibol-hesap .eh-durum {
	display: inline-block;
	margin-left: 10px;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--eh-soluk);
}
.elibol-hesap .eh-durum.eh-hata { color: var(--eh-hata); }

/* ── Sonuc ────────────────────────────────────────────────── */
.elibol-hesap .eh-sonuc {
	margin-top: 16px;
	padding: 16px 18px;
	border: 1px solid var(--eh-cizgi);
	border-radius: 10px;
	background: var(--eh-zemin);
}

.elibol-hesap .eh-satir {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 10px;
	padding: 7px 0;
	border-top: 1px solid var(--eh-cizgi);
	font-size: 0.92rem;
}
.elibol-hesap .eh-satir:first-child { border-top: 0; }
.elibol-hesap .eh-satir span { color: var(--eh-soluk); }

.elibol-hesap .eh-satir.eh-vurgu {
	padding: 10px 0;
	font-size: 1.05rem;
}
.elibol-hesap .eh-satir.eh-vurgu strong { color: var(--eh-lacivert); }

.elibol-hesap .eh-uygun,
.elibol-hesap .eh-uygunsuz,
.elibol-hesap .eh-bilgi {
	margin: 12px 0 0;
	padding: 9px 12px;
	border-radius: 8px;
	font-size: 0.88rem;
}
.elibol-hesap .eh-uygun    { background: #e8f5ec; color: var(--eh-basari); }
.elibol-hesap .eh-uygunsuz { background: #fcf0ef; color: var(--eh-hata); font-weight: 600; }
.elibol-hesap .eh-bilgi    { background: #fff8e6; color: var(--eh-dikkat); }

/* ── Alt not ──────────────────────────────────────────────── */
.elibol-hesap .eh-not {
	margin-top: 18px;
	padding: 13px 15px;
	border-left: 4px solid var(--eh-lacivert);
	border-radius: 0 8px 8px 0;
	background: var(--eh-zemin);
	font-size: 0.87rem;
	color: var(--eh-soluk);
}
.elibol-hesap .eh-not a { color: var(--eh-lacivert); }

@media (max-width: 600px) {
	.elibol-hesap .eh-arac { padding: 15px; }
	.elibol-hesap .eh-btn { width: 100%; text-align: center; }
	.elibol-hesap .eh-sekme { flex: 1 1 auto; text-align: center; }
}
