/* ==========================================================================
   hostingler.com - Kurumsal giris ekrani (v2)
   Sadece login sayfasinda yuklenir (includes/head.tpl).
   Vurgu rengi Shufy renk ayarindan gelir: --btn-primary-bg
   Fotograf: assets/img/hostingler/login-bg.jpg
   ========================================================================== */

.hl-auth {
	/* Tema rengi, beyaz metinle okunur olmasi icin koyulastirilir */
	--hl-accent: color-mix(in srgb, var(--btn-primary-bg, #0cbed5) 72%, #0e1a2b);
	--hl-accent-hover: color-mix(in srgb, var(--btn-primary-bg, #0cbed5) 60%, #0e1a2b);
	--hl-link: var(--hl-accent);
	--hl-ink: #0e1a2b;
	--hl-slate: #5b6878;
	--hl-line: #dce2ea;
	--hl-field: #f6f8fa;
	--hl-paper: #ffffff;
	--hl-photo-base: #0e1a2b;
	--hl-photo: url("../img/hostingler/login-bg.jpg");

	display: flex;
	width: 100%;
	height: calc(100vh / var(--site-zoom, 1));
	background: var(--hl-paper);
	color: var(--hl-ink);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
}

[data-theme="dark"] .hl-auth,
body.body__dark .hl-auth {
	--hl-ink: #e8edf3;
	--hl-slate: #9aa6b4;
	--hl-line: #263445;
	--hl-field: #111c2b;
	--hl-paper: #0b1522;
	/* Shufy koyu modda ana rengi siyah yapar; burada sabit ton kullanilir */
	--hl-accent: #0d93a6;
	--hl-accent-hover: #0b7f90;
	--hl-link: #5cd3e4;
}

/* ---------- Form paneli ---------- */
.hl-auth__panel {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	flex: 0 0 50%;
	max-width: 50%;
	height: 100%;
	overflow-y: auto;
	padding: 36px clamp(32px, 6vw, 96px);
}

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

.hl-auth__logo { margin: 0 !important; }
.hl-auth__logo svg.main__shufy__theme__logo,
.hl-auth__logo img { height: 44px; width: auto; max-width: 200px; }

.hl-auth__toplink {
	color: var(--hl-slate) !important;
	font-size: 14px;
	text-decoration: none !important;
}
.hl-auth__toplink:hover { color: var(--hl-ink) !important; }

.hl-auth__main {
	width: 100%;
	max-width: 400px;
	margin: auto 0;
	padding: 48px 0;
}

.hl-auth__title {
	margin: 0 0 10px;
	color: var(--hl-ink);
	font-family: var(--font-heading);
	font-size: 34px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -.01em;
}

.hl-auth__lead {
	margin: 0 0 36px;
	color: var(--hl-slate);
	font-size: 15px;
	line-height: 1.6;
}

/* Alanlar */
.hl-field { margin-bottom: 20px; }

.hl-field__label {
	display: block;
	margin: 0 0 8px;
	color: var(--hl-ink);
	font-size: 14px;
	font-weight: 600;
}

.hl-field__group {
	position: relative;
	display: flex !important;
	flex-wrap: nowrap !important;
}

.hl-auth .hl-field__input.form-control {
	width: 100%;
	height: 50px;
	padding: 0 16px;
	border: 1px solid var(--hl-line) !important;
	border-radius: 8px !important;
	background: var(--hl-field) !important;
	color: var(--hl-ink) !important;
	font-size: 15px;
	box-shadow: none !important;
	transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.hl-auth .hl-field__group .hl-field__input.form-control { padding-right: 52px; }
.hl-auth .hl-field__input.form-control::placeholder { color: #9aa5b1; opacity: 1; }
.hl-auth .hl-field__input.form-control:focus {
	border-color: var(--hl-accent) !important;
	background: var(--hl-paper) !important;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--hl-accent) 20%, transparent) !important;
}

.hl-field__reveal {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 3;
	width: 50px;
	height: 50px;
	border: 0;
	background: transparent;
	color: var(--hl-slate);
	cursor: pointer;
}
.hl-field__reveal:hover { color: var(--hl-ink); }
.hl-field__reveal:focus-visible { outline: 2px solid var(--hl-accent); outline-offset: -6px; border-radius: 8px; }

.hl-auth__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 4px 0 28px;
}

.hl-check {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	color: var(--hl-ink);
	font-size: 14px;
	cursor: pointer;
}
.hl-check input {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--hl-accent);
	cursor: pointer;
}

.hl-auth__link {
	color: var(--hl-link) !important;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none !important;
}
.hl-auth__link:hover { color: var(--hl-link) !important; text-decoration: underline !important; }

.hl-auth__captcha { margin-bottom: 16px; }

.hl-auth .hl-auth__submit.btn {
	display: block;
	width: 100%;
	height: 52px;
	border: 0 !important;
	border-radius: 8px !important;
	background: var(--hl-accent) !important;
	color: #fff !important;
	font-size: 16px;
	font-weight: 600;
	box-shadow: none !important;
	transition: background-color .15s;
}
.hl-auth .hl-auth__submit.btn:hover { background: var(--hl-accent-hover) !important; }
.hl-auth .hl-auth__submit.btn:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--hl-accent) 35%, transparent);
	outline-offset: 2px;
}

