@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
	--gdc-vlla-font: 'Poppins', 'Segoe UI', sans-serif;
	--gdc-vlla-bg: #f3f5fb;
	--gdc-vlla-surface: #ffffff;
	--gdc-vlla-surface-soft: #f7f8fc;
	--gdc-vlla-border: #dce2f1;
	--gdc-vlla-text: #1f2f67;
	--gdc-vlla-muted: #62708f;
	--gdc-vlla-accent: #5649ff;
	--gdc-vlla-shadow-sm: 0 8px 22px rgba(9, 14, 25, 0.08);
	--gdc-vlla-shadow-md: 0 14px 30px rgba(9, 14, 25, 0.12);
}

body.gdc-vlla-wall-active {
	overflow: hidden;
}

.gdc-vlla-wall {
	position: fixed;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 14px;
	overflow-y: auto;
	z-index: 999999;
	background:
		radial-gradient(65% 55% at 0% 0%, rgba(137, 218, 215, 0.22), transparent 60%),
		radial-gradient(50% 40% at 100% 100%, rgba(98, 117, 255, 0.18), transparent 60%),
		rgba(8, 15, 35, 0.52);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

.gdc-vlla-wall-visible {
	display: flex;
}

.gdc-vlla-wall-inner {
	position: relative;
	width: 35%;
	min-width: 360px;
	max-width: 620px;
	max-height: none;
	overflow: hidden;
	margin: auto;
	padding: clamp(18px, 2vw, 28px) clamp(18px, 2.5vw, 34px) clamp(18px, 2vw, 26px);
	border-radius: 24px;
	/* background: linear-gradient(140deg, #f7fbff 0%, #f4f7ff 46%, #fbfcff 100%); */
	background: white;
	border: 1px solid #e1e8fb;
	box-shadow: 0 14px 30px rgba(9, 14, 25, 0.1);
	box-sizing: border-box;
	font-family: var(--gdc-vlla-font);
	isolation: isolate;
	overscroll-behavior: contain;
}

.gdc-vlla-wall-inner::before,
.gdc-vlla-wall-inner::after {
	content: '';
	position: absolute;
	pointer-events: none;
	z-index: 0;
}

.gdc-vlla-wall-inner::before {
	top: -68px;
	left: -82px;
	width: 230px;
	height: 230px;
	background: radial-gradient(circle at center, rgba(147, 244, 225, 0.32) 0%, rgba(147, 244, 225, 0) 70%);
}

.gdc-vlla-wall-inner::after {
	right: -68px;
	bottom: -76px;
	width: 260px;
	height: 260px;
	background: radial-gradient(circle at center, rgba(149, 175, 255, 0.2) 0%, rgba(149, 175, 255, 0) 72%);
}

.gdc-vlla-wall-inner > * {
	position: relative;
	z-index: 1;
}

.gdc-vlla-wall-logo {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	margin: 0 0 14px;
}

.gdc-vlla-wall-logo-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	max-width: min(220px, 72%);
	text-decoration: none;
}

.gdc-vlla-wall-logo-img {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 58px;
	object-fit: contain;
}

.gdc-vlla-wall-inner h2 {
	margin: 0;
	font-size: 22px;
	line-height: 1.12;
	font-weight: 500;
	letter-spacing: -0.02em;
	color: #12172a;
}

.gdc-vlla-wall-inner > p {
	margin: 8px 0 0;
	font-size: clamp(13px, 0.9vw, 16px);
	font-weight: 400;
	line-height: 1.5;
	color: var(--gdc-vlla-muted);
}

.gdc-vlla-tabs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	width: min(640px, 100%);
	gap: 4px;
	padding: 4px;
	margin: 16px 0;
	border-radius: 999px;
	border: 1px solid #ccd6e9;
	background: #e4eaf54a;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.gdc-vlla-tab-btn {
	border: 0;
	min-width: 0;
	padding: 10px 12px;
	border-radius: 999px;
	background: transparent;
	color: #4f5c7f;
	font-family: var(--gdc-vlla-font);
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	cursor: pointer;
	transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.gdc-vlla-tab-btn.active {
	background: linear-gradient(155deg, #6f63ff 0%, #4f3bff 100%);
	color: #fff;
	box-shadow: 0 8px 14px rgba(86, 73, 255, 0.26);
}

.gdc-vlla-tab-btn:not(.active):hover {
	background: rgba(255, 255, 255, 0.65);
	color: #2f3d66;
}

.gdc-vlla-tab-panels {
	position: relative;
	overflow: hidden;
	transition: height 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.gdc-vlla-tab-panel {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 0;
	display: block;
	width: 100%;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(10px) scale(0.985);
	transition: opacity 0.18s ease, transform 0.24s ease, visibility 0s linear 0.24s;
}

.gdc-vlla-tab-panel.active {
	position: relative;
	z-index: 1;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0) scale(1);
	transition: opacity 0.22s ease 0.06s, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1) 0.06s;
}

