.survey-pin-form__pin,
.survey-pin-form__survey {
	background-size: cover;
}

.survey-pin-form__pin {  
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 5;
	row-gap: 80px;
}

.survey-pin-form__wrapper {
	display: flex;
	flex-direction: column;
	gap: 25px;
	position: relative;
}

.survey-pin-form__wrapper input{
	width: 400px;
	padding: 10px;
}

.survey-pin-form__wrapper button{
	justify-content: center;
}

.survey-pin-form__survey{
	background-color:#fff;
	min-height: 100vh;	
	padding-bottom: 50px;
	display: flex;
	align-items: center;
	flex-direction: column;
	justify-content: center;
	width: -webkit-fill-available;
}

.survey-container {
	display: flex;
	align-items: center;
	flex-direction: column;
	justify-content: center;
	width: 990px;
	position: relative;
}

.survey-container__section {
	display: flex;
	align-items: center;
	flex-direction: column;
	justify-content: center;
	width: 100%;
}

@media (max-width: 1490px) and (min-width: 993px) {
	.survey-container {
		width: 55vw;
	}
}

@media(max-width: 992px){
	.survey-container {
		width: 100%;
		position: unset;
	}
	.survey-pin-form__survey {
		padding: 150px 0;
	}
}

{#***************** STEP FORM STYLES **********************#}

.survey-pin-form__buttons-container,
.survey-pin-form__thank-you-message,
.survey-pin-form__form,
.survey-pin-form__schedule-call,
.survey-pin-form__profile-form,
.survey-pin-form__thank-you-message-call,
.survey-pin-form__progress-bar {
	background-color: rgba(255,255,255,0.9);
	max-width: 960px;
	width: 80%;
	margin: 0 auto;
}


.survey-pin-form__progress-bar {
	height: 20px;
	margin-top: 35px;
	overflow: hidden;
}

.survey-pin-form__progress-completed {
	color: #ffffff;
	background-color: #f0ad4e;
	transition: width .6s ease;
	background-image: -webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);
	background-size: 40px 40px;
	animation: progress-bar-stripes 2s linear infinite;
	font-size: 12px;
	display: flex;
	align-items: center;
	justify-content: CENTER;
	max-width: 100%;
	height: 100%;
	line-height: 1;
	font-weight: 700;
}

@keyframes progress-bar-stripes {
	0% {
		background-position: 40px 0;
	}
	100% {
		background-position: 0 0;
	}
}

.survey-pin-form__buttons-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;			
	padding: 20px;
}

.survey-pin-form__buttons-container--hidden,
.survey-pin-form__buttons-container-active.survey-pin-form__buttons-container--hidden{
	display: none;
}

.survey-pin-form__step,
.survey-pin-form__button,
.survey-pin-form__buttons-container{
	display:none;
}

{#****** DISPLAY ******#}
.survey-pin-form--step-active,
.survey-pin-form--btn-active{
	display:block;
}
.survey-pin-form__buttons-container-active{
	display:flex;
}
.survey-pin-form__last-step{
	display:none;
}

{#***************** END STEP FORM STYLES **********************#}



.survey-pin-form__form,
.survey-pin-form__schedule-call,
.survey-pin-form__profile-form{	
	padding: 20px;
	margin: 50px auto 0 auto;
}

.survey-pin-form__form--hidden {
	display: none;	
}

.survey-pin-form__required {
	color: red;
	font-weight: 500;
}

.survey-pin-form__required--hidden {
	display: none;
}

.survey-pin-form__schedule-call--hidden,
.survey-pin-form__buttons-container-active.survey-pin-form__schedule-call--hidden,
.survey-pin-form__profile-form--hidden {
	display: none;
}

.survey-pin-form__verify-button {
	position: relative
}

.survey-pin-form__verify-button--loading::after {
	content: '';
	position: absolute;
	top: 27%;
	left: 50%;
	width: 20px;
	height: 20px;
	border: 2px solid #ccc;
	border-top-color: #333;
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
}

.survey-pin-form__verify-button--loading::before {
	background-color: #6a8085;
	content: "";
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

@keyframes spin {
	to { transform: rotate(360deg); }
}

.survey-pin-form .hs-form-radio,
.survey-pin-form .hs-form-checkbox {
	padding: 0.75em;
	background-color: rgba(0,0,0,0.05);
	border-radius: 0.75em;
	margin-bottom: 15px;
}

.survey-pin-form .hs-form-radio label {
	margin-bottom: 0;
}

.survey-pin-form .hs-form-radio input {
	margin-right: 15px;
}

.survey-pin-form__thank-you-message,
.survey-pin-form__thank-you-message-call {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 250px;
	padding: 30px;
	margin-top: 50px;
}

.survey-pin-form__thank-you-message--hidden,
.survey-pin-form__thank-you-message-call--hidden {
	display: none;
}


.survey-pin-form__error-alert {
	background: radial-gradient(rgba(178,34,34,0.75), rgba(178,34,34,0.45));
	padding: 4px 17px;
	border-radius: 100px;
	color: #ffffff;
	font-weight: 500;
	position: absolute;
	top: 108%;
	left: 0;
}

.survey-pin-form__error-alert--hidden {
	display: none;
}