div.bx-system-auth-form span.bx-auth-secure {background-color:#FFFAE3; border:1px solid #DEDBC8; padding:2px; display:inline-block; vertical-align:bottom; margin-top:-1px;}
div.bx-system-auth-form div.bx-auth-secure-icon {background-image:url(images/sec.png); background-repeat:no-repeat; background-position:center; width:19px; height:18px;}
div.bx-system-auth-form div.bx-auth-secure-unlock {background-image:url(images/sec-unlocked.png);}

.leave-request-form-box.popup-form.show {
	opacity: 1;
	visibility: visible;
	-webkit-transform: translate(-50%, -50%) scale(1);
	-ms-transform: translate(-50%, -50%) scale(1);
	transform: translate(-50%, -50%) scale(1);
	color: var(--main-light-color);
}

.leave-request-form-box.popup-form {
	position: fixed;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%) scale(0.7);
	-ms-transform: translate(-50%, -50%) scale(0.7);
	transform: translate(-50%, -50%) scale(0.7);
	padding: 32px;
	border-radius: 10px;
	-webkit-box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	opacity: 0;
	visibility: hidden;
	-webkit-transition: opacity 0.3s ease, -webkit-transform 0.3s ease;
	transition: opacity 0.3s ease, -webkit-transform 0.3s ease;
	-o-transition: transform 0.3s ease, opacity 0.3s ease;
	z-index: 1001;
	width: 90%;
	max-width: 464px;
	background-color: #aaaaaa4d;
}

#login-menu-container .def-btn,
#login-menu-container {
	width: auto !important;
	padding-left: 16px !important;
	padding-right: 16px !important;
	font-size: 16px !important;
	border-radius: 16px !important;
	font-size: 15px !important;
	font-family: 'Manrope-ExtraLight' !important;
	margin: 0;
}
.modal-body .def-btn:disabled {
	background-color: var(--reserved-accent-color) !important;
	cursor: not-allowed !important;
}
#login-menu-container {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	gap: 24px; /* Установите нужное расстояние */
}
#login-menu-container .login-btn-menu{
	background-color: var(--main-light-color) !important;
	color: var(--main-dark-color) !important;
}
#login-menu-container  .logout-btn-menu{
	width: auto !important;
	padding-top: 8px !important;
	padding-bottom: 8px !important;
	padding-left: 16px !important;
	padding-right: 16px !important;
	font-size: 16px !important;
	font-family: 'Manrope-Semibold', sans-serif;
	text-align: center;
	border-radius: var(--def-border-radius);
	color: var(--main-light-color);
	background-color: var(--accent-color);
}
.logout-btn-menu, .logout-btn-menu:hover {
	color: var(--accent-color);
	background-color: var(--main-light-color);
	-webkit-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}
#login-menu-container .login-btn-menu:hover {
	color: var(--main-light-color);
	background-color: var(--accent-color);
}
#login-menu-container .reg-btn-menu{
	background-color: var(--main-dark-color);
	color: var(--main-light-color);
}
#login-menu-container .reg-btn-menu:hover {
	color: var(--main-light-color);
	background-color: var(--accent-color);
}

.opros-form-container.active {
	display: block;
}
.modal-dialog {
	position: static !important;
	margin: 1.75rem auto !important;
}
.modal-body{
	padding: 0 !important;
}

/* Убираем стандартную анимацию */
.modal.fade .modal-dialog {
	-webkit-transition: none;
	-o-transition: none;
	transition: none;
}

/* Добавляем анимацию зума */
.modal.zoom-modal.fade .modal-dialog {
	-webkit-transform: scale(0.7);
	-ms-transform: scale(0.7);
	transform: scale(0.7); /* Начальный масштаб */
	opacity: 0; /* Начальная прозрачность */
	-webkit-transition: opacity 0.3s ease-out, -webkit-transform 0.3s ease-out;
	transition: opacity 0.3s ease-out, -webkit-transform 0.3s ease-out;
	-o-transition: transform 0.3s ease-out, opacity 0.3s ease-out;
	transition: transform 0.3s ease-out, opacity 0.3s ease-out;
	transition: transform 0.3s ease-out, opacity 0.3s ease-out, -webkit-transform 0.3s ease-out;
}

.modal.zoom-modal.show .modal-dialog {
	-webkit-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1); /* Конечный масштаб */
	opacity: 1; /* Полная видимость */
}

.modal-body input[type="email"],
.modal-body input[type="password"] {
	border: 1px solid rgba(255, 255, 255, 0.3); /* Прозрачный белый бордюр */
	-webkit-transition: border-color 0.3s ease;
	-o-transition: border-color 0.3s ease;
	transition: border-color 0.3s ease; /* Анимация при фокусе */
}
.script-form-container .title-form {
	font-size: 32px;
	text-transform: uppercase;
	font-family: Manrope-SemiBold, sans-serif;
}

.script-form-container .form-control {
	border-radius: 20px;
	padding: 16px;
	margin: 0px;
}

