/* ============ Unlock PDF ============ */

.uth-ulp-dropzone {
	border: 2px dashed var(--uth-border, #d1d5db);
	border-radius: 12px;
	padding: 44px 20px;
	text-align: center;
	cursor: pointer;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.uth-ulp-dropzone:hover,
.uth-ulp-dropzone.is-dragover {
	border-color: var(--uth-primary, #2563eb);
	background: rgba(37, 99, 235, 0.04);
}

.uth-ulp-dropzone.is-disabled {
	pointer-events: none;
	opacity: 0.55;
}

.uth-ulp-file-input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.uth-ulp-dropzone__icon {
	display: flex;
	justify-content: center;
	margin-bottom: 14px;
}

.uth-ulp-dropzone__svg {
	width: 46px;
	height: 46px;
	color: var(--uth-primary, #2563eb);
}

.uth-ulp-dropzone__title {
	margin: 0 0 6px;
	font-size: 17px;
	font-weight: 600;
	color: var(--uth-heading, #111827);
}

.uth-ulp-dropzone__title strong {
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.uth-ulp-dropzone__hint {
	margin: 0 0 8px;
	font-size: 13px;
	color: var(--uth-muted, #6b7280);
}

.uth-ulp-dropzone__privacy {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 0;
	font-size: 13px;
	color: var(--uth-muted, #6b7280);
}

.uth-ulp-privacy__lock {
	width: 14px;
	height: 14px;
	flex: none;
}

/* ---------- File bar ---------- */

.uth-ulp-file {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding: 13px 16px;
	margin-top: 18px;
	border: 1px solid var(--uth-border, #e5e7eb);
	border-radius: 10px;
	background: var(--uth-surface, #f9fafb);
}

.uth-ulp-file__info {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.uth-ulp-file__name {
	font-weight: 600;
	font-size: 14px;
	color: var(--uth-heading, #111827);
	word-break: break-all;
}

.uth-ulp-file__meta {
	font-size: 13px;
	color: var(--uth-muted, #6b7280);
}

.uth-ulp-file__remove {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border: 1px solid var(--uth-border, #d1d5db);
	background: var(--uth-surface, #fff);
	color: var(--uth-muted, #4b5563);
	border-radius: 8px;
	padding: 7px 12px;
	font-size: 13px;
	cursor: pointer;
	transition: border-color 0.2s ease, color 0.2s ease;
}

.uth-ulp-file__remove:hover {
	border-color: var(--uth-danger, #dc2626);
	color: var(--uth-danger, #dc2626);
}

/* ---------- Unlock form ---------- */

.uth-ulp-unlock {
	margin-top: 18px;
}

.uth-ulp-lockbox {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 26px 20px;
	border: 1px solid var(--uth-border, #e5e7eb);
	border-radius: 12px;
	background: var(--uth-surface, #f9fafb);
	text-align: center;
}

.uth-ulp-lockbox__icon {
	display: flex;
	justify-content: center;
	margin-bottom: 6px;
	color: var(--uth-primary, #2563eb);
}

.uth-ulp-lockbox__title {
	margin: 0;
	font-size: 17px;
	font-weight: 700;
	color: var(--uth-heading, #111827);
}

.uth-ulp-lockbox__hint {
	margin: 0 0 16px;
	font-size: 14px;
	color: var(--uth-muted, #6b7280);
}

.uth-ulp-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: 100%;
	max-width: 340px;
	margin-bottom: 16px;
}

.uth-ulp-field__label {
	font-weight: 600;
	font-size: 14px;
	color: var(--uth-heading, #111827);
	text-align: left;
}

.uth-ulp-field__input {
	min-height: 42px;
	border: 1px solid var(--uth-border, #d1d5db);
	border-radius: 8px;
	padding: 9px 12px;
	font-size: 14px;
	background: var(--uth-surface, #fff);
	color: var(--uth-heading, #111827);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.uth-ulp-field__input:focus {
	outline: none;
	border-color: var(--uth-primary, #2563eb);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.uth-ulp-lockbox .uth-button {
	min-width: 200px;
}

/* ---------- Notes / progress / result ---------- */

.uth-ulp-note {
	margin: 14px 0 0;
	text-align: center;
	font-size: 14px;
	color: var(--uth-danger, #dc2626);
}

.uth-ulp-progress {
	margin-top: 20px;
}

.uth-ulp-progress__bar {
	height: 8px;
	border-radius: 999px;
	background: var(--uth-border, #e5e7eb);
	overflow: hidden;
}

.uth-ulp-progress__fill {
	display: block;
	height: 100%;
	width: 0;
	border-radius: 999px;
	background: var(--uth-primary, #2563eb);
	transition: width 0.2s ease;
}

.uth-ulp-progress__text {
	margin: 8px 0 0;
	font-size: 13px;
	color: var(--uth-muted, #6b7280);
	text-align: center;
}

.uth-ulp-result {
	margin-top: 18px;
}

.uth-ulp-result__heading {
	margin: 0 0 4px;
	font-size: 18px;
	font-weight: 700;
	color: var(--uth-heading, #111827);
}

.uth-ulp-result__summary {
	margin: 0 0 18px;
	font-size: 14px;
	color: var(--uth-muted, #6b7280);
}