body {background: var(--bright);}
#applicationForm {
  --form-scale: 1.05;
}

.progress-bar {
	width: 100%;
	height: 2px;
	background: var(--blue);
	transition: width 0.4s ease;
}
.counter {
	font-size: .95rem;
	font-weight: var(--bold);
}

/* Buttons */
.btn.menu-btn, button.app-btn {
	margin-top: 2rem;
	font-size: 1.25rem;
	padding: 12px 50px;
}
.back-btn {
	font-size: 0;
    display: inline-block;
    width: 20px;
    height: 20px;
    vertical-align: middle;
    background-color: var(--black);
	transform: rotate(180deg);
    -webkit-mask: url('/wp-content/uploads/2025/02/arrow-right.svg') center / contain no-repeat;
    mask: url('/wp-content/uploads/2025/02/arrow-right.svg') center / contain no-repeat;
}

label.question {
	font-weight: var(--bold);
	font-size: calc(1.4rem * var(--form-scale));
	margin-bottom: 1.25rem;
}
p.tooltips {font-size: calc(1.1rem * var(--form-scale));}

.form-check:not(.other-label) input {
	opacity: 0;
    width: 100%;
    height: 80px;
    border-radius: 0;
    top: 0;
    left: 0;
    position: absolute;
    margin-top: -3px;
    margin-left: -1px;
}
.form-check:not(.checkboxes) {
    position: relative;
	font-size: calc(1rem * var(--form-scale));
    border: 1px solid var(--br-grey);
    text-align: left;
	min-height: 45px;
    padding: 0;
	margin-bottom: 1rem;
    border-radius: var(--br-sm);
	transition: transform 0.3s ease-out;
	-webkit-transition: transform 0.3s ease-out;
	outline: 1px solid transparent;
}
.form-check:has(input[type="checkbox"]) {padding-right: 2.4rem;}
.form-check:active {transform: scale(0.9);}
.form-check-label {
	font-size: calc(1.1rem * var(--form-scale));
	margin: .75rem 1rem;
	font-weight: var(--bold);
}
.form-check:not(.checkboxes):before {
	content: "";
	position: absolute;
	width: 20px;
    height: 20px;
	right: 0;
	margin-top: 14px;
	margin-right: 15px;
	border-radius: var(--br-sm);
	border: 1px solid var(--br-grey);
	transition: var(--transition);
	-webkit-transition: var(--transition);
}
.form-check:has(input[type="radio"]):before, .form-check.no-pre:before {content: none;}
.form-check:has(input[type="checkbox"]:checked):not(.checkboxes):before, .form-check.active-other:before, .form-check.pre-label.has-content:before {
	background: var(--green);
	border-color: var(--green);
}
.form-check:has(input[type="checkbox"]:checked):not(.checkboxes):after, .form-check.active-other:after, .form-check.pre-label.has-content:after {
	content: "";
	position: absolute;
	width: 15px;
    height: 16px;
	right: 0;
	top: 0;
	margin-top: 16px;
	margin-right: 17px;
	background-color: var(--white);
	-webkit-mask: url('/wp-content/uploads/2025/10/checkmark.svg') center / contain no-repeat;
}

.form-check input {font-size: calc(1.1rem * var(--form-scale));}
.form-check input[type=text] {
    padding: 1rem;
    background: none;
	border: none;
	height: 50px;
	font-weight: var(--bold);
}
.form-check input[type=text], .form-check input[type=text]::placeholder {color: var(--black);}
input.form-control[type=text]:focus {font-weight: var(--regular);}

.form-check-label, .form-check:hover, .form-check:focus {cursor: pointer;}
.form-check:hover, .form-check:has(input[type="radio"]:checked):not(.checkboxes), .form-check:has(input[type="checkbox"]:checked):not(.checkboxes), .form-check.active-other, .form-check:not(.checkboxes):hover, input:focus, input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="password"]:focus, input[type="reset"]:focus, input[type="search"]:focus, input[type="number"]:focus, textarea:focus {
	-moz-box-shadow:  0 3px 40px -1px rgba(26,26,26,.12);
	-webkit-box-shadow:  0 3px 40px -1px rgb(26 26 26 / 12%);
	box-shadow: 0 .6rem 2.4rem #0000001a;
}
.form-check:has(input[type="radio"]:checked):not(.checkboxes), .form-check:has(input[type="checkbox"]:checked):not(.checkboxes), .form-check.active-other, .form-check input.form-control[type=text]:focus, .form-check.has-content input.form-control[type=text] {
	border: 1.5px solid var(--green);
	outline: none;
}
.form-check input.form-control[type=text]:focus {box-shadow: none;}

