html.scp-lock,
html.scp-lock body {
	overflow: hidden;
}

.scp-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(17, 24, 39, 0.55);
	opacity: 0;
	transition: opacity 0.25s ease;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.scp-overlay[hidden] { display: none; }
.scp-overlay.scp-open { opacity: 1; }

.scp-card {
	box-sizing: border-box;
	width: 100%;
	max-width: 460px;
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	background: #fff;
	color: #1f2937;
	border-radius: 14px;
	padding: 28px 26px 22px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
	transform: translateY(12px) scale(0.98);
	transition: transform 0.25s ease;
}
.scp-open .scp-card { transform: none; }

.scp-icon {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #eef2ff;
	color: #4f46e5;
	margin-bottom: 12px;
}

.scp-title {
	margin: 0 0 10px;
	font-size: 20px;
	line-height: 1.3;
	font-weight: 700;
	color: #111827;
}

.scp-text {
	margin: 0 0 16px;
	font-size: 13.5px;
	line-height: 1.55;
	color: #4b5563;
}
.scp-text a { color: #4f46e5; text-decoration: underline; }

.scp-phone-label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 6px;
	color: #111827;
}
.scp-phone {
	box-sizing: border-box;
	width: 100%;
	padding: 10px 12px;
	margin: 0 0 14px;
	font-size: 15px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	background: #fff;
	color: #111827;
}
.scp-phone:focus { outline: 2px solid #4f46e5; outline-offset: 1px; border-color: #4f46e5; }

.scp-check {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 12px;
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	font-size: 14px;
	line-height: 1.4;
	font-weight: 600;
	color: #111827;
	cursor: pointer;
}
.scp-check input {
	width: 18px;
	height: 18px;
	margin: 1px 0 0;
	flex-shrink: 0;
	accent-color: #4f46e5;
	cursor: pointer;
}

.scp-actions {
	display: flex;
	gap: 10px;
	margin-top: 18px;
}
.scp-btn {
	flex: 1;
	padding: 11px 16px;
	font-size: 15px;
	font-weight: 600;
	border-radius: 8px;
	cursor: pointer;
	border: 1px solid transparent;
	transition: background 0.15s ease, opacity 0.15s ease;
}
.scp-decline {
	background: #fff;
	border-color: #d1d5db;
	color: #374151;
}
.scp-decline:hover { background: #f3f4f6; }
.scp-agree {
	background: #4f46e5;
	color: #fff;
}
.scp-agree:hover:not(:disabled) { background: #4338ca; }
.scp-agree:disabled { opacity: 0.45; cursor: not-allowed; }
.scp-btn:focus-visible { outline: 2px solid #4f46e5; outline-offset: 2px; }

@media (max-width: 420px) {
	.scp-card { padding: 22px 18px 18px; }
	.scp-actions { flex-direction: column-reverse; }
}
