/* Protected Content Access — frontend password form
   Centered, minimal card. Avoids aggressive overrides of the active theme.
*/

.ipa-locked {
	box-sizing: border-box;
	max-width: 420px;
	margin: 60px auto;
	padding: 32px 28px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
		Helvetica, Arial, sans-serif;
	color: #1f2937;
}

.ipa-locked *,
.ipa-locked *::before,
.ipa-locked *::after {
	box-sizing: inherit;
}

.ipa-locked__title {
	margin: 0 0 8px;
	font-size: 1.25rem;
	line-height: 1.3;
	font-weight: 600;
	text-align: center;
	color: #111827;
}

.ipa-locked__intro {
	margin: 0 0 20px;
	color: #4b5563;
	font-size: 0.95rem;
	line-height: 1.5;
	text-align: center;
}

.ipa-locked__form p {
	margin: 0 0 14px;
}

.ipa-locked__form label {
	display: block;
	margin-bottom: 6px;
	font-size: 0.9rem;
	color: #4b5563;
	font-weight: 500;
}

.ipa-locked__input {
	display: block;
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	font-size: 1rem;
	line-height: 1.4;
	background: #fff;
	color: #111827;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.ipa-locked__input:focus {
	outline: none;
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.ipa-locked__actions {
	margin-top: 18px;
}

.ipa-locked__submit {
	display: inline-block;
	width: 100%;
	padding: 11px 14px;
	border: 1px solid transparent;
	border-radius: 6px;
	background: #2563eb;
	color: #fff;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.15s;
}

.ipa-locked__submit:hover,
.ipa-locked__submit:focus {
	background: #1d4ed8;
}

.ipa-locked__submit:focus-visible {
	outline: 3px solid rgba(37, 99, 235, 0.45);
	outline-offset: 2px;
}

.ipa-locked__error {
	margin: 0 0 14px;
	padding: 10px 12px;
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
	border-radius: 6px;
	font-size: 0.9rem;
	line-height: 1.4;
}

.ipa-protected-notice {
	margin: 0 0 1em;
	font-weight: 600;
	color: #4b5563;
}
