/**
 * Hesabım – oturum açmamış ekranlar (giriş, kayıt, şifre sıfırlama)
 * ------------------------------------------------------------------
 * Yalnızca body.kan-auth-page üzerinde yüklenir (inc/account-auth.php).
 * app.min.css ve myaccount.css'ten sonra gelir.
 */

.kan-auth-page {
	--kan-auth-ink: #18191d;
	--kan-auth-body: #4b5160;
	--kan-auth-muted: #8a8f9c;
	--kan-auth-line: #e6e7eb;
	--kan-auth-field: #f7f7f9;
	--kan-auth-accent: var(--primary, #d41818);
	--kan-auth-accent-hover: #b51313;
	--kan-auth-accent-soft: rgba(212, 24, 24, .08);
	--kan-auth-ring: rgba(212, 24, 24, .14);
	background: #fff;
}

/* ---- Site kabuğunu gizle / sıfırla ---- */
.kan-auth-page #header,
.kan-auth-page #footer,
.kan-auth-page #page-header,
.kan-auth-page .top-news,
.kan-auth-page .site-mobile-tabbar,
.kan-auth-page .entry-footer {
	display: none !important;
}

.kan-auth-page #main,
.kan-auth-page #main > .section {
	padding: 0 !important;
	margin: 0;
	background: #fff;
	border: 0 !important;
}

.kan-auth-page #main .container {
	max-width: none;
	padding: 0;
}

.kan-auth-page #main .row {
	margin: 0;
}

.kan-auth-page #main .row > .col-12 {
	padding: 0;
}

.kan-auth-page .woocommerce {
	height: auto !important;
}

/* ---- Yerleşim ---- */
.kan-auth {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	min-height: 100vh;
	min-height: 100dvh;
	background: #fff;
	color: var(--kan-auth-body);
	font-size: 15px;
	line-height: 1.6;
}

@media (min-width: 992px) {
	.kan-auth {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
	}
}

.kan-auth__panel {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 20px 16px 24px;
}

@media (min-width: 576px) {
	.kan-auth__panel {
		padding: 28px clamp(28px, 5vw, 72px) 28px;
	}
}

.kan-auth__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.kan-auth__logo img {
	display: block;
	height: 34px;
	width: auto;
}

.kan-auth__back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 38px;
	padding: 0 16px;
	border: 1px solid var(--kan-auth-line);
	border-radius: 999px;
	color: var(--kan-auth-ink) !important;
	font-size: 13.5px;
	font-weight: 600;
	text-decoration: none !important;
	transition: border-color .2s, background-color .2s;
}

.kan-auth__back:hover {
	border-color: var(--kan-auth-ink);
	background: #fafafa;
}

.kan-auth__back i {
	font-size: 12px;
	transition: transform .2s;
}

.kan-auth__back:hover i {
	transform: translateX(-3px);
}

.kan-auth__body {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 48px 0;
}

.kan-auth__card {
	width: 100%;
	max-width: 420px;
}

/* ---- Başlık ---- */
.kan-auth__head {
	margin-bottom: 32px;
}

.kan-auth__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin-bottom: 22px;
	border-radius: 16px;
	background: var(--kan-auth-accent-soft);
	color: var(--kan-auth-accent);
	font-size: 20px;
	box-shadow: inset 0 0 0 1px rgba(212, 24, 24, .12);
}

.kan-auth__eyebrow {
	display: block;
	margin-bottom: 8px;
	color: var(--kan-auth-accent);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.kan-auth .kan-auth__title {
	margin: 0 0 10px;
	color: var(--kan-auth-ink);
	font-size: clamp(26px, 2.6vw, 34px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -.025em;
}

#content .kan-auth .kan-auth__lead {
	margin: 0 !important;
	color: var(--kan-auth-body);
	font-size: 15px;
	line-height: 1.65;
}

/* ---- Form ---- */
.kan-auth__form {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	box-shadow: none !important;
}

#content .kan-auth .kan-auth__field {
	display: block;
	width: 100%;
	float: none;
	margin: 0 0 18px !important;
	padding: 0;
}

.kan-auth .kan-auth__field label,
.kan-auth__label-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 8px;
	color: var(--kan-auth-ink);
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.4;
}

.kan-auth__label-row label {
	margin: 0 !important;
}

.kan-auth .required {
	color: var(--kan-auth-accent);
	text-decoration: none;
	border: 0;
}

.kan-auth .kan-auth__field label .required {
	margin-left: 2px;
}

.kan-auth .kan-auth__field > label {
	justify-content: flex-start;
}

.kan-auth__link,
.kan-auth__switch a {
	color: var(--kan-auth-accent) !important;
	font-weight: 600;
	text-decoration: none !important;
}

