src/routes/download-tool/style.scss
@import url("$lib/default.scss");

.download-tool {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: min(100%, 50rem);
	min-height: 100vh;
	margin: 0 auto;
	padding: 1rem;
	font-size: 1.2rem;
}

.hidden {
	display: none;
}

.controls {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: .75rem;

	> .spacer {
		height: 0.5rem;
	}
}

.row {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: .5rem;

	> .spacer {
		width: 1rem;
	}
}

.name-row {
	width: 100%;

	> .info {
		flex-grow: 1;
		text-align: right;
		font-size: 0.9em;
		font-weight: normal;
	}
}

button.download-type {
	padding: .25rem .5rem;
	border-radius: .25rem;
	border: 1px solid var(--border-color);
	background-color: var(--background-color);
	color: var(--text-color);
	transition: background-color .2s;

	&:hover, &:focus-visible {
		background-color: var(--bg-el1-color);
	}
	
	&.active, &:active {
		background-color: var(--bg-el2-color);
	}
}

button.main-action {
	padding: 0.25rem 1rem;
	border-radius: 2rem;
	transition: background-color .2s;
	font-size: 1.25rem;

	&.primary {
		background-color: var(--text-color);
		color: var(--bg-color);
	}

	&.secondary {
		border: 2px solid var(--text-color);
		color: var(--text-color);
	}

	&:disabled {
		opacity: .5;
	}
}

input.date {
	width: 8rem;
}

.error.big {
	font-size: 1.5rem;
	color: var(--error);
	text-align: center;

	a {

	}
}
