/**
 * WPLDN Video Upload — front-end form styles.
 * Intentionally light-touch so it inherits the host theme's look.
 */

.wpldn-vu {
	max-width: 32rem;
	margin: 1.5rem 0;
}

.wpldn-vu__form {
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
}

.wpldn-vu__field {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.wpldn-vu__field label {
	font-weight: 600;
}

.wpldn-vu__field input[type='text'],
.wpldn-vu__field input[type='email'],
.wpldn-vu__field input[type='file'] {
	width: 100%;
	padding: 0.55rem 0.65rem;
	border: 1px solid #b7bcc4;
	border-radius: 6px;
	font: inherit;
	box-sizing: border-box;
}

.wpldn-vu__field input:focus {
	outline: 2px solid #2563eb;
	outline-offset: 1px;
	border-color: #2563eb;
}

.wpldn-vu__field--check label {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	font-weight: 400;
	cursor: pointer;
}

.wpldn-vu__field--check input {
	margin-top: 0.2rem;
	flex: 0 0 auto;
}

.wpldn-vu__req {
	color: #b32d2e;
}

.wpldn-vu__hint {
	margin: 0;
	font-size: 0.85rem;
	color: #555;
}

.wpldn-vu__submit {
	appearance: none;
	border: 0;
	border-radius: 6px;
	background: #2563eb;
	color: #fff;
	font: inherit;
	font-weight: 600;
	padding: 0.65rem 1.4rem;
	cursor: pointer;
}

.wpldn-vu__submit:hover:not( :disabled ) {
	background: #1d4ed8;
}

.wpldn-vu__submit:disabled {
	opacity: 0.6;
	cursor: progress;
}

.wpldn-vu__progress {
	margin-top: 0.25rem;
}

.wpldn-vu__bar {
	height: 0.6rem;
	background: #e5e7eb;
	border-radius: 999px;
	overflow: hidden;
}

.wpldn-vu__bar-fill {
	height: 100%;
	width: 0;
	background: #2563eb;
	transition: width 0.2s ease;
}

.wpldn-vu__status {
	margin: 0;
	min-height: 1.2em;
	font-size: 0.95rem;
}

.wpldn-vu__status.is-error {
	color: #b32d2e;
	font-weight: 600;
}

.wpldn-vu__status.is-success {
	color: #1a7f37;
	font-weight: 600;
}

.wpldn-vu--notice {
	padding: 0.9rem 1.1rem;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	background: #f8fafc;
	color: #444;
}
