/*
 * Eres Guard — markalı giriş ekranı (Eres Medya tasarım dili, v0.8 iki panel).
 * YALNIZ WordPress login sayfasına (body.login.eres-guard-login) scope'lu.
 * Login mantığını DEĞİŞTİRMEZ; yalnız görünüm. Harici kütüphane yok.
 * Admin ayarları (logo/zemin/buton) --egl-* değişkenleriyle ezilebilir.
 *
 * Düzen (masaüstü): sol koyu marka paneli (.eres-guard-login__aside,
 * position:absolute) + sağda açık zemin (body::after) üstünde akan
 * çekirdek içerik (#login, .language-switcher, footer); içerik uzarsa
 * ikisi de body ile birlikte uzar. Çekirdek
 * işaretlemesi yeniden sıralanmaz; panel çerçevesi yalnız CSS'tir.
 * Mobil (≤900px): panel üst şeride iner, tek sütun.
 */

/* Yazı tipi: Plus Jakarta Sans (değişken, 200–800) — eklentiyle birlikte
   gelir (assets/fonts, SIL OFL 1.1). Google Fonts/CDN YOK: ziyaretçi IP'si
   dışarı gitmez. latin-ext Türkçe karakterleri (ş ğ İ ı) kapsar. */
@font-face {
	font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap;
	src: url(../fonts/plus-jakarta-sans-latin-wght-normal.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap;
	src: url(../fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
body.login.eres-guard-login {
	--egl-page: #eef0f8;
	--egl-aside1: #0b1130; --egl-aside2: #141c46;
	--egl-card: #fbfbfe; --egl-field: #ffffff;
	--egl-border: #e3e6ef; --egl-border-2: #cfd5e3;
	--egl-text: #0f1733; --egl-muted: #4f5b78; --egl-subtle: #7d88a3;
	--egl-primary: #2457f5; --egl-primary-700: #1b46d6; --egl-accent: #7136f0;
	--egl-primary-soft: #e7edff; --egl-link: #6a2fe0;
	--egl-danger: #d23f57; --egl-danger-soft: #fdeef1; --egl-danger-bd: #f3c9d2;
	--egl-warn: #c77700; --egl-warn-soft: #fff5e2; --egl-warn-bd: #f3dca6;
	--egl-radius: 26px; --egl-radius-sm: 10px;
	--egl-gap: 20px;
	--egl-aside-w: clamp(380px, 41vw, 680px);
	--egl-font: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;

	position: relative; z-index: 0;
	background: var(--egl-page) !important;
	min-height: 100vh; height: auto; margin: 0; box-sizing: border-box; /* çekirdek html,body{height:100%} → içerik uzarsa kart da uzasın */
	padding: calc(var(--egl-gap) + 84px) calc(var(--egl-gap) + 40px) calc(var(--egl-gap) + 28px)
		calc(var(--egl-gap) + var(--egl-aside-w) + 40px);
	display: flex; flex-direction: column; align-items: center; justify-content: safe center;
	font-family: var(--egl-font); color: var(--egl-text);
}
/* Sağ panel zemini (kartın sağ yarısı) */
body.login.eres-guard-login::before { content: none; }
/* Çekirdek form/düğme stilleri kendi font yığınını verir → hepsi aynı fontu kullansın */
body.login.eres-guard-login :is(input, button, select, textarea, .button) { font-family: var(--egl-font); }
body.login.eres-guard-login::after {
	content: ""; position: absolute; z-index: -1;
	top: var(--egl-gap); bottom: var(--egl-gap); right: var(--egl-gap);
	left: calc(var(--egl-gap) + var(--egl-aside-w));
	background: var(--egl-card); border-radius: 0 var(--egl-radius) var(--egl-radius) 0;
	box-shadow: 0 30px 70px -40px rgba(20, 30, 80, .35);
}

/* ---------------------------------------------------------------- sol panel */
.eres-guard-login__aside {
	position: absolute; z-index: 1; box-sizing: border-box;
	top: var(--egl-gap); bottom: var(--egl-gap); left: var(--egl-gap); width: var(--egl-aside-w);
	padding: 64px clamp(40px, 5vw, 76px) 56px;
	border-radius: var(--egl-radius) 0 0 var(--egl-radius); overflow: hidden;
	background:
		radial-gradient(120% 70% at 30% 85%, rgba(92, 70, 255, .22) 0%, rgba(92, 70, 255, 0) 60%),
		linear-gradient(165deg, var(--egl-aside1) 0%, var(--egl-aside2) 100%);
	color: #fff; display: flex; flex-direction: column;
}
.eres-guard-login__brand {
	display: inline-flex; align-items: center; gap: 14px; align-self: flex-start;
	color: #fff !important; text-decoration: none; font-size: 26px; font-weight: 700; letter-spacing: -.01em;
}
.eres-guard-login__brand:focus-visible { outline: 2px solid #9fb3ff; outline-offset: 6px; border-radius: 6px; }
.eres-guard-login__logo {
	width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
	background-size: contain; background-repeat: no-repeat; background-position: center;
}
.eres-guard-login__logo .eres-guard-login__icon { width: 36px; height: 36px; }
.eres-guard-login__logo--img { width: 48px; height: 48px; border-radius: 10px; background-image: var(--egl-logo); }
.eres-guard-login__hero { margin: clamp(40px, 9vh, 96px) 0 0; }
.eres-guard-login__headline {
	margin: 0; font-size: clamp(30px, 3vw, 46px); line-height: 1.12; font-weight: 800;
	letter-spacing: -.02em; color: #fff;
}
.eres-guard-login__lead { margin: 14px 0 0; font-size: clamp(16px, 1.35vw, 21px); line-height: 1.45; color: #a9b7ff; }
.eres-guard-login__art {
	flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center;
	margin: 24px 0;
}
.eres-guard-login__art svg { width: 100%; max-width: 440px; height: auto; max-height: 100%; }
.eres-guard-login__owner {
	display: flex; align-items: center; gap: 24px; font-size: 18px; font-weight: 700; color: #fff;
}
.eres-guard-login__owner::after {
	content: ""; flex: 1 1 auto; max-width: 360px; height: 2px; border-radius: 2px;
	background: linear-gradient(90deg, #5b6bd8, rgba(91, 107, 216, .25));
}

/* ---------------------------------------------------------------- sağ panel */
body.login.eres-guard-login #login {
	width: 100%; max-width: 520px; margin: 0; padding: 0;
	background: transparent; border: 0; box-shadow: none; position: static;
}
body.login.eres-guard-login #login h1.wp-login-logo { display: none; }

.eres-guard-login__head { margin: 0 0 30px; padding: 0 0 26px; border-bottom: 2px solid var(--egl-border); }
.eres-guard-login__badge {
	display: inline-flex; align-items: center; gap: 10px; padding: 7px 18px 7px 12px;
	border-radius: 999px; background: var(--egl-primary-soft); color: var(--egl-primary);
	font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.eres-guard-login__badge .eres-guard-login__icon { width: 20px; height: 20px; flex: 0 0 auto; }
.eres-guard-login__h {
	margin: 18px 0 6px; font-size: clamp(30px, 2.8vw, 44px); line-height: 1.1; font-weight: 800;
	letter-spacing: -.02em; color: var(--egl-text);
}
.eres-guard-login__p { margin: 0; font-size: 17px; line-height: 1.45; color: var(--egl-muted); }

/* Bilgi / uyarı kartları (recovery, captcha, throttle, hata, mesaj) */
body.login.eres-guard-login #login .message,
body.login.eres-guard-login #login_error,
body.login.eres-guard-login #login .notice,
.eres-guard-login__notice {
	border: 1px solid var(--egl-border); background: #fff;
	border-radius: var(--egl-radius-sm); box-shadow: none; padding: 12px 14px;
	margin: 0 0 20px; font-size: 14px; color: var(--egl-text);
	border-left: 4px solid var(--egl-primary);
}
body.login.eres-guard-login #login_error {
	border-left-color: var(--egl-danger); background: var(--egl-danger-soft);
	border-color: var(--egl-danger-bd); color: #93203a;
}
.eres-guard-login__notice--warn {
	border-left-color: var(--egl-warn) !important; background: var(--egl-warn-soft) !important;
	border-color: var(--egl-warn-bd) !important; color: #7a4d05 !important;
}
.eres-guard-login__notice strong { display: block; margin-bottom: 2px; }
.eres-guard-login__notice code { background: rgba(20,33,61,.07); padding: 1px 6px; border-radius: 5px; }

/* ---------------------------------------------------------------- form */
body.login.eres-guard-login #loginform,
body.login.eres-guard-login #lostpasswordform,
body.login.eres-guard-login #resetpassform,
body.login.eres-guard-login #registerform {
	border: 0; background: transparent; box-shadow: none; padding: 0; margin: 0; overflow: visible;
}
/* Giriş formu flex: "Beni hatırla" + "Parolamı unuttum" aynı satırda
   (DOM sırası değişmez; yalnız görsel order). */
body.login.eres-guard-login #loginform { display: flex; flex-wrap: wrap; align-items: center; }
body.login.eres-guard-login #loginform > * { flex: 0 0 100%; box-sizing: border-box; }
body.login.eres-guard-login #loginform > .forgetmenot { order: 1; flex: 1 1 auto; }
body.login.eres-guard-login #loginform > .eres-guard-login__lost { order: 2; flex: 0 0 auto; margin: 0 0 26px auto; }
body.login.eres-guard-login #loginform > .submit { order: 3; }
body.login.eres-guard-login #loginform > input[type=hidden] { flex: 0 0 0; }

body.login.eres-guard-login #login form > p,
body.login.eres-guard-login #login form .user-pass-wrap,
body.login.eres-guard-login #resetpassform .user-pass1-wrap { margin: 0 0 22px; }
body.login.eres-guard-login #login form label,
body.login.eres-guard-login #login form .user-pass1-wrap > p > label {
	display: block; margin: 0 0 9px; font-size: 16px; font-weight: 700; color: var(--egl-text);
}
body.login.eres-guard-login #login form input[type=text],
body.login.eres-guard-login #login form input[type=password],
body.login.eres-guard-login #login form input[type=email] {
	width: 100%; height: 54px; padding: 10px 16px; font-size: 16px; box-sizing: border-box;
	border: 1.5px solid var(--egl-border-2); border-radius: var(--egl-radius-sm);
	background-color: var(--egl-field); color: var(--egl-text); box-shadow: none; margin: 0; line-height: 1.3;
	font-family: inherit; /* çekirdek .password-input monospace'ini ezer */
	transition: border-color .15s ease, box-shadow .15s ease;
}
body.login.eres-guard-login #login form input::placeholder { color: #6b7590; opacity: 1; }
body.login.eres-guard-login #login form input:focus {
	border-color: var(--egl-primary); box-shadow: 0 0 0 4px var(--egl-primary-soft); outline: none;
}
/* Alan ikonları (kullanıcı / kilit) — satır-içi SVG, harici istek yok */
body.login.eres-guard-login #user_login,
body.login.eres-guard-login #user_pass,
body.login.eres-guard-login #user_email {
	padding-left: 52px !important; background-repeat: no-repeat; background-position: 18px center; background-size: 22px 22px;
}
body.login.eres-guard-login #user_login,
body.login.eres-guard-login #user_email {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f5b78' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 20.5c.8-3.8 4-6 8-6s7.2 2.2 8 6'/%3E%3C/svg%3E");
}
body.login.eres-guard-login #user_pass {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f5b78' stroke-width='1.6' stroke-linejoin='round'%3E%3Crect x='4.5' y='10.5' width='15' height='10' rx='2'/%3E%3Cpath d='M8 10.5V7.5a4 4 0 0 1 8 0v3'/%3E%3Ccircle cx='12' cy='15.5' r='1.2' fill='%234f5b78' stroke='none'/%3E%3C/svg%3E");
}