.hl-auth__register {
	margin: 28px 0 0;
	padding-top: 24px;
	border-top: 1px solid var(--hl-line);
	color: var(--hl-slate);
	font-size: 14px;
}

/* Sosyal giris butonlari (varsa) */
.hl-auth__form .social-signin-btns { margin-bottom: 24px; }
.hl-auth__form .social-signin-btns .btn {
	height: 48px;
	border: 1px solid var(--hl-line) !important;
	border-radius: 8px !important;
	background: var(--hl-paper) !important;
	color: var(--hl-ink) !important;
}

.hl-auth__main .alert { border-radius: 8px; margin-bottom: 20px; }

/* Alt bilgi */
.hl-auth__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}
.hl-auth__footnav { display: flex; gap: 24px; flex-wrap: wrap; }
.hl-auth__footnav a {
	color: var(--hl-slate) !important;
	font-size: 13px;
	text-decoration: none !important;
}
.hl-auth__footnav a:hover { color: var(--hl-ink) !important; }
.hl-auth__lang { margin: 0 !important; }

/* ---------- Fotograf paneli ----------
   Form ile fotograf arasinda cizgi yok: fotograf formun arkasina biraz tasar
   ve sol kenari form zeminine (--hl-paper) dogru solar. */
.hl-auth {
	--hl-fade: 240px;          /* solma genisligi */
	--hl-fade-overlap: 120px;  /* formun arkasina tasan kisim */
	--hl-photo-tint: rgba(14, 26, 43, .45);
}
.hl-auth__photo {
	position: relative;
	flex: 1 1 50%;
	margin-left: calc(-1 * var(--hl-fade-overlap));
	overflow: hidden;
	background: transparent;
}

/* Fotograf (giriste lacivert tonla silik) */
.hl-auth__photo::before,
.hl-auth__photo::after {
	content: "";
	position: absolute;
	inset: 0;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .25) calc(var(--hl-fade) * .3), rgba(0, 0, 0, .75) calc(var(--hl-fade) * .65), #000 var(--hl-fade));
	        mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .25) calc(var(--hl-fade) * .3), rgba(0, 0, 0, .75) calc(var(--hl-fade) * .65), #000 var(--hl-fade));
}
.hl-auth__photo::before {
	background-color: var(--hl-photo-base);
	background-image: linear-gradient(var(--hl-photo-tint), var(--hl-photo-tint)), var(--hl-photo);
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	filter: saturate(.8);
}

/* Alt metnin okunmasi icin koyulasma */
.hl-auth__photo::after {
	background: linear-gradient(180deg, rgba(14, 26, 43, .35) 0%, transparent 35%, rgba(14, 26, 43, .9) 100%);
}

