.eanonse-auth-wrap {
	--ea-bg: #0a0a0f;
	--ea-glass: rgba(255, 255, 255, 0.06);
	--ea-glass-strong: rgba(255, 255, 255, 0.1);
	--ea-border: rgba(255, 255, 255, 0.12);
	--ea-rose: #ff5d8f;
	--ea-rose-dim: #c94572;
	--ea-gold: #f0c36d;
	--ea-text: #f5f5f7;
	--ea-text-muted: #9a98a8;
	--ea-input-bg: rgba(255, 255, 255, 0.045);
	--ea-radius: 18px;

	position: relative;
	max-width: 480px;
	margin: 0 auto;
	padding: 60px 20px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--ea-text);
	isolation: isolate;
}

.eanonse-auth-wrap::before {
	content: "";
	position: absolute;
	inset: -120px -60px;
	z-index: -1;
	background:
		radial-gradient(420px 320px at 15% 10%, rgba(255, 93, 143, 0.28), transparent 65%),
		radial-gradient(380px 320px at 85% 85%, rgba(240, 195, 109, 0.22), transparent 65%),
		radial-gradient(600px 500px at 50% 50%, rgba(20, 16, 28, 0.9), var(--ea-bg) 70%);
	filter: blur(6px);
	border-radius: 40px;
	animation: ea-drift 14s ease-in-out infinite alternate;
}

@keyframes ea-drift {
	0%   { transform: translate(0, 0) scale(1); }
	100% { transform: translate(-2%, 2%) scale(1.03); }
}

@media (prefers-reduced-motion: reduce) {
	.eanonse-auth-wrap::before { animation: none; }
}

.eanonse-lang-flags {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin-top: 22px;
}

.eanonse-flag {
	border: 1px solid var(--ea-border);
	background: var(--ea-glass);
	border-radius: 999px;
	width: 34px;
	height: 34px;
	font-size: 15px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform .12s ease, border-color .12s ease;
}

.eanonse-flag:hover {
	transform: translateY(-1px);
}

.eanonse-flag.is-active {
	border-color: var(--ea-rose);
	box-shadow: 0 0 0 2px rgba(255, 93, 143, .25);
}

.eanonse-glass-card {
	background: linear-gradient(165deg, var(--ea-glass-strong), var(--ea-glass));
	border: 1px solid var(--ea-border);
	border-radius: var(--ea-radius);
	padding: 34px 32px 30px;
	backdrop-filter: blur(22px);
	-webkit-backdrop-filter: blur(22px);
	box-shadow: 0 24px 60px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .08);
}

.eanonse-logo {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 2px;
	margin-bottom: 26px;
}

.eanonse-logo-mark {
	font-size: 30px;
	font-weight: 800;
	background: linear-gradient(135deg, var(--ea-rose), var(--ea-gold));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.eanonse-logo-text {
	font-size: 24px;
	font-weight: 300;
	letter-spacing: .5px;
	color: var(--ea-text);
}

.eanonse-tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	background: rgba(255, 255, 255, .03);
	border: 1px solid var(--ea-border);
	border-radius: 12px;
	padding: 4px;
	margin-bottom: 22px;
}

.eanonse-tab {
	border: none;
	background: transparent;
	color: var(--ea-text-muted);
	padding: 10px 12px;
	border-radius: 9px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: background .15s ease, color .15s ease;
}

.eanonse-tab.is-active {
	background: linear-gradient(135deg, var(--ea-rose), var(--ea-rose-dim));
	color: #fff;
}

.eanonse-panel {
	display: none;
	flex-direction: column;
}

.eanonse-panel.is-active {
	display: flex;
}

.eanonse-panel label {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .3px;
	text-transform: uppercase;
	color: var(--ea-text-muted);
	margin: 14px 0 6px;
}

.eanonse-panel label:first-of-type {
	margin-top: 0;
}

.eanonse-panel input[type="text"],
.eanonse-panel input[type="email"],
.eanonse-panel input[type="password"],
.eanonse-panel select {
	width: 100%;
	box-sizing: border-box;
	padding: 12px 14px;
	background: var(--ea-input-bg);
	border: 1.5px solid var(--ea-border);
	border-radius: 10px;
	color: var(--ea-text);
	font-size: 14px;
	appearance: none;
	transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.eanonse-panel select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%239a98a8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 34px;
}

.eanonse-panel select option {
	background: #16141d;
	color: var(--ea-text);
}

.eanonse-panel input::placeholder {
	color: rgba(245, 245, 247, .35);
}

.eanonse-panel input:focus,
.eanonse-panel select:focus {
	outline: none;
	border-color: var(--ea-rose);
	background: rgba(255, 255, 255, .07);
	box-shadow: 0 0 0 4px rgba(255, 93, 143, .14);
}

.eanonse-phone-row {
	display: grid;
	grid-template-columns: 90px 1fr;
	gap: 10px;
}

.eanonse-gender-row {
	display: flex;
	gap: 10px;
}

.eanonse-radio-pill {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	padding: 10px 12px;
	border: 1.5px solid var(--ea-border);
	border-radius: 10px;
	background: var(--ea-input-bg);
	font-size: 13px;
	color: var(--ea-text-muted);
	cursor: pointer;
	transition: border-color .15s ease, color .15s ease, background .15s ease;
}

.eanonse-radio-pill input {
	accent-color: var(--ea-rose);
	margin: 0;
}

.eanonse-radio-pill:has(input:checked) {
	border-color: var(--ea-rose);
	color: var(--ea-text);
	background: rgba(255, 93, 143, .1);
}

.eanonse-gender-icon {
	font-size: 16px;
	line-height: 1;
}

.eanonse-already-in {
	text-align: center;
}

.eanonse-already-in-text {
	color: var(--ea-text-muted);
	font-size: 14px;
	margin: 4px 0 22px;
}

.eanonse-already-in-text strong {
	color: var(--ea-text);
}

.eanonse-block-link {
	display: block;
	text-decoration: none;
	text-align: center;
}

.eanonse-logout-link {
	display: block;
	margin-top: 14px;
	color: var(--ea-text-muted);
	font-size: 12.5px;
	text-decoration: underline;
}

.eanonse-logout-link:hover {
	color: var(--ea-rose);
}

.eanonse-btn-primary {
	margin-top: 22px;
	padding: 13px 20px;
	border: none;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--ea-rose), var(--ea-gold));
	color: #17121a;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: transform .12s ease, box-shadow .15s ease, filter .15s ease;
	box-shadow: 0 10px 24px rgba(255, 93, 143, .22);
}

.eanonse-btn-primary:hover {
	transform: translateY(-1px);
	filter: brightness(1.05);
}

.eanonse-btn-primary:disabled {
	opacity: .55;
	cursor: not-allowed;
	transform: none;
}

.eanonse-message {
	margin-bottom: 16px;
	padding: 12px 14px;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.5;
}

.eanonse-message.is-error {
	background: rgba(239, 68, 68, .14);
	border: 1px solid rgba(239, 68, 68, .35);
	color: #ffb4b4;
}

.eanonse-message.is-success {
	background: rgba(52, 211, 153, .14);
	border: 1px solid rgba(52, 211, 153, .35);
	color: #9fe8cb;
}

@media (max-width: 480px) {
	.eanonse-auth-wrap { padding: 40px 14px; }
	.eanonse-glass-card { padding: 26px 20px 24px; }
}
