/* ==========================================================
   HepsiGörev - Orijinal Mor Logo & Modern Kurumsal Tasarım
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  /* ---------- TASARIM TOKENLARI (Ajan 2 & 3 bu adları kullanır; adları sabit tutun) ---------- */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', sans-serif;

  /* Zeminler */
  --bg: #090d1a;              /* sayfa zemini */
  --surface: #101628;         /* kart / panel */
  --surface-2: #161d35;       /* kart içi, dropdown, hover zemini */
  --surface-3: #1e2646;       /* aktif / vurgulu satır */
  --input-bg: #0c1222;
  --border: #26304d;
  --border-strong: #3a4568;

  /* Metin (kontrastlar --surface #101628 üzerinde) */
  --text: #f1f5f9;            /* 16.9:1 */
  --text-2: #cbd5e1;          /* 11.9:1  ikincil gövde metni */
  --text-muted: #a5b1c6;      /*  8.5:1  açıklama / yardım metni */
  --text-dim: #8b9ab3;        /*  6.3:1  en soluk okunur metin (placeholder, id) */
  --link: #c4a5ff;            /*  8.7:1 */
  --link-hover: #e9d5ff;

  /* Marka */
  --primary: #8247d0;         /* beyaz metin 5.6:1 */
  --primary-hover: #6d3bb0;   /* beyaz metin 7.2:1 */
  --primary-light: #a78bfa;
  --primary-soft: rgba(146, 90, 221, 0.16);
  --primary-ring: rgba(167, 139, 250, 0.6);
  --gradient-primary: linear-gradient(180deg, #8549d4 0%, #7d43c9 100%); /* neredeyse düz */
  --accent-pink: #f472b6;     /* metin olarak 6.8:1 */
  --accent-pink-strong: #be185d; /* zemin olarak, beyaz metin 6.0:1 */
  --accent-orange: #fb923c;   /* metin olarak 7.9:1 */
  --accent-orange-strong: #c2410c; /* zemin, beyaz metin 5.2:1 */
  --gradient-accent: linear-gradient(135deg, #8b4fd8 0%, #be185d 100%);

  /* Durum renkleri (metin olarak --surface üzerinde) */
  --success: #34d399;         /* 9.4:1 */
  --warning: #fbbf24;         /* 10.8:1 */
  --danger: #f87171;          /* 6.5:1 */
  --info: #7dd3fc;            /* 10.8:1 */
  --success-bg: rgba(16, 185, 129, 0.14);
  --warning-bg: rgba(245, 158, 11, 0.14);
  --danger-bg: rgba(239, 68, 68, 0.14);
  --info-bg: rgba(56, 189, 248, 0.14);

  /* Platform renkleri (ikon / vurgu) */
  --ig: #e1306c;
  --tt: #25f4ee;
  --yt: #ff3333;
  --x: #e7e9ea;
  --threads: #ffffff;
  --fb: #1877f2;
  --tg: #29a9eb;
  --sp: #1ed760;

  /* Şekil */
  --radius: 12px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 60px -12px rgba(0, 0, 0, 0.75);
  --shadow-pop: 0 8px 20px rgba(0, 0, 0, 0.45);
  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);

  /* ---------- Geriye dönük takma adlar (twig içindeki inline style'lar bunları kullanıyor) ---------- */
  --brand-primary: #7444b4;
  --brand-light: #925add;
  --brand-hover: var(--primary-hover);
  --brand-glow: rgba(146, 90, 221, 0.25);
  --brand-surface: rgba(146, 90, 221, 0.1);
  --bg-dark: var(--bg);
  --bg-card: var(--surface);
  --bg-card-inner: var(--input-bg);
  --bg-input: var(--input-bg);
  --border-color: var(--border);
  --border-light: rgba(255, 255, 255, 0.12);
  --border-focus: var(--primary-light);
  --text-main: var(--text);
  --text-subtle: var(--text-dim);   /* eski #64748b (3.8:1) -> #8b9ab3 (6.3:1) */
  --shadow-card: var(--shadow);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main) !important;
  background-color: var(--bg-dark) !important;
  color: var(--text-main) !important;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  background-image: 
    radial-gradient(ellipse at 50% 12%, rgba(146, 90, 221, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 60%, rgba(116, 68, 180, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 15% 85%, rgba(146, 90, 221, 0.05) 0%, transparent 45%);
  background-attachment: fixed;
}

/* Konteyner */
.hg-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Üst Menü (Navbar) */
.hg-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(9, 13, 26, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
}

.hg-navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.hg-brand {
  display: flex;
  align-items: center;
  text-decoration: none !important;
  flex-shrink: 0;
}

.hg-brand-logo {
  height: 36px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(146, 90, 221, 0.3));
}

/* Mobil Hamburger Butonu (Varsayılan masaüstünde gizli) */
.hg-nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: #ffffff;
  font-size: 18px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.hg-nav-toggle:hover {
  background: rgba(146, 90, 221, 0.2);
  border-color: var(--brand-light);
}

.hg-nav-collapse {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  margin-left: 28px;
}

.hg-nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0 auto;
  padding: 0;
}

.hg-nav-link {
  color: var(--text-muted) !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.hg-nav-link:hover,
.hg-nav-link.active {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.06);
}

.hg-nav-link.active {
  color: var(--brand-light) !important;
  background: var(--brand-surface) !important;
}

.hg-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* 992px Altı (Tablet & Mobil) Menü Çekmecesi */
@media (max-width: 992px) {
  .hg-nav-toggle {
    display: inline-flex;
  }

  .hg-nav-collapse {
    display: none;
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    right: 0;
    background: #0b1020;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    margin-left: 0;
    z-index: 1001;
  }

  .hg-nav-collapse.open {
    display: flex;
    animation: hgNavFade 0.22s ease-out forwards;
  }

  .hg-nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    width: 100%;
  }

  .hg-nav-link {
    padding: 11px 14px;
    font-size: 14.5px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
  }

  .hg-nav-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 14px;
  }

  .hg-lang-select {
    width: 100%;
    padding: 10px 14px;
  }

  .hg-nav-actions .hg-btn {
    width: 100%;
    padding: 12px;
  }
}

@keyframes hgNavFade {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Butonlar */
.hg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 14px;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none !important;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
}

.hg-btn-primary {
  background: linear-gradient(135deg, var(--brand-light), var(--brand-primary)) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(116, 68, 180, 0.35);
}

.hg-btn-primary:hover {
  background: linear-gradient(135deg, #9d68e5, #63369d) !important;
  box-shadow: 0 6px 22px rgba(116, 68, 180, 0.5);
  transform: translateY(-1px);
}

.hg-btn-outline {
  background: rgba(255, 255, 255, 0.04) !important;
  color: var(--text-main) !important;
  border-color: var(--border-color) !important;
}

.hg-btn-outline:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  border-color: var(--border-light) !important;
}

.hg-lang-select {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  outline: none;
}

/* ==========================================================
   Hero & Giriş Alanı (Güzelleştirilmiş Bölüm)
   ========================================================== */
.hg-hero-section {
  padding: 55px 0 45px;
  position: relative;
}

.hg-hero-centered {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 34px;
}

/* Üst Rozet (Badge) */
.hg-hero-badge-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 20px;
}

.hg-hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(146, 90, 221, 0.12);
  border: 1px solid rgba(146, 90, 221, 0.3);
  border-radius: var(--radius-full);
  color: #c4b5fd;
  font-size: 13px;
  font-weight: 700;
  margin: 0 auto 20px auto;
  box-shadow: 0 0 16px rgba(146, 90, 221, 0.15);
}

.hg-badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #a855f7;
  box-shadow: 0 0 8px #a855f7;
}

.hg-hero-centered h1 {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.6px;
  line-height: 1.2;
}

.hg-hero-centered h1 span.hg-highlight {
  color: #c084fc;
}

.hg-hero-centered p {
  font-size: 16.5px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 720px;
  margin: 0 auto 22px;
}

/* Güven Rozetleri (Hero Altı) */
.hg-hero-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 13.5px;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 36px;
}

.hg-hero-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hg-hero-trust-row i {
  color: #a855f7;
  font-size: 14px;
}

/* ==========================================================
   Modern & Şık Giriş Kartı (Güzelleştirilmiş Tasarım)
   ========================================================== */
.hg-login-container {
  max-width: 640px;
  margin: 0 auto 55px;
  position: relative;
}

/* Kart Arkası İnce Mor Işıma */
.hg-login-container::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius-lg) + 1px);
  background: linear-gradient(135deg, rgba(146, 90, 221, 0.4), transparent 60%);
  z-index: 0;
}

.hg-login-card {
  position: relative;
  z-index: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-top: 2px solid var(--brand-light);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.7);
}

.hg-login-header {
  text-align: center;
  margin-bottom: 26px;
}

.hg-login-header h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.hg-login-header h3 i {
  color: var(--brand-light);
  font-size: 20px;
}

.hg-login-header p {
  font-size: 14px;
  color: var(--text-muted);
}

.hg-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}

@media (max-width: 620px) {
  .hg-form-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.hg-form-group {
  margin-bottom: 0;
}

.hg-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 8px;
  text-align: left;
}

.hg-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.hg-input-icon {
  position: absolute;
  left: 14px;
  color: var(--text-subtle);
  font-size: 15px;
  transition: var(--transition);
  pointer-events: none;
  z-index: 2;
}

.hg-input {
  width: 100%;
  background: var(--bg-input) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius-sm) !important;
  padding: 12px 14px 12px 42px !important;
  font-family: var(--font-main);
  font-size: 14px;
  color: #ffffff !important;
  outline: none;
  transition: var(--transition);
  height: 46px !important;
}

.hg-input:focus {
  border-color: var(--brand-light) !important;
  box-shadow: 0 0 0 3px rgba(146, 90, 221, 0.25) !important;
  background: #0d1428 !important;
}

.hg-input:focus + .hg-input-icon,
.hg-input-wrap:focus-within .hg-input-icon {
  color: var(--brand-light);
}

.hg-form-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  font-size: 13px;
}

.hg-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
}

.hg-remember input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--brand-light);
  cursor: pointer;
}

.hg-forgot-link {
  color: #c084fc !important;
  text-decoration: none !important;
  font-weight: 600;
  transition: var(--transition);
}

.hg-forgot-link:hover {
  color: #d8b4fe !important;
  text-decoration: underline !important;
}

.hg-btn-submit {
  width: 100%;
  padding: 13px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 18px;
}

.hg-signup-prompt {
  text-align: center;
  font-size: 13.5px;
  color: var(--text-muted);
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.hg-signup-prompt a {
  color: #c084fc !important;
  font-weight: 700;
  text-decoration: none !important;
  margin-left: 4px;
}

.hg-signup-prompt a:hover {
  text-decoration: underline !important;
}

/* ==========================================================
   4 Adımda Kullanım (HepsiGörev Nasıl Kullanılır?)
   ========================================================== */
.hg-section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 30px;
}

.hg-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(146, 90, 221, 0.12);
  border: 1px solid rgba(146, 90, 221, 0.25);
  color: #c4b5fd;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hg-section-title {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.hg-section-desc {
  font-size: 15px;
  color: var(--text-muted);
}

.hg-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

@media (max-width: 900px) {
  .hg-steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .hg-steps-grid { grid-template-columns: 1fr; }
}

.hg-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.hg-step-card:hover {
  border-color: var(--brand-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -6px rgba(146, 90, 221, 0.2);
}

.hg-step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-light), var(--brand-primary));
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  box-shadow: 0 4px 12px rgba(116, 68, 180, 0.4);
}

.hg-step-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.hg-step-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Kurumsal 3 Kart */
.hg-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 800px) {
  .hg-features-grid { grid-template-columns: 1fr; }
}

.hg-feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  text-align: center;
  transition: var(--transition);
}

.hg-feature-box:hover {
  border-color: rgba(146, 90, 221, 0.4);
  transform: translateY(-2px);
}

.hg-feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-light), var(--brand-primary));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  margin: 0 auto 16px;
  box-shadow: 0 4px 14px rgba(116, 68, 180, 0.35);
}

.hg-feature-box h4 {
  font-family: var(--font-heading);
  font-size: 16.5px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  text-align: center;
}

.hg-feature-box p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 auto;
  text-align: center;
}

/* FAQ */
.hg-faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}

.hg-faq-header {
  padding: 16px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 15px;
  color: #ffffff;
  user-select: none;
}

.hg-faq-header i {
  color: var(--brand-light);
}

.hg-faq-body {
  padding: 0 20px 18px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Footer */
.hg-footer {
  border-top: 1px solid var(--border-color);
  background: #060913;
  padding: 24px 0;
  margin-top: 55px;
}

.hg-footer-grid {
  display: none;
}

.hg-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13.5px;
  color: var(--text-subtle);
  text-align: center;
}

.hg-payments {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hg-payment-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
}



/* ==========================================================
   2-Sütunlu Geniş Hero Düzeni (Yan Boşlukları Dolduran Tasarım)
   ========================================================== */
.hg-hero-grid-2col {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
  padding: 30px 0 50px;
}

@media (max-width: 992px) {
  .hg-hero-grid-2col {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 20px 0 40px;
  }
  .hg-hero-left {
    text-align: center;
  }
  .hg-hero-left p {
    text-align: justify;
    text-justify: inter-word;
    margin-left: auto;
    margin-right: auto;
  }
}

.hg-hero-left {
  text-align: center;
}

.hg-hero-left .hg-hero-badge-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 20px;
}

.hg-hero-left h1 {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 auto 18px auto;
  letter-spacing: -0.5px;
  line-height: 1.22;
  text-align: center;
  width: 100%;
}

.hg-hero-left h1 span.hg-highlight {
  color: #c084fc;
  background: linear-gradient(135deg, #c084fc, #925add);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hg-hero-left p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 auto 28px auto;
  max-width: 620px;
  text-align: justify;
  text-justify: inter-word;
}

/* Sol Taraf 4'lü Güven Izgarası */
.hg-trust-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

@media (max-width: 768px) {
  .hg-hero-left h1 {
    font-size: 28px !important;
    line-height: 1.25 !important;
    text-align: center !important;
  }
  .hg-hero-left p {
    font-size: 14.5px !important;
    text-align: justify !important;
    text-justify: inter-word !important;
    margin: 0 auto 22px !important;
  }
  .hg-trust-grid-2x2 {
    gap: 10px;
    margin-bottom: 24px;
  }
  .hg-trust-pill {
    padding: 10px 12px !important;
    gap: 10px !important;
  }
  .hg-trust-pill-text {
    font-size: 12.5px !important;
  }
}

@media (max-width: 480px) {
  .hg-hero-left h1 {
    font-size: 25px !important;
    text-align: center !important;
  }
  .hg-hero-left p {
    text-align: justify !important;
    text-justify: inter-word !important;
  }
  .hg-trust-grid-2x2 {
    grid-template-columns: 1fr;
  }
}

.hg-trust-pill {
  background: rgba(16, 22, 40, 0.7);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
}

.hg-trust-pill:hover {
  border-color: var(--brand-light);
  background: rgba(146, 90, 221, 0.08);
  transform: translateX(3px);
}

.hg-trust-pill-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(146, 90, 221, 0.15);
  color: #c084fc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.hg-trust-pill-text {
  font-size: 13.5px;
  font-weight: 600;
  color: #e2e8f0;
  line-height: 1.35;
}

/* Sol Taraf İstatistik Sayaçları */
.hg-live-stats-row {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.hg-stat-item h4 {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 2px;
}

.hg-stat-item p {
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 600;
  margin: 0;
}

/* Sağdaki Giriş Kartının Genişletilmesi ve Hizalanması */
.hg-hero-right {
  position: relative;
}

.hg-hero-right .hg-login-container {
  max-width: 100%;
  margin: 0;
}

/* ==========================================================
   Gelişmiş 2 Sütunlu SSS (FAQ) Izgara Tasarımı
   ========================================================== */
.hg-faq-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
  margin-top: 24px;
}

@media (max-width: 860px) {
  .hg-faq-grid-2col {
    grid-template-columns: 1fr;
  }
}