.hl-auth__photo-caption {
	position: absolute;
	left: calc(var(--hl-fade) + 8px);
	right: clamp(40px, 5vw, 72px);
	bottom: 48px;
	z-index: 1;
	max-width: 30rem;
	color: #fff;
}
.hl-auth__photo-title {
	margin: 0 0 10px;
	color: #fff !important;
	font-family: var(--font-heading);
	font-size: clamp(26px, 2.4vw, 34px);
	font-weight: 700;
	line-height: 1.15;
}
.hl-auth__photo-text {
	margin: 0 0 28px;
	color: rgba(255, 255, 255, .82) !important;
	font-size: 15px;
	line-height: 1.6;
}
.hl-auth__photo-copy {
	margin: 0;
	color: rgba(255, 255, 255, .6) !important;
	font-size: 13px;
}

/* ---------- Kayit sayfasi ---------- */
.hl-auth--register {
	/* Kayit fotografi; dosya yoksa giris fotografi gorunur (alttaki katman) */
	--hl-photo: url("../img/hostingler/register-bg.jpg"), url("../img/hostingler/login-bg.jpg");
}
.hl-auth--register .hl-auth__panel {
	flex-basis: 38%;
	max-width: 38%;
	min-width: 500px;
	padding-left: clamp(28px, 4vw, 64px);
	padding-right: clamp(28px, 4vw, 64px);
}
/* Kayit fotografi net gorunsun: silik katman yok, sadece alt metin icin koyulasma */
.hl-auth--register { --hl-photo-tint: transparent; }
.hl-auth--register .hl-auth__photo::before { filter: none; }
.hl-auth--register .hl-auth__photo::after {
	background: linear-gradient(180deg, transparent 50%, rgba(14, 26, 43, .8) 100%);
}
.hl-auth--register .hl-auth__main { max-width: 560px; margin: auto 0; padding: 24px 0; }
.hl-auth--register .hl-auth__title { font-size: 30px; }
.hl-auth--register .hl-auth__lead { margin-bottom: 6px; }

.hl-auth__signin { margin: 0 0 24px; color: var(--hl-slate); font-size: 14px; }

