body.task-login,
html body.task-login {
	background-image: none !important;
	background-color: #f4f6f9 !important;
	transition: background-color 0.25s ease;
}

html.dark-mode body.task-login {
	background-color: #0b1120 !important;
}

#layout-content,
#layout-content.gm-login {
	background: transparent !important;
	display: block !important;
	padding: 0 16px 40px 16px !important;
}

/* Gmail teması login kartı sarmalayıcısını şeffaflaştır ve fazlalık başlıkları gizle */
.gm-login-card {
	background: transparent !important;
	box-shadow: none !important;
	border: none !important;
	padding: 0 !important;
	max-width: 100% !important;
	width: 100% !important;
}
.gm-login-title,
.gm-login-subtitle {
	display: none !important;
}

/* Aydınlık Mod (Light Mode) Giriş Kartı: gri ince border, çok hafif/belli belirsiz gölge */
#login-form {
	max-width: 480px;
	width: 100%;
	margin: 0 auto;
	background: #ffffff;
	border: 1px solid #eeeeee;
	border-radius: 12px;
	box-shadow: 0 10px 20px 0 rgba(15, 14, 26, 0.035);
	padding: 32px 28px;
	position: relative;
	top: 6vh;
	box-sizing: border-box;
	transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

/* Karanlık Mod (Dark Mode) Giriş Kartı */
html.dark-mode #login-form {
	background: #151f32;
	border: 1px solid #263554;
	box-shadow: 0 12px 24px 0 rgba(0, 0, 0, 0.25);
}

.task-login #logo,
.gm-login-card #logo {
	top: unset !important;
	margin: 0 auto 0.5rem auto !important;
	width: 54% !important;
	max-width: 230px !important;
	height: auto !important;
	display: block !important;
	opacity: 1 !important;
}

/* Logo Altı WebMail Login (h1) Başlığı */
.login-card-heading {
	text-align: center;
	font-size: 1.12rem;
	font-weight: 600;
	color: #334155;
	margin: 0 0 1.35rem 0;
	padding: 0;
	letter-spacing: -0.01em;
	line-height: 1.3;
}

html.dark-mode .login-card-heading {
	color: #e2e8f0;
}

/* Parola Giriş Alanı & Göz Simgesi */
#login-form td.input {
	position: relative;
}

#rcmloginpwd {
	padding-right: 42px !important;
}

.password-toggle-btn {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	padding: 0;
	margin: 0;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #64748b;
	line-height: 1;
	z-index: 5;
}

.password-toggle-btn:hover {
	color: #1e293b;
}

.password-toggle-btn:focus {
	outline: none;
}

.password-toggle-btn svg {
	width: 20px;
	height: 20px;
	display: block;
}

html.dark-mode .password-toggle-btn {
	color: #94a3b8;
}

html.dark-mode .password-toggle-btn:hover {
	color: #f1f5f9;
}

/* Giriş Butonu Altı Hoşgeldiniz Yazısı */
.login-welcome-subtext {
	text-align: center;
	margin-top: 16px;
	margin-bottom: 2px;
	font-size: 0.86rem;
	font-weight: 500;
	color: #64748b;
	letter-spacing: 0.01em;
}

html.dark-mode .login-welcome-subtext {
	color: #94a3b8;
}

/* Turbo AI WordPress Tanıtım Alanı — Beyaz Arka Plan, İnce Gri Çerçeve ve Daha Geniş Mesafe */
.login-banner-wrapper {
	position: relative;
	width: 100%;
	max-width: 820px;
	margin: 128px auto 48px auto;
	top: 6vh;
	display: block;
}

.turboai-login-card {
	display: block;
	width: 100%;
	text-decoration: none !important;
	background: #ffffff;
	border: 1px solid #eeeeee;
	border-radius: 14px;
	padding: 26px 32px;
	box-shadow: 0 10px 20px 0 rgba(15, 14, 26, 0.035);
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.25s ease;
	text-align: left;
	box-sizing: border-box;
}

html.dark-mode .turboai-login-card {
	background: #151f32;
	border: 1px solid #263554;
	box-shadow: 0 12px 24px 0 rgba(0, 0, 0, 0.25);
}

.turboai-login-card:hover {
	transform: translateY(-2px);
	border-color: #cbd5e1;
}

html.dark-mode .turboai-login-card:hover {
	border-color: #334155;
}

.turboai-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
}