/* Şifre göster/gizle (WP core .wp-pwd) dikey merkez.
   .wp-pwd FLEX: inline <input> descender boşluğunu kaldırır → absolute
   butonun top:50% merkezi input'un GERÇEK dikey merkezine oturur. */
body.login.eres-guard-login .wp-pwd { position: relative; display: flex; align-items: center; }
body.login.eres-guard-login .wp-pwd input { padding-right: 56px !important; width: 100%; }
body.login.eres-guard-login .wp-pwd .button.wp-hide-pw {
	position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
	background: transparent; border: 0; box-shadow: none; color: var(--egl-muted);
	height: 38px; width: 38px; padding: 0; min-height: 0; line-height: 1; border-radius: 8px;
	display: flex; align-items: center; justify-content: center; margin: 0;
}
body.login.eres-guard-login .wp-pwd .button.wp-hide-pw .dashicons { font-size: 22px; width: 22px; height: 22px; }
body.login.eres-guard-login .wp-pwd .button.wp-hide-pw:hover { color: var(--egl-primary); }
body.login.eres-guard-login .wp-pwd .button.wp-hide-pw:focus { box-shadow: 0 0 0 3px var(--egl-primary-soft); }

/* Beni hatırla — özel checkbox + (WP 7.1) yardım ipucu */
body.login.eres-guard-login .forgetmenot {
	display: flex; align-items: center; gap: 12px; font-size: 16px;
	color: var(--egl-text); margin: 0 0 26px !important; float: none;
}
body.login.eres-guard-login #login form .forgetmenot label {
	display: inline; margin: 0; font-size: 16px; font-weight: 700; color: var(--egl-text);
	line-height: 22px; cursor: pointer;
}
body.login.eres-guard-login .forgetmenot input[type=checkbox] {
	appearance: none; -webkit-appearance: none; -moz-appearance: none;
	width: 24px; height: 24px; margin: 0; flex: 0 0 auto; position: relative;
	border: 1.5px solid var(--egl-border-2); border-radius: 6px; background: #fff;
	cursor: pointer; transition: background .12s ease, border-color .12s ease; box-shadow: none;
}
body.login.eres-guard-login .forgetmenot input[type=checkbox]::before { content: none !important; }
body.login.eres-guard-login .forgetmenot input[type=checkbox]:hover { border-color: var(--egl-primary); }
body.login.eres-guard-login .forgetmenot input[type=checkbox]:checked {
	background: var(--egl-primary); border-color: var(--egl-primary);
}
body.login.eres-guard-login .forgetmenot input[type=checkbox]:checked::after {
	content: ""; position: absolute; left: 7px; top: 2px;
	width: 6px; height: 12px; border: solid #fff; border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
body.login.eres-guard-login .forgetmenot input[type=checkbox]:focus-visible {
	outline: 2px solid var(--egl-primary); outline-offset: 2px;
}
body.login.eres-guard-login .forgetmenot .wp-tooltip__toggle {
	color: var(--egl-muted); background: transparent; border: 0; padding: 0; margin: 0 0 0 4px;
	width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
body.login.eres-guard-login .forgetmenot .wp-tooltip__toggle .dashicons { font-size: 24px; width: 24px; height: 24px; }
body.login.eres-guard-login .forgetmenot .wp-tooltip__toggle:hover { color: var(--egl-primary); }
body.login.eres-guard-login .forgetmenot .wp-tooltip__text { font-weight: 400; font-size: 13px; line-height: 1.5; }

.eres-guard-login__lost {
	font-size: 16px; font-weight: 700; color: var(--egl-link) !important; text-decoration: none;
}
.eres-guard-login__lost:hover { text-decoration: underline; }
/* Çekirdek #nav'daki aynı bağlantı (yukarıda gösterildiği için) gizli */
body.login.eres-guard-login #loginform:has(.eres-guard-login__lost) ~ #nav .wp-login-lost-password { display: none; }
body.login.eres-guard-login #loginform:has(.eres-guard-login__lost) ~ #nav:not(:has(a:not(.wp-login-lost-password))) { display: none; }

/* Üçüncü taraf "Google ile giriş" (Site Kit) düğmesi formun başına JS ile
   eklenir → etiketlere yapışmasın */
body.login.eres-guard-login .googlesitekit-sign-in-with-google__frontend-output-button { margin: 0 0 20px !important; }

/* Captcha widget (FormGuard enjekte eder; satır-içi margin'i ezer) */
body.login.eres-guard-login .cf-turnstile,
body.login.eres-guard-login .g-recaptcha { margin: 2px 0 22px !important; }

/* CTA buton: degrade + ok ikonu (input'a pseudo eklenemez → çoklu zemin) */
body.login.eres-guard-login #login form .submit { margin: 0; text-align: center; float: none; padding: 0; }
body.login.eres-guard-login #login form #wp-submit,
body.login.eres-guard-login #login form .submit .button-primary {
	width: 100%; float: none; height: 60px; padding: 0 56px; font-size: 19px; font-weight: 700; letter-spacing: .005em;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") no-repeat right 22px center / 26px 26px,
		linear-gradient(90deg, var(--egl-primary) 0%, var(--egl-accent) 100%);
	border: 0; border-radius: var(--egl-radius-sm);
	color: #fff; box-shadow: 0 14px 26px -14px rgba(60, 60, 230, .75); cursor: pointer;
	text-shadow: none; transition: filter .15s ease, box-shadow .15s ease;
}
body.login.eres-guard-login #login form #wp-submit:hover { filter: brightness(1.07); }
body.login.eres-guard-login #login form #wp-submit:focus-visible { outline: 3px solid var(--egl-primary-soft); outline-offset: 2px; }
body.login.eres-guard-login #login form #wp-submit:active { transform: translateY(1px); }
/* Parola sıfırlama ekranındaki "Parola oluştur" ikincil butonu düz kalsın */
body.login.eres-guard-login #resetpassform .wp-generate-pw { margin: 0 0 18px; }

/* ---------------------------------------------------------------- alt linkler */
body.login.eres-guard-login #nav,
body.login.eres-guard-login #backtoblog,
body.login.eres-guard-login .privacy-policy-page-link {
	text-align: center; padding: 0; margin: 0; font-size: 16px; text-shadow: none;
}
body.login.eres-guard-login #nav { margin: 22px 0 0; }
body.login.eres-guard-login #nav a { color: var(--egl-link); font-weight: 700; text-decoration: none; }
body.login.eres-guard-login #nav a:hover { text-decoration: underline; }
body.login.eres-guard-login #backtoblog {
	margin: 34px 0 0; padding: 30px 0 0;
	background: linear-gradient(90deg, var(--egl-border-2) 50%, transparent 50%) top left / 14px 1.5px repeat-x;
}
body.login.eres-guard-login #backtoblog a {
	color: var(--egl-text); font-size: 19px; font-weight: 700;
	text-decoration: underline; text-decoration-color: rgba(15, 23, 51, .35); text-underline-offset: 4px;
}
body.login.eres-guard-login .privacy-policy-page-link { margin: 22px 0 0; }
body.login.eres-guard-login .privacy-policy-page-link a {
	color: var(--egl-primary); font-size: 16px; text-decoration: underline; text-underline-offset: 3px;
}
body.login.eres-guard-login #backtoblog a:hover,
body.login.eres-guard-login .privacy-policy-page-link a:hover { color: var(--egl-primary-700); }

