body{
	--blue: #A5D867;
	--test_dbr: 6px;
	--test_dbg: #EEF7FF;
	--test_color: #00AEEF;
}

.test_popup_back{
	position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    bottom: 0;
    background: #333333cc;
    display: flex;
    justify-content: center;
    align-items: center;
}
.test_popup{
	width: 700px;
    min-height: 800px;
    position: relative;
    background: white;
    border-radius: 12px;
    padding: 32px;
}
.test_popup_main{
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
}
.test_popup_close{
    color: #333333;
    position: absolute;
    right: 32px;
    cursor: pointer;
}
.test_popup_close:hover{
	color: #00a1f0;
}
@media screen and (max-width: 980px){
	.test_popup_back{
		overflow: auto;
	}
	.test_popup{
		width: 100%;
		min-height: 100%;
		border-radius: 0;
		position: absolute;
		top: 0;
	}
}

.test_popup{
	padding-bottom: 144px;
}
.test_popup_main-title{
	font-size: 28px;
    line-height: 32px;
    width: 95%;
    margin-bottom: 30px;
    color: var(--test_color);
}
.test_popup_main-img{
	height: 350px;
    width: auto;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 12px;
}
.test_popup_main-info{
	display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 20px 12px 20px;
    background: var(--test_dbg);
    border-radius: var(--test_dbr) var(--test_dbr) 0 0;
}
.test_popup_main-info span{
    font-size: 16px;
    line-height: 20px;
    background: var(--test_color);
    color: white;
    padding: 8px 12px;
    border-radius: 0 0 6px 6px;
    display: inline-block;
}
.test_popup_main-info p, .test_popup_main-info_mob{
	color: #64748B;
    font-size: 16px;
    line-height: 36px;
}
.test_popup_main-desc{
    background: var(--test_dbg);
    font-size: 16px;
    line-height: 20px;
    padding: 0 20px 20px;
    border-radius: 0 0 var(--test_dbr) var(--test_dbr);
}
.test_popup_main-button{
    margin-top: auto;
    display: flex;
    flex-direction: row;
    justify-content: end;
    position: absolute;
    width: 100%;
    padding: 32px;
    bottom: 0;
    right: 0;
}
.main .test_popup_main-button button:hover{
	color: var(--test_color);
	border: 1px solid;
	border-color: var(--test_color);
}
.test_popup_main-button::after{
	content: '';
    width: auto;
    position: absolute;
    height: 1px;
    background: #DFE4EB;
    top: 0;
    left: 0;
    right: 0;
}
.test_popup_main-button button{
    background: var(--test_color);
    color: white;
    border-radius: 3px;
    padding: 14px 30px;
    font-size: 16px;
    text-transform: uppercase;
}
.test_popup_main-info_mob{
	display: none;
}
.test_popup_main-ans{
	margin-top: 12px;
    border-radius: var(--test_dbr);
    padding: 12px;
    background: #F5F5F5;
    width: fit-content;
    line-height: 20px;
    cursor: pointer;
}
.test_popup_main-ans *{
	cursor: pointer;
}
.test_popup_main-ans label{
	font-size: 16px;
}
.test_popup_main-ans input{
	position: relative;
	left: inherit;
	margin-right: 12px;
}
.test_popup_main-ans input::before{
	content: '';
	background: #F5F5F5;
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;

}
.test_popup_main-ans input:checked::after{
    border: 6px var(--test_color) solid;
}
.test_popup_main-ans input::after{
    content: '';
    width: 20px;
    height: 20px;
    background: white;
    position: absolute;
    border: 2px var(--test_color) solid;
    border-radius: 50px;
    top: -5px;
    left: 0;
}
.test_popup_main-button_actions *{
	width:  33.33%;
}
.test_popup_main-button span{
	font-size: 16px;
	line-height: 48px;
	text-align: center;
}
.test_popup_main-button .test_popup_main-button_prev{
	color: var(--test_color);
    background: var(--test_dbg);
}
.test_popup_main-result{
	font-size: 20px;
	line-height: 54px;
	margin-bottom: 12px;
}
.test_popup_main-result span{
    border-radius: var(--test_dbr);
    padding: 16px 24px;
    background: var(--test_dbg);
    color: var(--test_color);
}
.test_popup_main-result_desc, .test_popup_main-result_grade{
	border-radius: var(--test_dbr);
    padding: 16px 24px;
    background: #F5F5F5;
    font-size: 16px;
    margin-bottom: 24px;
}
.test_popup_main-result_grade{
	background: #EFF8E3;
	margin-bottom: 12px;
}
.test_popup_main-result_grade.negative{
	background: #FEF2F2;
}
.test_popup_main-result_form{
	padding: 12px 16px;
	border-radius: calc(var(--test_dbr) + 2px);
	background: var(--test_color);
    color: white;
    display: flex;
}
.test_popup_main-result_form-inputs{
	display: flex;
	gap: 10px;
}
.test_popup_main-result_form-inputs input{
	border-radius: calc(var(--test_dbr) - 2px);
}
.test_popup_main-result_form-inputs input[type=text]{
	width: 40%;
	font-size: 14px;
}
.test_popup_main-result_form-inputs input[type=text]::placeholder {
    font-size: 14px;
}
.test_popup_main-result_form-inputs [type=submit]{
	width: 60%;
    text-transform: uppercase;
    font-size: 16px;
    background: var(--test_dbg);
    color: var(--test_color);
    padding: 10px 14px;
}
.test_popup_main-result_form-agr{
	padding-top: 12px;
}
.test_popup_main-result_form-agr input{
	position: absolute;
    left: inherit;
}
.test_popup_main-result_form-agr input::before{
	content: '';
	background: var(--test_color);
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;

}
.test_popup_main-result_form-agr input:checked::after{
	background: var(--test_color);
    border: 5.5px white solid;
}
.test_popup_main-result_form-agr input::after{
    content: '';
    width: 17px;
    height: 17px;
    background: white;
    position: absolute;
    border-radius: 50px;
    top: 0;
    left: 0;
}
.test_popup_main-result_form-agr p{
	font-size: 14px;
    display: inline-block;
    width: 230px;
    margin-left: 24px;
    color: white;
}
.main .test_popup_main-result_form-agr p a{
	color: white;
	text-decoration: underline;
}
.test_popup_main-result_form-title{
	font-size: 24px;
	width: 33.33%;
}
.test_popup_main-result_form > div:nth-child(2){
	width: 66.66%;
}
.test_popup_main-result_form-title span{
	font-size: 16px;
}
@media screen and (max-width: 980px){
	.test_popup{
		padding-bottom: 111px;
	}
	.test_popup.stage{
		padding-bottom: 198px;
	}
	.test_popup_main-button::after{
		display: none;
	}
	.test_popup_main-title{
		margin-top: 32px;
		width: 100%;
	}
	.test_popup_main-img{
		height: 200px;
	}
	.test_popup_main-info p{
		display: none;
	}
	.test_popup_main-desc{
		border-radius: 0;
		padding-bottom: 12px;
	}
	.test_popup_main-info_mob{
		display: block;
	    padding: 0 20px 20px 20px;
	    background: var(--test_dbg);
	    border-radius: 0 0 var(--test_dbr) var(--test_dbr);
	}
	.test_popup_main-button_actions{
		gap: 8px;
	}
	.test_popup_main-button_actions, .test_popup_main-result_form, .test_popup_main-result_form-inputs{
		flex-direction: column;
	}
	.test_popup_main-button span{
		order: -1;
	}
	.test_popup_main-button button, .test_popup_main-button_actions *, .test_popup_main-result_form-inputs input[type=text], .test_popup_main-result_form-inputs [type=submit], .test_popup_main-result_form > div:nth-child(2){
		width: 100%;
	}
	.test_popup_main-result_form-title{
		width: 100%;
		margin-bottom: 16px;
		font-size: 20px;
	}
}