.turboai-left {
	flex: 1 1 56%;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.turboai-badge {
	background-color: #ed008c;
	padding: 6px 13px;
	font-size: 14.5px;
	color: #ffffff;
	display: inline-flex;
	align-items: center;
	border-radius: 6px;
	margin-bottom: 12px;
	line-height: 1.2;
}

.turboai-badge svg {
	width: 20px;
	height: 20px;
	margin-right: 6px;
	flex-shrink: 0;
}

.turboai-title {
	font-size: 26px;
	font-weight: 800;
	color: #00205b;
	line-height: 1.22;
	margin-bottom: 10px;
}

html.dark-mode .turboai-title {
	color: #f8fafc;
}

.turboai-title .line-2 span {
	color: #ed008c;
	text-decoration: underline;
}

.turboai-desc {
	font-size: 16px;
	line-height: 1.4;
	color: #334155;
	margin: 0 0 18px 0;
	font-weight: 400;
	max-width: 92%;
}

html.dark-mode .turboai-desc {
	color: #cbd5e1;
}

.turboai-price-box {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	position: relative;
	padding: 8px 18px;
	min-width: 210px;
}

.turboai-price-box::before {
	content: "";
	position: absolute;
	top: 44%;
	left: 0;
	width: 100%;
	bottom: 12px;
	border: 2px solid #ed008c;
	border-radius: 10px;
	z-index: 1;
}

.turboai-price-box .price {
	font-size: 38px;
	font-weight: 800;
	color: #00205b;
	line-height: 0.9;
	z-index: 2;
	background-color: #ffffff;
	padding: 0 8px;
	margin-bottom: 8px;
	border-radius: 4px;
	transition: background-color 0.25s ease, color 0.25s ease;
}

html.dark-mode .turboai-price-box .price {
	color: #f8fafc;
	background-color: #151f32;
}

.turboai-price-box .price sup {
	font-size: 22px;
	top: -5px;
	position: relative;
}

.turboai-price-box .price sub {
	font-size: 17px;
	bottom: 0;
	font-weight: 800;
	position: relative;
}

.turboai-price-box .pre-reg {
	font-size: 13.5px;
	color: #475569;
	font-weight: 600;
	z-index: 2;
	padding: 0 8px;
	background-color: #ffffff;
	border-radius: 4px;
	transition: background-color 0.25s ease, color 0.25s ease;
}

html.dark-mode .turboai-price-box .pre-reg {
	color: #cbd5e1;
	background-color: #151f32;
}

.turboai-right {
	flex: 0 0 42%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.turboai-hero-img {
	width: 100%;
	max-width: 310px;
	height: auto;
	display: block;
}

/* Sayfa Kısa Ekranlarda Banner İle Birlikte Rahat Kaydırılsın */
body.task-login,
body.task-login #layout,
body.task-login #layout-content {
	overflow-y: auto !important;
	height: auto !important;
	min-height: 100vh;
}

@media screen and (max-width: 680px) {
	.turboai-content {
		flex-direction: column;
		text-align: center;
	}
	.turboai-left {
		align-items: center;
		text-align: center;
	}
	.turboai-desc {
		max-width: 100%;
	}
	.turboai-hero-img {
		max-width: 240px;
	}
}

@media screen and (max-height: 820px) {
	#login-form,
	.login-banner-wrapper {
		top: 3vh;
	}
}

/* Gmail Teması Giriş Formu Hizalama ve Buton Stili */
.gm-login-card .formbuttons {
	display: flex !important;
	justify-content: center !important;
	padding-top: 20px !important;
}
.gm-login-card #rcmloginsubmit,
#login-form #rcmloginsubmit {
	width: 100% !important;
	height: 46px !important;
	border-radius: 8px !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	justify-content: center !important;
}
.gm-login-card td.title label {
	font-size: 13px !important;
	font-weight: 600 !important;
	color: #334155 !important;
}
html.dark-mode .gm-login-card td.title label {
	color: #cbd5e1 !important;
}

/* Giriş Kartı Sağ Üst Gece / Gündüz (Tema) Değiştirme İkon Butonu */
.login-theme-toggle-btn {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid #e2e8f0;
	background: #f8fafc;
	color: #334155;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	margin: 0;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
	z-index: 10;
}

.login-theme-toggle-btn:hover {
	background: #f1f5f9;
	color: #0f172a;
	border-color: #cbd5e1;
	transform: scale(1.05);
}

.login-theme-toggle-btn:focus {
	outline: none;
}

