body {
    background: linear-gradient(90deg, rgba(0,174,239,1) 0%, rgba(0,140,207,1) 46%, rgba(0,140,207,1) 100%);
    background: rgb(0,174,239);
    font-family: "Proxima Nova", sans-serif;
}




.text-btn {
	-webkit-transition: all 0.3s!important;
	-o-transition: all 0.3s!important;
	transition: all 0.3s!important;
}

.text-btn:hover {
	text-shadow: 0px 0px 10px #647effa6!important;
}

button {
	font-family: "Proxima Nova";
	outline: none;
	border: none;
	background: transparent;
	cursor: pointer;
	padding: 0;
}

.default-btn {
	width: 100%;
	padding: 18px 0;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	border-radius: 7px;
	background-color: #647eff;
	color: #ffffff;
	font-size: 14px;
	font-weight: 600;
	line-height: 14px;
	cursor: pointer;
	-webkit-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}

.default-btn:hover {
	-webkit-box-shadow: 0px 0px 54px -4px rgba(71, 96, 218, 0.2);
	box-shadow: 0px 0px 54px -4px rgba(71, 96, 218, 0.2);
}

.text-btn {
	color: #00AEEF;
	font-size: 14px;
	font-weight: 400;
	letter-spacing: normal;
	line-height: 23.38px;
	cursor: pointer;
}
#title__second {
    color: #008CCF;
}

input {
	font-family: "Proxima Nova";
	outline: none;
}

.default-input {
	width: 100%;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	padding: 18px 13px 18px 16px;
	border-radius: 7px;
	border: 1px solid #008CCF;
	background-color: #ffffff;
	color: #ffffff;
	font-size: 13px;
	font-weight: 400;
	line-height: 14px;
	-webkit-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}

.default-input::placeholder {
	color: #6b7597;
	font-size: 13px;
}

.default-input:focus {
	border: 1px solid #5f6ea4;
}

.logo {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}

.logo img {
	width: 33px;
	height: 37px;
}

.logo__title {
	font-size: 24px;
	font-weight: 600;
	color: #647eff;
	margin-left: 12px;
}

.logo__title b {
	color: #ffffff;
}

.auth {
	padding: 34px 28px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	position: absolute;
	left: 50%;
	top: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	border-radius: 16px;
	background-color: #ffffff;
}

.auth .logo {
	margin-bottom: 24px;
}

.auth input {
	margin-bottom: 16px;
	color: black;
}

.auth form {
	margin-bottom: 27px;
}

div,p,img,b,form {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

.modal-terms {
	position: absolute;
	left: 50%;
	top: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	padding: 28px 0 0 0;
	-webkit-box-shadow: 0 18px 40px rgba(25, 29, 43, 0.7);
	box-shadow: 0 18px 40px rgba(25, 29, 43, 0.7);
	border-radius: 16px;
	border: 2px solid #272d40;
	background-color: #1b202f;
	max-height: 688px;
	opacity: 0;
	visibility: hidden;
	-webkit-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
	z-index: 1000; 
}

.modal-terms-text {
	max-height: 32vw; /* Максимальная высота текста внутри модального окна */
	overflow-y: auto; /* Вертикальная прокрутка текста */
  }
.modal-terms {
	display: none;
  }
  
  .modal-terms.show {
	display: block;
  }

.modal-terms button {
	border-radius: 0 0 16px 16px;
	position: absolute;
	bottom: 0;
	left: 0;
}

.modal-terms .modal__title {
	padding-left: 38px;
	margin-bottom: 24px;
}

.modal-terms .modal-terms-text {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	padding: 0 38px;
	max-width: 464px;
	overflow-y: scroll;
	margin-bottom: 77px;
}

.modal-terms .modal-terms-text .modal__subtitle {
	margin-bottom: 35px;
	width: 100%;
}

.modal-terms .modal-terms-text .modal__subtitle:last-child {
	margin-bottom: 0;
}

body.modal-open {
	overflow: hidden; /* Отключить прокрутку страницы при открытом модальном окне */
  }
.modal__title {
	color: #ffffff;
	font-size: 24px;
	font-weight: 600;
	line-height: 28px;
}

.modal__subtitle {
	color: #a3aed3;
	font-size: 16px;
	font-weight: 400;
	line-height: 26.72px;
}



::-webkit-scrollbar {
	width: 2px;
	height: 2px;
}

::-webkit-scrollbar-button {
	width: 0px;
	height: 0px;
	background-color: transparent;
}

::-webkit-scrollbar-thumb {
	background-color: #525970;
	border-radius: 0px;
}

::-webkit-scrollbar-track {
	background-color: #1d1d20;
}

.show {
	visibility: visible!important;
	opacity: 1!important;
}

@media screen and (max-width: 500px) {
	.auth {
		width: calc(100% - 116px);
	}
}

@media screen and (max-width: 600px) {
	.modal-terms {
		width: calc(100% - 60px);
	}
}

@media screen and (max-width: 500px) {
	.modal-terms .modal__title {
		text-align: center;
		padding-left: 0;
	}
}







