/* ==========================================================================
   hostingler.com - Musteri paneli ana sayfasi (clientareahome-hl.tpl)
   Giris/kayit ekranlariyla ayni dil: sakin yuzeyler, ince cizgiler,
   tek vurgu rengi. Gece/gunduz: [data-theme="dark"] degiskenleri.
   ========================================================================== */

.hl-ca {
	--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-accent-soft: color-mix(in srgb, var(--btn-primary-bg, #0cbed5) 10%, transparent);
	--hl-ink: #0e1a2b;
	--hl-text: #2b3a4d;
	--hl-slate: #64748b;
	--hl-faint: #94a3b8;
	--hl-line: #e5e9f0;
	--hl-soft: #f7f9fb;
	--hl-paper: #ffffff;
	--hl-shadow: 0 1px 2px rgba(14, 26, 43, .04), 0 4px 16px -8px rgba(14, 26, 43, .08);
	--hl-danger: #c2410c;
	--hl-danger-soft: #fff6f1;
	--hl-warning: #b45309;
	--hl-warning-soft: #fffaeb;

	max-width: 1280px;
	padding: 36px 0 56px;
	color: var(--hl-text);
	font-family: var(--font-body);
}

/* Shufy gece modu: yuklemede html[data-theme], gecis butonunda body.body__dark */
[data-theme="dark"] .hl-ca,
body.body__dark .hl-ca {
	/* Shufy koyu zemini (#1A1A1C) ile uyumlu notr tonlar */
	--hl-accent: #14a5b9;
	--hl-accent-hover: #1bb8cd;
	--hl-accent-soft: rgba(20, 165, 185, .16);
	--hl-ink: #f2f3f5;
	--hl-text: #c9ccd1;
	--hl-slate: #9a9fa8;
	--hl-faint: #6b7079;
	--hl-line: #303236;
	--hl-soft: #2a2b2e;
	--hl-paper: #222326;
	--hl-shadow: none;
	--hl-danger: #fb8a5b;
	--hl-danger-soft: rgba(251, 138, 91, .09);
	--hl-warning: #f5b84a;
	--hl-warning-soft: rgba(245, 184, 74, .08);
}

/* ---------- Baslik ---------- */
.hl-ca__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	margin-bottom: 32px;
}
.hl-ca__title {
	margin: 0 0 8px;
	color: var(--hl-ink);
	font-family: var(--font-heading);
	font-size: 30px;
	font-weight: 700;
	letter-spacing: -.02em;
	line-height: 1.15;
}
.hl-ca__lead { margin: 0; color: var(--hl-slate); font-size: 15px; }
.hl-ca__head-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Butonlar ve linkler ---------- */
.hl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 44px;
	padding: 0 20px;
	border: 1px solid var(--hl-line);
	border-radius: 10px;
	background: var(--hl-paper);
	color: var(--hl-ink) !important;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none !important;
	white-space: nowrap;
	transition: background-color .15s, border-color .15s;
}
.hl-btn:hover { border-color: var(--hl-faint); }
.hl-btn--primary { border-color: var(--hl-accent); background: var(--hl-accent); color: #fff !important; }
.hl-btn--primary:hover { border-color: var(--hl-accent-hover); background: var(--hl-accent-hover); }
.hl-btn--small { height: 36px; padding: 0 14px; font-size: 13px; }
.hl-btn i { font-size: 12px; }
.hl-btn:disabled { opacity: .55; cursor: default; }
.hl-btn--danger { color: var(--hl-danger) !important; }
.hl-btn--danger:hover { border-color: var(--hl-danger); background: var(--hl-danger-soft); }
/* Cozuldu olarak isaretle */
.hl-btn--resolve { color: #15803d !important; }
.hl-btn--resolve:hover { border-color: #22a06b; background: color-mix(in srgb, #22a06b 8%, var(--hl-paper)); }
.hl-btn--done:disabled { opacity: 1; border-color: color-mix(in srgb, #22a06b 35%, var(--hl-line)); background: color-mix(in srgb, #22a06b 8%, var(--hl-paper)); color: #15803d !important; }
[data-theme="dark"] .hl-btn--resolve, body.body__dark .hl-btn--resolve,
[data-theme="dark"] .hl-btn--done:disabled, body.body__dark .hl-btn--done:disabled { color: #4ade80 !important; }

.hl-link {
	color: var(--hl-accent) !important;
	font-size: 13.5px;
	font-weight: 600;
	text-decoration: none !important;
	white-space: nowrap;
}
.hl-link:hover { text-decoration: underline !important; }

.hl-ca a:focus-visible, .hl-ca button:focus-visible {
	outline: 2px solid var(--hl-accent);
	outline-offset: 2px;
	border-radius: 6px;
}

/* ---------- Uyari ---------- */
.hl-alert {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 12px;
	padding: 14px 16px 14px 18px;
	border: 1px solid var(--hl-line);
	border-radius: 12px;
	background: var(--hl-warning-soft);
	color: var(--hl-text);
	font-size: 14px;
}
.hl-alert__dot { flex: 0 0 8px; height: 8px; border-radius: 50%; background: var(--hl-warning); }
.hl-alert--danger { background: var(--hl-danger-soft); }
.hl-alert--danger .hl-alert__dot { background: var(--hl-danger); }
.hl-alert__text { flex: 1; min-width: 0; }
.hl-alert__text strong { color: var(--hl-ink); font-weight: 600; margin-right: 6px; }
.hl-alert__text p, .hl-alert__text div { display: inline; margin: 0; color: var(--hl-slate); font-size: 14px; line-height: 1.5; }

/* ---------- Ozet: dort kart ----------
   Tek renk: tema rengi. Sakin, hafif tonlu yuzey; sag altta buyuk silik ikon. */
.hl-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin: 20px 0 32px;
}
.hl-stat {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-height: 128px;
	padding: 22px 24px;
	border: 1px solid color-mix(in srgb, var(--hl-accent) 14%, var(--hl-line));
	border-radius: 14px;
	background: color-mix(in srgb, var(--hl-accent) 4%, var(--hl-paper));
	box-shadow: var(--hl-shadow);
	color: var(--hl-ink) !important;
	text-decoration: none !important;
	overflow: hidden;
	transition: border-color .15s, background-color .15s;
}
.hl-stat:hover {
	border-color: color-mix(in srgb, var(--hl-accent) 40%, var(--hl-line));
	background: color-mix(in srgb, var(--hl-accent) 7%, var(--hl-paper));
}
.hl-stat__label {
	position: relative;
	z-index: 1;
	color: var(--hl-slate);
	font-size: 13px;
	font-weight: 600;
}
.hl-stat__value {
	position: relative;
	z-index: 1;
	color: var(--hl-ink);
	font-family: var(--font-heading);
	font-size: 34px;
	font-weight: 700;
	letter-spacing: -.02em;
	line-height: 1;
}
.hl-stat__note { position: relative; z-index: 1; margin-top: -2px; color: var(--hl-danger); font-size: 13px; font-weight: 600; }
.hl-stat--attention .hl-stat__value { color: var(--hl-danger); }

/* Buyuk silik ikon (tema renginde) */
.hl-stat__icon {
	position: absolute;
	right: -4px;
	bottom: -12px;
	color: var(--hl-accent);
	font-size: 88px;
	line-height: 1;
	opacity: .09;
	pointer-events: none;
	transition: opacity .2s;
}
.hl-stat:hover .hl-stat__icon { opacity: .15; }
[data-theme="dark"] .hl-stat, body.body__dark .hl-stat { background: color-mix(in srgb, var(--hl-accent) 6%, var(--hl-paper)); }
[data-theme="dark"] .hl-stat:hover, body.body__dark .hl-stat:hover { background: color-mix(in srgb, var(--hl-accent) 10%, var(--hl-paper)); }
[data-theme="dark"] .hl-stat__icon, body.body__dark .hl-stat__icon { opacity: .12; }

/* ---------- Izgara ---------- */
.hl-ca__grid {
	display: grid;
	grid-template-columns: 330px minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}
/* Hesap sutunu solda */
.hl-ca__side { order: -1; }
.hl-ca__main, .hl-ca__side { display: flex; flex-direction: column; gap: 24px; min-width: 0; }

/* ---------- Kart ---------- */
.hl-card {
	border: 1px solid var(--hl-line);
	border-radius: 14px;
	background: var(--hl-paper);
	box-shadow: var(--hl-shadow);
	overflow: hidden;
}
.hl-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 22px;
}
.hl-card__heading { display: flex; align-items: center; gap: 14px; min-width: 0; }
.hl-card__icon {
	flex: 0 0 40px;
	height: 40px;
	display: grid;
	place-items: center;
	border-radius: 10px;
	background: var(--hl-accent-soft);
	color: var(--hl-accent);
	font-size: 15px;
}
.hl-card__title {
	margin: 0;
	color: var(--hl-ink);
	font-family: var(--font-heading);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: -.01em;
	line-height: 1.3;
}
.hl-card__sub { margin: 2px 0 0; color: var(--hl-slate); font-size: 13px; line-height: 1.4; }
.hl-card__action {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	height: 34px;
	padding: 0 14px;
	border: 1px solid var(--hl-line);
	border-radius: 8px;
	background: var(--hl-paper);
	color: var(--hl-ink) !important;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none !important;
	transition: border-color .15s, color .15s;
}
.hl-card__action:hover { border-color: var(--hl-accent); color: var(--hl-accent) !important; }
.hl-card__body { padding: 4px 22px 20px; color: var(--hl-text); font-size: 14px; }
.hl-card__body p:last-child { margin-bottom: 0; }
.hl-card__foot {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 22px;
	border-top: 1px solid var(--hl-line);
	color: var(--hl-slate);
	font-size: 13px;
}
.hl-card__foot[hidden] { display: none; }

.hl-empty {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 26px 22px;
	border-top: 1px solid var(--hl-line);
	background: linear-gradient(180deg, var(--hl-soft), var(--hl-paper));
}
.hl-empty__icon {
	flex: 0 0 52px;
	height: 52px;
	display: grid;
	place-items: center;
	border: 1px solid color-mix(in srgb, var(--hl-accent) 18%, var(--hl-line));
	border-radius: 14px;
	background: var(--hl-paper);
	color: var(--hl-accent);
	font-size: 20px;
}
.hl-empty__text { flex: 1; min-width: 0; }
.hl-empty__title { margin: 0; color: var(--hl-ink); font-size: 15px; font-weight: 700; }
.hl-empty__desc { margin: 3px 0 0; color: var(--hl-slate); font-size: 13.5px; line-height: 1.5; }
.hl-empty__actions { display: flex; flex: 0 0 auto; gap: 8px; }

/* WHMCS panel govdelerindeki formlar (alan adi arama vb.) */
.hl-card__body .input-group { display: flex; gap: 8px; flex-wrap: nowrap; }
.hl-card__body .form-control {
	height: 46px;
	padding: 0 14px;
	border: 1px solid var(--hl-line) !important;
	border-radius: 10px !important;
	background: var(--hl-soft) !important;
	color: var(--hl-ink) !important;
	font-size: 14.5px;
	box-shadow: none !important;
}
.hl-card__body .form-control:focus { border-color: var(--hl-accent) !important; background: var(--hl-paper) !important; }
.hl-card__body .btn {
	height: 46px;
	padding: 0 20px;
	border: 0 !important;
	border-radius: 10px !important;
	background: var(--hl-accent) !important;
	color: #fff !important;
	font-weight: 600;
}

/* ---------- Liste satirlari ---------- */
.hl-list { border-top: 1px solid var(--hl-line); }
.hl-row {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 22px;
	border-bottom: 1px solid var(--hl-line);
	color: var(--hl-ink) !important;
	text-decoration: none !important;
	transition: background-color .15s;
}
.hl-list > div > .hl-row:last-child { border-bottom: 0; }
a.hl-row:hover { background: var(--hl-soft); }
.hl-row__icon {
	flex: 0 0 36px;
	height: 36px;
	display: grid;
	place-items: center;
	border: 1px solid var(--hl-line);
	border-radius: 10px;
	background: var(--hl-soft);
	color: var(--hl-slate);
	font-size: 13px;
	transition: color .15s, border-color .15s, background-color .15s;
}
a.hl-row:hover .hl-row__icon {
	border-color: color-mix(in srgb, var(--hl-accent) 30%, var(--hl-line));
	background: var(--hl-accent-soft);
	color: var(--hl-accent);
}
.hl-row__go { flex: 0 0 auto; color: var(--hl-faint); font-size: 10px; transition: transform .15s, color .15s; }
a.hl-row:hover .hl-row__go { color: var(--hl-accent); transform: translateX(2px); }
.hl-row__main {
	flex: 1;
	min-width: 0;
	color: var(--hl-ink);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.45;
}
.hl-row__main br { display: none; }
.hl-row__main .text-domain,
.hl-row__main .text-last-updated,
.hl-row__main small {
	display: block;
	margin-top: 2px;
	color: var(--hl-slate);
	font-size: 12.5px;
	font-weight: 400;
}
.hl-row__main .truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Destek talebi numarasi */
.hl-row__ref {
	display: block;
	margin-bottom: 1px;
	color: var(--hl-accent);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .02em;
}
.hl-row__badge {
	padding: 2px 9px;
	border-radius: 999px;
	background: var(--hl-soft);
	color: var(--hl-slate);
	font-size: 12px;
	font-weight: 600;
}

/* WHMCS durum etiketi -> nokta + metin (JS satirin sagina tasir) */
.hl-ca .hl-pill {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--hl-pill, var(--hl-faint)) 11%, transparent) !important;
	color: color-mix(in srgb, var(--hl-pill, var(--hl-faint)) 75%, var(--hl-ink));
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}
.hl-ca .hl-pill::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--hl-pill, var(--hl-faint));
}
[data-theme="dark"] .hl-ca .hl-pill, body.body__dark .hl-ca .hl-pill {
	color: color-mix(in srgb, var(--hl-pill, var(--hl-faint)) 70%, #fff);
	background: color-mix(in srgb, var(--hl-pill, var(--hl-faint)) 16%, transparent) !important;
}
.hl-row__main .hl-pill { margin-right: 8px; }

/* Sayfalama */
.hl-pager { justify-content: flex-end; }
.hl-pager .page-numbers { margin-right: 4px; }
.hl-pager__btn {
	width: 32px;
	height: 32px;
	display: grid;
	place-items: center;
	border: 1px solid var(--hl-line);
	border-radius: 8px;
	background: var(--hl-paper);
	color: var(--hl-ink);
	font-size: 11px;
	cursor: pointer;
}
.hl-pager__btn:disabled { opacity: .35; cursor: default; }

/* ---------- Hesap karti ---------- */
.hl-account__top {
	padding: 22px 22px 18px;
	background: linear-gradient(180deg, color-mix(in srgb, var(--hl-accent) 8%, var(--hl-paper)) 0%, var(--hl-paper) 100%);
	border-bottom: 1px solid var(--hl-line);
}
.hl-account__id { display: flex; align-items: center; gap: 14px; }
.hl-account__avatar {
	flex: 0 0 52px;
	height: 52px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--hl-accent);
	box-shadow: 0 0 0 4px var(--hl-paper), 0 0 0 5px color-mix(in srgb, var(--hl-accent) 30%, var(--hl-line));
	color: #fff;
	font-family: var(--font-heading);
	font-size: 17px;
	font-weight: 700;
	letter-spacing: .02em;
	text-transform: uppercase;
}
.hl-account__who { min-width: 0; }
.hl-account__name { margin: 0; color: var(--hl-ink); font-size: 16px; font-weight: 700; text-transform: capitalize; }
.hl-account__mail { margin: 2px 0 0; color: var(--hl-slate); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hl-account__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.hl-account__meta:empty { display: none; }
.hl-account__chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	max-width: 100%;
	padding: 4px 10px;
	border: 1px solid var(--hl-line);
	border-radius: 999px;
	background: var(--hl-paper);
	color: var(--hl-slate);
	font-size: 12px;
	font-weight: 500;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.hl-account__chip b { color: var(--hl-ink); font-weight: 700; }
.hl-account__chip i { color: var(--hl-faint); font-size: 11px; }

.hl-account__balance {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 18px 22px;
	padding: 16px;
	border: 1px solid var(--hl-line);
	border-radius: 12px;
	background: var(--hl-soft);
}
.hl-account__balance-label { display: block; color: var(--hl-slate); font-size: 12px; font-weight: 500; }
.hl-account__balance-value { display: block; margin-top: 2px; color: var(--hl-ink); font-family: var(--font-heading); font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.hl-account__balance .hl-btn { gap: 6px; padding: 0 12px; }
.hl-account__balance .hl-btn i { font-size: 10px; }

.hl-account__links { display: flex; flex-direction: column; padding: 0 10px 8px; }
.hl-account__links a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 9px 12px;
	border-radius: 10px;
	color: var(--hl-ink) !important;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none !important;
	transition: background-color .15s;
}
.hl-account__links a:hover { background: var(--hl-soft); }
.hl-account__ico {
	flex: 0 0 32px;
	height: 32px;
	display: grid;
	place-items: center;
	border-radius: 8px;
	background: var(--hl-soft);
	color: var(--hl-slate);
	font-size: 13px;
	transition: background-color .15s, color .15s;
}
.hl-account__links a:hover .hl-account__ico { background: var(--hl-accent-soft); color: var(--hl-accent); }
.hl-account__go { margin-left: auto; color: var(--hl-faint); font-size: 10px; transition: transform .15s, color .15s; }
.hl-account__links a:hover .hl-account__go { color: var(--hl-accent); transform: translateX(2px); }

.hl-account__foot { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--hl-line); }
.hl-account__foot a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 10px;
	color: var(--hl-slate) !important;
	font-size: 13.5px;
	font-weight: 600;
	text-decoration: none !important;
	transition: color .15s, background-color .15s;
}
.hl-account__foot a + a { border-left: 1px solid var(--hl-line); }
.hl-account__foot a:hover { background: var(--hl-soft); color: var(--hl-ink) !important; }
.hl-account__foot i { font-size: 12px; }
.hl-account__foot .hl-account__logout:hover { color: var(--hl-danger) !important; }

