/* WinnerScript - Auth split layout (fullscreen) */

html,
body.ws-auth-body {
	background: var(--ws-bg, #0b0d18);
	height: 100%;
	margin: 0;
	min-height: 100%;
}

body.ws-auth-body {
	overflow-x: hidden;
}

.ws-auth-page {
	height: 100vh;
	min-height: 100vh;
	padding: 0 !important;
}

.ws-auth-wrap {
	display: grid;
	grid-template-columns: 1fr 1fr;
	height: 100%;
	min-height: 100vh;
}

/* Banner */

.ws-auth-banner {
	background: #0b0d18;
	border-right: 1px solid var(--ws-border, rgba(255, 255, 255, 0.08));
	display: flex;
	flex-direction: column;
	justify-content: center;
	overflow: hidden;
	padding: 56px clamp(28px, 5vw, 64px);
	position: relative;
}

.ws-auth-banner__video {
	inset: 0;
	position: absolute;
	z-index: 0;
}

.ws-auth-banner__video video {
	display: block;
	height: 100%;
	min-height: 100%;
	object-fit: cover;
	object-position: center;
	transform: translateZ(0);
	width: 100%;
}

.ws-auth-banner__video-overlay {
	background: rgba(var(--ws-accent-rgb, 131, 100, 226), 0.14);
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: 1;
}

.ws-auth-banner__inner {
	max-width: 420px;
	position: relative;
	z-index: 2;
}

.ws-auth-banner__logo {
	display: block;
	height: auto;
	margin-bottom: 28px;
	max-width: 180px;
	width: 100%;
}

.ws-auth-banner__logo-link {
	display: inline-block;
	line-height: 0;
	margin-bottom: 28px;
	transition: opacity var(--ws-transition, 0.2s ease), transform var(--ws-transition, 0.2s ease);
}

.ws-auth-banner__logo-link .ws-auth-banner__logo {
	margin-bottom: 0;
}

.ws-auth-banner__logo-link:hover {
	opacity: 0.88;
	transform: translateY(-1px);
}

.ws-auth-banner__eyebrow {
	color: var(--ws-accent, #8364e2);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	margin-bottom: 12px;
	text-transform: uppercase;
}

.ws-auth-banner h2 {
	color: var(--ws-text-heading, #f4f6fc);
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 800;
	line-height: 1.15;
	margin: 0 0 12px;
}

.ws-auth-banner p {
	color: var(--ws-text-muted, #9199b0);
	font-size: 0.9375rem;
	line-height: 1.65;
	margin: 0 0 28px;
	max-width: 360px;
}

.ws-auth-banner__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ws-auth-banner__tag {
	align-items: center;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--ws-border, rgba(255, 255, 255, 0.08));
	border-radius: var(--ws-radius-pill, 999px);
	color: var(--ws-text-muted, #9199b0);
	display: inline-flex;
	font-size: 0.75rem;
	font-weight: 600;
	gap: 6px;
	padding: 7px 12px;
}

.ws-auth-banner__tag i {
	color: var(--ws-accent, #8364e2);
	font-size: 0.8125rem;
}

/* Form alani */

.ws-auth-main {
	align-items: center;
	background: var(--ws-bg, #0b0d18);
	display: flex;
	height: 100%;
	justify-content: center;
	overflow-y: auto;
	padding: 56px clamp(24px, 4vw, 56px);
}

.ws-auth-formbox {
	max-width: 420px;
	width: 100%;
}

.ws-auth-tabs {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--ws-border, rgba(255, 255, 255, 0.08));
	border-radius: var(--ws-radius-pill, 999px);
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin-bottom: 24px;
	padding: 4px;
}

.ws-auth-tabs a {
	border-radius: var(--ws-radius-pill, 999px);
	color: var(--ws-text-muted, #9199b0);
	font-size: 0.875rem;
	font-weight: 600;
	padding: 10px 12px;
	text-align: center;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}

.ws-auth-tabs a:hover {
	color: var(--ws-text-heading, #f4f6fc);
}

.ws-auth-tabs a.is-active {
	background: rgba(var(--secondary-color-rgb, 131, 100, 226), 0.18);
	box-shadow: inset 0 0 0 1px rgba(var(--secondary-color-rgb, 131, 100, 226), 0.25);
	color: var(--ws-text-heading, #f4f6fc);
}

.ws-auth-formbox__title {
	color: var(--ws-text-heading, #f4f6fc);
	font-size: 1.25rem;
	font-weight: 800;
	margin: 0 0 6px;
}

.ws-auth-formbox__sub {
	color: var(--ws-text-muted, #9199b0);
	font-size: 0.875rem;
	line-height: 1.5;
	margin: 0 0 22px;
}

.ws-auth-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ws-auth-field label {
	color: var(--ws-text-muted, #9199b0);
	display: block;
	font-size: 0.8125rem;
	font-weight: 600;
	margin-bottom: 6px;
}

.ws-auth-field input {
	background: var(--ws-bg-elevated, #121528);
	border: 1px solid var(--ws-border, rgba(255, 255, 255, 0.08));
	border-radius: var(--ws-radius-sm, 8px);
	box-sizing: border-box;
	color: var(--ws-text-heading, #f4f6fc);
	font-size: 0.9375rem;
	height: 48px;
	padding: 0 14px;
	width: 100%;
}

.ws-auth-field input:focus {
	border-color: rgba(var(--secondary-color-rgb, 131, 100, 226), 0.45);
	box-shadow: 0 0 0 3px rgba(var(--secondary-color-rgb, 131, 100, 226), 0.12);
	outline: none;
}

.ws-auth-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ws-auth-field--captcha img {
	border: 1px solid var(--ws-border, rgba(255, 255, 255, 0.08));
	border-radius: var(--ws-radius-sm, 8px);
	display: block;
	margin-bottom: 8px;
	max-width: 100%;
}

.ws-auth-alert {
	border-radius: var(--ws-radius-sm, 8px);
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.45;
	padding: 10px 12px;
}

.ws-auth-alert--success {
	background: rgba(62, 207, 142, 0.1);
	border: 1px solid rgba(62, 207, 142, 0.22);
	color: var(--ws-success, #3ecf8e);
}

.ws-auth-alert--danger {
	background: rgba(239, 100, 100, 0.1);
	border: 1px solid rgba(239, 100, 100, 0.22);
	color: #ffcaca;
}

.ws-auth-legal {
	color: var(--ws-text-muted, #9199b0);
	font-size: 0.8125rem;
	line-height: 1.55;
	margin: 0;
}

.ws-auth-legal a {
	color: var(--ws-accent, #8364e2);
	text-decoration: none;
}

.ws-auth-back-home {
	margin: 18px 0 0;
	text-align: center;
}

.ws-auth-back-home a {
	align-items: center;
	color: var(--ws-text-muted, #9199b0);
	display: inline-flex;
	font-size: 0.875rem;
	font-weight: 600;
	gap: 8px;
	text-decoration: none;
	transition: color var(--ws-transition, 0.2s ease);
}

.ws-auth-back-home a:hover {
	color: var(--ws-accent, #8364e2);
}

.ws-auth-submit .btn-main {
	align-items: center;
	display: inline-flex;
	gap: 8px;
	justify-content: center;
	min-height: 48px;
	width: 100%;
}

/* Responsive */

@media (max-width: 991px) {
	.ws-auth-page {
		height: auto;
		min-height: 100vh;
	}

	.ws-auth-wrap {
		grid-template-columns: 1fr;
		height: auto;
		min-height: 100vh;
	}

	.ws-auth-banner {
		border-bottom: 1px solid var(--ws-border, rgba(255, 255, 255, 0.08));
		border-right: 0;
		min-height: 280px;
		padding: 40px 28px 36px;
	}

	.ws-auth-banner__logo {
		max-width: 150px;
		margin-bottom: 18px;
	}

	.ws-auth-banner p {
		margin-bottom: 18px;
	}

	.ws-auth-main {
		padding: 40px 24px 56px;
	}

	.ws-auth-formbox {
		max-width: 480px;
	}
}

@media (max-width: 575px) {
	.ws-auth-banner {
		min-height: auto;
		padding: 32px 20px 28px;
	}

	.ws-auth-banner__tags {
		gap: 6px;
	}

	.ws-auth-banner__tag {
		font-size: 0.6875rem;
		padding: 6px 10px;
	}

	.ws-auth-main {
		padding: 32px 18px 48px;
	}

	.ws-auth-grid {
		grid-template-columns: 1fr;
	}

	.ws-auth-tabs a {
		font-size: 0.8125rem;
		padding: 9px 8px;
	}
}
