/* Free Utility Tools — BMI Calculator */

/* ── Tool shell ── */
.fut-bmi-calculator {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	max-width: 820px;
	margin: 0 auto;
	background: #fff;
	border: 1px solid #e1e5e9;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

/* ── Header ── */
.fut-bmi-header {
	padding: 22px 28px 18px;
	background: linear-gradient(135deg, #1a5fa3 0%, #2271b1 100%);
}
.fut-bmi-title {
	margin: 0 0 5px;
	font-size: 20px;
	font-weight: 700;
	color: #fff;
}
.fut-bmi-desc {
	margin: 0;
	font-size: 13px;
	color: rgba(255,255,255,.82);
}

/* ── Two-column layout ── */
.fut-bmi-layout {
	display: flex;
	gap: 0;
	min-height: 420px;
}
.fut-bmi-input-col {
	width: 270px;
	flex-shrink: 0;
	padding: 22px 22px 22px 24px;
	border-right: 1px solid #e1e5e9;
	background: #fafbfc;
	display: flex;
	flex-direction: column;
	gap: 0;
}
.fut-bmi-output-col {
	flex: 1;
	padding: 22px 22px 22px 20px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
@media (max-width: 620px) {
	.fut-bmi-layout {
		flex-direction: column;
	}
	.fut-bmi-input-col {
		width: 100%;
		border-right: none;
		border-bottom: 1px solid #e1e5e9;
	}
}

/* ── Unit tabs ── */
.fut-bmi-tabs {
	display: flex;
	border: 1.5px solid #d0d5dd;
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 18px;
}
.fut-bmi-tab {
	flex: 1;
	padding: 8px 0;
	border: none;
	background: #fff;
	font-size: 13px;
	font-weight: 600;
	color: #50575e;
	cursor: pointer;
	transition: background .15s, color .15s;
}
.fut-bmi-tab.active {
	background: #2271b1;
	color: #fff;
}
.fut-bmi-tab:not(.active):hover { background: #f0f0f1; }

/* ── Fields ── */
.fut-bmi-fields {
	display: flex;
	flex-direction: column;
	gap: 14px;
	flex: 1;
}
.fut-bmi-field {
	display: flex;
	flex-direction: column;
	gap: 5px;
}
.fut-bmi-label {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .5px;
	color: #555d66;
}
.fut-bmi-hint {
	font-size: 11px;
	color: #9ca3af;
}
.fut-bmi-input-row {
	display: flex;
	align-items: center;
	gap: 8px;
}
.fut-bmi-ht-imp-row {
	display: flex;
	align-items: center;
	gap: 6px;
}
.fut-bmi-input {
	flex: 1;
	padding: 9px 12px;
	border: 1.5px solid #d0d5dd;
	border-radius: 7px;
	font-size: 15px;
	color: #1d2327;
	background: #fff;
	box-sizing: border-box;
	transition: border-color .15s, box-shadow .15s;
	min-width: 0;
}
.fut-bmi-input:focus {
	outline: none;
	border-color: #2271b1;
	box-shadow: 0 0 0 3px rgba(34,113,177,.12);
}
.fut-bmi-select {
	padding: 9px 6px;
	border: 1.5px solid #d0d5dd;
	border-radius: 7px;
	font-size: 15px;
	color: #1d2327;
	background: #fff;
	cursor: pointer;
}
.fut-bmi-select:focus { outline: none; border-color: #2271b1; }
.fut-bmi-unit {
	font-size: 13px;
	font-weight: 600;
	color: #8a9ab0;
	white-space: nowrap;
}

/* ── Radio buttons ── */
.fut-bmi-radio-row {
	display: flex;
	gap: 16px;
}
.fut-bmi-radio-lbl {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	color: #1d2327;
	cursor: pointer;
	font-weight: 500;
}
.fut-bmi-radio-lbl input[type="radio"] {
	accent-color: #2271b1;
	width: 16px;
	height: 16px;
	cursor: pointer;
}

/* ── Action buttons ── */
.fut-bmi-actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 18px;
}
.fut-bmi-calc-btn,
.fut-bmi-reset-btn {
	width: 100%;
	padding: 10px 0;
	border: none;
	border-radius: 7px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background .15s, transform .08s;
}
.fut-bmi-calc-btn {
	background: #2271b1;
	color: #fff;
}
.fut-bmi-calc-btn:hover  { background: #135e96; }
.fut-bmi-calc-btn:active { transform: scale(.98); }
.fut-bmi-reset-btn {
	background: #f0f0f1;
	color: #3c434a;
	border: 1px solid #dcdcde;
}
.fut-bmi-reset-btn:hover { background: #dcdcde; }

/* ── Gauge SVG ── */
.fut-bmi-gauge-wrap {
	display: flex;
	justify-content: center;
}
.fut-bmi-gauge-svg {
	width: 100%;
	max-width: 300px;
	height: auto;
	overflow: visible;
}
.fut-bmi-needle-g {
	transform-origin: 140px 148px;
	transition: transform 0.65s cubic-bezier(0.34, 1.4, 0.64, 1);
}

/* ── Result ── */
.fut-bmi-headline {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	font-size: 17px;
	font-weight: 600;
	color: #50575e;
	margin-bottom: 12px;
}
.fut-bmi-val {
	font-size: 28px;
	font-weight: 800;
	color: #1d2327;
}
.fut-bmi-cat-badge {
	font-size: 13px;
	font-weight: 700;
	padding: 3px 12px;
	border-radius: 20px;
	display: inline-block;
}
.fut-bmi-cat-badge.underweight { background: #dbeafe; color: #1e40af; }
.fut-bmi-cat-badge.normal      { background: #dcfce7; color: #15803d; }
.fut-bmi-cat-badge.overweight  { background: #fef9c3; color: #92400e; }
.fut-bmi-cat-badge.obese       { background: #fee2e2; color: #991b1b; }

/* ── Bullet list ── */
.fut-bmi-bullets {
	margin: 0 0 14px;
	padding: 12px 16px 12px 30px;
	background: #f8f9fa;
	border: 1px solid #e1e5e9;
	border-radius: 8px;
	font-size: 13px;
	color: #50575e;
	line-height: 2;
}
.fut-bmi-bullets strong { color: #1d2327; }

/* ── Category table ── */
.fut-bmi-cat-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
	border: 1px solid #e1e5e9;
	border-radius: 10px;
	overflow: hidden;
}
.fut-bmi-cat-table thead tr {
	background: #f0f6fc;
}
.fut-bmi-cat-table th {
	padding: 10px 14px;
	text-align: left;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .4px;
	color: #50575e;
	border-bottom: 1px solid #e1e5e9;
}
.fut-bmi-cat-row td {
	padding: 10px 14px;
	border-bottom: 1px solid #f0f0f1;
	vertical-align: middle;
}
.fut-bmi-cat-row:last-child td { border-bottom: none; }
.fut-bmi-cat-row.active-cat {
	background: #f0f6fc;
}
.fut-bmi-cat-name {
	display: flex;
	align-items: center;
	gap: 10px;
}
.fut-bmi-swatch {
	display: inline-block;
	width: 14px;
	height: 14px;
	border-radius: 3px;
	flex-shrink: 0;
}
.fut-bmi-cat-name div {
	display: flex;
	flex-direction: column;
	gap: 1px;
}
.fut-bmi-cat-name strong {
	font-size: 13px;
	font-weight: 700;
	color: #1d2327;
}
.fut-bmi-cat-name small {
	font-size: 11px;
	color: #8a9ab0;
}
.fut-bmi-cat-wt {
	color: #374151;
	font-weight: 500;
}
