/* Free Utility Tools — Currency Converter */

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

/* ── Body ── */
.fut-cvr-body {
	padding: 22px 28px 20px;
}

/* ── Status bar ── */
.fut-cvr-status-bar {
	display: flex;
	align-items: center;
	gap: 7px;
	margin-bottom: 18px;
}
.fut-cvr-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #d0d5dd;
	flex-shrink: 0;
	transition: background .3s;
}
.fut-cvr-dot.fut-cvr-dot-live { background: #22c55e; }
.fut-cvr-dot.fut-cvr-dot-warn { background: #f59e0b; }
.fut-cvr-status-text {
	font-size: 12px;
	color: #8a9ab0;
}
.fut-cvr-status-text.fut-cvr-status-live {
	color: #16a34a;
	font-weight: 600;
}
.fut-cvr-status-text.fut-cvr-status-warn {
	color: #d97706;
	font-weight: 600;
}

/* ── Converter panels ── */
.fut-cvr-panels {
	display: grid;
	grid-template-columns: 1fr 56px 1fr;
	align-items: stretch;
	background: #f8f9fa;
	border: 1.5px solid #e1e5e9;
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 16px;
}

.fut-cvr-panel {
	padding: 18px 20px 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.fut-cvr-panel-lbl {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .6px;
	color: #8a9ab0;
}

.fut-cvr-sel {
	width: 100%;
	padding: 9px 10px;
	border: 1.5px solid #d0d5dd;
	border-radius: 8px;
	font-size: 13.5px;
	font-weight: 600;
	color: #1d2327;
	background: #fff;
	cursor: pointer;
	box-sizing: border-box;
	transition: border-color .15s, box-shadow .15s;
}
.fut-cvr-sel:focus {
	outline: none;
	border-color: #2271b1;
	box-shadow: 0 0 0 3px rgba(34,113,177,.12);
}

.fut-cvr-amount {
	width: 100%;
	padding: 12px 14px;
	border: 1.5px solid #d0d5dd;
	border-radius: 8px;
	font-size: 28px;
	font-weight: 800;
	color: #1d2327;
	background: #fff;
	box-sizing: border-box;
	transition: border-color .15s, box-shadow .15s;
	font-variant-numeric: tabular-nums;
	-moz-appearance: textfield;
}
.fut-cvr-amount::-webkit-outer-spin-button,
.fut-cvr-amount::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.fut-cvr-amount:focus {
	outline: none;
	border-color: #2271b1;
	box-shadow: 0 0 0 3px rgba(34,113,177,.12);
}
.fut-cvr-amount::placeholder { font-size: 22px; color: #c8d8ea; font-weight: 600; }

/* ── Swap column ── */
.fut-cvr-swap-col {
	display: flex;
	align-items: center;
	justify-content: center;
	border-left: 1px solid #e1e5e9;
	border-right: 1px solid #e1e5e9;
	background: #fff;
}
.fut-cvr-swap-btn {
	width: 42px;
	height: 42px;
	border: 2px solid #c8d8ea;
	border-radius: 50%;
	background: #f0f6fc;
	font-size: 20px;
	font-weight: 700;
	color: #2271b1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .15s, color .15s, border-color .15s, transform .32s ease;
	flex-shrink: 0;
}
.fut-cvr-swap-btn:hover {
	background: #2271b1;
	color: #fff;
	border-color: #2271b1;
}
.fut-cvr-swap-btn.fut-cvr-swapping {
	transform: rotate(180deg);
}

/* ── Rate display ── */
.fut-cvr-rate-box {
	padding: 14px 20px;
	background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
	border: 1px solid #86efac;
	border-radius: 10px;
	margin-bottom: 16px;
}
.fut-cvr-rate-main {
	font-size: 22px;
	font-weight: 800;
	color: #15803d;
	font-variant-numeric: tabular-nums;
	margin-bottom: 4px;
	line-height: 1.3;
}
.fut-cvr-rate-meta {
	font-size: 12px;
	color: #4ade80;
	font-weight: 600;
}

/* ── Quick amounts ── */
.fut-cvr-quick-row {
	display: flex;
	align-items: center;
	gap: 7px;
	flex-wrap: wrap;
	margin-bottom: 22px;
}
.fut-cvr-quick-lbl {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .5px;
	color: #8a9ab0;
	flex-shrink: 0;
}
.fut-cvr-quick-btn {
	padding: 5px 13px;
	border: 1.5px solid #d0d5dd;
	border-radius: 20px;
	background: #fff;
	font-size: 13px;
	font-weight: 600;
	color: #50575e;
	cursor: pointer;
	transition: border-color .15s, background .15s, color .15s;
}
.fut-cvr-quick-btn:hover,
.fut-cvr-quick-btn.active {
	background: #2271b1;
	border-color: #2271b1;
	color: #fff;
}

/* ── Popular pairs ── */
.fut-cvr-pop-title {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .5px;
	color: #8a9ab0;
	margin-bottom: 10px;
}
.fut-cvr-pairs-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
}
.fut-cvr-pair-card {
	background: #f8f9fa;
	border: 1.5px solid #e1e5e9;
	border-radius: 8px;
	padding: 10px 12px;
	cursor: pointer;
	transition: border-color .15s, background .15s;
	display: flex;
	flex-direction: column;
	gap: 5px;
}
.fut-cvr-pair-card:hover {
	border-color: #2271b1;
	background: #f0f6fc;
}
.fut-cvr-pair-codes {
	font-size: 11px;
	font-weight: 700;
	color: #646970;
}
.fut-cvr-pair-arrow {
	font-size: 10px;
	color: #9ca3af;
	font-weight: 400;
}
.fut-cvr-pair-val {
	font-size: 14px;
	font-weight: 800;
	color: #2271b1;
	font-variant-numeric: tabular-nums;
}

/* ── Disclaimer ── */
.fut-cvr-disclaimer {
	margin: 16px 0 0;
	font-size: 11px;
	color: #9ca3af;
	line-height: 1.6;
	border-top: 1px solid #f0f0f1;
	padding-top: 12px;
}

/* ── Responsive ── */
@media (max-width: 580px) {
	.fut-cvr-body { padding: 18px 18px 16px; }
	.fut-cvr-panels {
		grid-template-columns: 1fr;
	}
	.fut-cvr-swap-col {
		border-left: none;
		border-right: none;
		border-top: 1px solid #e1e5e9;
		border-bottom: 1px solid #e1e5e9;
		padding: 12px 20px;
		justify-content: flex-start;
	}
	.fut-cvr-pairs-grid { grid-template-columns: repeat(2, 1fr); }
	.fut-cvr-amount { font-size: 22px; }
}
@media (max-width: 400px) {
	.fut-cvr-pairs-grid { grid-template-columns: 1fr 1fr; }
	.fut-cvr-quick-row { gap: 5px; }
}