.pre-icon + .form-check-label {padding-left: 1.25rem;}
.pre-label .form-control {padding-left: 2.25rem !important;}
.pre-label.no-p .form-control {padding-left: 1rem !important;}

.pre-icon:before {
	content: "";
	position: absolute;
	width: 20px;
    height: 20px;
	margin-top: 14px;
	margin-left: 10px;
	background-color: var(--blue2);
	transition: var(--transition);
	-webkit-transition: var(--transition);
}
.pre-icon.other:before {-webkit-mask: url('/wp-content/uploads/2025/10/other.svg') center / contain no-repeat;}
.pre-icon.none:before {-webkit-mask: url('/wp-content/uploads/2025/02/cross.svg') center / contain no-repeat;}
.pre-icon.unsure:before {-webkit-mask: url('/wp-content/uploads/2025/10/question-mark.svg') center / contain no-repeat;}

.pre-icon.paid-search:before {-webkit-mask: url('/wp-content/uploads/2025/09/paid-media.svg') center / contain no-repeat;}
.pre-icon.paid-social:before {-webkit-mask: url('/wp-content/uploads/2025/09/paid-social.svg') center / contain no-repeat;}
.pre-icon.seo:before {-webkit-mask: url('/wp-content/uploads/2025/10/search-engine-optimisation.svg') center / contain no-repeat;}
.pre-icon.cro:before {-webkit-mask: url('/wp-content/uploads/2025/10/conversion-rate.svg') center / contain no-repeat;}
.pre-icon.design-ux:before {-webkit-mask: url('/wp-content/uploads/2025/10/design-ux.svg') center / contain no-repeat;}

.pre-icon.google:before {-webkit-mask: url('/wp-content/uploads/2025/10/google.svg') center / contain no-repeat;}
.pre-icon.bing:before {-webkit-mask: url('/wp-content/uploads/2025/10/bing.svg') center / contain no-repeat;}
.pre-icon.fb:before {-webkit-mask: url('/wp-content/uploads/2025/10/facebook.svg') center / contain no-repeat;}
.pre-icon.ig:before {-webkit-mask: url('/wp-content/uploads/2025/10/instagram.svg') center / contain no-repeat;}

.small.security {
	font-size: .9rem;
	color: var(--grey);
	margin-top: 1rem;
    margin-left: 1.5rem;
}
.security:before {
	content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    margin-top: -2px;
	margin-left: -1.5rem;
    background-color: var(--br-grey);
    transition: var(--transition);
    -webkit-transition: var(--transition);
    -webkit-mask: url(/wp-content/uploads/2025/10/lock.svg) center / contain no-repeat;
}

/* Text fields */
input[type=email], input[type=number], input[type=password], input[type=reset], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea {
	height: 50px;
	color: var(--black);
	border: 1px solid var(--br-grey);
    border-radius: var(--br-sm) !important;
	background: transparent !important;
}
input:focus, input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="password"]:focus, input[type="reset"]:focus, input[type="search"]:focus, input[type="number"]:focus, textarea:focus {
	border-color: var(--br-grey);
}
input.active, input[type="text"].active, input[type="email"].active, input[type="url"].active, input[type="password"].active, input[type="reset"].active, input[type="search"].active, input[type="number"].active, textarea.active {
	border: 1.5px solid var(--green);
	background: transparent !important;
}

/* Error messages */
.loan-error {
	display: none;
    color: var(--error);
	margin-top: 1rem;
	text-align: left;
}

@media only screen and (min-width:992px) {
	input.form-control {font-size: 1.15rem;}
}