.kan-auth__link {
	font-size: 13px;
}

.kan-auth__link:hover,
.kan-auth__switch a:hover {
	text-decoration: underline !important;
	text-underline-offset: 3px;
}

.kan-auth__input {
	position: relative;
	display: block;
}

.kan-auth__input > i {
	position: absolute;
	top: 50%;
	left: 16px;
	z-index: 2;
	transform: translateY(-50%);
	color: var(--kan-auth-muted);
	font-size: 15px;
	pointer-events: none;
	transition: color .2s;
}

.kan-auth__input:focus-within > i {
	color: var(--kan-auth-accent);
}

.kan-auth .kan-auth__input input.input-text {
	display: block;
	width: 100%;
	height: 52px;
	margin: 0;
	padding: 0 16px 0 46px;
	border: 1.5px solid var(--kan-auth-line);
	border-radius: 12px;
	background: var(--kan-auth-field);
	color: var(--kan-auth-ink);
	font-size: 15.5px;
	font-weight: 500;
	box-shadow: none;
	outline: 0;
	transition: border-color .2s, box-shadow .2s, background-color .2s;
}

.kan-auth .kan-auth__input input.input-text::placeholder {
	color: #b3b7c0;
	font-weight: 400;
}

.kan-auth .kan-auth__input input.input-text:hover {
	border-color: #d3d5db;
}

.kan-auth .kan-auth__input input.input-text:focus {
	border-color: var(--kan-auth-accent);
	background: #fff;
	box-shadow: 0 0 0 4px var(--kan-auth-ring);
}

.kan-auth .kan-auth__input input:-webkit-autofill,
.kan-auth .kan-auth__input input:-webkit-autofill:hover,
.kan-auth .kan-auth__input input:-webkit-autofill:focus {
	-webkit-text-fill-color: var(--kan-auth-ink);
	-webkit-box-shadow: 0 0 0 40px #fff inset !important;
}

/* WooCommerce şifre göster/gizle düğmesi */
.kan-auth .password-input {
	position: relative;
	display: block;
}

.kan-auth .password-input input.input-text {
	padding-right: 50px;
}

.kan-auth .show-password-input {
	position: absolute;
	top: 50%;
	right: 8px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--kan-auth-muted);
	transform: translateY(-50%);
	cursor: pointer;
}

.kan-auth .show-password-input::after {
	content: "\f06e";
	font-family: "Font Awesome 5 Free";
	font-weight: 400;
	font-size: 15px;
}

.kan-auth .show-password-input.display-password::after {
	content: "\f070";
}

.kan-auth .show-password-input:hover {
	background: #eef0f3;
	color: var(--kan-auth-ink);
}

/* Beni hatırla */
#content .kan-auth .kan-auth__remember {
	display: block;
	float: none;
	width: 100%;
	margin: 4px 0 24px !important;
	padding: 0;
}

.kan-auth .kan-auth__remember label {
	display: inline-flex !important;
	align-items: center;
	gap: 10px;
	margin: 0;
	color: var(--kan-auth-body);
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	user-select: none;
}

.kan-auth .kan-auth__remember input[type="checkbox"] {
	position: relative;
	top: 0;
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	margin: 0;
	border: 1.5px solid #c9ccd3;
	border-radius: 5px;
	background: #fff;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
	transition: background-color .15s, border-color .15s;
}

.kan-auth .kan-auth__remember input[type="checkbox"]:checked {
	border-color: var(--kan-auth-accent);
	background: var(--kan-auth-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.kan-auth .kan-auth__remember input[type="checkbox"]:focus-visible {
	box-shadow: 0 0 0 4px var(--kan-auth-ring);
	outline: 0;
}

/* Gönder düğmesi */
.kan-auth .kan-auth__submit {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	height: 54px;
	margin: 0;
	padding: 0 24px;
	border: 0;
	border-radius: 12px;
	background: var(--kan-auth-accent);
	color: #fff !important;
	font-size: 15.5px;
	font-weight: 600;
	letter-spacing: 0;
	text-decoration: none !important;
	text-transform: none;
	box-shadow: 0 1px 2px rgba(16, 24, 40, .08), 0 10px 24px -10px rgba(212, 24, 24, .6);
	cursor: pointer;
	transition: background-color .2s, box-shadow .2s, transform .2s;
}

.kan-auth .kan-auth__submit:hover {
	background: var(--kan-auth-accent-hover);
	box-shadow: 0 1px 2px rgba(16, 24, 40, .08), 0 14px 28px -10px rgba(212, 24, 24, .7);
}

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

.kan-auth .kan-auth__submit:focus-visible {
	outline: 0;
	box-shadow: 0 0 0 4px var(--kan-auth-ring);
}

.kan-auth .kan-auth__submit i {
	font-size: 13px;
	transition: transform .2s;
}

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

#content .kan-auth__hint,
.kan-auth__notice {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0 0 20px !important;
	padding: 14px 16px;
	border-radius: 12px;
	background: var(--kan-auth-field);
	color: var(--kan-auth-body);
	font-size: 14px;
	line-height: 1.55;
}

.kan-auth__hint i,
.kan-auth__notice i {
	margin-top: 3px;
	color: var(--kan-auth-accent);
}

#content .kan-auth__notice p {
	margin: 0 !important;
}

.kan-auth__notice {
	margin-bottom: 24px !important;
}

.kan-auth__switch {
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid var(--kan-auth-line);
	color: var(--kan-auth-body);
	font-size: 14.5px;
	text-align: center;
}

/* WooCommerce bildirimleri */
.kan-auth .woocommerce-notices-wrapper:empty {
	display: none;
}

.kan-auth .kan-wc-notice-list,
.kan-auth .woocommerce-error,
.kan-auth .woocommerce-message,
.kan-auth .woocommerce-info {
	margin: 0 0 24px !important;
}

/* WooCommerce gizlilik metni vb. */
#content .kan-auth .woocommerce-privacy-policy-text p {
	margin: 0 0 20px !important;
	color: var(--kan-auth-muted);
	font-size: 13px;
	line-height: 1.6;
}