html.dark-mode .login-theme-toggle-btn {
	background: rgba(30, 41, 59, 0.85);
	border-color: rgba(71, 85, 105, 0.6);
	color: #fbbf24;
}

html.dark-mode .login-theme-toggle-btn:hover {
	background: rgba(51, 65, 85, 0.95);
	color: #fde68a;
	border-color: rgba(148, 163, 184, 0.5);
}

/* Kademeli Geciktirme (Cooldown) Buton ve Input Stilleri */
#login-form input.form-control:disabled {
	opacity: 0.65 !important;
	cursor: not-allowed !important;
	background-color: #f1f5f9 !important;
}

html.dark-mode #login-form input.form-control:disabled {
	background-color: #0f172a !important;
	opacity: 0.6 !important;
}

#rcmloginsubmit.is-cooldown,
#rcmloginsubmit:disabled {
	opacity: 0.82 !important;
	cursor: not-allowed !important;
	background-color: #64748b !important;
	border-color: #64748b !important;
	color: #ffffff !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
}

html.dark-mode #rcmloginsubmit.is-cooldown,
html.dark-mode #rcmloginsubmit:disabled {
	background-color: #334155 !important;
	border-color: #475569 !important;
	color: #e2e8f0 !important;
}

.cooldown-spinner {
	width: 15px;
	height: 15px;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-top-color: #ffffff;
	border-radius: 50%;
	display: inline-block;
	animation: rcSpin 0.8s linear infinite;
}

@keyframes rcSpin {
	to { transform: rotate(360deg); }
}

/* Yerel SVG Güvenlik Kodu (Captcha) Satırı */
.login-captcha-row td {
	padding-top: 8px !important;
}

.login-captcha-box {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
}

.login-captcha-visual {
	display: inline-flex;
	align-items: center;
	background: #f8fafc;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	padding: 2px 4px 2px 2px;
	flex-shrink: 0;
	height: 44px;
	box-sizing: border-box;
}

html.dark-mode .login-captcha-visual {
	background: #1e293b;
	border-color: #334155;
}

#loginCaptchaImg {
	display: block;
	height: 38px;
	width: 128px;
	border-radius: 6px;
	user-select: none;
	-webkit-user-drag: none;
}

.captcha-refresh-btn {
	background: transparent;
	border: none;
	color: #475569;
	width: 30px;
	height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	border-radius: 6px;
	padding: 0;
	margin-left: 2px;
	transition: background-color 0.15s ease, color 0.15s ease, transform 0.25s ease;
}

.captcha-refresh-btn:hover {
	background: #e2e8f0;
	color: #0f172a;
}

html.dark-mode .captcha-refresh-btn {
	color: #94a3b8;
}

html.dark-mode .captcha-refresh-btn:hover {
	background: #334155;
	color: #f8fafc;
}

.captcha-refresh-btn.spinning svg {
	animation: rcSpin 0.35s linear infinite;
}

.login-captcha-input {
	flex: 1 1 auto !important;
	min-width: 100px !important;
	height: 44px !important;
	font-family: monospace, sans-serif !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	letter-spacing: 0.18em !important;
	text-transform: uppercase !important;
	text-align: center !important;
}

.login-captcha-input::placeholder {
	font-family: system-ui, -apple-system, sans-serif !important;
	font-size: 13px !important;
	font-weight: 400 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
}

@media screen and (max-width: 460px) {
	.login-captcha-box {
		flex-direction: column;
		align-items: stretch;
	}
	.login-captcha-visual {
		justify-content: space-between;
	}
}

/* Giriş Ekranında Sol Alt Toast Bildirimini Gizle ve Input Üstü Inline Uyarı Kutusunu Göster */
body.task-login #messagestack {
	display: none !important;
}

.login-inline-alert {
	display: flex;
	align-items: center;
	gap: 10px;
	background-color: #fef2f2;
	border: 1px solid #fecaca;
	color: #b91c1c;
	border-radius: 8px;
	padding: 11px 14px;
	margin: 0 0 18px 0;
	font-size: 13.5px;
	font-weight: 500;
	line-height: 1.35;
	text-align: left;
}

.login-inline-alert svg {
	flex-shrink: 0;
	color: #dc2626;
}

html.dark-mode .login-inline-alert {
	background-color: rgba(127, 29, 29, 0.28);
	border-color: rgba(248, 113, 113, 0.35);
	color: #fca5a5;
}

html.dark-mode .login-inline-alert svg {
	color: #f87171;
}