.hg-faq-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hg-faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.hg-faq-card:hover {
  border-color: rgba(146, 90, 221, 0.4);
  transform: translateY(-2px);
}

.hg-faq-card.active {
  border-color: var(--brand-light);
  box-shadow: 0 8px 24px -6px rgba(146, 90, 221, 0.2);
}

.hg-faq-header {
  padding: 18px 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  user-select: none;
}

.hg-faq-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hg-faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(146, 90, 221, 0.15);
  color: #c084fc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.hg-faq-card h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.4;
}

.hg-faq-chevron {
  color: var(--brand-light);
  font-size: 14px;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.hg-faq-card.active .hg-faq-chevron {
  transform: rotate(180deg);
}

.hg-faq-body {
  padding: 0 22px 20px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
  border-top: 1px solid transparent;
  transition: var(--transition);
}

.hg-faq-card.active .hg-faq-body {
  border-top-color: rgba(255, 255, 255, 0.05);
  padding-top: 14px;
}

/* SSS Altı Hızlı Destek Kutusu */
.hg-faq-support-box {
  margin-top: 36px;
  background: linear-gradient(135deg, rgba(16, 22, 40, 0.9), rgba(12, 18, 34, 0.9));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

@media (max-width: 768px) {
  .hg-faq-support-box {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
}

.hg-faq-support-text h4 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.hg-faq-support-text p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 0;
}

/* ==========================================================
   HİZMETLER (SERVICES) SAYFASI STİLLERİ
   ========================================================== */
.hg-services-section {
  padding: 40px 0 60px;
}

.hg-services-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

/* Custom Dropdown Filters */
.hg-dropdown {
  position: relative;
  display: inline-block;
}

.hg-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--brand-primary);
  border: 1px solid rgba(146, 90, 221, 0.4);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}

.hg-dropdown-toggle:hover {
  background: var(--brand-light);
  transform: translateY(-1px);
}

.hg-dropdown-toggle.currency {
  background: #0369a1;
  border-color: rgba(56, 189, 248, 0.45);
}

.hg-dropdown-toggle.currency:hover {
  background: #0369a1;
}

.hg-dropdown-menu,
.hg-custom-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 1000;
  min-width: min(330px, calc(100vw - 32px));
  max-width: min(480px, calc(100vw - 32px));
  max-height: min(380px, 70vh);
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--surface-2);
  border: 1px solid rgba(167, 139, 250, 0.3);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-pop);
  padding: 6px;
  list-style: none;
  margin: 0;
  display: none;
}

.hg-dropdown-menu.show,
.open > .hg-custom-dropdown {
  display: block;
}

/* Custom Scrollbar for Dropdown */
.hg-dropdown-menu::-webkit-scrollbar,
.hg-custom-dropdown::-webkit-scrollbar {
  width: 6px;
}
.hg-dropdown-menu::-webkit-scrollbar-track,
.hg-custom-dropdown::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}
.hg-dropdown-menu::-webkit-scrollbar-thumb,
.hg-custom-dropdown::-webkit-scrollbar-thumb {
  background: rgba(146, 90, 221, 0.5);
  border-radius: 9999px;
}
.hg-dropdown-menu::-webkit-scrollbar-thumb:hover,
.hg-custom-dropdown::-webkit-scrollbar-thumb:hover {
  background: rgba(146, 90, 221, 0.8);
}

.hg-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hg-dropdown-item:hover {
  background: rgba(146, 90, 221, 0.15);
  color: #ffffff;
}

.hg-dropdown-item.active {
  background: rgba(146, 90, 221, 0.25);
  color: #c084fc;
  font-weight: 600;
}

.hg-dropdown-item-icon {
  width: 20px;
  text-align: center;
  font-size: 14px;
  flex-shrink: 0;
}

.hg-category-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hg-cat-pill {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: var(--transition);
  text-decoration: none !important;
}

.hg-cat-pill:hover,
.hg-cat-pill.active {
  background: rgba(146, 90, 221, 0.18);
  border-color: var(--brand-light);
  color: #ffffff;
}

.hg-services-search-wrap {
  position: relative;
  min-width: 280px;
  max-width: 360px;
  flex: 1;
}

.hg-services-search-wrap i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-subtle);
  font-size: 14px;
}

.hg-services-search-wrap input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 14px 10px 38px;
  color: #ffffff;
  font-size: 14px;
  transition: var(--transition);
}

.hg-services-search-wrap input:focus {
  outline: none;
  border-color: var(--brand-light);
  box-shadow: 0 0 0 3px rgba(146, 90, 221, 0.2);
}

/* Services Table Card */
.hg-table-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.hg-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.hg-table th {
  background: #0b1122;
  color: var(--text-2);
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

.hg-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: middle;
  color: var(--text-main);
}

/* Category Row Styling */
.hg-category-row,
.hg-cat-row {
  background: transparent !important;
}

.hg-category-row td,
.hg-cat-row td {
  background: linear-gradient(90deg, rgba(146, 90, 221, 0.22) 0%, rgba(99, 102, 241, 0.12) 40%, rgba(13, 20, 40, 0.7) 100%) !important;
  border-top: 2px solid rgba(146, 90, 221, 0.35) !important;
  border-bottom: 1px solid rgba(146, 90, 221, 0.25) !important;
  border-left: 4px solid #a855f7 !important;
  padding: 14px 20px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hg-category-header-wrap,
.hg-cat-row-content {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
}

.hg-category-title-group {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}

.hg-category-icon-box,
.hg-cat-row-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(146, 90, 221, 0.35), rgba(99, 102, 241, 0.2));
  border: 1px solid rgba(168, 85, 247, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(146, 90, 221, 0.3);
}

.hg-cat-icon {
  font-size: 16px;
}

.hg-cat-emoji {
  font-size: 18px;
  line-height: 1;
}

.hg-category-name,
.hg-cat-row-content strong {
  font-family: var(--font-heading);
  font-size: 15.5px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  letter-spacing: 0.3px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.hg-category-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(146, 90, 221, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #d8b4fe;
  letter-spacing: 0.3px;
}

.hg-service-row:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.hg-service-id {
  font-family: monospace;
  font-size: 12.5px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
  padding: 3px 7px;
  border-radius: 4px;
}

.hg-service-title {
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hg-service-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(146, 90, 221, 0.15);
  color: #c084fc;
  border: 1px solid rgba(146, 90, 221, 0.3);
}

.hg-service-badge.fast {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.3);
}

.hg-service-badge.guaranteed {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.3);
}

.hg-service-rate {
  font-weight: 700;
  color: #34d399;
  font-size: 14.5px;
  white-space: nowrap;
}

.hg-detail-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.hg-detail-btn:hover {
  background: rgba(146, 90, 221, 0.2);
  border-color: var(--brand-light);
  color: #ffffff;
}

/* Modal */
.modal-content {
  background: #111628 !important;
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius-md) !important;
  color: #f8fafc !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 30px rgba(146, 90, 221, 0.15) !important;
}

.modal-header {
  border-bottom: 1px solid var(--border-color) !important;
  padding: 18px 24px !important;
}

.modal-header .modal-title,
.modal-header h4 {
  color: #ffffff !important;
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  font-size: 17px !important;
}

.modal-header .close {
  color: #94a3b8 !important;
  opacity: 0.8 !important;
  text-shadow: none !important;
  font-size: 24px !important;
  transition: var(--transition) !important;
}

.modal-header .close:hover {
  color: #ffffff !important;
  opacity: 1 !important;
}

.modal-body {
  padding: 24px !important;
  color: #cbd5e1 !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
}

.modal-body * {
  color: #cbd5e1 !important;
}

.modal-body strong, 
.modal-body b, 
.modal-body h1, 
.modal-body h2, 
.modal-body h3, 
.modal-body h4 {
  color: #ffffff !important;
}

.modal-footer {
  border-top: 1px solid var(--border-color) !important;
  padding: 16px 24px !important;
}

.modal-footer .btn-primary,
.modal-footer .btn {
  background: linear-gradient(135deg, var(--brand-light), var(--brand-primary)) !important;
  border: none !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border-radius: var(--radius-sm) !important;
  padding: 9px 20px !important;
  box-shadow: 0 4px 14px rgba(116, 68, 180, 0.35) !important;
}

.hg-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(6, 9, 19, 0.85);
  backdrop-filter: blur(6px);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.hg-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.hg-modal-card {
  background: #111628;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  transform: scale(0.95);
  transition: transform 0.25s ease;
  overflow: hidden;
}

.hg-modal-backdrop.active .hg-modal-card {
  transform: scale(1);
}

.hg-modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hg-modal-header h4 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.hg-modal-close {
  background: transparent;
  border: none;
  color: var(--text-subtle);
  font-size: 18px;
  cursor: pointer;
  transition: var(--transition);
}

.hg-modal-close:hover {
  color: #ffffff;
}

.hg-modal-body {
  padding: 24px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.hg-modal-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 16px;
}

.hg-spec-item span:first-child {
  display: block;
  font-size: 11.5px;
  color: var(--text-subtle);
}

.hg-spec-item span:last-child {
  font-weight: 600;
  color: #ffffff;
  font-size: 13.5px;
}

/* Kullanıcı Paneli Üst Butonları */
.hg-auth-btn-account {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  text-decoration: none !important;
  transition: var(--transition);
  white-space: nowrap;
}
.hg-auth-btn-account:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}
.hg-auth-btn-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #f87171;
  font-size: 14px;
  text-decoration: none !important;
  transition: var(--transition);
  flex-shrink: 0;
}
.hg-auth-btn-logout:hover {
  background: rgba(239, 68, 68, 0.25);
  color: #ffffff;
  border-color: #ef4444;
  transform: scale(1.04);
}

/* ==========================================================
   Giriş Yapmış Kullanıcı Üst Menüsü (Auth Navbar)
   ========================================================== */
.hg-auth-nav {
  background: #080c18 !important;
  border-bottom: 1px solid var(--border-color) !important;
  padding: 0 !important;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.hg-auth-nav-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 64px !important;
  gap: 16px !important;
  width: 100% !important;
}

.hg-auth-menu {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: auto !important;
  white-space: nowrap !important;
  flex: 1 !important;
  min-width: 0 !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  -webkit-overflow-scrolling: touch !important;
}

.hg-auth-menu::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.hg-auth-menu li {
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
}

.hg-auth-menu li a {
  color: var(--text-muted) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  padding: 7px 12px !important;
  border-radius: var(--radius-sm) !important;
  text-decoration: none !important;
  transition: var(--transition) !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.hg-auth-menu li a:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

.hg-auth-menu li a.active {
  color: #ffffff !important;
  background: rgba(146, 90, 221, 0.25) !important;
  font-weight: 600 !important;
  border: 1px solid rgba(146, 90, 221, 0.45) !important;
}

.hg-auth-actions {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
}

/* Tablet & Mobil için 2 Katmanlı Akıllı Düzen (Flex Order) */
@media (max-width: 992px) {
  .hg-auth-nav-inner {
    height: auto !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 0 8px !important;
    gap: 8px 12px !important;
  }
  .hg-auth-nav-inner .navbar-header {
    order: 1 !important;
    margin-right: 0 !important;
  }
  .hg-auth-actions {
    order: 2 !important;
    margin-left: auto !important;
  }
  .hg-auth-menu {
    order: 3 !important;
    width: 100% !important;
    flex: 0 0 100% !important;
    padding-top: 6px !important;
    padding-bottom: 2px !important;
  }
  .hg-auth-menu li a {
    padding: 6px 10px !important;
    font-size: 12px !important;
  }
}

@media (max-width: 576px) {
  .hg-auth-btn-account span {
    display: none !important;
  }
  .hg-auth-btn-account {
    padding: 7px 10px !important;
  }
}

/* ==========================================================
   Perfect Panel Dinamik Form Kontrolleri & Tablo Stilleri (Dark Theme)
   ========================================================== */
.form-control,
select.form-control,
textarea.form-control,
input.form-control {
  background-color: var(--bg-input) !important;
  border: 1px solid var(--border-color) !important;
  color: #ffffff !important;
  border-radius: var(--radius-sm) !important;
  padding: 10px 14px !important;
  font-family: var(--font-main) !important;
  font-size: 14px !important;
  box-shadow: none !important;
  transition: var(--transition) !important;
  height: auto !important;
  min-height: 44px !important;
}

.form-control:focus,
select.form-control:focus,
textarea.form-control:focus,
input.form-control:focus {
  border-color: var(--brand-light) !important;
  background-color: #0d1428 !important;
  box-shadow: 0 0 0 3px rgba(146, 90, 221, 0.25) !important;
  color: #ffffff !important;
}

select.form-control option {
  background-color: #101628 !important;
  color: #ffffff !important;
}

/* Perfect Panel Siparişler & Genel Tablolar */
.well,
.well-float,
.panel,
.panel-default {
  background-color: var(--bg-card) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius-md) !important;
  color: var(--text-main) !important;
  box-shadow: var(--shadow-card) !important;
}

.table {
  background-color: transparent !important;
  color: var(--text-main) !important;
}

.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th {
  background: #080c18 !important;
  color: var(--text-muted) !important;
  border-bottom: 1px solid var(--border-color) !important;
  border-top: none !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  padding: 14px 16px !important;
}

.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
  border-top: none !important;
  color: #cbd5e1 !important;
  vertical-align: middle !important;
  padding: 14px 16px !important;
  font-size: 13.5px !important;
  background: transparent !important;
}

.table > tbody > tr:hover td {
  background-color: rgba(146, 90, 221, 0.06) !important;
  color: #ffffff !important;
}

/* Siparişler Sekmeleri (Nav Pills) */
.nav-pills > li > a {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid var(--border-color) !important;
  color: var(--text-muted) !important;
  border-radius: var(--radius-sm) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 8px 14px !important;
  margin-right: 6px !important;
  transition: var(--transition) !important;
}

.nav-pills > li > a:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

.nav-pills > li.active > a,
.nav-pills > li.active > a:focus,
.nav-pills > li.active > a:hover {
  background: linear-gradient(135deg, var(--brand-light), var(--brand-primary)) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(116, 68, 180, 0.35) !important;
}

/* Input group addon ve arama butonları */
.input-group-addon,
.input-group-btn .btn-default {
  background-color: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid var(--border-color) !important;
  color: var(--text-muted) !important;
}

/* Servis Yıldız Butonu (Favori) */
[data-favorite-service-id] {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 4px;
  transition: var(--transition);
}
[data-favorite-service-id] i {
  color: var(--text-subtle) !important;
  transition: var(--transition);
}
[data-favorite-service-id]:hover i {
  color: #f59e0b !important;
  transform: scale(1.2);
}
[data-favorite-service-id].favorite-active i,
.favorite-active [data-favorite-icon] {
  color: #f59e0b !important;
}

/* ==========================================================
   OKUNABİLİRLİK & GENEL STİL KATMANI (Ajan 1)
   Not: layout.twig içindeki <style id="hg-master-theme"> bu dosyadan SONRA
   yüklendiği ve !important kullandığı için, çakışan kurallarda
   "html body" önekiyle daha yüksek özgüllük kullanılmıştır.
   ========================================================== */

/* ---------- Temel ---------- */
::selection {
  background: rgba(167, 139, 250, 0.45);
  color: #ffffff;
}

html {
  scrollbar-color: #3a4568 var(--bg);
  scrollbar-width: thin;
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: #2c3556;
  border-radius: 9999px;
  border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: #4b3a7a; }

a {
  color: var(--link);
  transition: color 0.18s ease;
}
a:hover,
a:focus {
  color: var(--link-hover);
}

:focus-visible {
  outline: 2px solid var(--primary-light);
  outline-offset: 2px;
}

hr {
  border-color: var(--border) !important;
}

html body .text-muted,
html body small.text-muted {
  color: var(--text-muted) !important;
}

html body .help-block,
html body .hint-block {
  color: var(--text-muted) !important;
  font-size: 12.5px !important;
}

html body label,
html body .control-label {
  color: var(--text-2) !important;
}

code,
kbd {
  background: rgba(167, 139, 250, 0.14) !important;
  color: #e9d5ff !important;
  border-radius: 6px;
  padding: 2px 6px;
}
pre {
  background: var(--input-bg) !important;
  color: var(--text-2) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
}

/* ---------- Bootstrap dropdown (kategori filtresi, döviz, dil, select2) ---------- */
html body .dropdown-menu:not(.select2-results__options),
html body .hg-custom-dropdown,
html body .select2-dropdown {
  background: var(--surface-2) !important;
  border: 1px solid var(--border-strong) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-pop) !important;
  color: var(--text-2) !important;
  padding: 6px !important;
  max-width: calc(100vw - 32px);
  overflow-x: hidden !important;
  z-index: 1060;
}

