/* This file is enqueued only when the payment shortcode is rendered. */
.site-main.container {
	max-width: none;
	padding-right: 0 !important;
	padding-bottom: 0 !important;
	padding-left: 0 !important;
	background: #f0f6ff;
}

.gp-payment-page {
	position: relative;
	width: 100%;
	margin-left: 0;
	padding: 80px max(24px, calc((100vw - 1320px) / 2)) 110px;
	background: #f0f6ff;
	overflow: hidden;
}

.gp-form {
	position: relative;
	max-width: 900px;
	margin: 100px auto;
	padding: clamp(28px, 5vw, 56px);
	background: #fff;
	border: 1px solid #c3dbff;
	border-radius: 5px;
	color: #262d46;
	font-family: "DM Sans 36pt", "DM Sans", sans-serif;
	box-shadow: 0 10px 35px rgba(38, 45, 70, 0.08);
	z-index: 1;
}

.gp-payment-page .gp-form__decoration {
	position: absolute;
	z-index: 0;
	display: block;
	height: auto;
	max-width: none;
	pointer-events: none;
	user-select: none;
}

.gp-payment-page .gp-form__decoration--left {
	bottom: 0;
	left: 0;
	width: min(56vw, 875px);
	opacity: 0.72;
}

.gp-payment-page .gp-form__decoration--right {
	top: 0;
	right: 0;
	width: min(21vw, 317px);
	opacity: 0.78;
}

.gp-form::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 5px;
	background: #0056D2;
	content: "";
}

.gp-form .gp-form__intro {
	max-width: 670px;
	margin-bottom: 36px;
}

.gp-form .gp-form__eyebrow {
	display: block;
	margin-bottom: 8px;
	color: #0056D2;
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 0.06em;
	line-height: 1.4;
	text-transform: uppercase;
}

.gp-form .gp-form__intro h1 {
	margin: 0;
	color: #262d46;
	font-family: inherit;
	font-size: clamp(30px, 4vw, 40px);
	font-weight: 700;
	letter-spacing: -0.72px;
	line-height: 1.2;
}

.gp-form .gp-form__intro p {
	margin: 0;
	color: #71759c;
	font-size: 18px;
	line-height: 1.65;
}

.gp-form .gp-form__fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px 28px;
}

.gp-form .gp-form__field {
	margin: 0;
}

.gp-form .gp-form__field--full {
	grid-column: 1 / -1;
}

.gp-form .gp-form__field--invoice[hidden] {
	display: none;
}

.gp-form label {
	display: block;
	margin-bottom: 9px;
	color: #262d46;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.4;
}

.gp-form .gp-form__required {
	color: #d63638;
	font-weight: 700;
}

.gp-form .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
	white-space: nowrap;
}

.gp-form .gp-form__help {
	margin: 8px 0 0;
	color: #71759c;
	font-size: 15px;
	line-height: 1.45;
}

.gp-form .gp-form__help span {
	color: #d63638;
	font-weight: 700;
}

.gp-form input,
.gp-form select,
.gp-form textarea {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 0 16px;
	background: #fff;
	border: 1px solid #c3dbff;
	border-radius: 5px;
	box-shadow: none;
	color: #262d46;
	font: inherit;
	font-size: 17px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gp-form input,
.gp-form select {
	height: 54px;
}

.gp-form textarea {
	min-height: 120px;
	padding-top: 14px;
	padding-bottom: 14px;
	resize: vertical;
}

.gp-form input:focus,
.gp-form select:focus,
.gp-form textarea:focus {
	border-color: #0056D2;
	box-shadow: 0 0 0 3px rgba(0, 86, 210, 0.12);
	outline: 0;
}

.gp-form .gp-form__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 54px;
	margin-top: 32px;
	padding: 12px 24px;
	background: #0056D2;
	border: 1px solid #0056D2;
	border-radius: 5px;
	color: #fff;
	font: inherit;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.5;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.gp-form .gp-form__submit:hover,
.gp-form .gp-form__submit:focus {
	background: #fff;
	border-color: #0056D2;
	color: #0056D2;
}

.gp-form .gp-form__submit:hover span,
.gp-form .gp-form__submit:focus span {
	color: #0056D2;
}

.gp-form .gp-form__submit:focus {
	outline: 3px solid rgba(0, 86, 210, 0.2);
	outline-offset: 2px;
}

.gp-form .gp-form__submit span {
	font-size: 23px;
	font-weight: 400;
	line-height: 1;
	color: #fff;
}

@media (max-width: 767px) {
	.gp-payment-page {
		padding: 40px 18px 70px;
	}

	.gp-form {
		margin: 100px auto;
	}

	.gp-form .gp-form__fields {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.gp-form .gp-form__submit {
		width: 100%;
	}

	.gp-payment-page .gp-form__decoration--left {
		left: -35%;
		width: 120%;
		opacity: 0.32;
	}

	.gp-payment-page .gp-form__decoration--right {
		right: -12%;
		width: 45%;
		opacity: 0.4;
	}
}