/* Adim cubugu */
.hl-steps {
	display: flex;
	gap: 8px;
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
	counter-reset: none;
}
.hl-steps li { flex: 1; min-width: 0; }
.hl-steps__item {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 12px 0 0;
	border: 0;
	border-top: 3px solid var(--hl-line);
	background: none;
	color: var(--hl-slate);
	font-size: 13.5px;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
	transition: border-color .25s, color .25s;
}
.hl-steps__item:hover { color: var(--hl-ink); }
.hl-steps__item:focus-visible { outline: 2px solid var(--hl-accent); outline-offset: 4px; border-radius: 2px; }
.hl-steps__num {
	flex: 0 0 24px;
	height: 24px;
	display: grid;
	place-items: center;
	border: 1.5px solid var(--hl-line);
	border-radius: 50%;
	font-size: 12px;
	transition: all .25s;
}
.hl-steps__text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hl-steps__item.is-active { border-top-color: var(--hl-accent); color: var(--hl-ink); }
.hl-steps__item.is-active .hl-steps__num { border-color: var(--hl-accent); background: var(--hl-accent); color: #fff; }
.hl-steps__item.is-done { border-top-color: var(--hl-accent); color: var(--hl-ink); }
.hl-steps__item.is-done .hl-steps__num { border-color: var(--hl-accent); color: var(--hl-accent); font-size: 0; }
.hl-steps__item.is-done .hl-steps__num::before {
	content: "\2713";
	font-size: 12px;
	font-weight: 700;
}

/* Adimlar */
.hl-step { display: none; min-width: 0; margin: 0; padding: 0; border: 0; }
.hl-step.is-active { display: block; }
.hl-step.is-in-next { animation: hlStepNext .38s cubic-bezier(.2, .7, .2, 1) both; }
.hl-step.is-in-prev { animation: hlStepPrev .38s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes hlStepNext { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes hlStepPrev { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
.hl-step .row { margin-left: -10px; margin-right: -10px; }
.hl-step .row > [class*="col"] { padding-left: 10px; padding-right: 10px; }
.hl-auth--register .hl-field { margin-bottom: 16px; }
.hl-auth--register .hl-field__label { margin-bottom: 6px; }
.hl-auth--register .hl-field__input.form-control,
.hl-auth--register select.form-control { height: 48px; }

.hl-step__actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	margin-top: 8px;
}
.hl-auth--register .hl-step__actions .hl-auth__submit.btn { width: auto; min-width: 200px; padding: 0 28px; }
.hl-step__back {
	height: 52px;
	margin-right: auto;
	padding: 0 4px;
	border: 0;
	background: none;
	color: var(--hl-slate);
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}
.hl-step__back:hover { color: var(--hl-ink); }
.hl-step__back::before { content: "\2190"; margin-right: 8px; }

.hl-field__optional { color: var(--hl-slate); font-weight: 400; }
.hl-field__help { display: block; margin-top: 6px; color: var(--hl-slate); font-size: 12.5px; }

/* select, ozel alanlar ve WHMCS'nin olusturdugu girdiler ayni gorunsun */
.hl-auth select.form-control,
.hl-auth .hl-field--custom .form-control {
	width: 100%;
	height: 50px;
	padding: 0 40px 0 16px;
	border: 1px solid var(--hl-line) !important;
	border-radius: 8px !important;
	background-color: var(--hl-field) !important;
	color: var(--hl-ink) !important;
	font-size: 15px;
	box-shadow: none !important;
}
.hl-auth .hl-field--custom textarea.form-control { height: auto; min-height: 100px; padding: 12px 16px; }
.hl-auth select.form-control:focus,
.hl-auth .hl-field--custom .form-control:focus {
	border-color: var(--hl-accent) !important;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--hl-accent) 20%, transparent) !important;
}

/* Telefon (intl-tel-input) */
.hl-field--phone .iti { display: block; width: 100%; }
.hl-field--phone .iti .hl-field__input.form-control { padding-left: 96px; }

/* Sifre + uretici + guc gostergesi */
.hl-field__pw .hl-field__input.form-control { padding-right: 52px; }
.hl-field__generate {
	position: absolute;
	top: 0;
	right: 0;
	width: 50px;
	height: 50px;
	border: 0;
	background: transparent;
	color: var(--hl-slate);
	cursor: pointer;
}
.hl-field__generate:hover { color: var(--hl-ink); }
.hl-field__generate:focus-visible { outline: 2px solid var(--hl-accent); outline-offset: -6px; border-radius: 8px; }
.hl-strength { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.hl-strength__track.progress { width: 100%; height: 4px; margin: 0; border-radius: 2px; background: var(--hl-line); }
.hl-strength__track .progress-bar { border-radius: 2px; transition: width .2s; }
.hl-strength__label { color: var(--hl-slate); font-size: 12.5px; }

/* Captcha (WHMCS varsayilan resimli dogrulama) - form diliyle uyumlu */
.hl-auth .coodiv__captcha__wrapper .default__shadow__panel {
	border: 1px solid var(--hl-line);
	border-radius: 8px;
	background: transparent;
	box-shadow: none;
}
.hl-auth .coodiv__captcha__wrapper .default__shadow__panel__body {
	padding: 16px 18px;
	text-align: left !important;
}
.hl-auth .coodiv__captcha__wrapper .field__title {
	margin: 0 0 2px;
	color: var(--hl-ink);
	font-size: 14px;
	font-weight: 600 !important;
}
.hl-auth .coodiv__captcha__wrapper .field__title + p { margin: 0 0 12px; color: var(--hl-slate); font-size: 13px; }
.hl-auth #default-captcha-domainchecker { display: flex; align-items: center; gap: 12px; padding: 0 !important; }
.hl-auth #default-captcha-domainchecker .captcha__image__wrapper { margin: 0 !important; flex: 0 0 auto; }
.hl-auth #default-captcha-domainchecker .captcha__image__wrapper img { height: 46px; border-radius: 6px; }
.hl-auth #default-captcha-domainchecker .captcha__input__wrapper { flex: 0 1 220px; justify-content: flex-start !important; margin: 0 !important; }
.hl-auth #inputCaptcha.form-control {
	width: 220px !important;
	max-width: 220px;
	height: 46px;
	margin: 0 !important;
	padding: 0 14px;
	border: 1px solid var(--hl-line) !important;
	border-radius: 8px !important;
	background: var(--hl-field) !important;
	color: var(--hl-ink) !important;
	font-size: 15px;
	letter-spacing: .08em;
	text-transform: uppercase;
	box-shadow: none !important;
}
.hl-auth #inputCaptcha.form-control:focus { border-color: var(--hl-accent) !important; box-shadow: 0 0 0 3px color-mix(in srgb, var(--hl-accent) 20%, transparent) !important; }

/* Bulten onayi */
.hl-optin {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 16px;
	padding: 12px 16px;
	border: 1px solid var(--hl-line);
	border-radius: 8px;
}
.hl-optin__text { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--hl-slate); }
.hl-optin__text span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hl-optin__text strong { color: var(--hl-ink); font-size: 14px; }

