/**
 * SafeError maintenance / error page (structure). Colors/fonts via :root variables set inline.
 */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
body {
	font-family: var(--se-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
	color: var(--se-text, #1d2327);
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	padding: 20px;
	position: relative;
}
body.se-bg-image {
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-color: #000;
}
body.se-bg-solid {
	background: #f0f0f1;
}
.error-container {
	border-radius: var(--se-radius, 8px);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	padding: var(--se-pad, 40px);
	max-width: var(--se-maxw, 600px);
	width: 100%;
	text-align: center;
	position: relative;
	z-index: 2;
}
.error-title {
	font-size: var(--se-title-size, 24px);
	font-weight: 600;
	margin-bottom: var(--se-title-mb, 16px);
	color: var(--se-text, #1d2327);
	font-family: var(--se-font, inherit);
}
.error-message {
	font-size: var(--se-msg-size, 16px);
	line-height: 1.6;
	margin-bottom: var(--se-msg-mb, 24px);
	color: var(--se-text, #1d2327);
}
.maintenance-image-wrapper {
	margin-bottom: var(--se-img-mb, 30px);
	text-align: center;
}
.maintenance-image-wrapper.se-hidden {
	display: none;
}
.maintenance-image {
	max-width: var(--se-img-max, 250px);
	height: auto;
	margin: 0 auto;
	border-radius: var(--se-img-radius, 8px);
	border: 3px solid #e0e0e0;
	padding: 10px;
	background: #fff;
}
.debug-link a {
	color: #2271b1;
	text-decoration: none;
}
.safeerror-admin-login-btn {
	position: fixed;
	bottom: 20px;
	right: 20px;
	background: rgba(0, 0, 0, 0.7);
	color: #fff;
	border: none;
	padding: 10px 15px;
	border-radius: 4px;
	cursor: pointer;
	font-size: 12px;
	z-index: 9999;
	opacity: 0.85;
	transition: opacity 0.2s;
}
.safeerror-admin-login-btn:hover {
	opacity: 1;
}
.safeerror-login-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.safeerror-login-modal[hidden] {
	display: none;
}
.safeerror-login-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
}
.safeerror-login-modal-content {
	position: relative;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
	width: 100%;
	max-width: 420px;
	max-height: 90vh;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}
.safeerror-login-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 16px;
	border-bottom: 1px solid #e0e0e0;
	background: #f6f7f7;
}
.safeerror-login-modal-title {
	font-size: 16px;
	font-weight: 600;
	margin: 0;
	color: #1d2327;
}
.safeerror-login-modal-close {
	background: none;
	border: none;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	color: #50575e;
	padding: 0 4px;
}
.safeerror-login-modal-close:hover {
	color: #1d2327;
}
.safeerror-login-modal-iframe {
	width: 100%;
	height: 420px;
	border: none;
	display: block;
}
