:root {
	--rg-withdrawal-primary: #0079b0;
	--rg-withdrawal-ink: #24313a;
	--rg-withdrawal-muted: #68747d;
	--rg-withdrawal-line: #d7dee3;
	--rg-withdrawal-surface: #fbfaf7;
}

.rg-withdrawal-page {
	background:
		linear-gradient(180deg, rgb(255 255 255 / 78%), rgb(255 255 255 / 92%)),
		repeating-linear-gradient(135deg, #f5f1e9 0, #f5f1e9 12px, #f1ece2 12px, #f1ece2 24px);
	padding: 42px 18px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--rg-withdrawal-ink);
}

.rg-withdrawal-card {
	max-width: 820px;
	margin: 0 auto;
	border: 1px solid #e2ddd3;
	border-radius: 10px;
	background: var(--rg-withdrawal-surface);
	box-shadow: 0 18px 44px rgb(51 43 31 / 12%);
	overflow: hidden;
}

.rg-withdrawal-card-header {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 24px;
	align-items: end;
	border-bottom: 1px solid #e4ded4;
	padding: 34px 38px 28px;
	background: #fffdf8;
	text-align: left;
}

.rg-withdrawal-logo {
	width: 46px;
	height: 46px;
	border: 2px solid var(--rg-withdrawal-primary);
	border-radius: 50%;
	background:
		linear-gradient(90deg, transparent 44%, var(--rg-withdrawal-primary) 44%, var(--rg-withdrawal-primary) 56%, transparent 56%),
		linear-gradient(0deg, transparent 44%, var(--rg-withdrawal-primary) 44%, var(--rg-withdrawal-primary) 56%, transparent 56%);
	opacity: 0.9;
}

.rg-withdrawal-card h1 {
	margin: 0;
	color: #17242c;
	font-size: 32px;
	font-weight: 750;
	line-height: 1.15;
	letter-spacing: 0;
	overflow-wrap: anywhere;
}

.rg-withdrawal-card-header p {
	max-width: 560px;
	margin: 10px 0 0;
	color: var(--rg-withdrawal-muted);
	font-size: 17px;
	line-height: 1.5;
}

.rg-withdrawal-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px 22px;
	padding: 34px 38px 38px;
}

.rg-withdrawal-label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: -10px;
	color: #34434d;
	font-size: 15px;
	font-weight: 750;
	line-height: 1.25;
}

.rg-withdrawal-label span {
	display: inline-flex;
	align-items: center;
	border: 1px solid #e1d8cb;
	border-radius: 4px;
	background: #f2eadf;
	padding: 2px 7px;
	color: #6f5a43;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
}

.rg-withdrawal-form input,
.rg-withdrawal-form textarea {
	box-sizing: border-box;
	width: 100%;
	border: 1px solid var(--rg-withdrawal-line);
	border-radius: 8px;
	background: #fff;
	padding: 13px 14px;
	color: var(--rg-withdrawal-ink);
	font: inherit;
	font-size: 16px;
	outline: none;
	transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.rg-withdrawal-form input {
	min-height: 48px;
}

.rg-withdrawal-form textarea,
.rg-withdrawal-captcha,
.rg-withdrawal-submit {
	grid-column: 1 / -1;
}

.rg-withdrawal-form textarea {
	min-height: 118px;
	resize: vertical;
}

.rg-withdrawal-form input:focus,
.rg-withdrawal-form textarea:focus {
	border-color: var(--rg-withdrawal-primary);
	background: #fff;
	box-shadow: 0 0 0 4px rgb(0 121 176 / 12%);
}

.rg-withdrawal-hidden {
	position: absolute;
	left: -10000px;
	width: 1px !important;
	height: 1px !important;
	opacity: 0;
}

.rg-withdrawal-captcha {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	border: 1px dashed #cfd6dc;
	border-radius: 8px;
	background: #fff;
	padding: 15px 16px;
}

.rg-withdrawal-shield {
	display: none;
}

.rg-withdrawal-captcha-body {
	display: contents;
}

.rg-withdrawal-captcha strong {
	color: #3b4650;
	font-size: 15px;
	font-weight: 700;
}

.rg-withdrawal-captcha label {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	border-radius: 999px;
	background: #eef3f6;
	padding: 9px 14px;
	color: #25323c;
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
}

.rg-withdrawal-captcha input {
	width: 18px;
	min-height: auto;
	accent-color: var(--rg-withdrawal-primary);
}

.rg-withdrawal-submit,
.rg-withdrawal-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 8px;
	background: var(--rg-withdrawal-primary);
	color: #fff;
	padding: 14px 20px;
	font-size: 16px;
	font-weight: 750;
	text-decoration: none;
	cursor: pointer;
	transition: transform 140ms ease, filter 140ms ease;
}

.rg-withdrawal-submit {
	justify-self: end;
	min-width: 230px;
	min-height: 52px;
}

.rg-withdrawal-button {
	width: fit-content;
	min-height: 44px;
}

.rg-withdrawal-submit:hover,
.rg-withdrawal-submit:focus,
.rg-withdrawal-button:hover,
.rg-withdrawal-button:focus {
	color: #fff;
	filter: brightness(0.94);
	transform: translateY(-1px);
}

.rg-withdrawal-footer-link {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 9998;
}

.rg-withdrawal-button-footer {
	box-shadow: 0 10px 24px rgb(0 0 0 / 18%);
}

.rg-withdrawal-legal {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 32px;
	color: #77716a;
	font-size: 15px;
}

.rg-withdrawal-legal a {
	color: inherit;
	text-decoration: none;
}

.rg-withdrawal-legal a:hover {
	color: var(--rg-withdrawal-primary);
}

.rg-withdrawal-notice {
	max-width: 820px;
	border-radius: 8px;
	margin: 24px auto;
	padding: 16px 18px;
	font-size: 16px;
}

.rg-withdrawal-success {
	border: 1px solid #86b995;
	background: #f0f8f2;
}

.rg-withdrawal-error {
	border: 1px solid #d28f8f;
	background: #fff4f4;
}

@media (max-width: 720px) {
	.rg-withdrawal-page {
		padding: 18px 10px 22px;
	}

	.rg-withdrawal-card {
		border-radius: 8px;
	}

	.rg-withdrawal-card-header {
		grid-template-columns: 1fr;
		align-items: start;
		padding: 26px 20px;
	}

	.rg-withdrawal-logo {
		order: -1;
	}

	.rg-withdrawal-card h1 {
		font-size: 28px;
	}

	.rg-withdrawal-form {
		grid-template-columns: 1fr;
		padding: 24px 20px 26px;
	}

	.rg-withdrawal-label {
		margin-bottom: -8px;
	}

	.rg-withdrawal-captcha {
		align-items: flex-start;
		flex-direction: column;
	}

	.rg-withdrawal-submit {
		justify-self: stretch;
		min-width: 0;
	}

	.rg-withdrawal-footer-link {
		right: 12px;
		bottom: 12px;
		left: 12px;
	}

	.rg-withdrawal-button-footer {
		width: 100%;
	}
}
