/**
 * 資料請求: 非会員向けログイン／会員登録 dialog（lbpc-document-auth-prompt.js）
 */

.lbpc-document-auth-dialog {
	position: fixed;
	inset: 0;
	width: min(100%, 24rem);
	max-width: calc(100vw - 2rem);
	height: fit-content;
	max-height: min(90dvh, calc(100vh - 2rem));
	margin: auto;
	padding: 0;
	border: none;
	border-radius: var(--wp--custom--radius--normal, 10px);
	background: var(--wp--preset--color--base, #fff);
	color: var(--wp--preset--color--contrast, #222);
	box-shadow: 0 12px 40px color-mix(in srgb, var(--wp--preset--color--contrast, #222) 18%, transparent);
	overflow: hidden;
	pointer-events: auto;
}

.lbpc-document-auth-dialog::backdrop {
	background: color-mix(in srgb, var(--wp--preset--color--contrast, #222) 45%, transparent);
}

.lbpc-document-auth-dialog__panel {
	padding: 1.25rem 1.5rem 1.5rem;
}

.lbpc-document-auth-dialog__header {
	display: flex;
	justify-content: flex-end;
	margin-block-end: 0.5rem;
}

.lbpc-document-auth-dialog__close {
	display: inline-flex;
	flex-shrink: 0;
	width: 2.25rem;
	height: 2.25rem;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: none;
	outline: none;
	box-shadow: none;
	appearance: none;
	border-radius: var(--wp--custom--radius--small, 4px);
	background: var(--wp--preset--color--gray-200, #e1e1e1);
	color: inherit;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
}

.lbpc-document-auth-dialog__close:hover,
.lbpc-document-auth-dialog__close:focus,
.lbpc-document-auth-dialog__close:focus-visible {
	border: none;
	outline: none;
	box-shadow: none;
	background: var(--wp--preset--color--gray-200, #e1e1e1);
}

.lbpc-document-auth-dialog__body {
	margin: 0 0 1.25rem;
	font-size: var(--wp--preset--font-size--small, 14px);
	line-height: var(--wp--custom--line-height--normal, 1.6);
	text-align: center;
}

.lbpc-document-auth-dialog__actions {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.lbpc-document-auth-dialog__actions .minolink-btn.lbpc-document-auth-dialog__signup {
	align-self: center;
	flex: 0 0 auto;
	box-sizing: border-box;
	width: 180px;
	max-width: 180px;
	justify-content: center;
	text-decoration: none;
}

.lbpc-document-auth-dialog__login {
	align-self: center;
	font-size: var(--wp--preset--font-size--small, 14px);
	line-height: var(--wp--custom--line-height--normal, 1.6);
	color: var(--wp--preset--color--primary, #358f6b);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.lbpc-document-auth-dialog__login:hover,
.lbpc-document-auth-dialog__login:focus-visible {
	color: var(--wp--preset--color--primary-dark, #1f7754);
}
