/* Shared calculator UI — TudoCálculo tools */

.tc-calc {
	font-family: var(--tc-font, "Manrope", system-ui, sans-serif);
	margin: 1.5rem 0 2.25rem;
	padding: 1.35rem 1.25rem 1.5rem;
	border: 1px solid #e6edf3;
	border-radius: 16px;
	background: #fbfcfd;
}

.tc-calc__form {
	display: grid;
	gap: 1rem;
}

@media (min-width: 720px) {
	.tc-calc__form {
		grid-template-columns: 1fr 1fr;
	}

	.tc-calc__field--full {
		grid-column: 1 / -1;
	}
}

.tc-calc__field label {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.86rem;
	font-weight: 700;
	color: #0f1f2e;
}

.tc-calc__field .tc-calc__hint {
	display: block;
	margin-top: 0.25rem;
	font-size: 0.75rem;
	font-weight: 500;
	color: #5b6b7c;
}

.tc-calc__field input,
.tc-calc__field select {
	width: 100%;
	height: 46px;
	padding: 0 0.85rem;
	border: 1px solid #e6edf3;
	border-radius: 12px;
	background: #fff;
	font: inherit;
	font-size: 1rem;
	color: #0f1f2e;
	box-sizing: border-box;
}

.tc-calc__field input:focus,
.tc-calc__field select:focus {
	outline: none;
	border-color: #0d9488;
	box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.tc-calc__result {
	margin-top: 1.15rem;
	padding: 1.1rem 1.15rem;
	border-radius: 14px;
	background: #0f1f2e;
	color: #e8f1f7;
}

.tc-calc__result-label {
	margin: 0 0 0.35rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #7f95a8;
}

.tc-calc__result-value {
	margin: 0;
	font-family: "Source Serif 4", Georgia, serif;
	font-size: clamp(1.6rem, 3vw, 2.1rem);
	font-weight: 700;
	color: #5eead4;
	letter-spacing: -0.02em;
}

.tc-calc__result-meta {
	margin: 0.65rem 0 0;
	font-size: 0.9rem;
	line-height: 1.45;
	color: #9db0c2;
}

.tc-calc__result-meta strong {
	color: #e8f1f7;
}

.tc-calc__error {
	margin-top: 0.85rem;
	padding: 0.75rem 0.9rem;
	border-radius: 10px;
	background: #fef2f2;
	color: #991b1b;
	font-size: 0.9rem;
	font-weight: 600;
}

.tc-calc__table-wrap {
	margin-top: 1.25rem;
	overflow-x: auto;
	border-radius: 12px;
	border: 1px solid rgba(15, 31, 46, 0.12);
}

.tc-calc__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.85rem;
	font-family: Manrope, system-ui, sans-serif;
}

.tc-calc__table th,
.tc-calc__table td {
	padding: 0.55rem 0.65rem;
	text-align: right;
	border-bottom: 1px solid rgba(15, 31, 46, 0.08);
	white-space: nowrap;
}

.tc-calc__table th:first-child,
.tc-calc__table td:first-child {
	text-align: left;
}

.tc-calc__table thead th {
	background: #0f1f2e;
	color: #e8f1f7;
	font-weight: 600;
}

.tc-calc__table tbody tr:nth-child(even) {
	background: rgba(13, 148, 136, 0.06);
}