/* Hizmet listesi kategori filtresi: yatay kaydırma yok, ekrana sığar */
html body .hg-custom-dropdown {
  width: max-content;
  min-width: min(300px, calc(100vw - 32px)) !important;
  max-width: min(460px, calc(100vw - 32px)) !important;
  max-height: min(420px, 65vh) !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  margin-top: 8px !important;
}

html body .dropdown-menu > li > a,
html body .dropdown-menu .dropdown-item,
html body .default-dropdown__link {
  display: flex !important;
  align-items: center;
  gap: 10px;
  color: #e9e6f5 !important;
  background: transparent !important;
  padding: 9px 12px !important;
  border-radius: var(--radius-sm) !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
  text-decoration: none !important;
  transition: background 0.15s ease, color 0.15s ease;
}

html body .dropdown-menu > li > a i,
html body .dropdown-menu .dropdown-item i,
html body .dropdown-menu .dropdown-item img {
  flex-shrink: 0;
  width: 18px;
  text-align: center;
}

html body .dropdown-menu > li > a:hover,
html body .dropdown-menu > li > a:focus,
html body .dropdown-menu .dropdown-item:hover,
html body .dropdown-menu .dropdown-item:focus,
html body .default-dropdown__link:hover {
  background: rgba(167, 139, 250, 0.16) !important;
  color: #ffffff !important;
}

html body .dropdown-menu > .active > a,
html body .dropdown-menu > .active > a:hover,
html body .dropdown-menu > .active > a:focus,
html body .dropdown-menu .dropdown-item.active,
html body .default-dropdown__link--active {
  background: var(--primary) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
}

html body .dropdown-menu > .disabled > a,
html body .dropdown-menu > .disabled > a:hover {
  color: var(--text-dim) !important;
  background: transparent !important;
  cursor: not-allowed;
}

html body .dropdown-menu .divider {
  background-color: var(--border) !important;
  margin: 6px 4px !important;
}

html body .dropdown-menu .dropdown-header,
html body .dropdown-header {
  color: var(--text-muted) !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 8px 12px 4px !important;
}

html body .open > .dropdown-toggle.hg-btn-outline {
  border-color: var(--primary-light) !important;
}

/* Dropdown kaydırma çubuğu */
.dropdown-menu::-webkit-scrollbar,
.select2-results__options::-webkit-scrollbar,
.select2-results > div::-webkit-scrollbar {
  width: 6px;
}
.dropdown-menu::-webkit-scrollbar-track,
.select2-results__options::-webkit-scrollbar-track,
.select2-results > div::-webkit-scrollbar-track {
  background: transparent;
}
.dropdown-menu::-webkit-scrollbar-thumb,
.select2-results__options::-webkit-scrollbar-thumb,
.select2-results > div::-webkit-scrollbar-thumb {
  background: rgba(167, 139, 250, 0.45);
  border: 0;
  border-radius: 9999px;
}

/* ---------- Select2 (Yeni Sipariş: Kategori / Hizmet seçicileri, arama) ---------- */
html body .select2-container {
  max-width: 100%;
}

html body .select2-container .select2-selection,
html body .select2-container--default .select2-selection--single {
  background-color: var(--input-bg) !important;
  border: 1px solid var(--border-strong) !important;
  border-radius: var(--radius-sm) !important;
  color: #ffffff !important;
  min-height: 46px;
  padding: 11px 40px 11px 14px;
  font-size: 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

html body .select2-container--default .select2-selection--single .select2-selection__rendered,
html body .select2-container .select2-selection__text {
  color: #ffffff !important;
  line-height: 1.45;
  padding: 0 !important;
}

html body .select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: var(--text-dim) !important;
}

html body .select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-top-color: var(--text-muted) !important;
}
html body .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
  border-color: transparent transparent var(--primary-light) transparent !important;
}

html body .select2-container--open .select2-selection,
html body .select2-container--focus .select2-selection {
  border-color: var(--primary-light) !important;
  box-shadow: 0 0 0 1px var(--primary-light) !important;
}

html body .select2-container--default.select2-container--disabled .select2-selection--single {
  background-color: #0a0f1d !important;
  color: var(--text-dim) !important;
  cursor: not-allowed;
}

/* Açılan liste */
html body .select2-dropdown {
  margin-top: 6px !important;
}
html body .select2-container--open .select2-dropdown--below,
html body .select2-container--open .select2-dropdown--above {
  border-radius: var(--radius-md) !important;
  border: 1px solid var(--border-strong) !important;
}

html body .select2-results__options.dropdown-menu {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
  position: relative !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
}

html body .select2-results__option,
html body .select2-results__option > a,
html body .select2-container .dropdown-menu > li > a {
  color: var(--text-2) !important;
  background: transparent;
  white-space: normal !important;
  overflow-wrap: anywhere;
  line-height: 1.45 !important;
}

html body .select2-results__option {
  padding: 9px 12px !important;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  margin: 1px 0;
}
html body .select2-results__options.dropdown-menu > li > a,
html body .select2-results__options.dropdown-menu > .active > a,
html body .select2-results__options.dropdown-menu > li > a:hover {
  padding: 0 !important;
  background: transparent !important;
  color: inherit !important;
  border-radius: 0 !important;
  display: block !important;
}

html body .select2-container--default .select2-results__option--highlighted[aria-selected],
html body .select2-results__option--highlighted,
html body .select2-results__option:hover {
  background: rgba(167, 139, 250, 0.18) !important;
  color: #ffffff !important;
}
html body .select2-results__option--highlighted > a,
html body .select2-results__option:hover > a {
  color: #ffffff !important;
}

html body .select2-container--default .select2-results__option[aria-selected=true] {
  background: var(--surface-3) !important;
  color: #ffffff !important;
  box-shadow: inset 3px 0 0 var(--primary-light);
  font-weight: 600;
}

html body .select2-container--default .select2-results__option[aria-disabled=true] {
  color: var(--text-dim) !important;
  cursor: not-allowed;
}

html body .select2-container--default .select2-results__group {
  color: var(--text-muted) !important;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

html body .select2-results__message {
  color: var(--text-muted) !important;
}

/* Arama sonuçlarında eşleşen kelime vurgusu */
html body .select2-results__option mark,
html body .select2-results__option .text__highlight {
  background: transparent !important;
  color: var(--warning) !important;
  font-weight: 700;
  padding: 0;
}

/* Hizmet ID rozeti */
html body .select2-selection__id,
html body .select2-results__option .badge {
  background: rgba(167, 139, 250, 0.2) !important;
  color: #e9d5ff !important;
  border: 1px solid rgba(167, 139, 250, 0.35);
  font-weight: 700;
  margin-right: 6px;
}

/* Dropdown içi arama kutusu */
html body .select2-search--dropdown {
  padding: 4px 4px 8px !important;
}
html body .select2-search__field-icon {
  color: var(--text-muted) !important;
}

/* Yeni sipariş üstündeki hizmet arama kutusu açılır sonuçları */
html body .search-dropdown .select2-dropdown,
html body .search-dropdown .dropdown-menu:not(.select2-results__options) {
  max-width: 100%;
}
html body .search-dropdown .input-wrapper__prepend,
html body .search-dropdown .input-wrapper__append,
html body #new-order-search .input-wrapper button {
  color: var(--text-muted) !important;
}

/* ---------- Form kontrolleri ---------- */
html body .form-control,
html body input.form-control,
html body select.form-control,
html body textarea.form-control {
  background-color: var(--input-bg) !important;
  border-color: var(--border-strong) !important;
  color: #ffffff !important;
}

html body .form-control:hover:not(:focus):not([disabled]) {
  border-color: #4a5680 !important;
}

html body .form-control:focus,
html body input.form-control:focus,
html body select.form-control:focus,
html body textarea.form-control:focus {
  border-color: var(--primary-light) !important;
  box-shadow: 0 0 0 1px var(--primary-light) !important;
  background-color: #0f1630 !important;
}

html body .form-control::placeholder,
html body input::placeholder,
html body textarea::placeholder {
  color: var(--text-dim) !important;
  opacity: 1 !important;
}

html body .form-control[disabled],
html body .form-control[readonly],
html body fieldset[disabled] .form-control {
  background-color: #0a0f1d !important;
  color: var(--text-muted) !important;
  border-color: var(--border) !important;
  opacity: 1 !important;
  -webkit-text-fill-color: var(--text-muted);
}
html body .form-control[disabled] {
  cursor: not-allowed;
}

html body select.form-control option,
html body select option {
  background-color: var(--surface-2) !important;
  color: var(--text) !important;
}
html body select.form-control option:checked {
  background-color: var(--primary) !important;
  color: #ffffff !important;
}

input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--primary-light);
}

html body .has-error .form-control { border-color: var(--danger) !important; }
html body .has-error .help-block,
html body .has-error .control-label { color: var(--danger) !important; }
html body .has-success .form-control { border-color: var(--success) !important; }

html body .input-group-addon {
  background-color: var(--surface-2) !important;
  border-color: var(--border-strong) !important;
  color: var(--text-2) !important;
}

/* ---------- Butonlar ---------- */
html body .btn {
  border-radius: var(--radius-sm) !important;
  font-weight: 600;
  transition: var(--transition);
}

html body .btn:focus-visible,
html body .hg-btn:focus-visible {
  outline: none !important;
  box-shadow: 0 0 0 1px var(--primary-light) !important;
}

