#vx-auth-overlay{
	--vx-auth-blue: #0047AB;
	--vx-auth-blue-dark: #002F6C;
	--vx-auth-yellow: #FFCC00;
	--vx-auth-ink: #0f172a;
	--vx-auth-muted: #475569;
	--vx-auth-border: rgba(15,23,42,.12);
	--vx-auth-panel: rgba(255,255,255,.92);
	--vx-auth-shadow: 0 18px 55px rgba(2,6,23,.20);
	--vx-auth-shadow-soft: 0 10px 30px rgba(2,6,23,.12);
	--vx-auth-focus: 0 0 0 3px rgba(0,71,171,.18);

	position: fixed;
	inset: 0;
	background: rgba(2,6,23,.55);
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
	z-index: 9999;
	backdrop-filter: blur(4px);
}

#vx-auth-overlay[data-open="true"]{
	display: flex;
}

#vx-auth-overlay .vx-auth-panel{
	width: 100%;
	max-width: 460px;
	border-radius: 18px;
	border: 1px solid var(--vx-auth-border);
	background: var(--vx-auth-panel);
	box-shadow: var(--vx-auth-shadow);
	color: var(--vx-auth-ink);
	padding: 22px 22px 20px;
	min-height: 500px;
}

#vx-auth-overlay .vx-auth-header{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(15,23,42,.08);
}

#vx-auth-overlay .vx-auth-title{
	font-weight: 900;
	letter-spacing: .2px;
	display: flex;
	align-items: center;
	gap: 10px;
}

#vx-auth-overlay .vx-auth-title::before{
	content: "";
	width: 10px;
	height: 10px;
	border-radius: 999px;
	background: var(--vx-auth-yellow);
	box-shadow: 0 0 0 4px rgba(255,204,0,.18);
}

#vx-auth-overlay .vx-auth-close{
	border: 1px solid rgba(15,23,42,.12);
	background: rgba(255,255,255,.75);
	color: var(--vx-auth-ink);
	border-radius: 12px;
	padding: 8px 12px;
	cursor: pointer;
	font-weight: 800;
	transition: transform .08s ease, box-shadow .18s ease, background .18s ease;
}

#vx-auth-overlay .vx-auth-close:hover{
	transform: translateY(-1px);
	box-shadow: var(--vx-auth-shadow-soft);
	background: rgba(255,255,255,.92);
}

#vx-auth-overlay .vx-auth-close:focus-visible{
	outline: none;
	box-shadow: var(--vx-auth-focus);
}

#vx-auth-overlay .vx-auth-body{
	margin-top: 14px;
}

#vx-auth-overlay .vx-auth-note{
	color: var(--vx-auth-muted);
	font-size: .98rem;
	line-height: 1.45;
	text-align: center;
}

#vx-auth-overlay .vx-google-brand{
	font-weight: 900;
	letter-spacing: .2px;
}

#vx-auth-overlay .g-blue{
	color: #4285F4;
}

#vx-auth-overlay .g-red{
	color: #EA4335;
}

#vx-auth-overlay .g-yellow{
	color: #FBBC05;
}

#vx-auth-overlay .g-green{
	color: #34A853;
}

#vx-auth-overlay .vx-auth-google-slot{
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 56px;
	margin: 6px auto 12px;
}

#vx-auth-overlay .vx-auth-google-slot > div{
	width: 360px;
	max-width: 100%;
	margin: 0 auto;
}

#vx-auth-overlay .vx-auth-google-slot iframe{
	width: 100% !important;
	max-width: 360px !important;
	min-height: 46px;
	margin: 0 auto;
}

#vx-auth-overlay .vx-auth-divider{
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 8px 0 10px;
	color: var(--vx-auth-muted);
	font-size: .85rem;
}

#vx-auth-overlay .vx-auth-divider::before,
#vx-auth-overlay .vx-auth-divider::after{
	content: "";
	flex: 1 1 auto;
	height: 1px;
	background: rgba(15,23,42,.15);
}

#vx-auth-overlay .vx-auth-form{
	display: flex;
	flex-direction: column;
	gap: 10px;
}

#vx-auth-overlay .vx-auth-label{
	font-weight: 700;
	font-size: .92rem;
	color: var(--vx-auth-ink);
}

#vx-auth-overlay .vx-auth-verify{
	display: flex;
	flex-direction: column;
	gap: 8px;
}

#vx-auth-overlay .vx-auth-verify-title{
	font-weight: 900;
	font-size: 1.05rem;
	color: var(--vx-auth-ink);
}

