/* Scheduled Maintenance Notice — Popup Styles */

.smn-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(15, 23, 42, 0.55);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.smn-overlay.smn-visible {
	opacity: 1;
	visibility: visible;
}

.smn-overlay[hidden] {
	display: none !important;
}

.smn-modal {
	position: relative;
	width: 100%;
	max-width: 480px;
	padding: 40px 36px 32px;
	background: #ffffff;
	border-radius: 16px;
	box-shadow:
		0 0 0 1px rgba(15, 23, 42, 0.06),
		0 24px 48px -12px rgba(15, 23, 42, 0.25);
	text-align: center;
	transform: translateY(16px) scale(0.97);
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	color: #1e293b;
}

.smn-overlay.smn-visible .smn-modal {
	transform: translateY(0) scale(1);
}

.smn-close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: none;
	border-radius: 8px;
	background: transparent;
	color: #94a3b8;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.smn-close:hover,
.smn-close:focus {
	background: #f1f5f9;
	color: #475569;
	outline: none;
}

.smn-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	margin: 0 auto 16px;
	border-radius: 50%;
	background: linear-gradient(145deg, #fef3c7 0%, #fde68a 100%);
	color: #b45309;
}

.smn-badge {
	display: inline-block;
	margin: 0 0 10px;
	padding: 4px 12px;
	border-radius: 999px;
	background: #fff7ed;
	color: #c2410c;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.smn-title {
	margin: 0 0 18px;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
	color: #0f172a;
	letter-spacing: -0.02em;
}

.smn-body {
	margin: 0 0 28px;
	text-align: left;
}

.smn-body p {
	margin: 0 0 12px;
	font-size: 15px;
	line-height: 1.65;
	color: #475569;
}

.smn-body p:last-child {
	margin-bottom: 0;
}

.smn-body .smn-restore {
	padding-top: 4px;
	font-weight: 500;
	color: #334155;
}

.smn-actions {
	display: flex;
	justify-content: center;
}

.smn-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 160px;
	padding: 12px 28px;
	border: none;
	border-radius: 10px;
	background: #0f172a;
	color: #ffffff;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.01em;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.smn-btn:hover,
.smn-btn:focus {
	background: #1e293b;
	outline: none;
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(15, 23, 42, 0.28);
}

.smn-btn:active {
	transform: translateY(0);
}

@media (max-width: 480px) {
	.smn-modal {
		padding: 32px 22px 24px;
		border-radius: 14px;
	}

	.smn-title {
		font-size: 19px;
	}

	.smn-body p {
		font-size: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.smn-overlay,
	.smn-modal,
	.smn-btn,
	.smn-close {
		transition: none;
	}
}
