/* Clearwater Crypto Calculator */

.cwt-calc {
	max-width: 480px;
	margin: 2rem auto;
	padding: 1.25rem;
	border: 1px solid var(--cwt-border, #e2e8f0);
	border-radius: 12px;
	background: var(--cwt-bg, #fff);
	font-size: 16px;
	line-height: 1.45;
}

.cwt-calc,
.cwt-calc * {
	box-sizing: border-box;
}

.cwt-tabs {
	display: flex;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.cwt-tab {
	flex: 1;
	padding: 0.55rem 0.75rem;
	border: 1px solid var(--cwt-border, #e2e8f0);
	border-radius: 999px;
	background: transparent;
	cursor: pointer;
	font-size: 0.95rem;
}

.cwt-tab.is-active {
	background: var(--cwt-accent, #1a73e8);
	border-color: var(--cwt-accent, #1a73e8);
	color: #fff;
}

.cwt-priceline {
	margin: 0 0 1rem;
	font-size: 1.05rem;
}

.cwt-priceline.is-hidden {
	display: none;
}

.cwt-price {
	font-variant-numeric: tabular-nums;
}

.cwt-age {
	color: #64748b;
	font-size: 0.85rem;
	margin-left: 0.25rem;
}

.cwt-group.is-hidden {
	display: none;
}

.cwt-field {
	margin-bottom: 0.9rem;
}

.cwt-field label {
	display: block;
	font-size: 0.9rem;
	margin-bottom: 0.3rem;
	color: #334155;
}

.cwt-inputrow {
	display: flex;
	gap: 0.5rem;
}

.cwt-input {
	flex: 1;
	width: 100%;
	min-width: 0;
	padding: 0.6rem 0.75rem;
	border: 1px solid var(--cwt-border, #cbd5e1);
	border-radius: 8px;
	font-size: 1rem;
	font-variant-numeric: tabular-nums;
	background: #fff;
	color: #0f172a;
}

.cwt-input:focus {
	outline: 2px solid var(--cwt-accent, #1a73e8);
	outline-offset: 1px;
	border-color: var(--cwt-accent, #1a73e8);
}

.cwt-copy {
	padding: 0.4rem 0.7rem;
	border: 1px solid var(--cwt-border, #cbd5e1);
	border-radius: 8px;
	background: #f8fafc;
	cursor: pointer;
	font-size: 0.85rem;
	white-space: nowrap;
}

.cwt-copy:hover {
	background: #eef2f7;
}

.cwt-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.25rem;
}

.cwt-chip {
	padding: 0.35rem 0.65rem;
	border: 1px dashed var(--cwt-border, #cbd5e1);
	border-radius: 999px;
	background: transparent;
	cursor: pointer;
	font-size: 0.85rem;
}

.cwt-chip:hover {
	background: #eef2f7;
}

.cwt-note {
	margin: 0.9rem 0 0;
	color: #64748b;
	font-size: 0.85rem;
}

.cwt-note.is-warn {
	color: #b45309;
}