/* ---------------------------------------------------------------- dil seçici */
/* Sağ panelin sağ üst köşesi: tek parça "hap" — küre + seçili dil + ok.
   "Değiştir" düğmesi JS açıkken yalnız farklı bir dil seçilince görünür
   (#language-switcher.is-dirty; footer'daki küçük betik). JS kapalıysa
   düğme her zaman görünür → çekirdek davranışı korunur. Otomatik gönderim
   YOK: klavyeyle ok tuşlarında gezinirken sayfa yenilenmesin (erişilebilirlik). */
body.login.eres-guard-login .language-switcher {
	position: absolute; z-index: 2; top: calc(var(--egl-gap) + 30px); right: calc(var(--egl-gap) + 40px);
	width: auto; max-width: none; margin: 0; padding: 0;
}
body.login.eres-guard-login .language-switcher form,
body.login.eres-guard-login #language-switcher {
	display: flex; align-items: center; gap: 2px; margin: 0; width: auto; box-sizing: border-box;
	height: 40px; padding: 0 5px 0 12px;
	background: #fff; border: 1px solid var(--egl-border); border-radius: 999px;
	box-shadow: 0 1px 2px rgba(15, 23, 51, .05), 0 6px 16px -10px rgba(15, 23, 51, .18);
	transition: border-color .15s ease, box-shadow .15s ease;
}
body.login.eres-guard-login #language-switcher:hover { border-color: var(--egl-border-2); }
body.login.eres-guard-login #language-switcher:focus-within {
	border-color: var(--egl-primary); box-shadow: 0 0 0 4px var(--egl-primary-soft);
}
/* Etiket metni ("Dil") görsel olarak gizli, ekran okuyucuda kalır; küre ikonu görünür */
body.login.eres-guard-login .language-switcher label {
	font-size: 0; line-height: 0; color: var(--egl-muted); margin: 0; display: inline-flex; align-items: center; cursor: pointer;
}
body.login.eres-guard-login .language-switcher label .dashicons {
	font-size: 19px; width: 19px; height: 19px; margin: 0; color: var(--egl-muted); transition: color .15s ease;
}
body.login.eres-guard-login #language-switcher:hover label .dashicons,
body.login.eres-guard-login #language-switcher:focus-within label .dashicons { color: var(--egl-primary); }
body.login.eres-guard-login .language-switcher label .dashicons-translation::before { content: "\f319"; } /* dashicons-admin-site-alt3 (küre) */
body.login.eres-guard-login .language-switcher select {
	appearance: none; -webkit-appearance: none; border: 0; outline: none; box-shadow: none !important;
	background: transparent
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f5b78' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 6px center / 16px 16px;
	height: 38px; line-height: 38px; padding: 0 28px 0 8px; margin: 0;
	font-size: 15px; font-weight: 600; color: var(--egl-text);
	max-width: 190px; min-height: 0; cursor: pointer; border-radius: 999px;
	field-sizing: content; /* seçili dil kadar genişlik (destekleyen tarayıcılarda) */
}
body.login.eres-guard-login .language-switcher select option { font-weight: 500; color: var(--egl-text); background: #fff; }
body.login.eres-guard-login .language-switcher .button {
	height: 30px; min-height: 0; padding: 0 14px; margin: 0 0 0 4px; line-height: 30px;
	border: 0; border-radius: 999px; box-shadow: none; cursor: pointer;
	background: linear-gradient(90deg, var(--egl-primary), var(--egl-accent)); color: #fff;
	font-size: 13px; font-weight: 700; text-shadow: none; white-space: nowrap;
	transition: filter .15s ease;
}
body.login.eres-guard-login .language-switcher .button:hover { filter: brightness(1.08); color: #fff; }
body.login.eres-guard-login .language-switcher .button:focus-visible { outline: 2px solid var(--egl-primary); outline-offset: 2px; }
body.login.eres-guard-login.js #language-switcher:not(.is-dirty) .button { display: none; }
body.login.eres-guard-login.js #language-switcher.is-dirty .button { animation: egl-pop .18s ease-out; }
@keyframes egl-pop { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- footer */
body.login.eres-guard-login .eres-guard-login__footer {
	width: 100%; max-width: 640px; margin: 48px auto 0; padding: 0;
	display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 0;
	text-align: center; font-size: 15px; line-height: 1.5; color: var(--egl-muted);
}
body.login.eres-guard-login .eres-guard-login__footer .dashicons { font-size: 20px; width: 20px; height: 20px; margin-right: 8px; }
body.login.eres-guard-login .eres-guard-login__footer .sep { margin: 0 18px; color: var(--egl-border-2); }

/* ---------------------------------------------------------------- 2FA vb. çekirdek dışı ekranlar */
body.login.eres-guard-login #login form p[style] { color: var(--egl-muted) !important; }

/* ---------------------------------------------------------------- orta ekran */
@media (max-width: 1200px) {
	body.login.eres-guard-login { --egl-aside-w: clamp(320px, 38vw, 460px); }
	.eres-guard-login__aside { padding: 48px 40px 40px; }
}

/* ---------------------------------------------------------------- alçak ekran (masaüstü)
   Hedef: 1920×1080 + %125 ölçek (≈1536×730 görünür alan) ve 1366×768
   dizüstüler kaydırmasız sığsın. Yalnız boşluk/boyut küçülür; düzen aynı. */
@media (min-width: 901px) and (max-height: 940px) {
	body.login.eres-guard-login { padding-top: calc(var(--egl-gap) + 48px); padding-bottom: calc(var(--egl-gap) + 10px); }
	body.login.eres-guard-login .language-switcher { top: calc(var(--egl-gap) + 16px); }
	.eres-guard-login__aside { padding-top: 44px; padding-bottom: 40px; }
	.eres-guard-login__brand { font-size: 22px; }
	.eres-guard-login__hero { margin-top: 6vh; }
	.eres-guard-login__headline { font-size: clamp(28px, 2.6vw, 40px); }
	.eres-guard-login__lead { font-size: 16px; margin-top: 10px; }
	.eres-guard-login__art { margin: 12px 0; }
	.eres-guard-login__owner { font-size: 15px; }

	.eres-guard-login__head { margin-bottom: 18px; padding-bottom: 16px; }
	.eres-guard-login__badge { padding: 5px 14px 5px 10px; font-size: 11.5px; }
	.eres-guard-login__badge .eres-guard-login__icon { width: 17px; height: 17px; }
	.eres-guard-login__h { margin: 10px 0 4px; font-size: 34px; }
	.eres-guard-login__p { font-size: 15px; }
	body.login.eres-guard-login #login form > p,
	body.login.eres-guard-login #login form .user-pass-wrap { margin-bottom: 14px; }
	body.login.eres-guard-login #login form label { font-size: 14px; margin-bottom: 6px; }
	body.login.eres-guard-login #login form input[type=text],
	body.login.eres-guard-login #login form input[type=password],
	body.login.eres-guard-login #login form input[type=email] { height: 46px; font-size: 15px; }
	body.login.eres-guard-login .cf-turnstile,
	body.login.eres-guard-login .g-recaptcha { margin: 0 0 14px !important; }
	body.login.eres-guard-login .forgetmenot { margin-bottom: 16px !important; }
	body.login.eres-guard-login #login form .forgetmenot label,
	.eres-guard-login__lost { font-size: 15px; }
	body.login.eres-guard-login #loginform > .eres-guard-login__lost { margin-bottom: 16px; }
	body.login.eres-guard-login #login form #wp-submit { height: 50px; font-size: 17px; }
	body.login.eres-guard-login #nav { margin-top: 10px; font-size: 15px; }
	body.login.eres-guard-login #login .message,
	body.login.eres-guard-login #login_error,
	body.login.eres-guard-login #login .notice,
	.eres-guard-login__notice { margin-bottom: 14px; padding: 9px 12px; font-size: 13px; }
	body.login.eres-guard-login #backtoblog { margin-top: 18px; padding-top: 16px; }
	body.login.eres-guard-login #backtoblog a { font-size: 16px; }
	body.login.eres-guard-login .privacy-policy-page-link { margin-top: 10px; }
	body.login.eres-guard-login .privacy-policy-page-link a { font-size: 14px; }
	body.login.eres-guard-login .eres-guard-login__footer { margin-top: 18px; font-size: 13px; }
	body.login.eres-guard-login .eres-guard-login__footer .dashicons { font-size: 16px; width: 16px; height: 16px; margin-right: 6px; }
}
/* Çok alçak: ≤800px (≈1536×730 + Google ile giriş/reCAPTCHA gibi ek
   öğeli formlar, 1366×768 dizüstü ~650px) */
@media (min-width: 901px) and (max-height: 800px) {
	body.login.eres-guard-login { padding-top: calc(var(--egl-gap) + 40px); padding-bottom: calc(var(--egl-gap) + 4px); }
	body.login.eres-guard-login .language-switcher { top: calc(var(--egl-gap) + 10px); }
	body.login.eres-guard-login .language-switcher form,
	body.login.eres-guard-login #language-switcher { height: 36px; }
	body.login.eres-guard-login .language-switcher select { height: 34px; line-height: 34px; font-size: 14px; }
	.eres-guard-login__head { margin-bottom: 14px; padding-bottom: 12px; }
	.eres-guard-login__h { margin-top: 8px; font-size: 28px; }
	.eres-guard-login__p { font-size: 14px; }
	body.login.eres-guard-login #login form > p,
	body.login.eres-guard-login #login form .user-pass-wrap { margin-bottom: 10px; }
	body.login.eres-guard-login #login form input[type=text],
	body.login.eres-guard-login #login form input[type=password],
	body.login.eres-guard-login #login form input[type=email] { height: 42px; }
	body.login.eres-guard-login .cf-turnstile,
	body.login.eres-guard-login .g-recaptcha { margin-bottom: 10px !important; }
	body.login.eres-guard-login .googlesitekit-sign-in-with-google__frontend-output-button { margin-bottom: 12px !important; }
	body.login.eres-guard-login .forgetmenot { margin-bottom: 12px !important; }
	body.login.eres-guard-login #loginform > .eres-guard-login__lost { margin-bottom: 12px; }
	body.login.eres-guard-login #login form #wp-submit { height: 46px; font-size: 16px; }
	body.login.eres-guard-login #backtoblog { margin-top: 14px; padding-top: 12px; }
	body.login.eres-guard-login #backtoblog a { font-size: 15px; }
	body.login.eres-guard-login .privacy-policy-page-link { margin-top: 6px; }
	body.login.eres-guard-login .eres-guard-login__footer { margin-top: 12px; font-size: 12px; }
	.eres-guard-login__hero { margin-top: 4vh; }
	.eres-guard-login__headline { font-size: clamp(26px, 2.3vw, 34px); }
}

/* ---------------------------------------------------------------- mobil */
@media (max-width: 900px) {
	body.login.eres-guard-login {
		--egl-gap: 0px;
		padding: 0 0 32px; justify-content: flex-start; background: var(--egl-card) !important;
	}
	body.login.eres-guard-login::after { content: none; }
	body.login.eres-guard-login > * { flex-shrink: 0; }
	.eres-guard-login__aside {
		position: relative; top: auto; bottom: auto; left: auto; width: 100%;
		padding: 28px 22px 30px; border-radius: 0 0 22px 22px;
	}
	.eres-guard-login__brand { font-size: 21px; }
	.eres-guard-login__hero { margin: 26px 0 0; }
	.eres-guard-login__headline { font-size: 28px; }
	.eres-guard-login__lead { font-size: 15px; margin-top: 8px; }
	.eres-guard-login__art,
	.eres-guard-login__owner { display: none; }

	body.login.eres-guard-login #login { width: auto; max-width: 520px; padding: 30px 22px 0; box-sizing: border-box; align-self: stretch; margin: 0 auto; }
	/* Dil seçici mobilde akışa döner: formun altında, ortalı */
	body.login.eres-guard-login .language-switcher { position: static; margin: 30px auto 0; }
	.eres-guard-login__h { font-size: 30px; }
	.eres-guard-login__p { font-size: 15.5px; }
	body.login.eres-guard-login #login form input[type=text],
	body.login.eres-guard-login #login form input[type=password] { font-size: 15px; }
	body.login.eres-guard-login .eres-guard-login__footer { margin: 34px 22px 0; width: auto; font-size: 13px; }
	body.login.eres-guard-login .eres-guard-login__footer .sep { margin: 0 10px; }
}
@media (max-width: 420px) {
	body.login.eres-guard-login #login form #wp-submit { height: 54px; font-size: 17px; }
	body.login.eres-guard-login #backtoblog a { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
	body.login.eres-guard-login * { transition: none !important; }
}
