/**
 * PVD Dashboard Inline Auth
 *
 * Small complement to the main plugin's `.pvd-auth-area` styles. The upgrade
 * paths, notices and buttons below are the only extra pieces the inline
 * auth panel needs.
 */

.pvd-inline-auth__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
}

.pvd-inline-auth__notice {
	margin: 0 0 1rem;
	padding: 0.75rem 1rem;
	border-radius: 4px;
	font-size: 0.95rem;
}

.pvd-inline-auth__notice--success {
	background: #ecf7ed;
	border: 1px solid #1e8732;
	color: #16652a;
}

.pvd-inline-auth .pvd-auth-area__button {
	display: inline-block;
	padding: 0.65rem 1.25rem;
	background: var(--pvd-accent, #2271b1);
	color: #fff;
	border: 0;
	border-radius: 4px;
	font: inherit;
	cursor: pointer;
	text-decoration: none;
}

.pvd-inline-auth .pvd-auth-area__button:hover,
.pvd-inline-auth .pvd-auth-area__button:focus {
	background: var(--pvd-accent-dark, #1b5e95);
}

.pvd-inline-auth .pvd-auth-area__remember {
	margin: 0 0 1rem;
}

.pvd-inline-auth .pvd-auth-area__remember label {
	font-weight: normal;
}

/* ------------------------------------------------------------------------- *
 * Standalone mode (block/shortcode). These rules are scoped under
 * `.pvd-inline-auth--standalone` so they only apply when the dashboard
 * plugin is NOT driving the look. In bridge mode the dashboard skin owns
 * the `.pvd-auth-area` classes and these never match.
 * ------------------------------------------------------------------------- */

.pvd-inline-auth--standalone {
	max-width: 640px;
	margin: 1rem auto;
}

.pvd-inline-auth--standalone .pvd-auth-area__panel {
	max-width: 480px;
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	padding: 1.5rem;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.pvd-inline-auth--standalone .pvd-auth-area__panel + .pvd-auth-area__panel,
.pvd-inline-auth--standalone .pvd-auth-area__disclosure + .pvd-auth-area__panel {
	margin-top: 1rem;
}

.pvd-inline-auth--standalone .pvd-auth-area__title {
	margin: 0 0 0.25rem;
	font-size: 1.25rem;
	line-height: 1.3;
}

.pvd-inline-auth--standalone .pvd-auth-area__note {
	margin: 0 0 1rem;
	padding: 0.75rem 1rem;
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	font-size: 0.95rem;
}

.pvd-inline-auth--standalone .pvd-auth-area__field {
	margin: 0 0 1rem;
}

.pvd-inline-auth--standalone .pvd-auth-area__field label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 600;
}

.pvd-inline-auth--standalone .pvd-auth-area__field input {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 0.55rem 0.6rem;
	font: inherit;
	border: 1px solid #8c8f94;
	border-radius: 4px;
	background: #fff;
}

.pvd-inline-auth--standalone .pvd-auth-area__field input:focus {
	border-color: #2271b1;
	box-shadow: 0 0 0 1px #2271b1;
	outline: none;
}

.pvd-inline-auth--standalone .pvd-auth-area__errors {
	margin: 0 0 1rem;
	padding: 0.75rem 1rem 0.75rem 2.25rem;
	background: #fcf0f1;
	border: 1px solid #d63638;
	border-radius: 4px;
	color: #691c1c;
}

.pvd-inline-auth--standalone .pvd-auth-area__remember {
	margin: 0 0 1rem;
	font-weight: normal;
}

.pvd-inline-auth--standalone .pvd-auth-area__submit {
	margin: 0;
}

.pvd-inline-auth--standalone .pvd-auth-area__lost-password {
	margin: 1rem 0 0;
}

.pvd-inline-auth--standalone .pvd-auth-area__disclosure {
	margin-top: 1rem;
}

.pvd-inline-auth--standalone .pvd-auth-area__disclosure-summary {
	cursor: pointer;
	font-weight: 600;
}

.pvd-inline-auth--standalone .pvd-auth-area__disclosure[open] .pvd-auth-area__disclosure-summary {
	margin-bottom: 1rem;
}

.pvd-inline-auth-block-preview {
	background: #f6f7f7;
	border: 1px dashed #c3c4c7;
	border-radius: 6px;
	padding: 1rem 1.25rem;
	color: #50575e;
}

.pvd-inline-auth-block-preview__title {
	margin: 0 0 0.5rem;
	font-weight: 600;
	color: #1d2327;
}

.pvd-inline-auth-block-preview p {
	margin: 0 0 0.25rem;
}

/* ------------------------------------------------------------------------- *
 * Logged-in standalone profile view.
 * ------------------------------------------------------------------------- */

.pvd-inline-auth--standalone .pvd-inline-auth__profile-head {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	margin-bottom: 1.25rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid #dcdcde;
}

.pvd-inline-auth--standalone .pvd-inline-auth__profile-head img {
	border-radius: 50%;
}

.pvd-inline-auth--standalone .pvd-inline-auth__profile-head .pvd-auth-area__title {
	margin: 0;
}

.pvd-inline-auth--standalone .pvd-inline-auth__profile-meta {
	margin: 0.25rem 0 0;
	color: #646970;
	font-size: 0.9rem;
}