.gdc-vlla-tab-panels.is-switching .gdc-vlla-tab-panel {
	will-change: opacity, transform;
}

@media (prefers-reduced-motion: reduce) {
	.gdc-vlla-tab-panels,
	.gdc-vlla-tab-panel,
	.gdc-vlla-tab-panel.active {
		transition: none;
	}
}

.gdc-vlla-form {
	max-width: 100%;
	margin: 0 auto;
	padding: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
}

.gdc-vlla-register-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 12px;
	row-gap: 10px;
}

.gdc-vlla-register-form .gdc-vlla-row {
	margin-bottom: 0;
}

.gdc-vlla-register-form .gdc-vlla-full-row {
	grid-column: 1 / -1;
}

.gdc-vlla-register-form .gdc-vlla-half-row {
	grid-column: span 1;
}

.gdc-vlla-register-form .gdc-vlla-btn {
	grid-column: 1 / -1;
	margin-top: 2px;
}

.gdc-vlla-row {
	margin-bottom: 14px;
}

.gdc-vlla-row > label {
	display: block;
	margin-bottom: 6px;
	color: #6f7b99;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.3;
}

.gdc-vlla-row > label input[type='checkbox'] {
	margin-right: 8px;
	transform: translateY(1px);
}

.gdc-vlla-row input[type='text'],
.gdc-vlla-row input[type='email'],
.gdc-vlla-row input[type='password'] {
	width: 100%;
	height: 45px;
	padding: 0 12px;
	border-radius: 10px;
	border: 1px solid #c4cedf;
	color: #1b243d;
	font-family: var(--gdc-vlla-font);
	font-size: 14px;
	font-weight: 400;
	box-sizing: border-box;
	transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.gdc-vlla-field {
	position: relative;
}

.gdc-vlla-field input[type='text'],
.gdc-vlla-field input[type='email'],
.gdc-vlla-field input[type='password'] {
	padding-top: 12px;
}

.gdc-vlla-field input::placeholder {
	color: transparent;
}

.gdc-vlla-field-label {
	position: absolute;
	left: 16px;
	top: 50%;
	max-width: calc(100% - 56px);
	padding: 0 6px;
	border-radius: 6px;
	transform: translateY(-50%);
	color: #6f7b99;
	font-size: 14px;
	font-weight: 400;
	line-height: 1;
	background: transparent;
	pointer-events: none;
	transition: top 0.16s ease, transform 0.16s ease, font-size 0.16s ease, color 0.16s ease, background-color 0.16s ease;
}

.gdc-vlla-field input:focus ~ .gdc-vlla-field-label,
.gdc-vlla-field input:not(:placeholder-shown) ~ .gdc-vlla-field-label {
	top: 0;
	transform: translateY(-55%);
	font-size: 13px;
	color: #5a4ff0;
	background-color: #f7fbff;
}

.gdc-vlla-row input:focus {
	outline: none;
}

.gdc-vlla-row input:focus-visible {
	border-color: rgba(90, 79, 240, 0.48);
	background: #f9fbff;
	box-shadow: 0 0 0 3px rgba(90, 79, 240, 0.12);
}

.gdc-vlla-field input:not(:placeholder-shown) {
	border-color: rgba(90, 79, 240, 0.34);
}

.gdc-vlla-password-field {
	position: relative;
	display: block;
}

.gdc-vlla-toggle-password {
	position: absolute;
	top: 50%;
	right: 12px;
	transform: translateY(-50%);
	width: 30px;
	height: 30px;
	padding: 0;
	border-radius: 10px;
	border: 0;
	background: transparent;
	color: #586487;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.gdc-vlla-password-field input[type='password'],
.gdc-vlla-password-field input[type='text'] {
	padding-right: 46px;
}

.gdc-vlla-toggle-password::before {
	content: '';
	width: 20px;
	height: 20px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 20px 20px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23616c8c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-6 10-6 10 6 10 6-3.5 6-10 6-10-6-10-6z'/%3E%3Ccircle cx='12' cy='12' r='2.7'/%3E%3C/svg%3E");
}

.gdc-vlla-toggle-password::after {
	content: none;
}

.gdc-vlla-toggle-password:hover,
.gdc-vlla-toggle-password:focus-visible {
	background: rgba(79, 59, 255, 0.08);
	color: #3a2fff;
}

.gdc-vlla-toggle-password.is-visible::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a2fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-6 10-6 10 6 10 6-3.5 6-10 6-10-6-10-6z'/%3E%3Ccircle cx='12' cy='12' r='2.7'/%3E%3C/svg%3E");
}

.gdc-vlla-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.gdc-vlla-inline-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.gdc-vlla-inline-row label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 14px;
	font-weight: 400;
}

