/* Content Protector — без влияния на формы и модалки входа */

body.cp-protect-images img {
	-webkit-user-drag: none;
	user-drag: none;
}

/* Выделение отключаем только у контента, не у UI-контролов */
body.cp-no-select,
body.cp-no-select p,
body.cp-no-select h1,
body.cp-no-select h2,
body.cp-no-select h3,
body.cp-no-select h4,
body.cp-no-select h5,
body.cp-no-select h6,
body.cp-no-select li,
body.cp-no-select td,
body.cp-no-select th,
body.cp-no-select span:not(.button):not(.ns-show-password),
body.cp-no-select div:not(.button):not([class*="form"]):not([id*="login"]):not([id*="register"]) {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

body.cp-no-select input,
body.cp-no-select textarea,
body.cp-no-select select,
body.cp-no-select button,
body.cp-no-select a,
body.cp-no-select [contenteditable="true"],
body.cp-no-select .ns-show-password,
#nasa-login-register-form,
#nasa-login-register-form *,
.nasa-login-register-warper,
.nasa-login-register-warper *,
#nasa_customer_login,
#nasa_customer_login *,
#customer_login,
#customer_login * {
	-webkit-user-select: text !important;
	-moz-user-select: text !important;
	-ms-user-select: text !important;
	user-select: text !important;
}

#cp-screenshot-blank {
	position: fixed;
	inset: 0;
	z-index: 2147483647;
	background: #0b0b0b;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.08s ease, visibility 0.08s ease;
}

#cp-screenshot-blank.cp-screenshot-blank--visible {
	opacity: 1;
	visibility: visible;
	pointer-events: all;
}

/* Прячем «пустые» кнопки/сабмиты в модалке (часто от менеджеров паролей) */
#nasa-login-register-form button:not([type="submit"]):not([name="nasa_login"]):not([name="nasa_register"]):empty,
#nasa-login-register-form input[type="submit"][value=""],
#nasa-login-register-form .form-row-wide > button:not([type="submit"]):not([name="nasa_login"]),
#nasa-login-register-form input[type="password"] ~ button:not([type="submit"]) {
	display: none !important;
	width: 0 !important;
	height: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	overflow: hidden !important;
	position: absolute !important;
	left: -9999px !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

#nasa-login-register-form input[type="hidden"] {
	display: none !important;
	appearance: none !important;
	width: 0 !important;
	height: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	background: transparent !important;
	position: absolute !important;
	left: -9999px !important;
}

@media print {
	body.cp-no-select #main-content,
	body.cp-no-select .nasa-content,
	body.cp-no-select article {
		visibility: hidden !important;
	}
}
