.grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 16px;
}

.createCard {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: variables.$bg-default;
	border: 1.5px dashed variables.$border-default;
	border-radius: variables.$radius-md;
	cursor: pointer;
	transition: border-color var(--duration-normal) var(--ease-out);

	&:hover {
		border-color: variables.$color-secondary;
	}
}

.createPreview {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.createIcon {
	color: variables.$text-tertiary;
}

.createLabel {
	font-size: 13px;
	color: variables.$text-tertiary;
}

.loading {
	padding: 48px;
	text-align: center;
	color: variables.$text-tertiary;
}

.deleteActions {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	margin-top: 16px;
}

@include breakpoints.respond-to(breakpoints.$tabletMax) {
	.grid {
		grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
		gap: 12px;
	}
}

@include breakpoints.respond-to(breakpoints.$mobileMax) {
	.grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