.script-form-container .form-check {
	padding: 0px;
}
.modal-body .form-check-input {
	display: none;
}
.modal-body input[type=checkbox], .modal-body input[type=radio] {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	padding: 0;
}
.modal-body .form-check-label {
	font-size: 14px;
	font-family: 'Manrope-ExtraLight', sans-serif;
}
.modal-body .form-check-label {
	position: relative;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	font-size: 14px;
	padding-left: 35px;
}
.modal-body .police-info {
	font-size: 15px;
	color: #c7e2ff;
	cursor: pointer;
}
.modal-body  .form-check-label::before {
	width: 24px;
	height: 24px;
	border-radius: 4px;
	background-color: #d5d5d5;
}
.modal-body  .form-check-label::after, .modal-body  .form-check-label::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
}
.modal-body   .form-check-input:checked + .form-check-label::after, .modal-body   .form-check-input:checked + .form-check-label::after {
	content: '\2713';
	font-size: 18px;
	color: #333;
	left: 4px;
	font-family: 'Manrope-ExtraBold', sans-serif;
}
.checked-reg {
	content: '\2713';
	font-size: 18px;
	color: #333;
	left: 4px;
	font-family: 'Manrope-ExtraBold', sans-serif;
}
.password-field {
	position: relative;
}
@-webkit-keyframes shake {
	0% { -webkit-transform: translateX(0); transform: translateX(0); }
	25% { -webkit-transform: translateX(-5px); transform: translateX(-5px); }
	50% { -webkit-transform: translateX(5px); transform: translateX(5px); }
	75% { -webkit-transform: translateX(-5px); transform: translateX(-5px); }
	100% { -webkit-transform: translateX(0); transform: translateX(0); }
}
@keyframes shake {
	0% { -webkit-transform: translateX(0); transform: translateX(0); }
	25% { -webkit-transform: translateX(-5px); transform: translateX(-5px); }
	50% { -webkit-transform: translateX(5px); transform: translateX(5px); }
	75% { -webkit-transform: translateX(-5px); transform: translateX(-5px); }
	100% { -webkit-transform: translateX(0); transform: translateX(0); }
}

.error-input {
	-webkit-animation: shake 0.5s;
	animation: shake 0.5s;
	border: 2px solid rgba(255, 0, 0, 0.5) !important;
}
.logout-btn-sm{
	width: 20% !important;
	padding: 3px !important;
	font-size: 14px !important;
}
.toggle-password {
	position: absolute;
	right: 10px;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	width: 20px;
	height: 20px;
	opacity: 0.5;
	cursor: pointer;
	-webkit-transition: opacity 0.2s ease;
	-o-transition: opacity 0.2s ease;
	transition: opacity 0.2s ease;
}

.toggle-password:hover {
	opacity: 1;
}

.modal-body .form-check-input {
	width: 16px;
	height: 16px;
	margin-top: 0px;
	margin-bottom: 0px;
	border-radius: 2px;
}
.modal-body .form-check-input {
	position: absolute;
	margin-top: 0.3rem;
	margin-left: -1.25rem;
}


/* Убираем белый фон у .modal-content */
.modal-content {
	background-color: transparent !important;
	border: none !important;
}

/* Стили для пользовательской кнопки закрытия */
.modal-content  .modal-close-btn {
	position: absolute;
	top: 24px;
	right: 24px;
	cursor: pointer;
}

.modal-content  .modal-close-btn img {
	width: 20px;
	height: 20px;
}

.present-form .def-btn:disabled, .def-form .def-btn:disabled {
	background-color: rgb(188, 188, 188);
	cursor: not-allowed;
}

.modal-body .input-group-text {
	background: transparent;
	border: 1px solid #ddd;
	border-left: none;
	border-radius: 0 5px 5px 0;
	cursor: pointer;
}

.modal-body .def-btn {
	font-family: 'Manrope-Medium', sans-serif;
	width: 100%;
	font-size: 18px;
}



/* Анимация zoom */
.zoom {
	-webkit-animation: zoomInOut 0.3s ease-in-out;
	animation: zoomInOut 0.3s ease-in-out;
}

@-webkit-keyframes zoomInOut {
	0% {
		-webkit-transform: scale(1);
		transform: scale(1);
		opacity: 1;
	}
	50% {
		-webkit-transform: scale(0.95);
		transform: scale(0.95);
		opacity: 0.7;
	}
	100% {
		-webkit-transform: scale(1);
		transform: scale(1);
		opacity: 1;
	}
}

@keyframes zoomInOut {
	0% {
		-webkit-transform: scale(1);
		transform: scale(1);
		opacity: 1;
	}
	50% {
		-webkit-transform: scale(0.95);
		transform: scale(0.95);
		opacity: 0.7;
	}
	100% {
		-webkit-transform: scale(1);
		transform: scale(1);
		opacity: 1;
	}
}
.modal-backdrop {
	background-color: rgba(0, 0, 0, 0.9) !important; /* Еще темнее */
}

.error__rg{
	position: absolute;
	left: 460px;
	width: 400px;
	background-color: #aaaaaa4d;
	border-radius: 10px;
	padding: 18px;
	top: 40%;
	color: #FFFFFF;
}

.error__rg .title-form {
	font-size: 24px;
	text-transform: uppercase;
	font-family: Manrope-SemiBold, sans-serif;
	margin-bottom: 10px;

}

.error__rg .errortext {
	font-size: 14px;
	color: #FFFFFF;
}


@media (max-width: 560px) {
	.script-form-container .title-form {
		font-size: 24px;
	}
}