.hl-check--tos { align-items: flex-start; margin-bottom: 16px; line-height: 1.5; }
.hl-check--tos input { margin-top: 2px; flex: 0 0 18px; }


/* ---------- Sifre sifirlama: gonderildi ekrani ---------- */
.hl-auth--reset {
	/* dosya yoksa giris fotografi gorunur (alttaki katman) */
	--hl-photo: url("../img/hostingler/reset-bg.jpg"), url("../img/hostingler/login-bg.jpg");
}
.hl-auth--reset { --hl-photo-tint: transparent; }
.hl-auth--reset .hl-auth__photo::before { filter: none; }
.hl-auth--reset .hl-auth__photo::after {
	background: linear-gradient(180deg, transparent 45%, rgba(14, 26, 43, .85) 100%);
}
.hl-done__icon {
	width: 48px;
	height: 48px;
	display: grid;
	place-items: center;
	margin-bottom: 20px;
	border-radius: 50%;
	background: color-mix(in srgb, #16a34a 12%, transparent);
	color: #16a34a;
	font-size: 18px;
}
.hl-done__hint { margin: -20px 0 28px; color: var(--hl-slate); font-size: 13.5px; }
.hl-auth--reset .hl-auth__main .alert { margin-bottom: 24px; }

/* ---------- Duyarli ---------- */
@media (max-width: 991.98px) {
	.hl-auth__photo { display: none; }
	.hl-auth--register .hl-auth__panel { flex-basis: auto; max-width: 100%; min-width: 0; padding-left: 16px; padding-right: 16px; }
	.hl-auth--register .hl-auth__main { margin: 0 auto; padding: 24px 0; }
	.hl-steps__item:not(.is-active) .hl-steps__text { display: none; }
	.hl-steps li { flex: 0 0 56px; }
	.hl-steps li:has(.is-active) { flex: 1 1 auto; }
	.hl-auth--register .hl-step__actions .hl-auth__submit.btn { flex: 1; min-width: 0; }
	.hl-auth__panel {
		flex: 1 1 auto;
		max-width: 100%;
		padding: 24px 16px;
	}
	.hl-auth__main { max-width: 440px; margin: auto; padding: 40px 0; }
	.hl-auth__title { font-size: 30px; }
	.hl-auth__foot { justify-content: center; }
	.hl-auth__footnav { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
	.hl-auth * { transition: none !important; animation: none !important; }
}

body.this__is__login__page .main__page__wraper > .hl-auth { flex: 1 0 auto; }
