/* General */
html,
body {
	overflow: hidden;
	margin: 0;
	padding: 0;
}

:focus {
	outline: 2px solid #36f;
	outline-offset: 0.0625rem;
	border-radius: 0.125rem;
}

.form-container form {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

/* Input errors */
.item-error {
	font-family: "SantanderMicroText", Arial, sans-serif;
	font-size: 0.875rem;
	font-style: normal;
	font-weight: 400;
	color: #900;
	display: none;
	align-items: center;
	gap: 0.375rem;
	margin: 0.375rem 0;
}

/* Input text */
.sp-input-label {
	color: #222;
	font-family: "SantanderMicroText", Arial, sans-serif;
	font-size: 1rem;
	line-height: 1.25rem;
}

input:-internal-autofill-selected,
input:-webkit-autofill {
	background-color: #ffffff !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
	-webkit-box-shadow: 0 0 0 30px white inset !important;
}

input[type="text"] {
	border-radius: 0.5rem;
	border: 0.0625rem solid #8f8f8f;
	background: #fff;
	box-shadow: 0px 0px 0px 0px rgba(68, 68, 68, 0);
	color: #222;
	font-family: "SantanderMicroText", Arial, sans-serif;
	min-height: 3rem;
	padding: 0 0 0 0.75rem;
	width: calc(100% - 1.375rem);
	margin-top: 0.25rem;
	margin-left: 0.25rem;
	font-size: 1rem;
	line-height: 1.5rem;
}

input[type="text"]::placeholder {
	color: #767676;
}

.input-error {
	border: 1px solid #900 !important;
}

/* Submit button - red */
.sp-btn-red {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	display: flex;
	text-decoration: none;
	padding: 1rem 2rem;
	width: 100%;
	justify-content: center;
	gap: 0.5rem;
	border-radius: 3.125rem;
	box-shadow: 0px 1px 6px 0px #a3a3a366;
	box-sizing: border-box;
	cursor: pointer;
	background-color: #ec0000;
	font-family: "SantanderMicroText", Arial, sans-serif;
	font-size: 1rem;
	font-weight: 700;
	color: #fff;
	border: 0;
	transition: background 0.8s;
}

.sp-btn-red:focus,
.sp-btn-red:hover,
.sp-btn-red:active {
	background-color: #cc0000;
	background: #cc0000 radial-gradient(circle, transparent 1%, #ec0000 1%) center/15000%;
	background-size: 100%;
	transition: background 0.001s;
}

/* Submit button - white */
.sp-btn-white {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	width: 100%;
	max-width: 14.0625rem;
	height: 3rem;
	padding: 0;
	display: block;
	border-radius: 1.8125rem;
	cursor: pointer;
	background-color: #fff;
	font-family: "SantanderMicroText", Arial, sans-serif;
	font-size: 1rem;
	font-weight: 700;
	color: #222;
	border: 0;
}

.sp-btn-white:focus,
.sp-btn-white:hover,
.sp-btn-white:active {
	background: #fff;
}

/* Terms and conditions */
#open-popin,
.open-popin {
	font-weight: bold;
	cursor: pointer;
	text-decoration: none;
	font-family: "SantanderMicroText", Arial, sans-serif;
	display: flex;
	align-items: flex-start;
	gap: 0.25rem;
	border-radius: 0.125rem;
	color: #127277;
	font-size: 0.875rem;
	line-height: 1.25rem;
	width: fit-content;
	margin: 0 0.25rem;
}

/* Checkbox */
input[type="checkbox"] {
	display: none;
}

input[type="checkbox"] + label {
	color: #222;
	font-family: "SantanderMicroText", Arial, sans-serif;
	font-size: 1rem;
	text-align: left;
	display: flex;
	/* width: 1.375rem; */
	height: 1.375rem;
	margin: 0px 0.625rem 0 0.25rem;
}

input[type="checkbox"] + label span.check {
	font-size: 1.5rem;
	border: 0.0625rem solid #aaaaaa;
	border-radius: 0.1875rem;
	background: #fff;
	display: inline-block;
	width: 1.25rem;
	height: 1.25rem;
	cursor: pointer;
}

.label-text {
	display: inline-block;
	width: calc(100% - 35px);
	vertical-align: top;
	color: #222;
	font-family: "SantanderMicroText", Arial, sans-serif;
	font-size: 0.875rem;
}

input[type="checkbox"] + label span.check:after {
	width: 0.25rem;
	height: 0.5rem;
	border: solid white;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
	content: "";
	display: none;
	margin: 0.1875rem 0 0 0.4375rem;
}

input[type="checkbox"]:checked + label span.check {
	background: #127277;
	border: 1px solid #127277;
}

input[type="checkbox"]:checked + label span.check:after {
	display: block;
}

.body-container {
	width: 100%;
	margin: auto;
	padding: 0 0 0.9375rem;
	box-sizing: border-box;
}

.form-info {
	display: flex;
	padding: 1rem;
	align-items: flex-start;
	gap: 0.5rem;
	flex: 1 0 0;
	border-radius: 0.5rem;
	background-color: #f5f9fb;
	color: #222;
	box-shadow: 0px 0px 0px 0px rgba(255, 255, 255, 0);
}

.form-consent {
	display: grid;
	gap: 1rem;
	color: #222;
}

.form-item-check {
	display: flex;
	color: #222;
}

.form-item-submit {
	margin: 0 0.25rem;
}

.g-recaptcha {
	position: absolute;
	visibility: hidden;
	margin: 0 0.25rem;
}

/* texts  */
h3 {
	font-family: "SantanderMicroText", Arial, sans-serif;
	font-weight: 700;
	line-height: 2rem;
	font-size: 1.75rem;
	margin: 24px 0 0;
	padding: 0;
	color: #222;
}

p,
.sp-text {
	font-family: "SantanderMicroText", Arial, sans-serif;
	font-size: 1rem;
	line-height: 1.5rem;
	font-weight: 400;
	margin: 10px 0;
	padding: 0;
	color: #222;
}
