/* Free Utility Tools — Calorie Calculator */

/* ── Tool shell ── */
.fut-calorie-calculator {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	max-width: 760px;
	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-cc-header {
	padding: 22px 28px 18px;
	background: linear-gradient(135deg, #1a5fa3 0%, #2271b1 100%);
}
.fut-cc-title {
	margin: 0 0 5px;
	font-size: 20px;
	font-weight: 700;
	color: #fff;
}
.fut-cc-desc {
	margin: 0;
	font-size: 13px;
	color: rgba(255,255,255,.82);
}

/* ── Body ── */
.fut-cc-body {
	padding: 24px 28px;
}

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

/* ── Input grid ── */
.fut-cc-input-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px 24px;
	margin-bottom: 24px;
}
@media (max-width: 500px) {
	.fut-cc-input-grid { grid-template-columns: 1fr; }
}
.fut-cc-field {
	display: flex;
	flex-direction: column;
	gap: 5px;
}
.fut-cc-label {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .5px;
	color: #555d66;
}
.fut-cc-hint {
	font-size: 11px;
	color: #9ca3af;
}
.fut-cc-input-row {
	display: flex;
	align-items: center;
	gap: 8px;
}
.fut-cc-ht-imp-row {
	display: flex;
	align-items: center;
	gap: 6px;
}
.fut-cc-input {
	flex: 1;
	padding: 10px 12px;
	border: 1.5px solid #d0d5dd;
	border-radius: 7px;
	font-size: 15px;
	color: #1d2327;
	background: #fafbfc;
	box-sizing: border-box;
	transition: border-color .15s, box-shadow .15s;
	min-width: 0;
}
.fut-cc-input:focus {
	outline: none;
	border-color: #2271b1;
	box-shadow: 0 0 0 3px rgba(34,113,177,.12);
	background: #fff;
}
.fut-cc-unit {
	font-size: 13px;
	font-weight: 600;
	color: #8a9ab0;
	white-space: nowrap;
	flex-shrink: 0;
}

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

/* ── Activity section ── */
.fut-cc-activity-section {
	margin-bottom: 20px;
}
.fut-cc-section-label {
	display: block;
	font-size: 14px;
	font-weight: 700;
	color: #1d2327;
	margin-bottom: 14px;
}

/* Activity cards */
.fut-cc-activity-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 10px;
	margin-bottom: 14px;
}
@media (max-width: 600px) {
	.fut-cc-activity-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 380px) {
	.fut-cc-activity-grid { grid-template-columns: repeat(2, 1fr); }
}
.fut-cc-act-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 14px 8px 12px;
	border: 1.5px solid #e1e5e9;
	border-radius: 10px;
	background: #fff;
	cursor: pointer;
	transition: border-color .15s, background .15s, box-shadow .15s;
	text-align: center;
}
.fut-cc-act-card:hover {
	border-color: #2271b1;
	background: #f0f6fc;
}
.fut-cc-act-card.selected {
	border-color: #2271b1;
	background: #f0f6fc;
	box-shadow: 0 0 0 3px rgba(34,113,177,.15);
}
.fut-cc-act-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 48px;
	color: #8a9ab0;
	transition: color .15s;
}
.fut-cc-act-card:hover .fut-cc-act-icon,
.fut-cc-act-card.selected .fut-cc-act-icon {
	color: #2271b1;
}
.fut-cc-act-icon svg {
	width: 100%;
	height: 100%;
}
.fut-cc-act-name {
	font-size: 12px;
	font-weight: 700;
	color: #1d2327;
	line-height: 1.3;
}
.fut-cc-act-desc {
	font-size: 10px;
	color: #8a9ab0;
	line-height: 1.4;
}

/* Activity note */
.fut-cc-act-note {
	background: #f8f9fa;
	border: 1px solid #e1e5e9;
	border-radius: 8px;
	padding: 10px 14px;
	font-size: 12px;
	color: #50575e;
	line-height: 1.7;
}
.fut-cc-act-note p { margin: 0; }

