/* Keep the native picker accessible across the entire drop area. */
.file-drop {
	position: relative;
	display: grid;
	place-content: center;
	gap: .35rem;
	width: 100%;
	min-width: 0;
	min-height: 6rem;
	padding: 1rem;
	border: 1px dashed var(--gold, #dcb45d);
	background: #181614;
	color: #fff;
	text-align: center;
	overflow-wrap: anywhere;
}

.file-drop input[type="file"] {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.file-drop-prompt {
	color: var(--gold, #dcb45d);
	font-weight: 700;
}

.file-drop-status {
	font-size: .875rem;
}

.file-drop-status:empty {
	display: none;
}

.file-drop:hover,
.file-drop:focus-within,
.file-drop.is-dragging {
	border-color: var(--red, #df0025);
	background: #251418;
}

.file-drop:focus-within {
	outline: 2px solid var(--gold, #dcb45d);
	outline-offset: 2px;
}

.file-drop:has(input:disabled) {
	opacity: .6;
}

.file-drop input:disabled {
	cursor: default;
}