.gdc-vlla-inline-row input[type='checkbox'] {
	width: 20px;
	height: 20px;
	accent-color: var(--gdc-vlla-accent);
}

.gdc-vlla-inline-row a {
	color: #3a5ec2;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
}

.gdc-vlla-inline-row a:hover,
.gdc-vlla-inline-row a:focus-visible {
	text-decoration: underline;
}

.gdc-vlla-btn {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 45px;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(160deg, #6d61ff 0%, #4f3bff 100%);
	color: #fff;
	font-family: var(--gdc-vlla-font);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: 0 10px 18px rgba(86, 73, 255, 0.24);
}

.gdc-vlla-btn:hover {
	transform: translateY(-1px);
}

.gdc-vlla-message {
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
	padding: 10px 12px;
	margin: 0 0 10px;
	border-radius: 10px;
}

.gdc-vlla-success {
	background: #eaf9f0;
	color: #105c3a;
	border: 1px solid #b7ebcf;
}

.gdc-vlla-error {
	background: #ffeef0;
	color: #8a1e2e;
	border: 1px solid #f5c2c7;
}

.gdc-vlla-privacy-text {
	margin: 14px 0 0;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.5;
	color: #7a8396;
}

.gdc-vlla-hp-row {
	position: absolute;
	left: -9999px;
	top: -9999px;
	height: 0;
	opacity: 0;
	overflow: hidden;
}

.gdc-vlla-wall-inline {
	position: relative;
	inset: auto;
	display: block;
	padding: 0;
	background: transparent;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

.gdc-vlla-wall-inline .gdc-vlla-wall-inner {
	width: min(980px, 100%);
	min-width: 0;
	max-height: none;
	margin: 16px auto;
	border-radius: 20px;
}

.gdc-vlla-protected-content {
	filter: blur(3px);
	pointer-events: none;
	user-select: none;
}

@media (max-width: 1024px) {
	.gdc-vlla-wall-inner {
		width: 70%;
		min-width: 0;
		max-width: none;
	}
}

@media (max-width: 860px) {
	.gdc-vlla-wall-inner {
		border-radius: 20px;
		padding: 12px;
	}

	.gdc-vlla-tabs {
		display: flex;
		width: 100%;
	}

	.gdc-vlla-tab-btn {
		flex: 1;
		min-width: 0;
	}

	.gdc-vlla-wall-logo {
		margin-bottom: 10px;
	}

	.gdc-vlla-wall-logo-img {
		max-height: 46px;
	}

	.gdc-vlla-password-field {
		display: block;
	}

	.gdc-vlla-inline-row {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (max-width: 768px) {
	.gdc-vlla-wall {
		align-items: center;
		padding: 8px;
	}

	.gdc-vlla-wall-inner {
		width: 100%;
		min-width: 0;
		max-width: 560px;
		max-height: none;
		margin: auto;
		padding: 14px;
		border-radius: 16px;
	}

	.gdc-vlla-wall-inner h2 {
		font-size: 22px;
		line-height: 1.18;
	}

	.gdc-vlla-wall-inner > p {
		font-size: 14px;
		line-height: 1.45;
	}

	.gdc-vlla-tabs {
		margin: 14px 0;
	}

	.gdc-vlla-tab-btn {
		min-height: 40px;
		padding: 9px 8px;
		font-size: 13px;
		line-height: 1.15;
		white-space: nowrap;
	}

	.gdc-vlla-register-form {
		grid-template-columns: 1fr;
		row-gap: 10px;
	}

	.gdc-vlla-register-form .gdc-vlla-half-row {
		grid-column: 1 / -1;
	}

	.gdc-vlla-row {
		margin-bottom: 12px;
	}

	.gdc-vlla-row input[type='text'],
	.gdc-vlla-row input[type='email'],
	.gdc-vlla-row input[type='password'],
	.gdc-vlla-btn {
		height: 44px;
	}
}

@media (max-width: 380px) {
	.gdc-vlla-wall-inner {
		padding: 12px 10px;
	}

	.gdc-vlla-wall-inner h2 {
		font-size: 20px;
	}

	.gdc-vlla-wall-logo-img {
		max-height: 40px;
	}

	.gdc-vlla-tab-btn {
		padding: 8px 6px;
		font-size: 12px;
	}

	.gdc-vlla-field-label,
	.gdc-vlla-row > label {
		font-size: 13px;
	}

	.gdc-vlla-btn {
		font-size: 13px;
		letter-spacing: 0.06em;
	}
}
