/**
 * Modern Account Login / Forgotten — OPC070174-1
 * ------------------------------------------------
 * Full-width auth layout (no left/right columns).
 * Sepet / checkout ile aynı görsel dil.
 * ------------------------------------------------
 */

/* Full-bleed soft canvas between header and footer (no white bands) */
body.account-login,
body.account-forgotten,
body.account-logout {
	--auth-blue: #1e5fbf;
	--auth-blue-deep: #1455a9;
	--auth-blue-ink: #0f3f8a;
	--auth-yellow: #ffd200;
	--auth-ink: #1b1b1b;
	--auth-muted: #5c6570;
	--auth-line: #e8ecf1;
	--auth-soft: #f4f6f8;
	--auth-surface: #ffffff;
	--auth-canvas: #eef3f9;
	background-color: var(--auth-canvas) !important;
	background-image:
		radial-gradient(900px 420px at 12% 0%, rgba(30, 95, 191, 0.14), transparent 60%),
		radial-gradient(700px 360px at 92% 12%, rgba(255, 210, 0, 0.16), transparent 55%),
		linear-gradient(180deg, #e8eef7 0%, #eef3f9 50%, #e8eef7 100%) !important;
	background-attachment: fixed;
	background-repeat: no-repeat;
}

.auth-page {
	--auth-blue: #1e5fbf;
	--auth-blue-deep: #1455a9;
	--auth-blue-ink: #0f3f8a;
	--auth-yellow: #ffd200;
	--auth-ink: #1b1b1b;
	--auth-muted: #5c6570;
	--auth-line: #e8ecf1;
	--auth-soft: #f4f6f8;
	--auth-surface: #ffffff;
	--auth-radius: 20px;
	--auth-shadow: 0 18px 48px rgba(20, 40, 80, 0.12);
	position: relative;
	isolation: isolate;
	width: 100%;
	min-height: calc(100vh - 220px);
	font-family: 'Titillium Web', 'Open Sans', sans-serif;
	color: var(--auth-ink);
	padding: 12px 0 56px;
	margin: 0;
	background: transparent;
	overflow: hidden;
	box-sizing: border-box;
}

.auth-page__bg {
	display: none;
}

.auth-page > .container {
	position: relative;
	width: 100%;
	max-width: 1080px;
}

.auth-breadcrumb {
	margin: 8px 0 16px !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
}

.auth-breadcrumb > li + li:before {
	color: #9aa3ad;
}

.auth-page #content.auth-page__content,
.auth-page__content {
	width: 100%;
	float: none !important;
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
}

.auth-panel {
	display: grid;
	grid-template-columns: minmax(280px, 0.95fr) minmax(300px, 1.05fr);
	min-height: 520px;
	background: var(--auth-surface);
	border: 1px solid rgba(232, 236, 241, 0.95);
	border-radius: var(--auth-radius);
	box-shadow: var(--auth-shadow);
	overflow: hidden;
	animation: auth-rise 0.45s ease both;
}

.auth-panel--narrow {
	grid-template-columns: 1fr;
	max-width: 480px;
	min-height: 0;
	margin: 0 auto;
}

.auth-panel__brand {
	position: relative;
	padding: 36px 32px;
	color: var(--auth-ink);
	background:
		radial-gradient(420px 280px at 12% 0%, rgba(30, 95, 191, 0.10), transparent 58%),
		radial-gradient(340px 240px at 100% 100%, rgba(255, 210, 0, 0.14), transparent 55%),
		linear-gradient(165deg, #f7faff 0%, #eef4fb 55%, #f8fafc 100%);
	border-right: 1px solid var(--auth-line);
	overflow: hidden;
}

.auth-panel__brand::before {
	content: '';
	position: absolute;
	right: -40px;
	top: -50px;
	width: 180px;
	height: 180px;
	border-radius: 50%;
	background: rgba(30, 95, 191, 0.06);
}

.auth-panel__brand::after {
	content: '';
	position: absolute;
	left: -30px;
	bottom: -40px;
	width: 140px;
	height: 140px;
	border-radius: 50%;
	background: rgba(255, 210, 0, 0.12);
}

.auth-panel__brand-inner {
	position: relative;
	z-index: 1;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.auth-shell__eyebrow {
	display: inline-flex;
	align-self: flex-start;
	margin: 0 0 14px;
	padding: 5px 12px;
	border-radius: 999px;
	background: rgba(30, 95, 191, 0.1);
	color: var(--auth-blue);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.auth-shell__eyebrow--dark {
	background: rgba(30, 95, 191, 0.1);
	color: var(--auth-blue);
}

.auth-panel__brand-title {
	margin: 0 0 12px;
	font-size: 28px;
	font-weight: 800;
	line-height: 1.2;
	color: var(--auth-ink);
	letter-spacing: -0.02em;
}

.auth-panel__brand-lead {
	margin: 0 0 20px;
	color: var(--auth-muted);
	font-size: 15px;
	line-height: 1.6;
	max-width: 38ch;
}

.auth-copy {
	margin-top: 4px;
	padding-top: 18px;
	border-top: 1px solid rgba(30, 95, 191, 0.12);
	max-width: 38ch;
}

.auth-copy p {
	margin: 0 0 12px;
	color: var(--auth-ink);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.65;
}

.auth-copy__note {
	margin: 0 !important;
	color: var(--auth-blue) !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	letter-spacing: 0.01em;
}

.auth-panel__form {
	padding: 40px 38px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	animation: auth-fade 0.55s ease 0.08s both;
}

.auth-panel__form--solo {
	padding: 36px 32px;
}

.auth-card__title {
	margin: 0 0 6px;
	font-size: 24px;
	font-weight: 800;
	color: var(--auth-ink);
	line-height: 1.2;
}

.auth-card__title--lg {
	font-size: 26px;
	margin-top: 4px;
}

.auth-card__subtitle {
	margin: 0 0 24px;
	color: var(--auth-muted);
	font-size: 14px;
	line-height: 1.5;
}

.auth-form .form-group {
	margin-bottom: 16px;
}

.auth-form .control-label {
	display: block;
	margin-bottom: 7px;
	font-size: 13px;
	font-weight: 700;
	color: var(--auth-ink);
}

.auth-field {
	position: relative;
}

.auth-field .form-control {
	height: 50px;
	padding: 10px 46px 10px 16px;
	border: 1px solid var(--auth-line);
	border-radius: 12px;
	background: #fbfcfe;
	box-shadow: none;
	font-size: 15px;
	color: var(--auth-ink);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.auth-field .form-control:hover {
	border-color: #d5dce6;
	background: #fff;
}

.auth-field .form-control:focus {
	border-color: #9bb8e4;
	background: #fff;
	box-shadow: 0 0 0 4px rgba(30, 95, 191, 0.12);
	outline: none;
}

.auth-field__icon {
	position: absolute;
	top: 50%;
	right: 15px;
	transform: translateY(-50%);
	color: #9aa3ad;
	font-size: 15px;
	pointer-events: none;
}

.auth-field__toggle {
	position: absolute;
	top: 50%;
	right: 8px;
	transform: translateY(-50%);
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: #8a93a0;
	cursor: pointer;
	transition: color 0.15s ease, background 0.15s ease;
}

.auth-field__toggle:hover,
.auth-field__toggle:focus {
	color: var(--auth-blue);
	background: rgba(30, 95, 191, 0.08);
	outline: none;
}

.auth-form__meta {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	margin: -2px 0 18px;
}

.auth-form__forgot {
	color: var(--auth-blue);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}

.auth-form__forgot:hover {
	color: var(--auth-blue-deep);
	text-decoration: underline;
}

.auth-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	min-height: 50px;
	padding: 12px 18px;
	border: 0;
	border-radius: 12px;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.2;
	cursor: pointer;
	text-decoration: none !important;
	transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.auth-btn i {
	font-size: 13px;
	transition: transform 0.2s ease;
}

.auth-btn:hover i {
	transform: translateX(3px);
}

.auth-btn:active {
	transform: translateY(1px);
}

.auth-btn--primary {
	background: linear-gradient(180deg, #2569c9 0%, var(--auth-blue) 100%);
	color: #fff !important;
	box-shadow: 0 10px 22px rgba(30, 95, 191, 0.28);
}

.auth-btn--primary:hover,
.auth-btn--primary:focus {
	background: linear-gradient(180deg, var(--auth-blue) 0%, var(--auth-blue-deep) 100%);
	color: #fff !important;
}

.auth-btn--secondary {
	background: #fff;
	color: var(--auth-blue) !important;
	border: 1px solid #c5d5ef;
}

.auth-btn--secondary:hover,
.auth-btn--secondary:focus {
	background: #f3f7ff;
	color: var(--auth-blue-deep) !important;
	border-color: #9bb8e4;
}

.auth-btn--ghost {
	background: transparent;
	color: var(--auth-muted) !important;
	border: 1px solid var(--auth-line);
}

.auth-btn--ghost:hover,
.auth-btn--ghost:focus {
	background: #fff;
	color: var(--auth-ink) !important;
}

.auth-divider {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 22px 0 14px;
	color: var(--auth-muted);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.auth-divider::before,
.auth-divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: var(--auth-line);
}

.auth-alert {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	max-width: 100%;
	margin: 0 0 16px;
	padding: 12px 14px;
	border-radius: 12px;
	font-size: 13px;
	line-height: 1.45;
	animation: auth-fade 0.35s ease both;
}

.auth-alert--danger {
	background: #fdeceb;
	border: 1px solid #f5c6c4;
	color: #a94442;
}

.auth-alert--success {
	background: #eaf8ef;
	border: 1px solid #c6e6d0;
	color: #2f6f45;
}

.auth-alert i {
	margin-top: 2px;
}


.auth-actions {
	display: grid;
	grid-template-columns: 1fr 1.45fr;
	gap: 10px;
	margin-top: 8px;
}

@keyframes auth-rise {
	from {
		opacity: 0;
		transform: translateY(14px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes auth-fade {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@media (max-width: 991px) {
	.auth-panel {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.auth-panel__brand {
		padding: 28px 22px 24px;
		border-right: 0;
		border-bottom: 1px solid var(--auth-line);
	}

	.auth-panel__brand-title {
		font-size: 24px;
	}

	.auth-panel__brand-lead,
	.auth-copy {
		max-width: none;
	}

	.auth-panel__form {
		padding: 28px 22px 30px;
	}
}

@media (max-width: 575px) {
	.auth-page {
		padding-bottom: 36px;
	}

	.auth-panel {
		border-radius: 16px;
	}

	.auth-panel__form--solo {
		padding: 26px 18px;
	}

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

	.auth-card__title {
		font-size: 22px;
	}
}

/* ========== Logout status card ========== */
.auth-status {
	max-width: 560px;
	margin: 8px auto 0;
	padding: 40px 36px 36px;
	text-align: center;
	background: var(--auth-surface);
	border: 1px solid rgba(232, 236, 241, 0.95);
	border-radius: var(--auth-radius);
	box-shadow: var(--auth-shadow);
	animation: auth-rise 0.45s ease both;
}

.auth-status__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	margin: 0 auto 18px;
	border-radius: 50%;
	background: linear-gradient(160deg, #2f9e5b 0%, #248a4d 100%);
	color: #fff;
	font-size: 30px;
	box-shadow: 0 12px 28px rgba(36, 138, 77, 0.28);
	animation: auth-pop 0.5s ease 0.05s both;
}

.auth-status .auth-shell__eyebrow {
	align-self: center;
	margin-left: auto;
	margin-right: auto;
}

.auth-status__title {
	margin: 10px 0 10px;
	font-size: 30px;
	font-weight: 800;
	line-height: 1.15;
	color: var(--auth-ink);
}

.auth-status__lead {
	margin: 0 auto 24px;
	max-width: 42ch;
	color: var(--auth-muted);
	font-size: 15px;
	line-height: 1.55;
}

.auth-status__points {
	list-style: none;
	margin: 0 0 26px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	text-align: left;
}

.auth-status__points li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	background: var(--auth-soft);
	border: 1px solid var(--auth-line);
	border-radius: 12px;
	color: var(--auth-ink);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
}

.auth-status__point-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 36px;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: rgba(30, 95, 191, 0.1);
	color: var(--auth-blue);
	font-size: 15px;
}

.auth-status__actions {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: 10px;
}

.auth-status__actions .auth-btn i {
	transform: none;
}

.auth-status__actions .auth-btn:hover i {
	transform: none;
}

@keyframes auth-pop {
	from {
		opacity: 0;
		transform: scale(0.86);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

@media (max-width: 575px) {
	.auth-status {
		padding: 30px 18px 24px;
		border-radius: 16px;
	}

	.auth-status__title {
		font-size: 24px;
	}

	.auth-status__icon {
		width: 64px;
		height: 64px;
		font-size: 26px;
	}

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

/* Suppress leftover column chrome if theme wraps content */
body.account-login #column-left,
body.account-forgotten #column-left,
body.account-logout #column-left,
body.account-login #column-right,
body.account-forgotten #column-right,
body.account-logout #column-right {
	display: none !important;
}

body.account-login #content,
body.account-forgotten #content,
body.account-logout #content {
	width: 100% !important;
}