/* Yardim karti */
.hl-help { padding: 20px 22px; }
.hl-help__title { margin: 0; color: var(--hl-ink); font-size: 15px; font-weight: 700; }
.hl-help__text { margin: 4px 0 14px; color: var(--hl-slate); font-size: 13.5px; line-height: 1.5; }
.hl-help__links { display: flex; flex-direction: column; gap: 8px; }
.hl-help__title + .hl-help__links { margin-top: 14px; }
.hl-help__links a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border: 1px solid var(--hl-line);
	border-radius: 10px;
	color: var(--hl-ink) !important;
	font-size: 13.5px;
	font-weight: 600;
	text-decoration: none !important;
	transition: border-color .15s, color .15s;
}
.hl-help__links a:hover { border-color: var(--hl-accent); color: var(--hl-accent) !important; }
.hl-help__links i { width: 16px; color: var(--hl-accent); font-size: 13px; text-align: center; }

.hl-ca__promo > * { border-radius: 14px; overflow: hidden; }

/* ==========================================================================
   Destek talepleri: liste (supportticketslist) ve detay (viewticket)
   ========================================================================== */
.hl-back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 18px;
	color: var(--hl-slate) !important;
	font-size: 13.5px;
	font-weight: 600;
	text-decoration: none !important;
}
.hl-back:hover { color: var(--hl-accent) !important; }
.hl-back i { font-size: 11px; }

