:root {
	--bg: #0f1724;
	--card: #0b1220;
	--accent: #7ee787;
	--accent-2: #5db2ff;
	--muted: #a3b1c6;
	--glass: rgba(255, 255, 255, 0.03);
	--danger: #ff7a7a;
	--surface: #0c1220;
}

* {
	box-sizing: border-box
}

html,
body {
	height: 100%;
	margin: 0;
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
	background: linear-gradient(180deg, #071021 0%, #071827 60%);
	color: #e6eef8;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.container {
	max-width: 980px;
	margin: 36px auto;
}

.hero {
	background: linear-gradient(90deg, rgba(93, 178, 255, 0.12), rgba(126, 231, 135, 0.06));
	padding: 20px;
	border-radius: 14px;
	box-shadow: 0 8px 30px rgba(2, 6, 23, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.02);
	margin-bottom: 18px;
	border: 1px solid rgba(255, 255, 255, 0.03);
}

.hero h1 {
	margin: 0 0 6px 0;
	font-weight: 600;
	letter-spacing: -0.3px;
}

.subtitle {
	margin: 0;
	color: var(--muted)
}

.card {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
	border-radius: 12px;
	padding: 18px;
	margin-bottom: 16px;
	border: 1px solid rgba(255, 255, 255, 0.03);
	box-shadow: 0 6px 20px rgba(3, 8, 20, 0.6);
}

.small-card {
	padding: 14px;
	font-size: 0.92rem
}

.field {
	display: flex;
	flex-direction: column;
	margin-bottom: 10px;
}

.field span {
	font-size: 0.92rem;
	color: var(--muted);
	margin-bottom: 6px
}

.field input {
	background: var(--glass);
	border: 1px solid rgba(255, 255, 255, 0.04);
	color: inherit;
	padding: 10px 12px;
	border-radius: 8px;
	outline: none;
	font-size: 1rem;
	transition: box-shadow .18s ease, transform .06s ease;
}

.field input:focus {
	box-shadow: 0 6px 18px rgba(13, 110, 253, 0.10);
	transform: translateY(-2px);
	border-color: rgba(93, 178, 255, 0.35);
}

.grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}

.field.full {
	grid-column: 1 / -1
}

.hint {
	color: var(--muted);
	font-size: 0.82rem;
	margin-top: 6px;
	display: block
}

.results-grid {
	margin-top: 14px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

/* single result box */
.result-box {
	background: rgba(255, 255, 255, 0.01);
	border: 1px solid rgba(255, 255, 255, 0.04);
	border-radius: 10px;
	padding: 12px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	min-height: 72px;
}

.result-box .muted {
	color: var(--muted);
	font-size: 0.92rem;
}

.result-box .explanation {
	margin-top: 8px;
	font-size: 0.82rem;
	color: var(--muted);
	line-height: 1.3;
}

.money {
	font-weight: 700;
	font-size: 1.18rem;
	margin-top: 8px;
}

.money.small {
	font-size: 1rem;
	font-weight: 600
}

.highlight {
	color: var(--accent-2)
}

.muted {
	color: var(--muted)
}

.indicator {
	padding: 8px 10px;
	border-radius: 10px;
	display: inline-block;
	transition: background-color .25s ease, color .25s ease, transform .15s ease;
}

.indicator.ok {
	background: linear-gradient(90deg, rgba(126, 231, 135, 0.12), rgba(126, 231, 135, 0.06));
	color: #d9ffdf;
	border: 1px solid rgba(126, 231, 135, 0.12);
}

.indicator.warn {
	background: linear-gradient(90deg, rgba(255, 122, 122, 0.06), rgba(255, 122, 122, 0.03));
	color: #ffdede;
	border: 1px solid rgba(255, 122, 122, 0.06);
}

.input-with-currency {
  display: flex;
  align-items: center;
}

.input-with-currency input {
  flex: 1;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.input-with-currency select {
  background: var(--glass);
  border: 1px solid rgba(255,255,255,0.04);
  color: inherit;
  padding: 10px;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  outline: none;
  font-size: 0.9rem;
}

option { 
    /* Whatever color  you want */
    background-color: #121f2f;
    color: white;
}

@media (max-width:920px) {
	.results-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width:720px) {
	.grid {
		grid-template-columns: 1fr;
	}

	.results-grid {
		grid-template-columns: 1fr;
	}

	.container {
		padding: 14px
	}
}