/**
 * Amad – LED Direnç Hesaplama.
 *
 * Kutu görünümü ve sonuç paneli iskeleti amad-calculator-core.css'teki paylaşılan
 * .amad-calc / .amad-calc-result* sınıflarından gelir (bkz. PHP render
 * fonksiyonu). Burada yalnızca bu araca özgü parçalar vardır; tümü
 * .devrepark-led-resistor-calculator altında namespace'lidir. Global
 * `input`, `button`, `select`, `h2`, `p` gibi seçiciler kullanılmaz.
 */

.devrepark-led-resistor-calculator__title {
	margin: 0 0 14px;
	font-size: 1.1rem;
	line-height: 1.3;
	font-weight: 600;
	color: #2c2c2c;
}

.devrepark-led-resistor-calculator__fields {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px 16px;
	margin: 0 0 10px;
}

@media ( min-width: 480px ) {
	.devrepark-led-resistor-calculator__fields {
		grid-template-columns: 1fr 1fr;
	}
}

.devrepark-led-resistor-calculator__field {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.devrepark-led-resistor-calculator__field label {
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 600;
	color: #555;
}

.devrepark-led-resistor-calculator__field input,
.devrepark-led-resistor-calculator__field select {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	padding: 10px 12px;
	background: #fff;
	border: 1px solid #d0d0d0;
	border-radius: 4px;
	font: inherit;
	font-size: 15px;
	color: #1c1c1c;
}

.devrepark-led-resistor-calculator__field input:focus-visible,
.devrepark-led-resistor-calculator__field select:focus-visible {
	outline: 2px solid #2271b1;
	outline-offset: 1px;
	border-color: #2271b1;
}

.devrepark-led-resistor-calculator--error .devrepark-led-resistor-calculator__field input {
	border-color: #c0392b;
}

.devrepark-led-resistor-calculator__hint {
	margin: 0 0 14px;
	font-size: 12px;
	line-height: 1.4;
	color: #777;
}

.devrepark-led-resistor-calculator__note {
	margin: 10px 0 0;
	padding: 8px 10px;
	background: #eef6fc;
	border: 1px solid #cfe6f5;
	border-radius: 4px;
	font-size: 12px;
	line-height: 1.4;
	color: #2c5877;
}

.devrepark-led-resistor-calculator__warning {
	margin: 10px 0 0;
	padding: 8px 10px;
	background: #fff8e6;
	border: 1px solid #f0dfa6;
	border-radius: 4px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	color: #8a6d1a;
}

.devrepark-led-resistor-calculator__message {
	margin: 10px 0 0;
	padding: 8px 10px;
	background: #fdecea;
	border: 1px solid #f3c6c1;
	border-radius: 4px;
	font-size: 13px;
	font-weight: 600;
	color: #92221a;
}

.devrepark-led-resistor-calculator__message:empty {
	display: none;
}

@media ( max-width: 420px ) {
	.devrepark-led-resistor-calculator__fields {
		grid-template-columns: 1fr;
	}
}