/* ── Action buttons ── */
.fut-cc-actions {
	display: flex;
	gap: 10px;
	margin-bottom: 4px;
}
.fut-cc-calc-btn,
.fut-cc-clear-btn {
	padding: 10px 24px;
	border: none;
	border-radius: 7px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background .15s, transform .08s;
}
.fut-cc-calc-btn {
	background: #2271b1;
	color: #fff;
	flex: 1;
}
.fut-cc-calc-btn:hover  { background: #135e96; }
.fut-cc-calc-btn:active { transform: scale(.98); }
.fut-cc-clear-btn {
	background: #f0f0f1;
	color: #3c434a;
	border: 1px solid #dcdcde;
}
.fut-cc-clear-btn:hover { background: #dcdcde; }

/* ── Results ── */
.fut-cc-result { margin-top: 24px; }

/* Stats row */
.fut-cc-stats-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin-bottom: 22px;
}
@media (max-width: 420px) {
	.fut-cc-stats-row { grid-template-columns: 1fr; }
}
.fut-cc-stat {
	background: #f8f9fa;
	border: 1px solid #e1e5e9;
	border-radius: 10px;
	padding: 16px 18px;
	text-align: center;
}
.fut-cc-stat-main {
	background: linear-gradient(135deg, #f0f6fc 0%, #e8f2fb 100%);
	border-color: #c8d8ea;
}
.fut-cc-stat-lbl {
	display: block;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .5px;
	color: #8a9ab0;
	margin-bottom: 6px;
}
.fut-cc-stat-val {
	display: block;
	font-size: 36px;
	font-weight: 800;
	color: #2271b1;
	font-variant-numeric: tabular-nums;
	line-height: 1.1;
}
.fut-cc-stat-unit {
	display: block;
	font-size: 12px;
	font-weight: 600;
	color: #8a9ab0;
	margin-top: 2px;
}
.fut-cc-stat-note {
	display: block;
	font-size: 11px;
	color: #9ca3af;
	margin-top: 6px;
}

/* Goals table */
.fut-cc-goals-wrap { margin-bottom: 22px; }
.fut-cc-goals-title {
	font-size: 14px;
	font-weight: 700;
	color: #1d2327;
	margin: 0 0 10px;
}
.fut-cc-goals-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
	border: 1px solid #e1e5e9;
	border-radius: 10px;
	overflow: hidden;
}
.fut-cc-goals-table thead tr { background: #f0f6fc; }
.fut-cc-goals-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-cc-goals-table td {
	padding: 10px 14px;
	border-bottom: 1px solid #f0f0f1;
	vertical-align: middle;
}
.fut-cc-goals-table tbody tr:last-child td { border-bottom: none; }
.fut-cc-goals-table tbody tr:nth-child(odd)  { background: #fafbfc; }
.fut-cc-goals-table tbody tr:nth-child(even) { background: #fff; }
.fut-cc-goals-table tbody tr.fut-cc-maintain-row { background: #f0f6fc; }
.fut-cc-goal-name { font-weight: 600; color: #1d2327; }
.fut-cc-goal-cal  { font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums; }
.fut-cc-goal-cal.loss    { color: #ef4444; }
.fut-cc-goal-cal.maintain{ color: #22c55e; }
.fut-cc-goal-cal.gain    { color: #f59e0b; }
.fut-cc-goal-change { font-size: 12px; color: #8a9ab0; }

/* Macros */
.fut-cc-macros-wrap { }
.fut-cc-macros-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}
@media (max-width: 420px) {
	.fut-cc-macros-grid { grid-template-columns: 1fr; }
}
.fut-cc-macro {
	border: 1px solid #e1e5e9;
	border-radius: 10px;
	padding: 14px 12px;
	text-align: center;
	background: #fafbfc;
}
.fut-cc-macro-val {
	display: block;
	font-size: 26px;
	font-weight: 800;
	color: #1d2327;
	font-variant-numeric: tabular-nums;
	line-height: 1;
	margin-bottom: 4px;
}
.fut-cc-macro-lbl {
	display: block;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .4px;
	color: #8a9ab0;
	margin-bottom: 10px;
}
.fut-cc-macro-bar {
	height: 4px;
	border-radius: 2px;
	margin-bottom: 6px;
	opacity: .7;
}
.fut-cc-macro-pct {
	font-size: 11px;
	color: #9ca3af;
	font-weight: 600;
}
