/* The number tool follows the converter's two-pane layout and theme colours. */
.aksharkosh-number-words {
	margin: 1.5em 0;
}
.aksharkosh-number-words .nw-entry {
	margin-bottom: 1.25em;
}
.aksharkosh-number-words .nw-entry > label:first-child,
.aksharkosh-number-words .nw-pane-title {
	display: block;
	font-weight: 600;
	margin-bottom: 0.35em;
}
.aksharkosh-number-words [data-nw-input],
.aksharkosh-number-words .nw-output {
	box-sizing: border-box;
	width: 100%;
	padding: 0.75em;
	border: 1px solid var(--aksharkosh-border, rgba(128, 128, 128, 0.5));
	border-radius: 6px;
	background: var(--aksharkosh-pane-bg, transparent);
	color: inherit;
	font-size: 1.1em;
	line-height: 1.7;
}
.aksharkosh-number-words [data-nw-input] {
	max-width: 30em;
	font-variant-numeric: tabular-nums;
}
.aksharkosh-number-words .nw-hint {
	margin: 0.3em 0 0.75em;
	font-size: 0.85em;
	opacity: 0.75;
}
.aksharkosh-number-words .nw-option {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	cursor: pointer;
}
.aksharkosh-number-words .nw-panes {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1em;
}
.aksharkosh-number-words .nw-pane-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.aksharkosh-number-words .nw-pane-title button {
	/* the converter's pill button (theme site.css .dl-copy) */
	padding: 0.2em 0.85em;
	border: 1px solid var(--dl-accent, #3b47c4);
	border-radius: 999px;
	background: var(--dl-page, #fff);
	color: var(--dl-accent, #3b47c4);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.15s, color 0.15s;
}
.aksharkosh-number-words .nw-pane-title button:hover {
	background: var(--dl-accent, #3b47c4);
	color: #fff;
}
.aksharkosh-number-words .nw-output {
	min-height: 6em;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
}
.aksharkosh-number-words .nw-status {
	min-height: 1.5em;
	margin: 0.75em 0 0;
	color: var(--aksharkosh-error, #b91c1c);
}
@media (max-width: 700px) {
	.aksharkosh-number-words .nw-panes {
		grid-template-columns: 1fr;
	}
}
