.fv1t-calculator {
	--fv1t-navy: #0b1526;
	--fv1t-panel: #142238;
	--fv1t-panel-hover: #1b2c47;
	--fv1t-border: #223452;
	--fv1t-text-soft: #7c8aa6;
	--fv1t-teal: #2dd4bf;
	--fv1t-teal-deep: #26b3a1;

	max-width: 700px;
	margin: 24px 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	box-sizing: border-box;
}

.fv1t-calculator *,
.fv1t-calculator *::before,
.fv1t-calculator *::after {
	box-sizing: inherit;
}

.fv1t-panel {
	background: var(--fv1t-navy);
	border: 1px solid var(--fv1t-border);
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.fv1t-header {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 18px 22px;
	border-bottom: 1px solid var(--fv1t-border);
}

.fv1t-header-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 26px;
	border-radius: 8px;
	border: 1.5px solid var(--fv1t-teal);
	color: var(--fv1t-teal);
	font-size: 10px;
	font-weight: 700;
	flex-shrink: 0;
}

.fv1t-heading {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	color: #ffffff;
	letter-spacing: -0.01em;
	flex: 1;
}

.fv1t-currency-select {
	appearance: none;
	-webkit-appearance: none;
	background: var(--fv1t-panel);
	color: var(--fv1t-teal);
	border: 1px solid var(--fv1t-border);
	border-radius: 8px;
	font-size: 12px;
	font-weight: 700;
	padding: 6px 22px 6px 10px;
	cursor: pointer;
	background-image: linear-gradient(45deg, transparent 50%, var(--fv1t-teal) 50%), linear-gradient(135deg, var(--fv1t-teal) 50%, transparent 50%);
	background-position: calc(100% - 12px) center, calc(100% - 8px) center;
	background-size: 4px 4px, 4px 4px;
	background-repeat: no-repeat;
}

.fv1t-body {
	padding: 20px 22px 22px;
}

.fv1t-label {
	display: block;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--fv1t-text-soft);
	margin-bottom: 8px;
}

.fv1t-currency-input {
	position: relative;
	display: flex;
	align-items: center;
	max-width: 220px;
}

.fv1t-currency-prefix {
	position: absolute;
	left: 12px;
	font-size: 14px;
	font-weight: 700;
	color: var(--fv1t-navy);
	pointer-events: none;
	z-index: 1;
}

.fv1t-input {
	width: 100%;
	padding: 11px 12px 11px 28px;
	font-size: 14px;
	font-family: inherit;
	font-variant-numeric: tabular-nums;
	border: none;
	background: #ffffff;
	border-radius: 10px;
	color: var(--fv1t-navy);
	transition: box-shadow 0.15s ease;
}

.fv1t-input:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.45);
}

.fv1t-field-hint {
	margin: 8px 0 0;
	font-size: 12px;
	color: var(--fv1t-text-soft);
	line-height: 1.5;
}

.fv1t-btn {
	margin-top: 14px;
	padding: 12px 22px;
	font-size: 14px;
	font-weight: 700;
	font-family: inherit;
	border: none;
	border-radius: 10px;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.05s ease;
}

.fv1t-btn-primary {
	background: var(--fv1t-teal);
	color: #06231f;
}

.fv1t-btn-primary:hover {
	background: var(--fv1t-teal-deep);
}

.fv1t-btn:active {
	transform: translateY(1px);
}

.fv1t-btn:focus-visible {
	outline: 2px solid var(--fv1t-teal);
	outline-offset: 2px;
}

.fv1t-error {
	min-height: 16px;
	margin: 12px 0 0;
	font-size: 13px;
	font-weight: 600;
	color: #ff9d8a;
}

/* Table */
.fv1t-table-wrap {
	margin-top: 18px;
}

.fv1t-table-scroll {
	overflow-x: auto;
	border: 1px solid var(--fv1t-border);
	border-radius: 12px;
	max-height: 460px;
	overflow-y: auto;
}

.fv1t-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 12.5px;
	white-space: nowrap;
}

.fv1t-table thead th {
	position: sticky;
	top: 0;
	background: var(--fv1t-panel);
	color: var(--fv1t-teal);
	font-size: 11px;
	font-weight: 700;
	padding: 9px 12px;
	text-align: right;
	border-bottom: 1px solid var(--fv1t-border);
	z-index: 2;
}

.fv1t-table thead th.fv1t-corner {
	position: sticky;
	left: 0;
	top: 0;
	z-index: 3;
	text-align: center;
	color: var(--fv1t-text-soft);
}

.fv1t-table tbody td {
	padding: 7px 12px;
	color: #ffffff;
	font-variant-numeric: tabular-nums;
	text-align: right;
	border-bottom: 1px solid var(--fv1t-border);
}

.fv1t-table tbody tr:last-child td {
	border-bottom: none;
}

.fv1t-table tbody tr:nth-child(even) {
	background: var(--fv1t-panel);
}

.fv1t-table tbody td.fv1t-row-head {
	position: sticky;
	left: 0;
	background: var(--fv1t-navy);
	color: var(--fv1t-teal);
	font-weight: 700;
	text-align: center;
	z-index: 1;
}

.fv1t-table tbody tr:nth-child(even) td.fv1t-row-head {
	background: var(--fv1t-panel);
}

@media (prefers-reduced-motion: reduce) {
	.fv1t-btn {
		transition: none;
	}
}