#vx-auth-overlay .vx-auth-input{
	width: 100%;
	border: 1px solid rgba(15,23,42,.18);
	background: #ffffff;
	color: var(--vx-auth-ink);
	border-radius: 10px;
	padding: 10px 12px;
	font-size: .95rem;
}

#vx-auth-overlay .vx-auth-input:focus{
	outline: none;
	border-color: var(--vx-auth-blue);
	box-shadow: var(--vx-auth-focus);
}

#vx-auth-overlay .vx-auth-password-row{
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 8px;
	align-items: center;
}

#vx-auth-overlay .vx-auth-password-toggle{
	border: 1px solid rgba(15,23,42,.16);
	background: #ffffff;
	color: var(--vx-auth-blue);
	font-weight: 800;
	border-radius: 10px;
	padding: 10px 12px;
	cursor: pointer;
}

#vx-auth-overlay .vx-auth-password-toggle:focus-visible{
	outline: none;
	box-shadow: var(--vx-auth-focus);
}

#vx-auth-overlay .vx-auth-check-row{
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: .9rem;
	line-height: 1.4;
	color: var(--vx-auth-muted);
}

#vx-auth-overlay .vx-auth-check-row input{
	margin-top: 2px;
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
	accent-color: var(--vx-auth-blue);
}

#vx-auth-overlay .vx-auth-check-row a{
	color: var(--vx-auth-blue);
	text-decoration: none;
	font-weight: 700;
}

#vx-auth-overlay .vx-auth-check-row a:hover{
	text-decoration: underline;
}

#vx-auth-overlay .vx-auth-check-row a:focus-visible{
	outline: none;
	box-shadow: var(--vx-auth-focus);
	border-radius: 6px;
}

#vx-auth-overlay .vx-auth-submit{
	margin-top: 2px;
	border: 1px solid var(--vx-auth-blue);
	background: var(--vx-auth-blue);
	color: #ffffff;
	border-radius: 10px;
	padding: 10px 14px;
	font-weight: 900;
	cursor: pointer;
}

#vx-auth-overlay .vx-auth-submit:disabled{
	opacity: .7;
	cursor: wait;
}

#vx-auth-overlay .vx-auth-submit:focus-visible{
	outline: none;
	box-shadow: var(--vx-auth-focus);
}

#vx-auth-overlay .vx-auth-submit-secondary{
	border: 1px solid rgba(15,23,42,.18);
	background: #ffffff;
	color: var(--vx-auth-blue);
	border-radius: 10px;
	padding: 10px 14px;
	font-weight: 800;
	cursor: pointer;
}

#vx-auth-overlay .vx-auth-submit-secondary:disabled{
	opacity: .65;
	cursor: not-allowed;
}

#vx-auth-overlay .vx-auth-submit-secondary:focus-visible{
	outline: none;
	box-shadow: var(--vx-auth-focus);
}

#vx-auth-overlay .vx-auth-message{
	min-height: 1.2em;
	color: var(--vx-auth-muted);
	font-size: .9rem;
	line-height: 1.35;
}

#vx-auth-overlay .vx-auth-message[data-state="error"]{
	color: #b91c1c;
}

#vx-auth-overlay .vx-auth-message[data-state="ok"]{
	color: #166534;
}

#vx-auth-overlay .vx-auth-message-block{
	padding: 10px 12px;
	border-radius: 10px;
	background: rgba(15,23,42,.05);
	min-height: 42px;
}

#vx-auth-overlay .vx-auth-message-block[data-state="error"]{
	background: rgba(185,28,28,.09);
}

#vx-auth-overlay .vx-auth-message-block[data-state="ok"]{
	background: rgba(22,101,52,.09);
}

#vx-auth-overlay .vx-auth-action-stack{
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 8px;
}

#vx-auth-overlay .vx-auth-reset-actions{
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin-top: 12px;
}

#vx-auth-overlay .vx-auth-nav{
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 14px;
}

#vx-auth-overlay .vx-auth-link{
	background: transparent;
	border: none;
	color: var(--vx-auth-blue);
	font-weight: 900;
	cursor: pointer;
	padding: 0;
	text-decoration: none;
}

#vx-auth-overlay .vx-auth-link:hover{
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

#vx-auth-overlay .vx-auth-link:focus-visible{
	outline: none;
	box-shadow: var(--vx-auth-focus);
	border-radius: 8px;
}

@media (max-width: 520px){
	#vx-auth-overlay{
		align-items: flex-end;
		padding: 12px 12px 18px;
	}

	#vx-auth-overlay .vx-auth-panel{
		max-width: none;
		width: 100%;
		border-radius: 18px;
		padding: 17px 15px 15px;
		min-height: 0;
	}

	#vx-auth-overlay .vx-auth-google-slot{
		max-width: 100%;
	}
}