/* Alt bilgi */
.kan-auth__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 16px;
	color: var(--kan-auth-muted);
	font-size: 13px;
}

.kan-auth__foot a {
	color: var(--kan-auth-body) !important;
	font-weight: 500;
	text-decoration: none !important;
}

.kan-auth__foot a:hover {
	color: var(--kan-auth-ink) !important;
}

/* ---- Marka paneli ---- */
.kan-auth__brand {
	display: none;
}

@media (min-width: 992px) {
	.kan-auth__brand {
		position: sticky;
		top: 16px;
		display: flex;
		align-items: flex-end;
		height: calc(100vh - 32px);
		height: calc(100dvh - 32px);
		margin: 16px 16px 16px 0;
		overflow: hidden;
		border-radius: 28px;
		background: #0d0e12 url(../img/dash/adeola-home.webp) center / cover no-repeat;
		isolation: isolate;
	}
}

.kan-auth__brand::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(180deg, rgba(13, 14, 18, .25) 0%, rgba(13, 14, 18, .72) 45%, rgba(13, 14, 18, .96) 100%);
}

.kan-auth__brand-glow {
	position: absolute;
	right: -120px;
	top: -120px;
	z-index: -1;
	width: 420px;
	height: 420px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(212, 24, 24, .55) 0%, rgba(212, 24, 24, 0) 70%);
	filter: blur(10px);
}

.kan-auth__brand-inner {
	width: 100%;
	max-width: 560px;
	padding: clamp(36px, 4.5vw, 64px);
	color: rgba(255, 255, 255, .78);
}

.kan-auth__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 22px;
	padding: 7px 14px;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 999px;
	background: rgba(255, 255, 255, .06);
	color: #fff;
	font-size: 12.5px;
	font-weight: 600;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.kan-auth__badge i {
	color: #ff6b6b;
}

.kan-auth .kan-auth__brand-title {
	margin: 0 0 32px;
	color: #fff;
	font-size: clamp(28px, 2.8vw, 42px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -.03em;
}

.kan-auth__brand-title span {
	color: #ff4d4d;
}

.kan-auth__features {
	display: grid;
	gap: 18px;
	margin: 0 0 36px;
	padding: 0;
	list-style: none;
}

.kan-auth__features li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin: 0;
	padding: 0;
}

.kan-auth__features li::before {
	content: none;
}

.kan-auth__feature-icon {
	display: inline-flex;
	flex: 0 0 40px;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 12px;
	background: rgba(255, 255, 255, .07);
	color: #fff;
	font-size: 15px;
}

.kan-auth__features strong {
	display: block;
	margin-bottom: 2px;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
}

#content .kan-auth .kan-auth__features p {
	margin: 0 !important;
	color: rgba(255, 255, 255, .66);
	font-size: 14px;
	line-height: 1.55;
}

.kan-auth__proof {
	display: flex;
	align-items: center;
	gap: 14px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, .12);
}

.kan-auth__proof img {
	flex: 0 0 auto;
	height: 32px;
	width: auto;
}

#content .kan-auth .kan-auth__proof p {
	margin: 0 !important;
	color: rgba(255, 255, 255, .7);
	font-size: 13.5px;
	line-height: 1.5;
}

.kan-auth__proof strong {
	color: #fff;
	font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
	.kan-auth *,
	.kan-auth *::before,
	.kan-auth *::after {
		transition: none !important;
	}
}