/* Arama */
.hl-search {
	position: relative;
	flex: 0 1 260px;
	margin: 0;
}
.hl-search i {
	position: absolute;
	top: 50%;
	left: 12px;
	color: var(--hl-faint);
	font-size: 12px;
	transform: translateY(-50%);
	pointer-events: none;
}
.hl-search input {
	width: 100%;
	height: 38px;
	padding: 0 12px 0 34px;
	border: 1px solid var(--hl-line);
	border-radius: 9px;
	background: var(--hl-soft);
	color: var(--hl-ink);
	font: inherit;
	font-size: 13.5px;
	outline: 0;
	transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.hl-search input::placeholder { color: var(--hl-faint); }
.hl-search input:focus { border-color: var(--hl-accent); background: var(--hl-paper); box-shadow: 0 0 0 3px var(--hl-accent-soft); }

/* Talep satiri */
.hl-tk__subject { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hl-tk__row.is-unread .hl-tk__subject { color: var(--hl-ink); font-weight: 700; }
.hl-tk__unread {
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-right: 8px;
	border-radius: 50%;
	background: var(--hl-accent);
	vertical-align: 1px;
}
.hl-tk__nomatch { padding: 28px 22px; color: var(--hl-slate); font-size: 14px; text-align: center; }
.hl-tk__nomatch[hidden] { display: none; }

/* Durum filtresi */
.hl-filter { padding: 18px 12px 12px; }
.hl-filter__title {
	margin: 0 10px 10px;
	color: var(--hl-slate);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.hl-filter__list { display: flex; flex-direction: column; gap: 2px; }
.hl-filter__btn {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 10px 12px;
	border: 0;
	border-radius: 9px;
	background: transparent;
	color: var(--hl-text);
	font: inherit;
	font-size: 14px;
	font-weight: 500;
	text-align: left;
	cursor: pointer;
	transition: background-color .15s, color .15s;
}
.hl-filter__btn:hover { background: var(--hl-soft); color: var(--hl-ink); }
.hl-filter__btn.is-active { background: var(--hl-accent-soft); color: var(--hl-accent); font-weight: 600; }
.hl-filter__btn:focus-visible { outline: 2px solid var(--hl-accent); outline-offset: 1px; }
.hl-filter__dot { flex: 0 0 8px; height: 8px; border-radius: 50%; background: var(--hl-pill, var(--hl-faint)); }
.hl-filter__label { flex: 1; min-width: 0; }
.hl-filter__count {
	min-width: 24px;
	padding: 1px 8px;
	border-radius: 999px;
	background: var(--hl-soft);
	color: var(--hl-slate);
	font-size: 12px;
	font-weight: 600;
	text-align: center;
}
.hl-filter__btn.is-active .hl-filter__count { background: var(--hl-paper); color: var(--hl-accent); }

/* Detay basligi */
.hl-tk__heading { min-width: 0; }
.hl-tk__heading .hl-row__ref { font-size: 13px; margin-bottom: 4px; }
.hl-tk__title { overflow-wrap: anywhere; }
.hl-tk__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 12px; color: var(--hl-slate); font-size: 13.5px; }
.hl-tk__meta > span:not(.hl-pill) { display: inline-flex; align-items: center; gap: 7px; }
.hl-tk__meta i { color: var(--hl-faint); font-size: 12px; }
.hl-alert__text--list ul { display: inline; margin: 0; padding: 0; list-style: none; }
.hl-alert__text--list li { display: inline; color: var(--hl-slate); font-size: 14px; }
.hl-alert__text--list li + li::before { content: " · "; }

/* Yazisma */
.hl-thread { display: flex; flex-direction: column; gap: 16px; }
.hl-msg {
	border: 1px solid var(--hl-line);
	border-radius: 14px;
	background: var(--hl-paper);
	box-shadow: var(--hl-shadow);
	overflow: hidden;
}
.hl-msg--staff {
	border-color: color-mix(in srgb, var(--hl-accent) 28%, var(--hl-line));
	background: color-mix(in srgb, var(--hl-accent) 3%, var(--hl-paper));
}
.hl-msg__head {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 20px;
	border-bottom: 1px solid var(--hl-line);
}
.hl-msg--staff .hl-msg__head { border-bottom-color: color-mix(in srgb, var(--hl-accent) 16%, var(--hl-line)); }
.hl-msg__avatar {
	flex: 0 0 38px;
	height: 38px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--hl-soft);
	color: var(--hl-text);
	font-family: var(--font-heading);
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
}
.hl-msg--staff .hl-msg__avatar { background: var(--hl-accent); color: #fff; font-size: 14px; }
.hl-msg__who { flex: 1; min-width: 0; }
.hl-msg__name { margin: 0; color: var(--hl-ink); font-size: 14.5px; font-weight: 700; line-height: 1.3; }
.hl-msg__role { color: var(--hl-slate); font-size: 12.5px; }
.hl-msg--staff .hl-msg__role { color: var(--hl-accent); font-weight: 600; }
.hl-msg__date { flex: 0 0 auto; color: var(--hl-slate); font-size: 12.5px; }
.hl-msg__body {
	padding: 18px 20px;
	color: var(--hl-text);
	font-size: 14.5px;
	line-height: 1.7;
	overflow-wrap: anywhere;
}
.hl-msg__body > :last-child { margin-bottom: 0; }
.hl-msg__body p,
.hl-msg__body li,
.hl-msg__body div { color: var(--hl-text); font-size: 14.5px; line-height: 1.7; }
.hl-msg__body p { margin: 0 0 12px; }
.hl-msg__body ul, .hl-msg__body ol { margin: 0 0 12px; padding-left: 20px; }
.hl-msg__body a { color: var(--hl-accent); }
.hl-msg__body pre, .hl-msg__body code {
	border-radius: 6px;
	background: var(--hl-soft);
	color: var(--hl-ink);
	font-size: 13px;
}
.hl-msg__body pre { padding: 12px 14px; overflow-x: auto; }
.hl-msg__body code { padding: 1px 5px; }
.hl-msg__body blockquote { margin: 0 0 12px; padding: 4px 0 4px 14px; border-left: 3px solid var(--hl-line); color: var(--hl-slate); }
.hl-msg__body img { max-width: 100%; height: auto; border-radius: 8px; }

.hl-msg__files { padding: 0 20px 18px; }
.hl-msg__files-title { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; color: var(--hl-slate); font-size: 12.5px; font-weight: 600; }
.hl-msg__files ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.hl-file {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	max-width: 100%;
	padding: 8px 12px;
	border: 1px solid var(--hl-line);
	border-radius: 9px;
	background: var(--hl-paper);
	color: var(--hl-ink) !important;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none !important;
	transition: border-color .15s, color .15s;
}
a.hl-file:hover { border-color: var(--hl-accent); color: var(--hl-accent) !important; }
.hl-file i { color: var(--hl-faint); }
.hl-file__dl { margin-left: 4px; font-size: 11px; }
.hl-file.is-removed { color: var(--hl-faint) !important; text-decoration: line-through !important; }

.hl-msg__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 12px 20px;
	border-top: 1px solid var(--hl-line);
	color: var(--hl-faint);
	font-size: 12.5px;
}
.hl-msg__rate { margin-left: auto; }

/* Yanit formu */
.hl-reply__body { display: flex; flex-direction: column; gap: 18px; padding: 4px 22px 22px; }
.hl-reply__who { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hl-reply__who.d-none { display: none !important; }
.hl-field { margin: 0; }
.hl-field > label { display: block; margin-bottom: 8px; color: var(--hl-ink); font-size: 13.5px; font-weight: 600; }
.hl-field__hint { margin: 10px 0 0; color: var(--hl-slate); font-size: 12.5px; line-height: 1.5; }
.hl-reply .form-control {
	min-height: 46px;
	padding: 10px 14px;
	border: 1px solid var(--hl-line) !important;
	border-radius: 10px !important;
	background: var(--hl-soft) !important;
	color: var(--hl-ink) !important;
	font: inherit;
	font-size: 14.5px;
	box-shadow: none !important;
	transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.hl-reply .form-control:focus {
	border-color: var(--hl-accent) !important;
	background: var(--hl-paper) !important;
	box-shadow: 0 0 0 3px var(--hl-accent-soft) !important;
}
.hl-reply textarea.form-control { min-height: 200px; line-height: 1.6; resize: vertical; }

/* Markdown duzenleyici (WHMCS bootstrap-markdown) */
.hl-reply .md-editor {
	border: 1px solid var(--hl-line) !important;
	border-radius: 10px;
	background: var(--hl-paper);
	box-shadow: none !important;
	overflow: hidden;
}
.hl-reply .md-editor.active { border-color: var(--hl-accent) !important; box-shadow: 0 0 0 3px var(--hl-accent-soft) !important; }
.hl-reply .md-editor > .md-header {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 8px 10px !important;
	border-bottom: 1px solid var(--hl-line);
	background: var(--hl-soft) !important;
}
.hl-reply .md-editor .btn-group { display: inline-flex; gap: 2px; margin: 0 !important; }
.hl-reply .md-editor .md-header .btn {
	height: 30px;
	min-width: 30px;
	padding: 0 8px !important;
	border: 0 !important;
	border-radius: 7px !important;
	background: transparent !important;
	color: var(--hl-slate) !important;
	font-size: 12.5px;
	box-shadow: none !important;
}
.hl-reply .md-editor .md-header .btn:hover,
.hl-reply .md-editor .md-header .btn.active { background: var(--hl-paper) !important; color: var(--hl-ink) !important; }
.hl-reply .md-editor > textarea.form-control,
.hl-reply .md-editor > .md-preview {
	border: 0 !important;
	border-radius: 0 !important;
	background: var(--hl-paper) !important;
	box-shadow: none !important;
}
.hl-reply .md-editor > .md-preview { padding: 14px; color: var(--hl-text); }
.hl-reply .md-editor .md-footer, .hl-reply .md-editor > .md-footer {
	padding: 8px 12px !important;
	border-top: 1px solid var(--hl-line);
	background: var(--hl-soft) !important;
	color: var(--hl-slate);
	font-size: 12px;
}

/* Dosya ekleri */
.hl-attach { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.hl-attach .custom-file { position: relative; flex: 1; min-width: 0; height: 44px; margin: 0; }
.hl-attach .custom-file-input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 2; }
.hl-attach .custom-file-label {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	height: 44px;
	margin: 0;
	padding: 0 14px;
	border: 1px dashed color-mix(in srgb, var(--hl-accent) 30%, var(--hl-line)) !important;
	border-radius: 10px !important;
	background: var(--hl-soft) !important;
	color: var(--hl-slate) !important;
	font-size: 13.5px;
	font-weight: 500;
	box-shadow: none !important;
}
.hl-attach .custom-file-label::after { display: none !important; }
.hl-attach .custom-file-label::before {
	content: "\f093";
	position: static;
	flex: 0 0 auto;
	margin-right: 10px;
	color: var(--hl-accent);
	font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free";
	font-size: 13px;
	font-weight: 900;
}
.hl-attach .custom-file:hover .custom-file-label { border-color: var(--hl-accent) !important; }
.hl-attach .hl-btn { flex: 0 0 auto; height: 44px; }
#fileUploadsContainer .hl-attach .custom-file { flex: 1; }
.hl-reply__foot { justify-content: flex-end; padding: 14px 22px; }
.hl-reply__foot .hl-btn { cursor: pointer; }

/* Talep bilgileri */
.hl-info { padding: 18px 12px 8px; }
.hl-info__list { margin: 0; }
.hl-info__list > div {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 11px 10px;
	border-top: 1px solid var(--hl-line);
}
.hl-info__list > div:first-child { border-top: 0; }
.hl-info__list dt { margin: 0; color: var(--hl-slate); font-size: 13px; font-weight: 500; }
.hl-info__list dd { margin: 0; color: var(--hl-ink); font-size: 13.5px; font-weight: 600; text-align: right; overflow-wrap: anywhere; }

/* ---------- Yeni destek talebi ---------- */
/* Adim gostergesi */
.hl-flow {
	display: flex;
	gap: 8px;
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
	counter-reset: none;
}
.hl-flow__item {
	position: relative;
	flex: 1;
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	padding: 12px 16px;
	border: 1px solid var(--hl-line);
	border-radius: 12px;
	background: var(--hl-paper);
	color: var(--hl-slate);
	font-size: 14px;
	font-weight: 600;
}
.hl-flow__link { display: flex; align-items: center; gap: 10px; min-width: 0; color: inherit !important; text-decoration: none !important; }
.hl-flow__n {
	flex: 0 0 28px;
	height: 28px;
	display: grid;
	place-items: center;
	border: 1px solid var(--hl-line);
	border-radius: 50%;
	background: var(--hl-soft);
	color: var(--hl-slate);
	font-size: 12.5px;
	font-weight: 700;
}
.hl-flow__text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hl-flow__item.is-current {
	border-color: color-mix(in srgb, var(--hl-accent) 45%, var(--hl-line));
	background: color-mix(in srgb, var(--hl-accent) 5%, var(--hl-paper));
	color: var(--hl-ink);
}
.hl-flow__item.is-current .hl-flow__n { border-color: var(--hl-accent); background: var(--hl-accent); color: #fff; }
.hl-flow__item.is-done .hl-flow__n { border-color: color-mix(in srgb, var(--hl-accent) 35%, var(--hl-line)); background: var(--hl-accent-soft); color: var(--hl-accent); font-size: 11px; }
.hl-flow__item.is-current.is-done .hl-flow__n { background: #22a06b; border-color: #22a06b; color: #fff; }
.hl-flow__item.is-done .hl-flow__link:hover { color: var(--hl-accent) !important; }

/* Departman secimi */
.hl-depts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	padding: 4px 22px 22px;
}
.hl-dept {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px;
	border: 1px solid var(--hl-line);
	border-radius: 12px;
	background: var(--hl-paper);
	color: var(--hl-ink) !important;
	text-decoration: none !important;
	transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.hl-dept:hover {
	border-color: color-mix(in srgb, var(--hl-accent) 45%, var(--hl-line));
	background: color-mix(in srgb, var(--hl-accent) 4%, var(--hl-paper));
	box-shadow: 0 6px 18px -12px rgba(14, 26, 43, .25);
}
.hl-dept__icon {
	flex: 0 0 44px;
	height: 44px;
	display: grid;
	place-items: center;
	border-radius: 11px;
	background: var(--hl-accent-soft);
	color: var(--hl-accent);
	font-size: 16px;
}
.hl-dept__text { flex: 1; min-width: 0; }
.hl-dept__name { display: block; color: var(--hl-ink); font-size: 15px; font-weight: 700; }
.hl-dept__desc { display: block; margin-top: 3px; color: var(--hl-slate); font-size: 13px; line-height: 1.5; }
.hl-dept__go { color: var(--hl-faint); font-size: 11px; transition: transform .15s, color .15s; }
.hl-dept:hover .hl-dept__go { color: var(--hl-accent); transform: translateX(2px); }

/* Yan kartlar: bilgi bankasi ve ipuclari */
.hl-kbhint, .hl-tips { padding: 20px 22px; }
.hl-kbhint .hl-card__icon, .hl-tips .hl-card__icon { width: 40px; margin-bottom: 14px; }
.hl-kbhint .hl-help__text { margin-bottom: 14px; }
.hl-tips__list { display: flex; flex-direction: column; gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; }
.hl-tips__list li { display: flex; align-items: flex-start; gap: 10px; color: var(--hl-text); font-size: 13.5px; line-height: 1.5; }
.hl-tips__list i { flex: 0 0 18px; height: 18px; display: grid; place-items: center; margin-top: 1px; border-radius: 50%; background: var(--hl-accent-soft); color: var(--hl-accent); font-size: 9px; }

/* Talep formu */
.hl-newform { margin: 0; }
.hl-grid { display: grid; gap: 16px; }
.hl-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hl-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hl-reply select.form-control {
	height: 46px;
	padding-right: 36px;
	-webkit-appearance: none;
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, var(--hl-slate) 50%), linear-gradient(135deg, var(--hl-slate) 50%, transparent 50%) !important;
	background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50% !important;
	background-size: 5px 5px, 5px 5px !important;
	background-repeat: no-repeat !important;
	cursor: pointer;
}
.hl-customfields:empty { display: none; }
.hl-customfields { display: flex; flex-direction: column; gap: 18px; }
.hl-captcha:empty { display: none; }
.hl-captcha .default__shadow__panel { border: 1px solid var(--hl-line); border-radius: 12px; background: var(--hl-soft); box-shadow: none; }

/* Bilgi bankasi onerileri (yazarken) */
.hl-kbsugg { padding: 16px 18px; border: 1px solid color-mix(in srgb, var(--hl-accent) 25%, var(--hl-line)); border-radius: 12px; background: color-mix(in srgb, var(--hl-accent) 4%, var(--hl-paper)); }
.hl-kbsugg__title { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--hl-ink); font-size: 14px; font-weight: 700; }
.hl-kbsugg__title i { color: var(--hl-accent); }
.hl-kbsugg__text { margin: 4px 0 12px; color: var(--hl-slate); font-size: 13px; }
.hl-kbsugg__list { display: flex; flex-direction: column; gap: 6px; }
.hl-kbsugg__item { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border: 1px solid var(--hl-line); border-radius: 9px; background: var(--hl-paper); color: var(--hl-ink) !important; text-decoration: none !important; }
.hl-kbsugg__item:hover { border-color: var(--hl-accent); }
.hl-kbsugg__item i { margin-top: 3px; color: var(--hl-accent); }
.hl-kbsugg__name { display: block; font-size: 13.5px; font-weight: 600; }
.hl-kbsugg__item small { display: block; margin-top: 2px; color: var(--hl-slate); font-size: 12.5px; }

/* Olusturuldu */
.hl-created { max-width: 620px; margin: 8px auto 0; padding: 40px 32px; text-align: center; }
.hl-created__icon {
	width: 64px;
	height: 64px;
	display: grid;
	place-items: center;
	margin: 0 auto 20px;
	border-radius: 50%;
	background: color-mix(in srgb, #22a06b 12%, var(--hl-paper));
	box-shadow: 0 0 0 8px color-mix(in srgb, #22a06b 6%, transparent);
	color: #22a06b;
	font-size: 24px;
}
.hl-created__title { margin: 0; color: var(--hl-ink); font-family: var(--font-heading); font-size: 24px; font-weight: 700; letter-spacing: -.01em; }
.hl-created__ref { margin: 10px 0 0; color: var(--hl-slate); font-size: 14px; }
.hl-created__ref a { color: var(--hl-accent) !important; font-weight: 700; }
.hl-created__text { margin: 12px auto 26px; max-width: 460px; color: var(--hl-slate); font-size: 14.5px; line-height: 1.6; }
.hl-created__actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

/* ---------- Duyarli ---------- */
@media (max-width: 1199.98px) {
	.hl-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hl-ca__grid { grid-template-columns: 1fr; }
	.hl-ca__side { order: 0; }
	.hl-ca__side { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
}
@media (max-width: 767.98px) {
	.hl-ca { padding-top: 20px; }
	.hl-ca__title { font-size: 25px; }
	.hl-ca__head-actions { width: 100%; }
	.hl-ca__head-actions .hl-btn { flex: 1; }
	.hl-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.hl-stat { min-height: 112px; padding: 18px; }
	.hl-stat__value { font-size: 28px; }
	.hl-stat__icon { font-size: 72px; }
	.hl-row { padding: 14px 18px; gap: 12px; }
	.hl-row__icon, .hl-row__go { display: none; }
	.hl-card__head { padding: 16px 18px; }
	.hl-card__icon { display: none; }
	.hl-empty { flex-wrap: wrap; padding: 22px 18px; }
	.hl-empty__actions { width: 100%; }
	.hl-empty__actions .hl-btn { flex: 1; justify-content: center; }
	.hl-search { flex: 1 1 100%; }
	.hl-flow__item { padding: 10px; justify-content: center; }
	.hl-flow__item:not(.is-current) .hl-flow__text { display: none; }
	.hl-flow__item:not(.is-current) { flex: 0 0 52px; }
	.hl-depts { grid-template-columns: 1fr; padding: 4px 16px 18px; }
	.hl-grid--2, .hl-grid--3 { grid-template-columns: 1fr; }
	.hl-created { padding: 32px 20px; }
	.hl-tk .hl-card__head { flex-wrap: wrap; }
	.hl-msg__head { flex-wrap: wrap; padding: 14px 16px; }
	.hl-msg__date { flex-basis: 100%; padding-left: 50px; margin-top: -6px; }
	.hl-msg__body { padding: 16px; }
	.hl-msg__files, .hl-msg__foot { padding-left: 16px; padding-right: 16px; }
	.hl-reply__body { padding: 4px 16px 18px; }
	.hl-reply__who { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	.hl-ca * { transition: none !important; }
}
