.modal-first-join {
	position: fixed;
	z-index: 1;
	inset: 0;
	background: rgba(28, 33, 48, 0.70);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.modal-first-join {
	color: #fff;
}

.modal-form-content {

	/* max-width: 384px;
	width: 100%; */
	color: #ffffff;

	background: var(--white, #FFF);
	margin: 0 auto;
	height: auto;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 0.5rem;
}

.modal-first-wrapper {
	display: flex;
	flex-direction: column;
	gap: 40px;
	padding: 20px;
	margin: 0 auto;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.modal--content {
	display: flex;
	flex-direction: column;
	gap: 24px;
	max-width: 792px;
	border-radius: 8px;
	padding: 32px;
	background: #fff;
}

.modal-first-join h4 {
	max-width: 588px;
	width: 100%;
	text-align: center;
	text-wrap: balance;
	font-size: 24px;
	font-weight: 600;
	line-height: 120%;
	margin: 0 auto 9px;
	color: #2F2F2F;
}

.modal-first-join p {
	max-width: 588px;
	width: 100%;
	color: #2F2F2F;
	text-align: center;
	font-size: 20px;
	font-weight: 500;
	line-height: 120%;
	letter-spacing: -0.78px;
	margin: 0 auto 16px;
}

.modal--button-start {
	max-width: max-content;
	width: 100%;
	padding: 1rem 2rem;
	/* height: 48px; */
	box-shadow: 0px 0px 21px 0px rgba(255, 255, 255, 0.71);
	border-radius: 0.5rem;
	color: #fff;
	border: none;
	text-align: center;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 100%;
	margin: 0 auto;
	cursor: pointer;
	animation: pulse 1.5s ease-in-out infinite;

	/* new */
	background: var(--red, #E52529);
}

/* modal-user-trade */
.modal-user-win .modal--trade {
	display: none;
	padding: 32px;
	border-radius: 8px;
	border: 1px solid #15e5c2;
	background: #1e2741;
	box-shadow: 0px 0px 25px 0px rgba(21, 229, 194, 0.8);
}

.modal-user-lose .modal--trade {
	border: 2px solid #ff0000;
}

.modal-chart-error {
	position: fixed;
	inset: 0;
}

.modal-user-trade {
	width: 100%;
	inset: 0;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

/* .modal-user-wrapper {
	width: 100%;
	margin: 0 auto;
	padding: 1rem;
} */

.modal-user-wrapper {
	width: 100%;
	height: 100%;
	margin: 0px auto;
	padding: 1rem;
	display: grid;
	align-items: center;
}

.modal--trade {
	width: 100%;
	max-width: 45rem;
	height: 140px;
	padding: 10px;
	border-radius: 1.82rem;
	background: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0) 100%);
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.modal--trade_deal {
	display: none;
	color: #fff;
	font-size: 2.6795rem;
	font-weight: 500;
	line-height: 120%;
	letter-spacing: -0.08038rem;
}

.modal--trade_deal .loosing {
	color: #f00;
}

.modal--trade_deal .winning {
	color: #00ff47;
}

.modal--trade_deal .value {
	color: #e5cf09;
	font-size: 3rem;
}

.modal-chart-wrapper {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	padding: 20px;
	width: 100%;
	max-width: 600px;
}

.modal--chart {
	max-width: 600px;
	width: 100%;
}

.modal-trade-started {
	position: fixed;
	inset: 0;
	background: rgba(28, 33, 48, 0.70);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);

}

.modal-trade-started .modal-user-wrapper {
	flex-direction: column;
}

.modal-trade._started {
	background-color: var(--red);
	padding: 1rem;
	display: flex;
	color: #252c33;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
	border-radius: 1rem;

	max-width: 40rem;
	width: 100%;
	margin: 0 auto;
}

.modal-trade._started p {
	text-align: center;
	font-size: 1.25rem;
	color: var(--white);
}

.modal-form_earned {
	color: var(--text, #2F2F2F);
	text-align: center;
	font-size: 24px;
	font-weight: 500;
	letter-spacing: -0.02rem;
}

.modal-form_call {
	font-size: 2.25rem;
	font-weight: 500;
	margin-bottom: 1rem;
	text-wrap: balance;
	text-align: center;
	line-height: 120%;
}

.user--balance__mob {
	display: none;
}

span[data-successfull-trades],
span[data-trading-time] {
	color: var(--text, #2F2F2F);
	font-size: 24px;
	font-weight: 700;
	letter-spacing: -0.02rem;
}

span[data-earned-money] {
	color: #169C00;
	font-size: 24px;
	font-weight: 700;
	letter-spacing: -0.02rem;
}



@media screen and (max-width: 768px) {
	.modal--trade_deal {
		font-size: 1.5rem;
	}

	.modal--trade_deal .value {
		color: #e5cf09;
		font-size: 1.75rem;
	}

	.modal--content {
		max-width: 100%;
	}

	.modal-first-join h4 {
		font-size: 1.5rem;
	}

	.modal-first-join p {
		font-size: 1.25rem;
	}

	.modal--button-start {
		height: 100%;
		/* padding: 10px 0px; */
		font-size: 1rem;
	}

}