html body .btn-primary,
html body .hg-btn-primary {
  background: var(--primary) !important;
  border: 1px solid var(--primary) !important;
  color: #ffffff !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}
html body .btn-primary:hover,
html body .btn-primary:focus,
html body .hg-btn-primary:hover {
  background: #7440bd !important;
  border-color: #7440bd !important;
  color: #ffffff !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
  transform: none !important;
}
html body .btn-primary:active,
html body .hg-btn-primary:active {
  transform: none !important;
  background: var(--primary-hover) !important;
}

html body .btn-default,
html body .hg-btn-outline {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid var(--border-strong) !important;
  color: var(--text) !important;
}
html body .btn-default:hover,
html body .btn-default:focus,
html body .hg-btn-outline:hover {
  background: rgba(167, 139, 250, 0.14) !important;
  border-color: rgba(167, 139, 250, 0.55) !important;
  color: #ffffff !important;
}
/* Arama butonu (input-group) layout.twig'de mor; okunur kalsın */
html body .input-group-btn .btn-default {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #ffffff !important;
}

html body .btn-success { background: #047857 !important; border-color: #047857 !important; color: #fff !important; }
html body .btn-danger  { background: #b91c1c !important; border-color: #b91c1c !important; color: #fff !important; }
html body .btn-warning { background: #b45309 !important; border-color: #b45309 !important; color: #fff !important; }
html body .btn-info    { background: #0369a1 !important; border-color: #0369a1 !important; color: #fff !important; }
html body .btn-link    { color: var(--link) !important; }

html body .btn[disabled],
html body .btn.disabled,
html body .hg-btn[disabled],
html body fieldset[disabled] .btn {
  background: #1a2138 !important;
  border-color: var(--border) !important;
  color: var(--text-dim) !important;
  box-shadow: none !important;
  opacity: 1 !important;
  transform: none !important;
  cursor: not-allowed;
}

/* ---------- Kartlar ---------- */
html body .well,
html body .panel,
html body .panel-default {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35) !important;
  color: var(--text-2) !important;
}
html body .panel-heading {
  background: var(--surface-2) !important;
  color: var(--text) !important;
  border-bottom-color: var(--border) !important;
}
html body .panel-footer {
  background: var(--surface-2) !important;
  border-top-color: var(--border) !important;
  color: var(--text-2) !important;
}

html body .hg-table-card,
html body .hg-card {
  border-color: var(--border) !important;
}

/* ---------- Tablolar ---------- */
html body .table > thead > tr > th,
html body .table > tbody > tr > th,
html body .table > tfoot > tr > th {
  background: #0b1122 !important;
  color: var(--text-2) !important;
  border-bottom: 1px solid var(--border-strong) !important;
  letter-spacing: 0.6px !important;
}

html body .table > tbody > tr > td,
html body .table > tfoot > tr > td {
  color: var(--text-2) !important;
  border-bottom-color: rgba(255, 255, 255, 0.06) !important;
}

html body .table-striped > tbody > tr:nth-of-type(odd) > td {
  background-color: rgba(255, 255, 255, 0.02) !important;
}

html body .table > tbody > tr:hover > td {
  background-color: rgba(167, 139, 250, 0.08) !important;
  color: #ffffff !important;
}

html body .table td a:not(.btn):not(.hg-btn):not([class*="badge"]):not([class*="label"]) {
  color: var(--link) !important;
}
html body .table td a:not(.btn):not(.hg-btn):not([class*="badge"]):not([class*="label"]):hover {
  color: var(--link-hover) !important;
}

/* Tablo içi butonlar ("Satın Al", "Sipariş Ver") her zaman beyaz metin */
html body .table td .hg-btn-primary,
html body .table td .btn-primary,
html body .hg-table td .hg-btn-primary {
  color: #ffffff !important;
}
html body .table td .hg-btn-primary i,
html body .table td .btn-primary i {
  color: #ffffff !important;
}

/* Tablo kategori başlık satırları: tam beyaz başlık */
html body .hg-category-row .hg-category-name,
html body .hg-cat-row .hg-category-name,
html body .hg-cat-row-content strong {
  color: var(--text) !important;
  opacity: 1 !important;
}

html body .hg-table td {
  color: var(--text-2);
}

/* ---------- Uyarılar (Alerts) ---------- */
html body .alert {
  border-radius: var(--radius) !important;
  font-size: 13.5px;
  line-height: 1.6;
}
html body .alert-info    { background: var(--info-bg) !important;    border: 1px solid rgba(56, 189, 248, 0.35) !important; color: #bae6fd !important; }
html body .alert-success { background: var(--success-bg) !important; border: 1px solid rgba(16, 185, 129, 0.35) !important; color: #a7f3d0 !important; }
html body .alert-warning { background: var(--warning-bg) !important; border: 1px solid rgba(245, 158, 11, 0.35) !important; color: #fde68a !important; }
html body .alert-danger  { background: var(--danger-bg) !important;  border: 1px solid rgba(239, 68, 68, 0.35) !important;  color: #fecaca !important; }

html body .alert a,
html body .alert .alert-link {
  color: #ffffff !important;
  text-decoration: underline !important;
  font-weight: 700;
}
html body .alert .close,
html body .close {
  color: #ffffff !important;
  opacity: 0.75 !important;
  text-shadow: none !important;
}
html body .alert .close:hover,
html body .close:hover {
  opacity: 1 !important;
}

/* ---------- Rozetler / Etiketler ---------- */
html body .badge {
  background: rgba(167, 139, 250, 0.22);
  color: #ede9fe;
  font-weight: 700;
  border-radius: 9999px;
}
html body .label {
  border-radius: 6px;
  font-weight: 700;
  padding: 3px 8px;
}
html body .label-default { background: #334155 !important; color: #f1f5f9 !important; }
html body .label-primary { background: var(--primary) !important; color: #ffffff !important; }
html body .label-success { background: #047857 !important; color: #ffffff !important; }
html body .label-info    { background: #0369a1 !important; color: #ffffff !important; }
html body .label-warning { background: #b45309 !important; color: #ffffff !important; }
html body .label-danger  { background: #b91c1c !important; color: #ffffff !important; }

/* ---------- Sayfalama ---------- */
html body .pagination > li > a,
html body .pagination > li > span {
  background-color: var(--surface) !important;
  border-color: var(--border-strong) !important;
  color: var(--text-2) !important;
}
html body .pagination > li > a:hover,
html body .pagination > li > span:hover {
  background-color: rgba(167, 139, 250, 0.18) !important;
  border-color: var(--primary-light) !important;
  color: #ffffff !important;
}
html body .pagination > .active > a,
html body .pagination > .active > span,
html body .pagination > .active > a:hover,
html body .pagination > .active > a:focus {
  background: var(--primary) !important;
  border-color: transparent !important;
  color: #ffffff !important;
}
html body .pagination > .disabled > a,
html body .pagination > .disabled > span,
html body .pagination > .disabled > a:hover {
  background-color: rgba(255, 255, 255, 0.02) !important;
  border-color: var(--border) !important;
  color: #7c8aa0 !important; /* eski #475569 (2.4:1) -> 5.1:1 */
  cursor: not-allowed;
}

/* ---------- Sekmeler / Nav ---------- */
html body .nav-pills > li > a {
  color: var(--text-2) !important;
  border-color: var(--border) !important;
}
html body .nav-pills > li.active > a,
html body .nav-pills > li.active > a:hover,
html body .nav-pills > li.active > a:focus {
  background: var(--primary) !important;
  border-color: transparent !important;
  color: #ffffff !important;
}

html body .nav-tabs {
  border-bottom: 1px solid var(--border) !important;
}
html body .nav-tabs > li > a {
  color: var(--text-muted) !important;
  border: 1px solid transparent !important;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0 !important;
  font-weight: 600;
}
html body .nav-tabs > li > a:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #ffffff !important;
}
html body .nav-tabs > li.active > a,
html body .nav-tabs > li.active > a:hover,
html body .nav-tabs > li.active > a:focus {
  background: var(--surface) !important;
  color: #ffffff !important;
  border-color: var(--border) var(--border) transparent !important;
  box-shadow: inset 0 2px 0 var(--primary-light);
}

html body .hg-nav-link,
html body .hg-auth-menu li a {
  color: var(--text-muted) !important;
}
html body .hg-nav-link:hover,
html body .hg-auth-menu li a:hover {
  color: #ffffff !important;
}
html body .hg-nav-link.active {
  color: #e9d5ff !important;
}

html body .hg-lang-select {
  color: var(--text-2) !important;
}

html body .list-group-item {
  background: var(--surface) !important;
  border-color: var(--border) !important;
  color: var(--text-2) !important;
}
html body a.list-group-item:hover,
html body .list-group-item.active {
  background: var(--surface-3) !important;
  color: #ffffff !important;
}

/* ---------- Modal ---------- */
html body .modal-backdrop.in {
  background: #04060d;
  opacity: 0.8;
}
html body .modal-content {
  background: var(--surface) !important;
  border: 1px solid var(--border-strong) !important;
}
html body .modal-header .close {
  color: var(--text-muted) !important;
}
html body .modal-body a {
  color: var(--link) !important;
}

/* ---------- Tooltip / Popover ---------- */
html body .tooltip-inner {
  background: var(--surface-3) !important;
  color: var(--text) !important;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  padding: 6px 10px;
}
html body .tooltip.top .tooltip-arrow { border-top-color: var(--surface-3) !important; }
html body .tooltip.bottom .tooltip-arrow { border-bottom-color: var(--surface-3) !important; }
html body .tooltip.left .tooltip-arrow { border-left-color: var(--surface-3) !important; }
html body .tooltip.right .tooltip-arrow { border-right-color: var(--surface-3) !important; }
html body .tooltip.in { opacity: 1; }

html body .popover {
  background: var(--surface-2) !important;
  border-color: var(--border-strong) !important;
  color: var(--text-2) !important;
}
html body .popover-title {
  background: var(--surface-3) !important;
  color: #ffffff !important;
  border-bottom-color: var(--border) !important;
}

/* ---------- Footer ---------- */
html body .hg-footer-bottom,
html body .hg-footer {
  color: var(--text-muted) !important;
}
html body .hg-footer a {
  color: var(--text-2) !important;
}
html body .hg-footer a:hover {
  color: #ffffff !important;
}

/* ---------- Mobil ---------- */
@media (max-width: 576px) {
  html body .hg-custom-dropdown,
  html body .dropdown-menu:not(.select2-results__options) {
    max-width: calc(100vw - 32px) !important;
  }
  html body .hg-custom-dropdown {
    min-width: min(280px, calc(100vw - 32px)) !important;
    max-height: 60vh !important;
  }
  html body .dropdown-menu > li > a,
  html body .dropdown-menu .dropdown-item {
    padding: 11px 12px !important; /* dokunma hedefi */
  }
}

/* select2: seçili metin oka binmesin */
html body .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding-right: 26px !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Sade görünüm: hover'da kalkma / parlama yok, sadece renk değişimi */
html body .hg-btn:hover,
html body .btn:hover,
html body .hg-dropdown-toggle:hover,
html body .hg-detail-btn:hover {
  transform: none !important;
}
html body .hg-btn-primary,
html body .hg-btn-primary:hover,
html body .modal-footer .btn,
html body .nav-pills > li.active > a,
html body .pagination > .active > a,
html body .pagination > .active > span {
  box-shadow: none !important;
}
html body .hg-input:focus,
html body .hg-services-search-wrap input:focus {
  box-shadow: 0 0 0 1px var(--primary-light) !important;
}
html body .btn:focus-visible,
html body .hg-btn:focus-visible {
  outline: 2px solid var(--primary-light) !important;
  outline-offset: 2px;
  box-shadow: none !important;
}
html body .modal-footer .btn-primary,
html body .modal-footer .btn:not(.btn-default) {
  background: var(--primary) !important;
}

/* ===== style-landing.css ===== */
/* ==========================================================
   HepsiGörev - Landing (Giriş / Kayıt) Görsel Katmanı
   Sakin, düz yüzeyli, el yapımı marka görünümü.
   Metinler twig'de aynen korunur; burada yalnızca görsel düzen var.
   Kapsam: .hgl  (signin: .hgl-home, signup: .hgl-signup)
   style.css'in SONUNA eklenir.
   ========================================================== */

.hgl {
  --hgl-primary: var(--primary, var(--brand-primary, #7444b4));
  --hgl-primary-hover: var(--primary-hover, var(--brand-hover, #63369d));
  --hgl-accent: #e0904f;              /* sakin turuncu vurgu */
  --hgl-accent-soft: #f3c9a3;
  --hgl-lilac: #c9a7f5;               /* koyu zeminde vurgu metni (10:1) */
  --hgl-text: var(--text, var(--text-main, #f8fafc));
  --hgl-muted: var(--text-muted, #a5b0c4);
  --hgl-surface: var(--surface, var(--bg-card, #101628));
  --hgl-border: var(--border-color, #1c263d);
  --hgl-band: #120f24;                /* dalga altı bant zemini */
  --hgl-ink: #1b1530;                 /* beyaz kart metni (16:1) */
  --hgl-ink-muted: #5b5670;           /* beyaz kart ikincil metin (7:1) */
  --hgl-line: #e6e1ef;
  --hgl-shadow: 0 6px 20px rgba(0, 0, 0, .22);
  position: relative;
  overflow-x: clip;
}

/* ==========================================================
   ANA SAYFA HERO
   ========================================================== */
/* Masaüstü: sol = rozet/başlık/metin/güven kutuları/görsel, sağ üst = giriş kartı.
   .hg-hero-left "display: contents" ile çocuklarını ızgaraya açar (DOM/metin sırası değişmez). */
.hgl-home .hg-hero-grid-2col {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  grid-template-areas:
    "badge  card"
    "title  card"
    "intro  card"
    "pills  card"
    "icons  card";
  grid-template-rows: auto auto auto auto 1fr;
  column-gap: 64px;
  row-gap: 0;
  align-items: start;
  padding: 20px 0 36px;
}
.hgl-home .hg-hero-left { display: contents; }
.hgl-home .hg-hero-badge-wrap   { grid-area: badge; }
.hgl-home .hg-hero-left h1      { grid-area: title; }
.hgl-home .hg-hero-left p       { grid-area: intro; }
.hgl-home .hg-trust-grid-2x2    { grid-area: pills; }
.hgl-home .hg-login-container   { grid-area: card; align-self: start; justify-self: end; width: 100%; }
.hgl-home .hg-hero-right        { grid-area: icons; }
.hgl-home .hg-hero-left .hg-hero-badge-wrap { justify-content: flex-start; margin-bottom: 18px; }
.hgl-home .hg-hero-badge {
  margin: 0;
  background: transparent;
  border: 1px solid #3a2f57;
  color: #ddd0f5;
  box-shadow: none;
  font-weight: 600;
}
.hgl-home .hg-badge-pulse { background: #4ade80; box-shadow: none; }

.hgl-home .hg-hero-left h1 {
  text-align: left;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: #ffffff;
}
.hgl-home .hg-hero-left h1 span.hg-highlight {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: var(--hgl-lilac);
}
.hgl-home .hg-hero-left p {
  text-align: left;
  margin: 0 0 24px;
  color: #c3cad8;
  max-width: 560px;
}

/* 4'lü güven kutuları */
.hgl-home .hg-trust-grid-2x2 { gap: 10px; margin-bottom: 28px; }
.hgl-home .hg-trust-pill {
  border-radius: 12px;
  background: var(--hgl-surface);
  border: 1px solid var(--hgl-border);
}
.hgl-home .hg-trust-pill:hover { transform: none; background: var(--hgl-surface); border-color: #3a2f57; }
.hgl-home .hg-trust-pill-text { color: #e2e8f0; }
.hgl-home .hg-trust-pill-icon {
  background: rgba(201, 167, 245, .12);
  color: var(--hgl-lilac);
  box-shadow: none;
}

/* ==========================================================
   BEYAZ GİRİŞ / KAYIT KARTI
   ========================================================== */
.hgl .hg-login-container { max-width: 470px; margin: 0; }
.hgl .hg-login-container::before { display: none; }
.hgl .hg-login-card,
.hgl .hgl-card {
  position: relative;
  background: #ffffff !important;
  border: 1px solid var(--hgl-line) !important;
  border-radius: 20px !important;
  padding: 30px 28px 22px !important;
  color: var(--hgl-ink);
  box-shadow: var(--hgl-shadow) !important;
}
.hgl .hg-login-header { text-align: left; margin-bottom: 20px; }
.hgl .hg-login-header h3 { justify-content: flex-start; color: var(--hgl-ink); font-size: 22px; }
.hgl .hg-login-header h3 i {
  width: 36px; height: 36px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--hgl-primary); color: #fff !important; font-size: 15px;
}
.hgl .hg-login-header p { color: var(--hgl-ink-muted); }

/* etiketler & inputlar (layout.twig'deki koyu !important kurallarını açık kart için ezer) */
.hgl .hg-login-card label,
.hgl .hg-login-card .hg-label,
.hgl .hgl-card label,
.hgl .hgl-card .hg-label {
  color: var(--hgl-ink) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}
.hgl .hg-login-card .hg-remember,
.hgl .hg-login-card .hg-remember * { color: var(--hgl-ink-muted) !important; font-weight: 600 !important; margin: 0 !important; }
.hgl .hg-login-card .hg-input-wrap .hg-input-icon,
.hgl .hgl-card .hg-input-wrap .hg-input-icon { color: #7c7491 !important; }
.hgl .hg-login-card .hg-input-wrap:focus-within .hg-input-icon,
.hgl .hgl-card .hg-input-wrap:focus-within .hg-input-icon { color: var(--hgl-primary) !important; }
.hgl .hg-login-card .hg-input-wrap input.form-control,
.hgl .hgl-card .hg-input-wrap input.form-control,
.hgl .hgl-card input.form-control,
.hgl .hgl-card select.form-control {
  background-color: #f7f6fa !important;
  border: 1px solid #ddd8e6 !important;
  color: var(--hgl-ink) !important;
  border-radius: 12px !important;
  height: 48px !important;
  font-size: 14.5px !important;
}
.hgl .hg-login-card input.form-control:focus,
.hgl .hgl-card input.form-control:focus,
.hgl .hgl-card select.form-control:focus {
  background-color: #ffffff !important;
  border-color: var(--hgl-primary) !important;
  box-shadow: 0 0 0 3px rgba(116, 68, 180, .14) !important;
  color: var(--hgl-ink) !important;
}
.hgl .hg-login-card input.form-control::placeholder,
.hgl .hgl-card input.form-control::placeholder { color: #857f9b !important; }
.hgl .hgl-card select.form-control option { background: #fff !important; color: var(--hgl-ink) !important; }

/* özel onay kutuları (Beni Hatırla, Şartlar) */
.hgl .hg-remember input[type="checkbox"],
.hgl .hgl-terms input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  flex: none;
  width: 18px; height: 18px;
  margin: 0 !important;
  border: 1.5px solid #b5adc6;
  border-radius: 5px;
  background: #ffffff center / 12px 12px no-repeat;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.hgl .hg-remember input[type="checkbox"]:checked,
.hgl .hgl-terms input[type="checkbox"]:checked {
  background-color: var(--hgl-primary);
  border-color: var(--hgl-primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.hgl .hg-remember input[type="checkbox"]:focus-visible,
.hgl .hgl-terms input[type="checkbox"]:focus-visible { outline: 2px solid var(--hgl-primary); outline-offset: 2px; }

/* kart içi uyarılar (açık zemin kontrastı) */
.hgl .hg-login-card .alert,
.hgl .hgl-card .alert { border-radius: 10px !important; font-size: 13px; margin-bottom: 14px; padding: 10px 34px 10px 14px; }
.hgl .hg-login-card .alert-danger,
.hgl .hgl-card .alert-danger  { background: #fef2f2 !important; border: 1px solid #fecaca !important; color: #991b1b !important; }
.hgl .hg-login-card .alert-success,
.hgl .hgl-card .alert-success { background: #f0fdf4 !important; border: 1px solid #bbf7d0 !important; color: #166534 !important; }
.hgl .hg-login-card .alert .close,
.hgl .hgl-card .alert .close { color: inherit !important; opacity: .6; text-shadow: none; }

/* linkler */
.hgl .hg-login-card .hg-forgot-link,
.hgl .hg-login-card .hg-signup-prompt a,
.hgl .hgl-switch a,
.hgl .hgl-terms a { color: #6b35b0 !important; font-weight: 700; text-decoration: none !important; }
.hgl .hg-login-card .hg-forgot-link:hover,
.hgl .hg-login-card .hg-signup-prompt a:hover,
.hgl .hgl-switch a:hover,
.hgl .hgl-terms a:hover { color: #522789 !important; text-decoration: underline !important; }

/* buton */
.hgl .hg-btn-submit,
.hgl .hgl-btn-submit {
  width: 100%;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 12px !important;
  font-size: 15.5px !important;
  font-weight: 700 !important;
  padding: 0 18px !important;
  color: #fff !important;
  background: var(--hgl-primary) !important;
  border: 0 !important;
  box-shadow: none !important;
  transition: background-color .15s ease;
  margin-bottom: 18px;
}
.hgl .hg-btn-submit:hover,
.hgl .hgl-btn-submit:hover { background: var(--hgl-primary-hover) !important; transform: none; }
.hgl .hg-btn-submit:focus-visible,
.hgl .hgl-btn-submit:focus-visible { outline: 3px solid rgba(116, 68, 180, .35); outline-offset: 2px; }

.hgl .hg-signup-prompt,
.hgl .hgl-switch {
  border-top: 1px solid #efecf4 !important;
  color: var(--hgl-ink-muted) !important;
  text-align: center;
  font-size: 13.5px;
  padding-top: 14px;
}
.hgl-google { display: flex; justify-content: center; margin-bottom: 16px; min-height: 44px; }

/* ==========================================================
   PLATFORM İKON SATIRI (dekoratif, eşit boy)
   ========================================================== */
.hgl-home .hg-hero-right { min-width: 0; display: block; }
.hgl-icon-row {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hgl-pi {
  width: 40px; height: 40px;
  border-radius: 11px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #ffffff;
  font-size: 18px;
  background: var(--c, #2a2f45);
}
.hgl-pi--ig      { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.hgl-pi--tt      { background: #000000; border: 1px solid #2a2a2a; }
.hgl-pi--yt      { --c: var(--yt, #e62117); }
.hgl-pi--x       { background: #000000; border: 1px solid #2a2a2a; }
.hgl-pi--threads { background: #000000; border: 1px solid #2a2a2a; }
.hgl-pi--fb      { --c: var(--fb, #1877f2); }
.hgl-pi--tg      { --c: var(--tg, #229ed9); }
.hgl-pi--sp      { --c: var(--sp, #1db954); color: #000; }

/* ==========================================================
   DALGA AYIRICI + ALT BANT
   ========================================================== */
.hgl-wave {
  position: relative;
  display: block;
  width: 100%;
  height: 80px;
  margin-top: 8px;
  color: var(--hgl-band);
}
.hgl-after-wave {
  position: relative;
  padding-top: 8px;
  padding-bottom: 64px;
  background: var(--hgl-band);
  box-shadow: 0 0 0 100vmax var(--hgl-band);
  clip-path: inset(0 -100vmax);
}

/* ==========================================================
   ALT BÖLÜMLER (Rehber, Avantajlar, SSS) - sakin cilalama
   ========================================================== */
.hgl-home .hg-section-header .hg-badge {
  background: transparent;
  border: 1px solid #3a2f57;
  color: #ddd0f5;
  box-shadow: none;
}
.hgl-home .hg-section-title {
  color: #ffffff;
  background: none;
  -webkit-text-fill-color: currentColor;
}
.hgl-home .hg-step-card,
.hgl-home .hg-feature-box,
.hgl-home .hg-faq-card {
  border-radius: 16px;
  background: var(--hgl-surface);
  border: 1px solid var(--hgl-border);
  box-shadow: none;
}
.hgl-home .hg-step-card:hover,
.hgl-home .hg-feature-box:hover { transform: none; box-shadow: none; border-color: #3a2f57; }
.hgl-home .hg-step-num {
  background: var(--hgl-primary);
  box-shadow: none;
}
.hgl-home .hg-feature-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: rgba(224, 144, 79, .14);
  color: var(--hgl-accent-soft);
  box-shadow: none;
}
.hgl-home .hg-faq-card.active { border-color: #3a2f57; }
.hgl-home .hg-faq-icon { background: rgba(201, 167, 245, .12); color: var(--hgl-lilac); box-shadow: none; }

/* ==========================================================
   KAYIT SAYFASI
   ========================================================== */
.hgl-signup { padding: 48px 0 72px; }
.hgl-signup-grid { max-width: 520px; margin: 0 auto; }
.hgl-signup-form { min-width: 0; }
.hgl-signup .hgl-card { max-width: 500px; margin: 0 auto; }
.hgl-card-head { text-align: center; margin-bottom: 24px; }
.hgl-card-badge {
  margin-bottom: 12px;
  background: #f3effa !important;
  border: 1px solid #e3daf2 !important;
  color: #5b2d97 !important;
  box-shadow: none !important;
}
.hgl-card-head h2 {
  margin: 0 0 6px;
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 24px;
  font-weight: 800;
  color: var(--hgl-ink);
}
.hgl-card-head p { margin: 0; color: var(--hgl-ink-muted); font-size: 14px; }
.hgl-field { margin-bottom: 16px; }
.hgl-req { color: #c81e1e; }
.hgl .hgl-terms {
  display: flex !important; align-items: flex-start; gap: 10px;
  font-size: 13px !important; font-weight: 500 !important;
  color: var(--hgl-ink-muted) !important;
  cursor: pointer;
}
.hgl .hgl-terms input[type="checkbox"] { margin-top: 1px !important; }
.hgl .hgl-switch a { margin-left: 6px; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 992px) {
  .hgl-home .hg-hero-grid-2col {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "badge" "title" "intro" "card" "pills" "icons";
    grid-template-rows: none;
    padding-top: 20px;
  }
  .hgl-home .hg-login-container { justify-self: center; margin-bottom: 24px; }
  .hgl-icon-row { justify-content: center; }
  .hgl-home .hg-hero-left h1,
  .hgl-home .hg-hero-left p { text-align: center !important; }
  .hgl-home .hg-hero-left .hg-hero-badge-wrap { justify-content: center; }
  .hgl-home .hg-hero-left p { margin-left: auto !important; margin-right: auto !important; }
  .hgl .hg-login-container { margin: 0 auto 20px; }
  .hgl .hg-login-header { text-align: center; }
  .hgl .hg-login-header h3 { justify-content: center; }
}
@media (max-width: 600px) {
  .hgl-home .hg-hero-left h1 { font-size: 30px !important; }
  .hgl .hg-login-card, .hgl .hgl-card { padding: 24px 18px 18px !important; border-radius: 18px !important; }
  .hgl-icon-row { gap: 8px; }
  .hgl-pi { width: 36px; height: 36px; font-size: 16px; border-radius: 10px; }
  .hgl-wave { height: 44px; }
  .hgl-signup { padding-top: 24px; }
}


/* === D: ikonlar ===
   Yalnızca referans görseldeki dekoratif öğeler: sol (Instagram/YouTube) ve sağ (X/TikTok)
   uygulama kutucukları + ince eğri çizgiler, giriş kartı yanında 2 grafik kartı,
   başlık yanında 3 avatar. Hepsi aria-hidden, mutlak konumlu; A'nın düzeni değişmez. */
.hgl-home .hg-hero-grid-2col { position: relative; }

.hgd-side {
  display: none;
  position: absolute;
  top: 0;
  height: 500px;
  pointer-events: none;
}
.hgd-side-l { left: -84px; width: 76px; }
.hgd-side-r { right: -84px; width: 76px; }
.hgd-lines { position: absolute; inset: 0; overflow: visible; }

.hgd-app {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #171a33;
  border: 1px solid #2f3458;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}
.hgd-app-ig svg { width: 20px; height: 20px; padding: 3px; border-radius: 8px; background: #c13584; box-sizing: content-box; }
.hgd-app-yt svg { width: 26px; height: 26px; }
.hgd-app-x, .hgd-app-tt { background: #0f0f16; }
.hgd-app-ig { box-shadow: 0 6px 16px rgba(0,0,0,.35), 0 0 12px rgba(225, 48, 108, 0.10); }
.hgd-app-yt { box-shadow: 0 6px 16px rgba(0,0,0,.35), 0 0 12px rgba(255, 51, 51, 0.08); }

.hgd-chart {
  position: absolute;
  width: 76px;
  height: 58px;
  border-radius: 12px;
  background: #171a33;
  border: 1px solid #2f3458;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}
.hgd-chart svg { width: 60px; height: 44px; }

@media (min-width: 1420px) {
  .hgd-side { display: block; }
}

/* Başlık yanındaki 3 avatar (2. satırın sonuna bağlı, metni itmez) */
.hgd-av-anchor {
  display: inline-block;
  position: relative;
  width: 0;
  height: 0;
  vertical-align: baseline;
}
.hgd-avatars {
  position: absolute;
  left: 16px;
  top: -1.9em;
  width: 1.7em;
  height: 1.7em;
  font-size: inherit;
}
.hgd-av {
  position: absolute;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #0b0d1c;
  box-shadow: 0 0 0 1px rgba(167, 139, 250, 0.35);
  line-height: 0;
}
.hgd-av svg { display: block; width: 100%; height: 100%; }
.hgd-av-1 { width: 32%; height: 32%; left: 4%;  top: 0; }
.hgd-av-2 { width: 52%; height: 52%; left: 40%; top: 18%; }
.hgd-av-3 { width: 42%; height: 42%; left: 6%;  top: 50%; }

@media (max-width: 1199px) {
  .hgd-av-anchor { display: none; }
}
/* === /D: ikonlar === */

/* ===== style-panel.css ===== */
/* ==========================================================
   HepsiGörev - Panel İçi Sayfalar (Ajan 3)
   layout (giriş yapmış menü), neworder, services, addfunds,
   api, viewticket, gorev-yap-para-kazan
   - Sınıflar "hgp-" önekli; style.css'ten SONRA yüklenir.
   - Sade, düz yüzeyler: 1px kenarlık, küçük gölge, az gradyan.
   - layout.twig içindeki #hg-master-theme !important kuralları
     gerektiğinde "html body" önekiyle geçilir.
   ========================================================== */

:root {
  --hgp-surface: var(--surface, #101628);
  --hgp-surface-2: var(--surface-2, #161d35);
  --hgp-surface-3: var(--surface-3, #1e2646);
  --hgp-input: var(--input-bg, #0c1222);
  --hgp-border: var(--border, #26304d);
  --hgp-border-strong: var(--border-strong, #3a4568);
  --hgp-text: var(--text, #f1f5f9);
  --hgp-text-2: var(--text-2, #cbd5e1);
  --hgp-muted: var(--text-muted, #a5b1c6);
  --hgp-dim: var(--text-dim, #8b9ab3);
  --hgp-link: var(--link, #c4a5ff);
  --hgp-primary: var(--primary, #8247d0);
  --hgp-primary-hover: var(--primary-hover, #6d3bb0);
  --hgp-primary-light: var(--primary-light, #a78bfa);
  --hgp-primary-soft: var(--primary-soft, rgba(146, 90, 221, 0.16));
  --hgp-ok: var(--success, #34d399);
  --hgp-ok-bg: var(--success-bg, rgba(16, 185, 129, 0.14));
  --hgp-radius: var(--radius, 12px);
  --hgp-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

/* ---------- Platform renkleri (yalnızca ikon & ince vurgu çizgisi) ---------- */
.hgp-p-ig      { --pc: var(--ig, #e1306c); }
.hgp-p-tt      { --pc: var(--tt, #25f4ee); }
.hgp-p-yt      { --pc: var(--yt, #ff3333); }
.hgp-p-x       { --pc: var(--x, #e7e9ea); }
.hgp-p-threads { --pc: var(--threads, #ffffff); }
.hgp-p-fb      { --pc: #4c8dff; }
.hgp-p-tg      { --pc: var(--tg, #29a9eb); }
.hgp-p-sp      { --pc: var(--sp, #1ed760); }
.hgp-p-li      { --pc: #3d8bd9; }
.hgp-p-twitch  { --pc: #a970ff; }
.hgp-p-snap    { --pc: #fffc00; }
.hgp-p-pin     { --pc: #ff4d5e; }
.hgp-p-reddit  { --pc: #ff6a2b; }
.hgp-p-kick    { --pc: #53fc18; }
.hgp-p-gh      { --pc: #e6edf3; }
.hgp-p-bsky    { --pc: #3b9bff; }
.hgp-p-sc      { --pc: #ff7a33; }
.hgp-p-be      { --pc: #4d8dff; }
.hgp-p-md      { --pc: #e5e7eb; }
.hgp-p-tumblr  { --pc: #8aa6cf; }
.hgp-p-quora   { --pc: #ff5a54; }
.hgp-p-kwai    { --pc: #ff8a1f; }
.hgp-p-dc      { --pc: #8891f7; }
.hgp-p-def     { --pc: var(--primary-light, #a78bfa); }

/* ==========================================================
   1) Giriş yapmış kullanıcı üst menüsü
   ========================================================== */
html body .hgp-nav.hg-auth-nav {
  background: var(--bg, #090d1a) !important;
  border-bottom: 1px solid var(--hgp-border) !important;
  box-shadow: none;
}
html body .hgp-nav .hg-auth-nav-inner { gap: 12px !important; }
html body .hgp-nav .hg-auth-menu { gap: 2px !important; }
html body .hgp-nav .hg-auth-menu li a {
  position: relative;
  color: var(--hgp-text-2) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 8px 10px !important;
  border: 1px solid transparent !important;
  background: transparent !important;
  border-radius: 8px !important;
}
html body .hgp-nav .hg-auth-menu li a .navbar-icon {
  color: var(--hgp-dim);
  font-size: 13px;
}
html body .hgp-nav .hg-auth-menu li a:hover {
  color: #ffffff !important;
  background: var(--hgp-surface-2) !important;
}
html body .hgp-nav .hg-auth-menu li a:hover .navbar-icon { color: var(--hgp-text-2); }
html body .hgp-nav .hg-auth-menu li a.active {
  color: #ffffff !important;
  background: var(--hgp-surface-2) !important;
  border-color: var(--hgp-border) !important;
  box-shadow: inset 0 -2px 0 var(--hgp-primary-light);
}
html body .hgp-nav .hg-auth-menu li a.active .navbar-icon { color: var(--hgp-primary-light); }
html body .hgp-nav .hg-auth-menu li a:focus-visible,
html body .hgp-wallet-btn:focus-visible {
  outline: 2px solid var(--hgp-primary-light) !important;
  outline-offset: 1px;
}

/* Dar masaüstünde menüye yer açmak için ikonlar gizlenir (metin aynen kalır) */
@media (min-width: 993px) and (max-width: 1560px) {
  html body .hgp-nav .hg-auth-menu li a .navbar-icon { display: none !important; }
  html body .hgp-nav .hg-auth-menu li a { padding: 8px 8px !important; }
}

/* Bakiye düğmesi */
html body .hgp-wallet .hgp-wallet-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  padding: 7px 12px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--hgp-text) !important;
  background: var(--hgp-surface) !important;
  border: 1px solid var(--hgp-border) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  white-space: nowrap;
  text-decoration: none !important;
}
html body .hgp-wallet .hgp-wallet-btn:hover { border-color: var(--hgp-border-strong) !important; background: var(--hgp-surface-2) !important; }
html body .hgp-wallet .hgp-wallet-btn i { color: var(--hgp-ok); }
html body .hgp-wallet .hgp-wallet-amt { color: var(--hgp-ok); font-variant-numeric: tabular-nums; }

/* Mobil: logo + işlemler tek satır, menü altta yatay kayar (2 satır) */
@media (max-width: 992px) {
  html body .hgp-nav .hg-auth-nav-inner { flex-wrap: wrap !important; }
  html body .hgp-nav .hg-auth-actions { flex-wrap: nowrap !important; gap: 6px !important; min-width: 0; }
  html body .hgp-nav .hg-auth-menu {
    border-top: 1px solid var(--hgp-border);
    padding-top: 8px !important;
    -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
    mask-image: linear-gradient(90deg, #000 88%, transparent);
  }
  html body .hgp-nav .hg-auth-menu li a { padding: 6px 9px !important; font-size: 12.5px !important; }
  html body .hgp-nav .hg-auth-menu li a.active { box-shadow: inset 0 -2px 0 var(--hgp-primary-light); }
}
@media (max-width: 480px) {
  html body .hgp-nav .hg-brand-logo { max-height: 26px; width: auto; }
  html body .hgp-wallet .hgp-wallet-btn { padding: 6px 9px !important; font-size: 12.5px !important; }
  html body .hgp-nav .hg-auth-btn-account { padding: 7px 9px !important; }
  html body .hgp-nav .hg-auth-btn-logout { width: 34px; height: 34px; }
}

/* WhatsApp yüzen düğmesi (custom footer) mobilde içerik üstüne binmesin */
@media (max-width: 768px) {
  html body .integration-fixed { padding: 12px !important; }
  html body .whatsapp-button { width: 46px !important; height: 46px !important; font-size: 22px !important; }
  html body .whatsapp-button svg { width: 22px; height: 22px; }
  html body .hg-main-content { padding-bottom: 84px !important; }
}

/* ==========================================================
   2) Ortak bileşenler
   ========================================================== */
.hgp-page { padding: 28px 0 64px; }
html body .hgp-page .hg-container { max-width: 1240px; }

.hgp-card,
html body .hgp-page .well.hgp-well {
  background: var(--hgp-surface) !important;
  border: 1px solid var(--hgp-border) !important;
  border-radius: var(--hgp-radius) !important;
  box-shadow: var(--hgp-shadow) !important;
  padding: 24px;
  margin-bottom: 20px;
  color: var(--hgp-text-2);
  overflow: visible !important;
}
html body .hgp-page .well.hgp-well { padding: 24px !important; }
.hgp-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--hgp-text) !important;
  margin: 0 0 16px;
}
.hgp-card-title-sm { font-size: 15.5px; margin-bottom: 14px; }
.hgp-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--hgp-border);
}
.hgp-card-head .hgp-card-title { margin: 0; }

/* Küçük ikon kutusu */
.hgp-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--hgp-primary-light);
  background: var(--hgp-primary-soft);
  border: 1px solid rgba(167, 139, 250, 0.28);
}
.hgp-ic.is-amber  { color: var(--warning, #fbbf24); background: var(--warning-bg, rgba(245, 158, 11, 0.14)); border-color: rgba(251, 191, 36, 0.28); }
.hgp-ic.is-green  { color: var(--hgp-ok); background: var(--hgp-ok-bg); border-color: rgba(52, 211, 153, 0.28); }
.hgp-ic.is-cyan   { color: var(--info, #7dd3fc); background: var(--info-bg, rgba(56, 189, 248, 0.14)); border-color: rgba(125, 211, 252, 0.28); }
.hgp-ic.is-purple { color: var(--hgp-primary-light); }

/* Düğmeler (düz renk) */
html body .hgp-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.2;
  text-decoration: none !important;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
html body .hgp-btn-primary {
  color: #ffffff !important;
  background: var(--hgp-primary) !important;
  border: 1px solid var(--hgp-primary) !important;
  box-shadow: none !important;
}
html body .hgp-btn-primary:hover,
html body .hgp-btn-primary:focus { background: var(--hgp-primary-hover) !important; border-color: var(--hgp-primary-hover) !important; color: #ffffff !important; }
html body .hgp-btn-ghost {
  color: var(--hgp-text-2) !important;
  background: transparent !important;
  border: 1px solid var(--hgp-border-strong) !important;
  box-shadow: none !important;
}
html body .hgp-btn-ghost:hover { color: #ffffff !important; background: var(--hgp-surface-2) !important; }
html body .hgp-btn-block { display: flex !important; width: 100%; }
html body .hgp-btn-lg { padding: 13px 18px !important; font-size: 15px !important; }
html body .hgp-btn-sm { padding: 7px 12px !important; font-size: 12.5px !important; }
html body .hgp-btn:focus-visible { outline: 2px solid var(--hgp-primary-light); outline-offset: 2px; }

/* Sayfa içi uyarılar */
html body .hgp-page .alert { font-size: 13.5px; border-radius: 8px !important; padding: 12px 16px; margin-bottom: 18px; }
html body .hgp-page .alert-danger { color: #fecaca !important; }
html body .hgp-page .alert-success,
html body .hgp-page .alert-success * { color: #d1fae5 !important; }
html body .hgp-page .alert h4 { color: #ffffff !important; font-size: 15px; font-weight: 700; margin: 0 0 6px; }
html body .hgp-page .alert .close { color: #ffffff; opacity: 0.7; text-shadow: none; }

/* Form etiketleri */
html body .hgp-page .control-label {
  display: flex !important;
  align-items: center;
  gap: 8px;
  color: var(--hgp-text) !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  margin-bottom: 8px !important;
}
html body .hgp-page .form-group { margin-bottom: 18px; }

/* ==========================================================
   Sayfa başlığı kalıbı (giriş sayfası hero'su ile aynı tipografi):
   ortalı nokta'lı rozet + kalın büyük başlık (vurgu satırı düz mor)
   + soluk alt metin. Kart/illüstrasyon yok.
   ========================================================== */
html body .hgp-head { text-align: center; max-width: 860px; margin: 8px auto 34px; }
html body .hgp-head .hgp-head-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(146, 90, 221, 0.1);
  border: 1px solid rgba(167, 139, 250, 0.35);
  color: #d8c8ff;
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  margin: 0 0 20px;
}
html body .hgp-head .hgp-head-badge::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--hgp-primary-light);
  flex: 0 0 8px;
}
html body .hgp-head .hgp-head-badge i { display: none; }
html body .hgp-head .hgp-head-title {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: #ffffff !important;
  margin: 0 0 16px;
}
html body .hgp-head .hgp-accent-text.is-line { display: block; }
html body .hgp-head .hgp-accent-text {
  color: var(--hgp-primary-light) !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
}
html body .hgp-head .hgp-head-desc {
  max-width: 720px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.7;
  color: var(--hgp-muted) !important;
}
html body .hgp-head .hgp-gorev-cta { margin-top: 26px; }
@media (max-width: 860px) {
  html body .hgp-head .hgp-head-title { font-size: 32px; }
}
@media (max-width: 560px) {
  html body .hgp-head { margin-bottom: 24px; }
  html body .hgp-head .hgp-head-badge { font-size: 12.5px; padding: 6px 13px; margin-bottom: 14px; }
  html body .hgp-head .hgp-head-title { font-size: 26px; }
  html body .hgp-head .hgp-head-desc { font-size: 14.5px; }
}

/* ==========================================================
   3) Yeni Sipariş
   ========================================================== */
.hgp-order-card { padding: 26px; }
html body .hgp-order-card #new-order-search .hgp-search-btn { color: var(--hgp-dim); }

/* Açıklama kutusu */
html body .hgp-page .panel-body.hgp-desc-box {
  background: var(--hgp-input) !important;
  border: 1px solid var(--hgp-border) !important;
  border-left: 3px solid var(--hgp-primary-light) !important;
  border-radius: 8px !important;
  padding: 14px 16px !important;
  color: var(--hgp-text-2) !important;
  font-size: 13.5px;
  line-height: 1.65;
  box-shadow: none !important;
}
html body .hgp-page .panel-body.hgp-desc-box * { color: var(--hgp-text-2) !important; }
html body .hgp-page .panel-body.hgp-desc-box strong,
html body .hgp-page .panel-body.hgp-desc-box b { color: #ffffff !important; }

/* Ücret alanı: tek kutu */
.hgp-charge {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--hgp-input);
  border: 1px solid var(--hgp-border);
}
.hgp-charge i { color: var(--hgp-ok); font-size: 17px; }
html body .hgp-charge input#charge {
  flex: 1;
  min-width: 0;
  height: 50px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 20px !important;
  font-weight: 800;
  color: var(--hgp-ok) !important;
}
html body .hgp-charge input#charge::placeholder { color: var(--hgp-dim) !important; }

html body .hgp-terms { font-weight: 500 !important; color: var(--hgp-text-2) !important; align-items: flex-start !important; cursor: pointer; }
html body .hgp-terms a { color: var(--hgp-link) !important; text-decoration: underline; }
.hgp-terms input { margin-top: 3px; accent-color: var(--hgp-primary); }

/* Kategori seçiminde platform ikonu (data-icon) */
.hgp-opt-ic { color: var(--pc, var(--hgp-primary-light)) !important; width: 18px; text-align: center; margin-right: 4px; }
html body .select2-container .hgp-opt-ic { font-size: 15px; }

/* PP dinamik alanların yardım metni (Min/Max, ortalama süre) */
html body .hgp-order-card #fields .help-block,
html body .hgp-order-card #fields small { color: var(--hgp-muted) !important; font-size: 12.5px !important; }

/* Yan sütun: kullanıcı kartı */
.hgp-user { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.hgp-avatar {
  width: 46px; height: 46px; flex: 0 0 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: #ffffff;
  background: var(--hgp-primary);
}
.hgp-user h4 { color: var(--hgp-text) !important; font-family: var(--font-heading, 'Outfit', sans-serif); font-size: 16px; font-weight: 700; margin: 0 0 3px; }
.hgp-online { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--hgp-muted); }
.hgp-online::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--hgp-ok); }
.hgp-balance {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--hgp-input);
  border: 1px solid var(--hgp-border);
}
.hgp-balance-ic { color: var(--hgp-ok); font-size: 16px; line-height: 1; }
.hgp-balance-label { font-size: 13px; color: var(--hgp-muted); }
.hgp-balance-amt {
  margin-left: auto;
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 18px;
  font-weight: 800;
  color: var(--hgp-ok);
  white-space: nowrap;
}

/* Hatırlatmalar */
.hgp-tips p {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 11px 0;
  border-top: 1px solid var(--hgp-border);
  color: var(--hgp-text-2);
  font-size: 13.5px;
  line-height: 1.6;
}
.hgp-tips p:first-child { border-top: 0; padding-top: 0; }
.hgp-tips p:last-child { padding-bottom: 0; }
.hgp-tips strong { color: var(--hgp-text); }
.hgp-tip-ic { flex: 0 0 20px; line-height: 1.6; }
.hgp-note { color: var(--hgp-text-2); font-size: 13.5px; line-height: 1.65; }

/* ==========================================================
   4) Hizmetler
   ========================================================== */
.hgp-svc-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.hgp-svc-toolbar .dropdown-toggle { height: 44px; }
.hgp-search { position: relative; margin-left: auto; flex: 1 1 280px; max-width: 400px; }
.hgp-search > i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--hgp-dim);
  pointer-events: none;
}
html body .hgp-search input.hg-input {
  width: 100%;
  height: 44px;
  padding: 0 14px 0 42px !important;
  border-radius: 8px;
}
html body .hgp-svc-toolbar .hg-custom-dropdown { max-height: 60vh; overflow-y: auto; min-width: 300px; }
html body .hgp-svc-toolbar .hg-custom-dropdown a { display: flex !important; align-items: center; gap: 10px; white-space: normal; }
html body .hgp-svc-toolbar .hg-custom-dropdown a > i,
html body .hgp-svc-toolbar .hg-custom-dropdown a > img { width: 18px; flex: 0 0 18px; text-align: center; }
html body .hgp-svc-toolbar .hg-custom-dropdown a i.hgp-plat-i { color: var(--pc) !important; }

.hgp-table-card {
  background: var(--hgp-surface);
  border: 1px solid var(--hgp-border);
  border-radius: var(--hgp-radius);
  box-shadow: var(--hgp-shadow);
}
html body .hgp-table-card .table-responsive { overflow: visible !important; }
html body table.hgp-svc-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
}
html body table.hgp-svc-table > thead > tr > th {
  position: sticky;
  top: 64px;
  z-index: 5;
  background: var(--hgp-surface-2) !important;
  color: var(--hgp-text-2) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.4px;
  padding: 12px 16px !important;
  border-bottom: 1px solid var(--hgp-border) !important;
}
html body table.hgp-svc-table > thead > tr > th:first-child { border-top-left-radius: var(--hgp-radius); }
html body table.hgp-svc-table > thead > tr > th:last-child { border-top-right-radius: var(--hgp-radius); }
html body table.hgp-svc-table > tbody > tr > td {
  padding: 12px 16px !important;
  border-bottom: 1px solid var(--hgp-border) !important;
  color: var(--hgp-text-2) !important;
  font-size: 13.5px !important;
}

/* Kategori satırı: düz zemin + platform renginde sol çizgi ve ikon */
html body table.hgp-svc-table tr.hgp-cat-row > td {
  background: var(--hgp-surface-3) !important;
  border-left: 3px solid var(--pc, var(--hgp-primary-light)) !important;
  border-top: 0 !important;
  border-bottom: 1px solid var(--hgp-border) !important;
  padding: 12px 16px !important;
  box-shadow: none !important;
}
html body .hgp-cat-row .hg-category-icon-box {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--hgp-surface);
  border: 1px solid var(--hgp-border-strong);
  box-shadow: none;
}
html body .hgp-cat-row .hg-category-icon-box i.hgp-plat-i { color: var(--pc) !important; font-size: 17px; }
html body .hgp-cat-row .hg-category-name {
  font-size: 15px !important;
  color: var(--hgp-text) !important;
  text-shadow: none;
  letter-spacing: 0;
  line-height: 1.35;
}
html body .hgp-cat-row .hg-category-count-badge {
  color: var(--hgp-text-2);
  background: transparent;
  border: 1px solid var(--hgp-border-strong);
  font-weight: 600;
}
html body .hgp-cat-row .hg-category-count-badge i { color: var(--pc, var(--hgp-primary-light)); }
html body table.hgp-svc-table > tbody > tr.hgp-cat-row:hover > td { background: var(--hgp-surface-3) !important; }

/* Servis satırları */
html body table.hgp-svc-table > tbody > tr.hgp-svc-row:hover > td { background: var(--hgp-surface-2) !important; }
.hgp-svc-row .hg-service-id-badge {
  display: inline-block;
  min-width: 44px;
  text-align: center;
  padding: 2px 7px;
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--hgp-text-2);
  background: var(--hgp-surface-2);
  border: 1px solid var(--hgp-border);
}
.hgp-svc-row .hg-service-name-text { color: var(--hgp-text); font-weight: 600; line-height: 1.5; }
.hgp-svc-row .hg-service-rate-badge {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 15px;
  font-weight: 800;
  color: var(--hgp-ok);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.hgp-svc-row .hg-meta-badge { color: var(--hgp-text-2); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hgp-svc-row .hg-time-badge { color: var(--hgp-text-2); font-size: 13px; white-space: nowrap; }
.hgp-svc-row .hg-time-badge i { color: var(--hgp-dim); margin-right: 3px; }
.hgp-svc-actions { display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; }
html body .hgp-svc-actions .hgp-btn { padding: 7px 11px !important; font-size: 12.5px !important; }
.hgp-fav { cursor: pointer; font-size: 15px; }
html body .hgp-fav .fa-regular { color: var(--hgp-dim) !important; }
html body .hgp-fav .fa-solid { color: var(--warning, #fbbf24) !important; }

/* Mobil / tablet: kart görünümü */
@media (max-width: 860px) {
  .hgp-search { max-width: none; margin-left: 0; flex-basis: 100%; }
  .hgp-table-card { background: transparent; border: 0; box-shadow: none; }
  html body table.hgp-svc-table,
  html body table.hgp-svc-table > tbody { display: block; width: 100%; min-width: 0 !important; }
  html body table.hgp-svc-table > thead { display: none; }
  html body table.hgp-svc-table > tbody > tr.hgp-cat-row { display: block; margin: 20px 0 8px; }
  html body table.hgp-svc-table > tbody > tr.hgp-cat-row > td { display: block; border-radius: 8px; padding: 11px 12px !important; }
  html body .hgp-cat-row .hg-category-header-wrap { flex-wrap: nowrap !important; align-items: flex-start !important; gap: 10px !important; }
  html body .hgp-cat-row .hg-category-title-group { gap: 10px !important; min-width: 0; align-items: flex-start !important; }
  html body .hgp-cat-row .hg-category-name { font-size: 14px !important; white-space: normal; word-break: break-word; }
  html body .hgp-cat-row .hg-category-count-badge { flex-shrink: 0; padding: 3px 9px; font-size: 11.5px; }
  html body .hgp-cat-row .hg-category-icon-box { width: 30px; height: 30px; flex: 0 0 30px; }

  html body table.hgp-svc-table > tbody > tr.hgp-svc-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 12px;
    padding: 14px;
    margin-bottom: 8px;
    border-radius: 10px;
    background: var(--hgp-surface);
    border: 1px solid var(--hgp-border);
  }
  html body table.hgp-svc-table > tbody > tr.hgp-svc-row[style*="display: none"],
  html body table.hgp-svc-table > tbody > tr.hgp-cat-row[style*="display: none"] { display: none !important; }
  html body table.hgp-svc-table > tbody > tr.hgp-svc-row > td {
    display: block;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    min-width: 0;
  }
  html body table.hgp-svc-table > tbody > tr.hgp-svc-row:hover > td { background: transparent !important; }
  html body tr.hgp-svc-row > td.hgp-td-id { grid-column: 1 / 3; grid-row: 1; }
  html body tr.hgp-svc-row > td.hgp-td-fav { grid-column: 3; grid-row: 1; text-align: right !important; }
  html body tr.hgp-svc-row > td.service-name { grid-column: 1 / -1; }
  html body tr.hgp-svc-row > td.hgp-td-time { grid-column: 1 / -1; }
  html body tr.hgp-svc-row > td.hgp-td-act { grid-column: 1 / -1; text-align: left !important; white-space: normal !important; }
  html body tr.hgp-svc-row > td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--hgp-muted);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  html body tr.hgp-svc-row > td.hgp-td-time::before { display: inline; margin-right: 6px; }
  .hgp-svc-actions { display: flex; width: 100%; }
  html body .hgp-svc-actions .hgp-btn { flex: 1; padding: 10px 12px !important; font-size: 13px !important; }
}

/* ==========================================================
   5) Bakiye Ekle
   ========================================================== */
.hgp-addfunds-page .col-md-8 { width: 100%; max-width: 820px; margin-left: auto !important; margin-right: auto; float: none; }
.hgp-pay-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}
.hgp-pay-grid[hidden] { display: none; }
html body .hgp-page .hgp-pay {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 62px;
  text-align: left;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--hgp-input);
  border: 1px solid var(--hgp-border);
  color: var(--hgp-text-2) !important;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
html body .hgp-page .hgp-pay span { color: inherit !important; }
html body .hgp-page .hgp-pay:hover { border-color: var(--hgp-border-strong); background: var(--hgp-surface-2); }
html body .hgp-page .hgp-pay.is-active {
  border-color: var(--hgp-primary-light);
  background: var(--hgp-surface-2);
  color: #ffffff !important;
  box-shadow: inset 0 0 0 1px var(--hgp-primary-light);
}
.hgp-pay:focus-visible { outline: 2px solid var(--hgp-primary-light); outline-offset: 2px; }
html body .hgp-page .hgp-pay .hgp-pay-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; flex: 0 0 34px;
  border-radius: 8px;
  font-size: 15px;
  color: var(--hgp-primary-light) !important;
  background: var(--hgp-primary-soft);
}
html body .hgp-page .hgp-pay.is-active .hgp-pay-ic { color: #ffffff !important; background: var(--hgp-primary); }
.hgp-js .hgp-method-select-wrap {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
html body .hgp-addfunds-page #amount { height: 50px !important; font-size: 16px !important; font-weight: 700; }

/* Talimat kutusu: liste taşmasın */
html body .hgp-page .well.hgp-instruction { line-height: 1.7; font-size: 14px; }
html body .hgp-page .well.hgp-instruction ul,
html body .hgp-page .well.hgp-instruction ol { padding-left: 22px; margin: 8px 0; }
html body .hgp-page .well.hgp-instruction li { margin-bottom: 4px; }
html body .hgp-page .well.hgp-instruction p { margin: 0 0 10px; }
html body .hgp-page .well.hgp-instruction a { color: var(--hgp-link) !important; text-decoration: underline; }

/* Ödeme geçmişi */
.hgp-history {
  background: var(--hgp-surface);
  border: 1px solid var(--hgp-border);
  border-radius: var(--hgp-radius);
  box-shadow: var(--hgp-shadow);
  overflow: hidden;
}
html body .hgp-history .table-responsive { margin: 0; }
html body .hgp-history table.hgp-history-table { min-width: 0 !important; margin: 0 !important; }
html body .hgp-history table.hgp-history-table > thead > tr > th { background: var(--hgp-surface-2) !important; color: var(--hgp-text-2) !important; padding: 12px 16px !important; }
html body .hgp-history table.hgp-history-table > tbody > tr > td { padding: 12px 16px !important; color: var(--hgp-text-2) !important; }
.hgp-h-id span { font-family: ui-monospace, Menlo, monospace; color: var(--hgp-muted); }
.hgp-h-date span { color: var(--hgp-text-2); font-size: 13px; }
.hgp-h-method strong { color: var(--hgp-text); }
.hgp-h-amount span { color: var(--hgp-ok); font-weight: 800; font-variant-numeric: tabular-nums; }
html body .hgp-inv-btn {
  border-radius: 6px !important;
  font-size: 12px !important;
  font-weight: 600;
  color: var(--hgp-link) !important;
  background: transparent !important;
  border: 1px solid var(--hgp-border-strong) !important;
  padding: 4px 9px !important;
}
html body .hgp-inv-btn:hover { color: #ffffff !important; background: var(--hgp-surface-2) !important; }

@media (max-width: 640px) {
  .hgp-pay-grid { grid-template-columns: 1fr 1fr; }
  html body .hgp-history { background: transparent; border: 0; box-shadow: none; }
  html body .hgp-history table.hgp-history-table,
  html body .hgp-history table.hgp-history-table > tbody { display: block; width: 100%; }
  html body .hgp-history table.hgp-history-table > thead { display: none; }
  html body .hgp-history table.hgp-history-table > tbody > tr {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px 12px;
    padding: 12px 14px;
    margin-bottom: 8px;
    border-radius: 10px;
    background: var(--hgp-surface);
    border: 1px solid var(--hgp-border);
  }
  html body .hgp-history table.hgp-history-table > tbody > tr > td { display: block; padding: 0 !important; border: 0 !important; text-align: left; }
  html body .hgp-history .hgp-h-method { grid-column: 1; grid-row: 1; }
  html body .hgp-history .hgp-h-amount { grid-column: 2; grid-row: 1; text-align: right; }
  html body .hgp-history .hgp-h-id { grid-column: 1; grid-row: 2; }
  html body .hgp-history .hgp-h-date { grid-column: 2; grid-row: 2; text-align: right; }
  html body .hgp-history .hgp-h-inv { grid-column: 1 / -1; text-align: left !important; }
  html body .hgp-history .hgp-h-inv.is-empty { display: none !important; }
}

/* ==========================================================
   6) API
   ========================================================== */
.hgp-api-wrap { max-width: 1080px; margin: 0 auto; }
html body table.hgp-param-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: transparent;
  border: 1px solid var(--hgp-border);
  border-radius: 8px;
  overflow: hidden;
  margin: 0;
}
html body table.hgp-param-table th {
  background: var(--hgp-surface-2);
  color: var(--hgp-text-2);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid var(--hgp-border);
}
html body table.hgp-param-table td {
  padding: 12px 14px;
  color: var(--hgp-text-2);
  font-size: 14px;
  line-height: 1.55;
  border-bottom: 1px solid var(--hgp-border);
  vertical-align: middle;
}
html body table.hgp-param-table tr:last-child td { border-bottom: 0; }
html body table.hgp-param-table td:first-child { width: 32%; color: var(--hgp-text); font-weight: 600; }
html body table.hgp-param-table td a { color: var(--hgp-link) !important; text-decoration: underline; }
html body table.hgp-param-table code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13.5px;
  font-weight: 600;
  color: #bae6fd;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(125, 211, 252, 0.22);
  padding: 2px 7px;
  border-radius: 5px;
  white-space: nowrap;
}
html body .hgp-code-inline {
  display: inline-block;
  max-width: 100%;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
  font-size: 13.5px;
  color: #e9d5ff !important;
  background: var(--hgp-primary-soft) !important;
  border: 1px solid rgba(167, 139, 250, 0.3);
  border-radius: 6px;
  padding: 3px 9px;
  word-break: break-all;
}
.hgp-verb {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 5px;
  font-family: ui-monospace, Menlo, monospace;
  font-weight: 800;
  font-size: 12.5px;
  color: #052e1c;
  background: var(--hgp-ok);
}
.hgp-method-title { padding-bottom: 14px; border-bottom: 1px solid var(--hgp-border); }
.hgp-api-type { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
html body .hgp-api-type label { margin: 0 !important; color: var(--hgp-text-2) !important; font-weight: 600 !important; }
html body .hgp-api-type select.form-control { width: auto !important; min-width: 220px; height: 42px; display: inline-block; }
.hgp-code {
  margin-top: 16px;
  border-radius: 8px;
  border: 1px solid var(--hgp-border);
  background: #070b16;
  overflow: hidden;
}
html body .hgp-code .hgp-code-bar {
  margin: 0;
  padding: 9px 14px;
  background: var(--hgp-surface-2);
  border-bottom: 1px solid var(--hgp-border);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--hgp-text-2) !important;
}
html body .hgp-code pre {
  margin: 0;
  padding: 14px 16px;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0;
  color: #e2e8f0 !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.65;
  white-space: pre;
  overflow-x: auto;
  max-height: 420px;
  tab-size: 2;
}
.hgp-api-foot { display: flex; justify-content: flex-end; margin-top: 8px; }
@media (max-width: 640px) {
  html body table.hgp-param-table td:first-child { width: auto; }
  html body table.hgp-param-table code { white-space: normal; word-break: break-word; }
  html body table.hgp-param-table td { font-size: 13.5px; padding: 10px 12px; }
  .hgp-api-foot { justify-content: stretch; }
  .hgp-api-foot .hgp-btn { width: 100%; }
}

/* ==========================================================
   7) Destek talebi (sohbet)
   ========================================================== */
.hgp-ticket-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 16px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--hgp-border);
}
html body .hgp-ticket-head .titcket-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 19px !important;
  line-height: 1.35;
  min-width: 0;
  word-break: break-word;
}
html body .hgp-ticket-head .titcket-title span { color: var(--hgp-text) !important; }
html body .hgp-ticket-head .titcket-title .hgp-ic,
html body .hgp-ticket-head .titcket-title .hgp-ic i { color: var(--hgp-primary-light) !important; }

.hgp-chat { display: flex; flex-direction: column; gap: 18px; }
.hgp-msg { display: flex; align-items: flex-start; gap: 10px; max-width: 84%; }
.hgp-msg.is-me { align-self: flex-end; flex-direction: row-reverse; }
html body .hgp-page .hgp-msg-avatar {
  width: 34px; height: 34px; flex: 0 0 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  color: var(--info, #7dd3fc) !important;
  background: var(--info-bg, rgba(56, 189, 248, 0.14));
  border: 1px solid rgba(125, 211, 252, 0.3);
}
html body .hgp-page .hgp-msg.is-me .hgp-msg-avatar { color: var(--hgp-primary-light) !important; background: var(--hgp-primary-soft); border-color: rgba(167, 139, 250, 0.35); }
.hgp-msg-body { min-width: 0; }
html body .hgp-chat .ticket-message.hgp-bubble {
  padding: 13px 16px !important;
  border-radius: 4px 14px 14px 14px !important;
  background: var(--hgp-surface-2) !important;
  border: 1px solid var(--hgp-border) !important;
  box-shadow: none !important;
}
html body .hgp-chat .is-me .ticket-message.hgp-bubble {
  border-radius: 14px 4px 14px 14px !important;
  background: #241a45 !important;
  border-color: rgba(167, 139, 250, 0.32) !important;
}
html body .hgp-chat .ticket-message.hgp-bubble .message,
html body .hgp-chat .ticket-message.hgp-bubble .message * {
  color: var(--hgp-text) !important;
  font-size: 14.5px !important;
  line-height: 1.65 !important;
  word-break: break-word;
}
html body .hgp-chat .ticket-message.hgp-bubble .message a { color: var(--hgp-link) !important; text-decoration: underline; }
.hgp-files { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--hgp-border); display: flex; flex-wrap: wrap; gap: 6px; }
html body .hgp-chat .ticket-message.hgp-bubble .hgp-files a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 9px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--hgp-border-strong);
  color: var(--hgp-text-2) !important;
  font-size: 12.5px !important;
  text-decoration: none !important;
}
html body .hgp-chat .ticket-message.hgp-bubble .hgp-files a:hover { color: #ffffff !important; }
html body .hgp-chat .ticket-message-block .info.hgp-meta {
  margin-top: 6px !important;
  font-size: 12.5px !important;
  color: var(--hgp-muted) !important;
}
html body .hgp-chat .info.hgp-meta strong { color: var(--info, #7dd3fc) !important; font-weight: 700; }
html body .hgp-chat .is-me .info.hgp-meta strong { color: var(--hgp-primary-light) !important; }
html body .hgp-chat .info.hgp-meta small { color: var(--hgp-muted) !important; font-size: 12.5px !important; }

.hgp-reply { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--hgp-border); }
html body .hgp-reply textarea.form-control { min-height: 130px; border-radius: 8px !important; }
html body .hgp-page .tickets-uploader {
  background: transparent !important;
  border: 1px dashed var(--hgp-border-strong) !important;
  border-radius: 8px !important;
  min-height: 44px;
}
html body .hgp-page .tickets-uploader:empty { display: none; }
@media (max-width: 640px) {
  .hgp-msg { max-width: 100%; }
  html body .hgp-page .hgp-msg-avatar { width: 28px; height: 28px; flex-basis: 28px; font-size: 11px; }
}

/* ==========================================================
   8) Görev Yap Para Kazan
   ========================================================== */
.hgp-gorev-intro { text-align: center; max-width: 820px; margin: 10px auto 46px; }
.hgp-gorev-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hgp-gorev-cta .hg-btn { padding: 12px 24px; font-size: 14.5px; font-weight: 700; }

.hgp-gorev-block { margin-bottom: 48px; }
.hgp-gorev-block-head { text-align: center; margin-bottom: 26px; }
html body .hgp-gorev-block-head h2 { font-family: var(--font-heading, 'Outfit', sans-serif); font-size: 24px; font-weight: 700; color: var(--hgp-text) !important; margin: 0 0 6px; }
html body .hgp-gorev-block-head p { color: var(--hgp-muted) !important; font-size: 14px; margin: 0; }

/* 3 adım kartı: eşit yükseklik */
.hgp-steps-row { display: flex; flex-wrap: wrap; }
.hgp-steps-row::before, .hgp-steps-row::after { display: none; }
.hgp-steps-row > [class*="col-"] { display: flex; margin-bottom: 18px; }
html body .hgp-step-card {
  position: relative;
  flex: 1;
  width: 100%;
  padding: 26px 22px;
  text-align: center;
  background: var(--hgp-surface);
  border: 1px solid var(--hgp-border);
  border-radius: var(--hgp-radius);
  box-shadow: var(--hgp-shadow);
}
.hgp-step-card .hgp-step-ic { width: 50px; height: 50px; flex-basis: 50px; font-size: 20px; border-radius: 12px; margin: 0 auto 16px; display: flex; }
.hgp-step-no {
  position: absolute; top: 16px; right: 18px;
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 18px; font-weight: 800;
  color: var(--hgp-border-strong);
}
html body .hgp-step-card h3 { font-family: var(--font-heading, 'Outfit', sans-serif); font-size: 17px; font-weight: 700; color: var(--hgp-text) !important; margin: 0 0 10px; }
html body .hgp-step-card p { color: var(--hgp-text-2) !important; font-size: 14px; line-height: 1.6; margin: 0; }

/* Görev kategorileri */
.hgp-task-card { padding: 28px; }
.hgp-task-head {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
  margin-bottom: 22px; padding-bottom: 16px;
  border-bottom: 1px solid var(--hgp-border);
}
.hgp-task-head .hgp-card-title { margin: 0; }
html body .hgp-task-sub { font-size: 13.5px; color: var(--hgp-muted) !important; margin: 6px 0 0; }
html body .hg-badge.hgp-live { background: var(--hgp-ok-bg); color: #a7f3d0; border-color: rgba(52, 211, 153, 0.3); }
html body .hg-badge.hgp-live i { font-size: 7px; vertical-align: middle; color: var(--hgp-ok); }
.hgp-task-row { display: flex; flex-wrap: wrap; }
.hgp-task-row::before, .hgp-task-row::after { display: none; }
.hgp-task-row > [class*="col-"] { display: flex; margin-bottom: 14px; }
html body .hgp-task {
  flex: 1;
  width: 100%;
  padding: 18px 14px;
  text-align: center;
  background: var(--hgp-input);
  border: 1px solid var(--hgp-border);
  border-top: 2px solid var(--pc);
  border-radius: 10px;
}
.hgp-task > i { font-size: 30px; color: var(--pc); display: block; margin-bottom: 10px; }
.hgp-task strong { display: block; color: var(--hgp-text); font-size: 14.5px; margin-bottom: 4px; }
.hgp-task span { display: block; color: var(--hgp-muted); font-size: 13px; }

/* Admin içeriği (CMS) */
html body .hgp-card.hgp-content {
  color: var(--hgp-text-2);
  font-family: var(--font-main, 'Plus Jakarta Sans', sans-serif);
  font-size: 14.5px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
html body .hgp-card.hgp-content * { font-family: inherit !important; max-width: 100%; }
html body .hgp-card.hgp-content h1,
html body .hgp-card.hgp-content h2,
html body .hgp-card.hgp-content h3,
html body .hgp-card.hgp-content h4 { color: var(--hgp-text) !important; font-family: var(--font-heading, 'Outfit', sans-serif) !important; margin: 18px 0 10px; line-height: 1.35; }
html body .hgp-card.hgp-content p { margin: 0 0 12px; color: var(--hgp-text-2) !important; }
html body .hgp-card.hgp-content ul,
html body .hgp-card.hgp-content ol { padding-left: 22px; margin: 0 0 14px; }
html body .hgp-card.hgp-content li { margin-bottom: 6px; color: var(--hgp-text-2) !important; }
html body .hgp-card.hgp-content a { color: var(--hgp-link) !important; text-decoration: underline; }
html body .hgp-card.hgp-content strong,
html body .hgp-card.hgp-content b { color: var(--hgp-text) !important; }
html body .hgp-card.hgp-content img { height: auto; border-radius: 8px; }

/* ==========================================================
   9) Duyarlı düzen
   ========================================================== */

@media (max-width: 560px) {
  .hgp-page { padding-top: 16px; }
  .hgp-card,
  html body .hgp-page .well.hgp-well,
  .hgp-order-card,
  .hgp-task-card { padding: 18px 16px !important; }
  .hgp-card-title { font-size: 17px; }
  .hgp-task-row > [class*="col-"] { padding-left: 6px; padding-right: 6px; }
  html body .hgp-task { padding: 14px 8px; }
  .hgp-task > i { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .hgp-btn, .hgp-pay { transition: none !important; }
}

@media (max-width: 420px) {
  .hgp-pay-grid { grid-template-columns: 1fr; }
  html body .hgp-page .hgp-pay { min-height: 54px; }
}

/* ==========================================================
   Giriş yapmış menü: her genişlikte 2 satır
   (üstte logo + bakiye/hesap, altta tüm menü; menü kalabalık olduğu için)
   ========================================================== */
html body .hgp-nav .hg-auth-nav-inner {
  height: auto !important;
  flex-wrap: wrap !important;
  padding: 10px 0 0 !important;
  gap: 8px 12px !important;
}
html body .hgp-nav .hg-auth-nav-inner .navbar-header { order: 1 !important; margin-right: 0 !important; }
html body .hgp-nav .hg-auth-actions { order: 2 !important; margin-left: auto !important; }
html body .hgp-nav .hg-auth-menu {
  order: 3 !important;
  flex: 0 0 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 6px 0 8px !important;
  border-top: 1px solid var(--hgp-border);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-mask-image: none;
  mask-image: none;
}
html body .hgp-nav .hg-auth-menu::-webkit-scrollbar { display: none; }
html body .hgp-nav .hg-auth-menu li { flex: 0 0 auto; }
html body .hgp-nav .hg-auth-menu li a { white-space: nowrap; padding: 7px 11px !important; }
html body .hgp-nav .hg-auth-menu li a.active { box-shadow: inset 0 -2px 0 var(--hgp-primary-light); }
@media (min-width: 993px) {
  html body .hgp-nav .hg-auth-menu li a .navbar-icon { display: inline-block !important; }
}
@media (max-width: 992px) {
  html body .hgp-nav .hg-auth-menu li a .navbar-icon { display: none !important; }
  html body .hgp-nav .hg-auth-menu li a { padding: 6px 9px !important; font-size: 12.5px !important; }
}

/* Metin içi bağlantı (ör. "Destek") */
html body a.hgp-inline-link,
html body a.hgp-inline-link strong {
  color: var(--primary-light, #c9a7f5) !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}
html body a.hgp-inline-link:hover strong { color: #ffffff !important; }

/* ==========================================================
   Panelin kendi liste sayfaları (Updates, Siparişler, Abonelikler,
   Refunds, Destek...): üst araç çubuğu + tablo + sayfalama
   ========================================================== */
/* Sayfalama tablonun üstüne binmesin: her zaman tablonun altında, ortada */
html body .well-float { float: none !important; }
html body ul.pagination {
  float: none !important;
  position: static !important;
  clear: both;
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 18px 0 8px !important;
  padding: 0 !important;
}
html body ul.pagination > li { float: none !important; display: block; }
html body ul.pagination > li > a,
html body ul.pagination > li > span { margin: 0 !important; min-width: 38px; text-align: center; border-radius: 8px !important; }

/* Üst araç çubuğu: filtre düğmesi + arama aynı hizada ve aynı yükseklikte */
html body .nav-pills.pull-right {
  display: flex !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px !important;
}
html body .nav-pills.pull-right > li { float: none !important; margin: 0 !important; }
html body .nav-pills.pull-right .dropdown-toggle,
html body .nav-pills.pull-right .search .form-control,
html body .nav-pills.pull-right .search .btn {
  height: 42px !important;
  line-height: 1 !important;
  box-shadow: none !important;
}
html body .nav-pills.pull-right .dropdown-toggle { padding: 0 16px !important; border-radius: 8px !important; }
html body .nav-pills.pull-right .search .input-group { display: flex; width: 100%; }
html body .nav-pills.pull-right .search .form-control { border-radius: 8px 0 0 8px !important; min-width: 220px; }
html body .nav-pills.pull-right .search .input-group-btn { width: auto; }
html body .nav-pills.pull-right .search .btn { border-radius: 0 8px 8px 0 !important; padding: 0 14px !important; }
@media (max-width: 992px) {
  html body .nav-pills.pull-right { float: none !important; width: 100%; }
  html body .nav-pills.pull-right .search { flex: 1 1 100%; }
  html body .nav-pills.pull-right .search .form-control { min-width: 0; }
}
@media (max-width: 992px) {
  /* Liste tabloları mobilde kutu içinde yana kaysın, sayfa taşmasın */
  html body .well-float { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  html body .well-float > .table { min-width: 640px; }
  html body .nav-pills.pull-right { flex-wrap: nowrap; }
  html body .nav-pills.pull-right > li.search { flex: 1 1 auto; min-width: 0; width: auto !important; margin-top: 0 !important; }
  html body .nav-pills.pull-right .search form,
  html body .nav-pills.pull-right .search .input-group { display: flex !important; width: 100%; min-width: 0; }
  html body .nav-pills.pull-right .search .form-control { flex: 1 1 auto; width: auto !important; min-width: 0 !important; }
  html body .nav-pills.pull-right .search .input-group-btn { flex: 0 0 auto; display: block; }
}

/* ==========================================================
   Giriş yapmış kullanıcı: SOL MENÜ + üst çubuk
   Masaüstü (≥1200px) sabit sol menü; altında ☰ ile soldan açılır.
   ========================================================== */
:root { --hgs-w: 248px; }

html body .hgs-side {
  position: fixed;
  top: 0; bottom: 0; left: 0;
  z-index: 1040;
  width: var(--hgs-w);
  display: flex;
  flex-direction: column;
  background: var(--surface, #10162a);
  border-right: 1px solid var(--hgp-border, rgba(255,255,255,.08));
  overflow-y: auto;
  scrollbar-width: thin;
}
html body .hgs-brand {
  display: flex;
  align-items: center;
  height: 64px;
  padding: 0 20px;
  flex: 0 0 auto;
  border-bottom: 1px solid var(--hgp-border, rgba(255,255,255,.08));
}
html body .hgs-brand .hg-brand-logo { max-height: 30px; width: auto; }
html body .hgs-menu {
  list-style: none;
  margin: 0;
  padding: 12px 10px 24px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
html body .hgs-menu li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text-2, #cbd5e1) !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  border-left: 3px solid transparent;
  transition: background .15s, color .15s;
}
html body .hgs-menu li a .navbar-icon {
  width: 18px;
  text-align: center;
  font-size: 15px;
  color: var(--text-muted, #a5b1c6);
}
html body .hgs-menu li a:hover {
  background: var(--surface-2, #161d35);
  color: #ffffff !important;
}
html body .hgs-menu li a.active {
  background: var(--primary-soft, rgba(130,71,208,.16));
  border-left-color: var(--primary, #8247d0);
  color: #ffffff !important;
}
html body .hgs-menu li a.active .navbar-icon { color: var(--primary-light, #c9a7f5); }
html body .hgs-menu li a:focus-visible { outline: 2px solid var(--primary-light, #c9a7f5); outline-offset: 1px; }

/* Üst çubuk */
html body .hg-navbar.hgs-top {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: var(--bg, #090d1a) !important;
  border-bottom: 1px solid var(--hgp-border, rgba(255,255,255,.08)) !important;
  box-shadow: none !important;
}
html body .hgs-top-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 64px;
  padding: 0 24px;
}
html body .hgs-top .hg-auth-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
html body .hgs-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--hgp-border, rgba(255,255,255,.12));
  background: var(--surface, #10162a);
  color: var(--text, #f1f5f9);
  font-size: 17px;
}
html body .hgs-brand--top { display: none; height: auto; padding: 0; border: 0; }
html body .hgs-backdrop { display: none; }

/* Masaüstü: içerik sol menünün yanına kayar */
@media (min-width: 1200px) {
  html body.hgs-auth { padding-left: var(--hgs-w) !important; }
}

/* Tablet / telefon: menü gizli, ☰ ile açılır */
@media (max-width: 1199px) {
  html body .hgs-side {
    transform: translateX(-100%);
    transition: transform .2s ease;
    box-shadow: none;
  }
  html body.hgs-open .hgs-side { transform: none; box-shadow: 0 0 0 100vmax rgba(0,0,0,.5); }
  html body.hgs-open .hgs-backdrop {
    display: block;
    position: fixed; inset: 0;
    z-index: 1035;
    background: transparent;
  }
  html body.hgs-open { overflow: hidden; }
  html body .hgs-toggle { display: inline-flex; }
  html body .hgs-brand--top { display: flex; }
  html body .hgs-top-inner { padding: 0 16px; height: 60px; }
}
@media (max-width: 480px) {
  html body .hgs-brand--top .hg-brand-logo { max-height: 24px; }
  html body .hgs-top-inner { gap: 8px; padding: 0 12px; }
  html body .hgs-top .hg-auth-actions { gap: 6px; }
  html body .hgs-top .hg-auth-btn-account span { display: none; }
  html body .hgp-wallet .hgp-wallet-btn { padding: 6px 9px !important; font-size: 12.5px !important; }
}
@media (prefers-reduced-motion: reduce) {
  html body .hgs-side { transition: none; }
}
html body .hg-navbar.hgs-top { padding: 0 !important; backdrop-filter: none; -webkit-backdrop-filter: none; }
@media (min-width: 1200px) {
  html body .hgs-top-inner { justify-content: flex-end; }
}

/* ==========================================================
   Sol menülü düzende içerik genişliği ve taşma düzeltmeleri
   ========================================================== */
html body.hgs-auth { overflow-x: hidden; }
@media (min-width: 1200px) {
  html body.hgs-auth .hg-main-content .container,
  html body.hgs-auth .hg-main-content .container-fluid,
  html body.hgs-auth .hg-main-content .hg-container {
    width: auto !important;
    max-width: 1480px !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
}
/* Hizmetler tablosu: sol menü varken dar masaüstünde sığsın */
@media (min-width: 1200px) and (max-width: 1599px) {
  html body.hgs-auth .hgp-svc-actions { display: flex; flex-direction: column; align-items: stretch; gap: 6px; }
  html body.hgs-auth .hgp-svc-actions .hgp-btn { justify-content: center; padding: 6px 10px !important; font-size: 12.5px !important; }
  html body.hgs-auth .hgp-td-time { white-space: normal !important; }
  html body.hgs-auth .table > thead > tr > th { font-size: 11px !important; letter-spacing: .02em; padding-left: 8px !important; padding-right: 8px !important; }
  html body.hgs-auth .table > tbody > tr > td { padding-left: 8px !important; padding-right: 8px !important; }
}
html body.hgs-auth .table-responsive { overflow-x: auto !important; }

/* Bakiye ekle: uzun ödeme yöntemi adları kartın dışına taşmasın */
html body .hgp-page .hgp-pay { min-width: 0; overflow: hidden; }
html body .hgp-page .hgp-pay-name {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-align: left;
  line-height: 1.35;
}
/* Tutar alanları: panelin eklediği "Tutar, TRY" etiketi diğer etiketle aynı görünsün */
html body #amount-fields label,
html body #amount-fields label span,
html body #amount-fields .control-label span {
  color: var(--text, #f1f5f9) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  padding: 0 !important;
}
html body #amount-fields > span,
html body #amount-fields > i,
html body #amount-fields > div > i { padding-bottom: 12px !important; }
/* Tablo kutusu yana kaydırılabilir olduğunda yapışkan başlık kayıyor; sol menülü düzende kapat */
html body.hgs-auth .table-responsive thead th,
html body.hgs-auth .table-responsive thead tr { position: static !important; top: auto !important; }

/* ==========================================================
   Ödeme sağlayıcılarının beyaz açılır pencereleri (ör. Binance Pay)
   Temanın koyu sayfa yazı renkleri bu pencerelere geçmesin: koyu yazı
   ========================================================== */
html body .binance-modal,
html body .binance-modal [class*="binance-modal-"],
html body .modal [class*="-modal-content"]:not(.modal-content),
html body .modal [class*="-modal-body"]:not(.modal-body) {
  color: #1f2937 !important;
}
html body .binance-modal label,
html body .binance-modal .control-label,
html body .binance-modal p,
html body .binance-modal span:not(.badge),
html body .binance-modal li,
html body .binance-modal small,
html body .binance-modal div,
html body .binance-modal #pay-instruction,
html body .binance-modal #pay-instruction *,
html body .binance-modal [id*="instruction"],
html body .binance-modal [id*="instruction"] *,
html body .modal [class*="-modal-body"]:not(.modal-body) label,
html body .modal [class*="-modal-body"]:not(.modal-body) p,
html body .modal [class*="-modal-body"]:not(.modal-body) li,
html body .modal [class*="-modal-body"]:not(.modal-body) [id*="instruction"] * {
  color: #1f2937 !important;
}
html body .binance-modal .control-label { font-weight: 700 !important; color: #111827 !important; }
html body .binance-modal [id*="instruction"],
html body .binance-modal .binance-pay-instruction {
  background: #f5f3ff !important;
  border-color: #ddd6fe !important;
}
html body .binance-modal .btn-primary,
html body .binance-modal .btn-primary * { color: #ffffff !important; }
html body .binance-modal input.form-control {
  color: #111827 !important;
  background: #f3f4f6 !important;
  border-color: #d1d5db !important;
}

/* ==========================================================
   Siparişler / Abonelikler tabloları: "Servis" sütunu sıkışmasın,
   uzun linkler sütunu şişirmesin
   ========================================================== */
html body .table td.width-40 {
  width: auto !important;
  max-width: 300px;
  overflow-wrap: anywhere;
  word-break: break-word;
}
html body .table td.link {
  max-width: 240px;
  overflow-wrap: anywhere;
  word-break: break-word;
}
html body .table:has(td.width-40) td:nth-child(2) { white-space: nowrap; }
html body .table:has(td.width-40) td:nth-child(7),
html body .table:has(td.link) td:nth-child(7) {
  min-width: 240px;
}
@media (max-width: 992px) {
  html body .table:has(td.width-40) td:nth-child(7),
  html body .table:has(td.link) td:nth-child(7) { min-width: 200px; }
  html body .table td.width-40 { max-width: 220px; }
}

/* Telefon: servis adı kartın dışına taşmasın, sayfa yana kaymasın */
@media (max-width: 860px) {
  html body tr.hgp-svc-row > td.service-name,
  html body tr.hgp-svc-row .hg-service-name-text {
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
  }
  html body table.hgp-svc-table,
  html body .hgp-table-card,
  html body .hgp-table-card .table-responsive { max-width: 100%; overflow-x: hidden !important; }
}
