/* ===== base ===== */
/* BiHosting açık tema — TEMEL (palet + ortak bileşenler).
   Tüm kurallar html[data-theme="light"] altında; koyu temaya dokunmaz.
   Bölüm bazlı düzeltmeler bu klasördeki diğer dosyalarda. */
[data-theme="light"]:root {
  color-scheme: light;
  --background: #f5f6f8;
  --secondary-bg: #ffffff;
  --foreground: #0f1115;
  --foreground-hover: #3f3f46;
  --foreground-text: #3f4350;
  --surface-bg: color-mix(in srgb, var(--accent) 55%, transparent);
  --surface-bg-2: color-mix(in srgb, var(--accent) 80%, transparent);
  --header-bg: rgba(255, 255, 255, 0.82);
  --card: #ffffff;
  --card-foreground: #0f1115;
  --popover: #ffffff;
  --popover-foreground: #0f1115;
  --primary: #18181b;
  --primary-foreground: #fafafa;
  --secondary: #eef0f3;
  --secondary-hover: #e4e6ea;
  --secondary-foreground: #0f1115;
  --muted: #e6e8ec;
  --muted-foreground: #6b7280;
  --accent: #e5e7eb;
  --accent-foreground: #0f1115;
  --destructive: #dc2626;
  --border: rgba(15, 17, 21, 0.1);
  --input: rgba(15, 17, 21, 0.035);
  --input-rgb: #ffffff;
  --ring: #a1a1aa;
  --sidebar: #ffffff;
  --sidebar-foreground: #0f1115;
  --sidebar-primary: #4f39f6;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: #f1f2f4;
  --sidebar-accent-foreground: #0f1115;
  --sidebar-border: rgba(15, 17, 21, 0.1);
  --sidebar-ring: #a1a1aa;
  --topbar: #ffffff;
}
html[data-theme="light"] body { color: var(--foreground-text); background: var(--background); }

/* Tema değiştirme düğmesi */
.bh-theme-toggle { display: none !important; }
html.bh-theme-preview .bh-theme-toggle { display: inline-flex !important; }
.bh-theme-toggle .bh-ic-sun { display: none; }
html[data-theme="light"] .bh-theme-toggle .bh-ic-sun { display: block; }
html[data-theme="light"] .bh-theme-toggle .bh-ic-moon { display: none; }
html.bh-theme-switching, html.bh-theme-switching * { transition: none !important; }

/* Logo: açık temada koyu yazılı sürüm */
.bh-logo-light { display: none !important; }
html[data-theme="light"] .bh-logo-dark { display: none !important; }
html[data-theme="light"] .bh-logo-light { display: block !important; }

/* ===== public ===== */
/* BiHosting açık tema — public. Tüm kurallar html[data-theme="light"] ile başlar. */

/* ---------- Eksik değişkenler (yalnızca koyu blokta tanımlıydı) ---------- */
[data-theme="light"]:root {
  --linear-gradient: linear-gradient(270.28deg, rgb(97, 132, 255) -95.8%, rgb(83, 80, 255) 1.88%, rgb(240, 28, 92) 99.55%);
  --chart-1: #2563eb;
  --chart-2: #0891b2;
  --chart-3: #7c3aed;
  --chart-4: #d97706;
  --chart-5: #dc2626;
  --normal-shadow-color: rgba(15, 17, 21, 0.08);
}

/* =====================================================================
   GENEL BİLEŞENLER (tüm sayfalar)
   ===================================================================== */

/* ---------- Butonlar: doygun zeminli butonlarda beyaz yazı ---------- */
html[data-theme="light"] .btn-primary,
html[data-theme="light"] .btn-success,
html[data-theme="light"] .btn-danger,
html[data-theme="light"] .btn-info {
  --btn-color: #ffffff;
  --btn-hover-color: #ffffff;
}
html[data-theme="light"] .btn-warning {
  --btn-color: #1f1300;
  --btn-hover-color: #1f1300;
}
html[data-theme="light"] .btn-outline-primary,
html[data-theme="light"] .btn-outline-success,
html[data-theme="light"] .btn-outline-danger,
html[data-theme="light"] .btn-outline-info {
  --btn-hover-color: #ffffff;
}
html[data-theme="light"] .btn-outline-success { --btn-color: #047857; }
html[data-theme="light"] .btn-outline-danger { --btn-color: #dc2626; }
html[data-theme="light"] .btn-outline-info { --btn-color: #1d6fd8; }
html[data-theme="light"] .btn-outline-warning { --btn-color: #b45309; --btn-hover-color: #1f1300; }
/* Hayalet / yarı hayalet: beyaz zeminde okunur koyu tonlar */
html[data-theme="light"] .btn-ghost-success,
html[data-theme="light"] .btn-semi-ghost-success { --btn-color: #047857; --btn-hover-color: #047857; }
html[data-theme="light"] .btn-ghost-danger,
html[data-theme="light"] .btn-semi-ghost-danger { --btn-color: #dc2626; --btn-hover-color: #dc2626; }
html[data-theme="light"] .btn-ghost-warning,
html[data-theme="light"] .btn-semi-ghost-warning { --btn-color: #b45309; --btn-hover-color: #b45309; }
html[data-theme="light"] .btn-ghost-info,
html[data-theme="light"] .btn-semi-ghost-info { --btn-color: #1d6fd8; --btn-hover-color: #1d6fd8; }
html[data-theme="light"] .btn-semi-ghost-secondary { --btn-color: #3f4350; }
html[data-theme="light"] .btn-secondary {
  --btn-border: rgba(15, 17, 21, 0.08);
  --btn-hover-border: rgba(15, 17, 21, 0.12);
}

/* ---------- Rozetler / etiketler / metin yardımcıları ---------- */
html[data-theme="light"] .badge-primary { color: #ffffff !important; }
html[data-theme="light"] .badge-success,
html[data-theme="light"] .badge-danger,
html[data-theme="light"] .badge-info { color: #ffffff; }
html[data-theme="light"] .badge-warning { color: #1f1300; }
html[data-theme="light"] .badge-secondary { background-color: var(--secondary); color: var(--foreground); border: 1px solid var(--border); }
html[data-theme="light"] .label-success { color: #047857; }
html[data-theme="light"] .label-info { color: #1d6fd8; }
html[data-theme="light"] .label-warning { color: #b45309; }
html[data-theme="light"] .label-danger { color: #dc2626; }
html[data-theme="light"] .text-success,
html[data-theme="light"] a.text-success:hover { color: #059669 !important; }
html[data-theme="light"] .text-warning,
html[data-theme="light"] a.text-warning:hover { color: #b45309 !important; }
html[data-theme="light"] .text-danger,
html[data-theme="light"] a.text-danger:hover { color: #dc2626 !important; }
html[data-theme="light"] .text-info,
html[data-theme="light"] a.text-info:hover { color: #1d6fd8 !important; }

/* ---------- Uyarılar (alert): pastel zeminde koyu metin ---------- */
html[data-theme="light"] .alert,
html[data-theme="light"] .alert-title,
html[data-theme="light"] .alert-link,
html[data-theme="light"] .alert-close-btn,
html[data-theme="light"] .alert-content .form-check {
  color: #14161b !important;
}
html[data-theme="light"] .alert::after { border-color: rgba(255, 255, 255, 0.6); }
html[data-theme="light"] .alert-list li::before { background-color: #14161b; }
html[data-theme="light"] .alert-content .form-check .checkmark { border-color: #14161b; }
html[data-theme="light"] .alert { box-shadow: 0 6px 20px rgba(15, 17, 21, 0.08); }
html[data-theme="light"] .alert-primary { --alert-color: #dcd8fd; }
html[data-theme="light"] .alert-secondary { --alert-color: #e4e6ea; }
html[data-theme="light"] .alert-success { --alert-color: #d3ecd8; }
html[data-theme="light"] .alert-info { --alert-color: #d6e6f3; }
html[data-theme="light"] .alert-warning { --alert-color: #f6e7c4; }
html[data-theme="light"] .alert-danger { --alert-color: #f6d6d6; }
html[data-theme="light"] .alert-light { --alert-color: #ffffff; }
html[data-theme="light"] .alert-dark { --alert-color: #d9dae0; }

/* =====================================================================
   ANA SAYFA
   ===================================================================== */
/* Ortak "beyaz kart" görünümü: açık gri sayfa üzerinde beyaz yüzey */
html[data-theme="light"] .home-domains-features .feature-item,
html[data-theme="light"] .basic-features-card,
html[data-theme="light"] .premium-plan-card,
html[data-theme="light"] .mini-plan-card,
html[data-theme="light"] .faq-section .theme-accordion .card,
html[data-theme="light"] .regular-plan-card {
  background: var(--card);
  border-color: rgba(15, 17, 21, 0.08) !important;
  box-shadow: 0 1px 2px rgba(15, 17, 21, 0.04), 0 4px 16px rgba(15, 17, 21, 0.04);
}
html[data-theme="light"] .home-domains-features .feature-item .icon svg { color: var(--indigo); }

/* Hero: kayan öneri kartları */
html[data-theme="light"] .quick-actions-header .action-item {
  background-color: var(--card);
  border: 1px solid rgba(15, 17, 21, 0.06);
  box-shadow: 0 1px 3px rgba(15, 17, 21, 0.04);
}
html[data-theme="light"] .quick-actions-header .action-item:hover {
  border-color: rgba(79, 57, 246, 0.25);
  box-shadow: 0 4px 14px rgba(15, 17, 21, 0.07);
}
html[data-theme="light"] .quick-actions-header .action-text { color: var(--foreground-text); }
html[data-theme="light"] .quick-actions-header .color-variant-1 .action-icon { color: #dc2626; }
html[data-theme="light"] .quick-actions-header .color-variant-2 .action-icon { color: #1d6fd8; }
html[data-theme="light"] .quick-actions-header .color-variant-3 .action-icon { color: #047857; }
html[data-theme="light"] .quick-actions-header .color-variant-4 .action-icon { color: #b45309; }
html[data-theme="light"] .quick-actions-header .color-variant-5 .action-icon { color: #6f42c1; }
html[data-theme="light"] .quick-actions-header .color-variant-6 .action-icon { color: #c2185b; }
html[data-theme="light"] .quick-actions-header .color-variant-7 .action-icon { color: #c2410c; }
html[data-theme="light"] .quick-actions-header .color-variant-8 .action-icon { color: #4b5563; }
html[data-theme="light"] .quick-actions-header .color-variant-9 .action-icon { color: #0f766e; }
html[data-theme="light"] .quick-actions-header .color-variant-10 .action-icon { color: #0e7490; }

/* Hosting planları: üst bölüm ve ikon */
html[data-theme="light"] .regular-plan-card .plan-header {
  background: #f6f7f9;
  border: 1px solid rgba(15, 17, 21, 0.05);
}
html[data-theme="light"] .regular-plan-card .plan-header .icon {
  background: var(--card);
  box-shadow: 0 1px 3px rgba(15, 17, 21, 0.08);
}
html[data-theme="light"] .regular-plan-card.popular .plan-header .icon { color: #fff; }
html[data-theme="light"] .regular-plan-card.popular .plan-header .icon svg { fill: #fff; color: #fff; }
html[data-theme="light"] .regular-plan-card .plan-features .list-item .icon { fill: var(--indigo); }

/* Mutlu Müşteriler & CTA bandı */
html[data-theme="light"] .mini-testimonial-card,
html[data-theme="light"] .hosting-solutions-section .ui-content {
  background: var(--card);
  box-shadow: 0 6px 24px rgba(15, 17, 21, 0.06);
}
html[data-theme="light"] .mini-testimonial-card .testimonial-card { border-color: var(--card); }

/* VDS / Dedicated listesi */
html[data-theme="light"] .vds-services-section .vds-product-card {
  background: var(--card) !important;
  border-color: rgba(15, 17, 21, 0.08) !important;
  box-shadow: 0 1px 2px rgba(15, 17, 21, 0.04) !important;
}
html[data-theme="light"] .vds-services-section .vds-product-card:hover {
  border-color: rgba(79, 57, 246, 0.28) !important;
  box-shadow: 0 6px 18px rgba(15, 17, 21, 0.08) !important;
}
html[data-theme="light"] .vds-services-section .vds-spec-tag {
  background: #f3f4f6 !important;
  border-color: rgba(15, 17, 21, 0.08) !important;
  box-shadow: none !important;
  color: #2b2f38 !important;
}
html[data-theme="light"] .vds-services-section .vds-country-filters button.vds-filter-btn:not(.active),
html[data-theme="light"] .vds-services-section .vds-country-filters .vds-filter-btn:not(.active) {
  color: #4b5160 !important;
  background: rgba(15, 17, 21, 0.04) !important;
  border-color: rgba(15, 17, 21, 0.1) !important;
}
html[data-theme="light"] .vds-services-section .vds-country-filters button.vds-filter-btn:hover:not(.active),
html[data-theme="light"] .vds-services-section .vds-country-filters .vds-filter-btn:hover:not(.active) {
  color: var(--foreground) !important;
  background: rgba(15, 17, 21, 0.07) !important;
}
html[data-theme="light"] .vds-services-section .vds-country-filters .vds-filter-btn.active {
  border-color: rgba(79, 57, 246, 0.45) !important;
  box-shadow: 0 0 0 3px rgba(79, 57, 246, 0.1), 0 1px 3px rgba(15, 17, 21, 0.08) !important;
}
html[data-theme="light"] .bh-currency-switcher { background: rgba(15, 17, 21, 0.04); }
html[data-theme="light"] .bh-currency-btn { color: #5b6170; }
html[data-theme="light"] .bh-currency-btn.active { color: var(--foreground); box-shadow: 0 1px 3px rgba(15, 17, 21, 0.14); }

/* =====================================================================
   FOOTER
   ===================================================================== */
html[data-theme="light"] .theme-footer { background: var(--card); }
html[data-theme="light"] .footer-payment-partners { border-top-color: var(--border) !important; }
html[data-theme="light"] .footer-iyzico-logo { filter: invert(1) brightness(0.35); opacity: 0.7; }
html[data-theme="light"] .footer-mobile-accordion .footer-acc-item {
  border-color: var(--border) !important;
  background: var(--background) !important;
}
html[data-theme="light"] .footer-mobile-accordion .footer-acc-title { color: var(--foreground) !important; }

/* ---------- Ön yükleyici ---------- */
html[data-theme="light"] .preloader { background-color: var(--background); }

/* =====================================================================
   ÜST BAR / NAVBAR / AÇILIR MENÜLER / MODALLAR
   ===================================================================== */
html[data-theme="light"] .theme-dropdown-menu,
html[data-theme="light"] .dropdown-menu {
  box-shadow: 0 10px 30px rgba(15, 17, 21, 0.1), 0 2px 6px rgba(15, 17, 21, 0.05);
}
html[data-theme="light"] .modal-backdrop { background-color: #0f1115; }
html[data-theme="light"] .modal-backdrop.show { opacity: 0.35; }
html[data-theme="light"] .modal-content { box-shadow: 0 24px 60px rgba(15, 17, 21, 0.18); }

/* Kayan arama çubuğu */
html[data-theme="light"] .float-search-bar > form {
  background-color: var(--card);
  box-shadow: 0 8px 28px rgba(15, 17, 21, 0.12);
}

/* =====================================================================
   İLETİŞİM SAYFASI (sol panel koyu görsel üzerinde kalır)
   ===================================================================== */
html[data-theme="light"] .contact-page .left-section {
  --foreground: #fafafa;
  --foreground-text: #d1d5dc;
  --muted-foreground: #a3a3a3;
  color: #d1d5dc;
}
html[data-theme="light"] .contact-page .left-section a.theme-link:hover { color: #ffffff; }
html[data-theme="light"] .contact-page .right-section { background: var(--card); }

/* =====================================================================
   WHOIS SAYFASI
   ===================================================================== */
html[data-theme="light"] .whois-page .whois-search-card {
  background: var(--card);
  border-color: rgba(15, 17, 21, 0.08);
  box-shadow: 0 1px 2px rgba(15, 17, 21, 0.04), 0 4px 16px rgba(15, 17, 21, 0.04);
}
html[data-theme="light"] .whois-page .whois-search-card:hover { box-shadow: 0 6px 20px rgba(15, 17, 21, 0.08); }
html[data-theme="light"] .whois-page .whois-input-group .whois-input,
html[data-theme="light"] .whois-page .whois-search-card .form-control {
  background: var(--background) !important;
  border-color: rgba(15, 17, 21, 0.12) !important;
}
html[data-theme="light"] .whois-page #whoisSubmitBtn,
html[data-theme="light"] .whois-page .whois-input-group .input-group-append .btn {
  background-color: var(--primary) !important;
  color: var(--primary-foreground) !important;
  border-color: var(--primary) !important;
}
html[data-theme="light"] .whois-page #whoisSubmitBtn:hover,
html[data-theme="light"] .whois-page .whois-input-group .input-group-append .btn:hover {
  background-color: #2b2b31 !important;
  border-color: #2b2b31 !important;
  color: #ffffff !important;
}
@media (max-width: 991px) {
  html[data-theme="light"] .whois-page .whois-input-group #whoisSubmitBtn { border-left: 1px solid var(--primary) !important; }
  html[data-theme="light"] .whois-page .whois-output-table tr,
  html[data-theme="light"] .whois-page .whois-output-table-other tr { border-bottom-color: var(--border) !important; }
}
html[data-theme="light"] .whois-page .whois-alert-success { color: #047857; background: rgba(16, 185, 129, 0.1); border-color: rgba(16, 185, 129, 0.3); }
html[data-theme="light"] .whois-page .whois-alert-success .whois-alert-icon { color: #059669; }
html[data-theme="light"] .whois-page .whois-alert-info { color: #1d4ed8; background: rgba(59, 130, 246, 0.08); }
html[data-theme="light"] .whois-page .whois-alert-info .whois-alert-icon { color: #2563eb; }
html[data-theme="light"] .whois-page .whois-alert-danger { color: #b91c1c; background: rgba(239, 68, 68, 0.08); }
html[data-theme="light"] .whois-page .whois-alert-danger .whois-alert-icon { color: #dc2626; }
html[data-theme="light"] .whois-page .whois-output-wrap { background: var(--card); box-shadow: 0 1px 2px rgba(15, 17, 21, 0.04); }
html[data-theme="light"] .whois-page .whois-output-pre { color: #3f4350; }
html[data-theme="light"] .whois-page .whois-output-wrap::-webkit-scrollbar-track { background: rgba(15, 17, 21, 0.05); }
html[data-theme="light"] .whois-page .whois-output-wrap::-webkit-scrollbar-thumb { background: rgba(15, 17, 21, 0.2); }
html[data-theme="light"] .whois-page .whois-output-wrap::-webkit-scrollbar-thumb:hover { background: rgba(15, 17, 21, 0.32); }
html[data-theme="light"] .whois-page .whois-output-table th,
html[data-theme="light"] .whois-page .whois-output-table td { border-bottom-color: var(--border); }
html[data-theme="light"] .whois-page .whois-output-table tbody tr:hover th,
html[data-theme="light"] .whois-page .whois-output-table tbody tr:hover td { background: rgba(15, 17, 21, 0.025); }
html[data-theme="light"] .whois-page .whois-suggestion-chip { background: var(--card); }
html[data-theme="light"] .whois-page .whois-suggestion-chip:hover { color: var(--primary-foreground); }

/* =====================================================================
   GENEL: KART / TABLO / FORM / SAYFALAMA / LİSTE / İPUCU
   (düşük özgüllük — bölüm dosyaları kolayca ezebilir)
   ===================================================================== */
html[data-theme="light"] .card { background-color: var(--card); }
html[data-theme="light"] .card .card { background-color: #fafbfc; }
html[data-theme="light"] .table { background-color: var(--card); }
html[data-theme="light"] .table th,
html[data-theme="light"] .table td { border-color: var(--border); }
html[data-theme="light"] .table .thead,
html[data-theme="light"] .table thead th { background-color: #f8f9fb; color: var(--foreground); }

/* Solid renkli butonlar: beyaz yazıyla AA kontrast için koyu tonlar */
html[data-theme="light"] .btn-success { --btn-bg: #059669; --btn-border: #059669; --btn-hover-bg: #047857; --btn-hover-border: #047857; }
html[data-theme="light"] .btn-danger { --btn-bg: #dc2626; --btn-border: #dc2626; --btn-hover-bg: #b91c1c; --btn-hover-border: #b91c1c; }
html[data-theme="light"] .btn-info { --btn-bg: #1d6fd8; --btn-border: #1d6fd8; --btn-hover-bg: #1a5fbb; --btn-hover-border: #1a5fbb; }
html[data-theme="light"] .badge-success { background-color: #059669; }
html[data-theme="light"] .badge-danger { background-color: #dc2626; }
html[data-theme="light"] .badge-info { background-color: #1d6fd8; }

/* Form alanları: odak halkası ve yer tutucu */
html[data-theme="light"] .form-control:focus,
html[data-theme="light"] .custom-select:focus {
  border-color: color-mix(in srgb, var(--indigo) 55%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--indigo) 14%, transparent);
}
html[data-theme="light"] .form-control::placeholder { color: #8b919d; }
html[data-theme="light"] .form-control:-webkit-autofill,
html[data-theme="light"] .form-control:-webkit-autofill:hover,
html[data-theme="light"] .form-control:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--foreground);
  -webkit-box-shadow: 0 0 0 1000px #eef2ff inset;
}
html[data-theme="light"] .custom-control-label::before { border-color: rgba(15, 17, 21, 0.25); }

/* Bootstrap sayfalama (DataTables vb.) */
html[data-theme="light"] .page-link { color: var(--foreground-text); background-color: var(--card); border-color: var(--border); }
html[data-theme="light"] .page-link:hover { color: var(--foreground); background-color: var(--secondary); }
html[data-theme="light"] .page-item.active .page-link { color: #ffffff; background-color: var(--primary); border-color: var(--primary); }
html[data-theme="light"] .page-item.disabled .page-link { color: var(--muted-foreground); background-color: var(--card); }

/* List group */
html[data-theme="light"] .list-group-item { color: var(--foreground-text); background-color: var(--card); border-color: var(--border); }
html[data-theme="light"] .list-group-item.active { color: #ffffff; background-color: var(--indigo); border-color: var(--indigo); }

/* İpucu & popover */
html[data-theme="light"] .tooltip-inner { box-shadow: 0 4px 14px rgba(15, 17, 21, 0.18); }
html[data-theme="light"] .popover { background-color: var(--popover); border-color: var(--border); box-shadow: 0 10px 30px rgba(15, 17, 21, 0.12); }

/* Kod / kbd / seçim */
html[data-theme="light"] kbd { background-color: #18181b; color: #fafafa; }
html[data-theme="light"] ::selection { background: rgba(79, 57, 246, 0.18); color: inherit; }

/* Alan adı fiyat şeritleri: sarı zeminde koyu yazı */
html[data-theme="light"] .featured-tld .price.net,
html[data-theme="light"] .featured-tld .price.blog { color: #1f1300; }

/* =====================================================================
   TASARIM (referanslar) SAYFASI
   ===================================================================== */
html[data-theme="light"] .design-refs-page .bh-ref-card {
  background: var(--card);
  border-color: rgba(15, 17, 21, 0.08);
  box-shadow: 0 1px 2px rgba(15, 17, 21, 0.04);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
html[data-theme="light"] .design-refs-page .bh-ref-card:hover {
  border-color: rgba(79, 57, 246, 0.25);
  box-shadow: 0 6px 18px rgba(15, 17, 21, 0.08);
}
html[data-theme="light"] .design-refs-page .bh-ref-media {
  background: radial-gradient(circle at 50% 100%, #ffffff, #eef0f3);
  border-bottom: 1px solid rgba(15, 17, 21, 0.05);
}

/* Yöneticiye dön sekmesi (yalnız yönetici oturumunda görünür) */
@media (min-width: 768px) {
  html[data-theme="light"] .btn-return-to-admin {
    background-color: var(--card) !important;
    color: #4b5160 !important;
    border: 1px solid var(--border) !important;
    box-shadow: 0 2px 8px rgba(15, 17, 21, 0.08);
  }
  html[data-theme="light"] .btn-return-to-admin:hover { background-color: #f3f4f6 !important; color: var(--foreground) !important; }
  html[data-theme="light"] .btn-return-to-admin span { color: inherit !important; }
}

/* ===== client ===== */
/* BiHosting açık tema — client. Tüm kurallar html[data-theme="light"] ile başlar. */

/* ===== 1. Müşteri paneli yüzeyleri: gri sayfa üstünde beyaz kartlar ===== */
html[data-theme="light"] #main-body .main-row .card,
html[data-theme="light"] #main-body .main-row .table {
  background-color: var(--card);
}
html[data-theme="light"] #main-body .main-row .card {
  box-shadow: 0 1px 2px rgba(15, 17, 21, 0.04), 0 6px 20px -8px rgba(15, 17, 21, 0.08) !important;
}
html[data-theme="light"] #main-body .main-row .card .card {
  box-shadow: none !important;
}
html[data-theme="light"] #main-body .main-row .card-header {
  background-color: var(--card);
  border-bottom: 1px solid var(--border);
}
html[data-theme="light"] #main-body .main-row .card-footer {
  background-color: #fafbfc;
  border-top: 1px solid var(--border);
}
/* Sol menü kartları */
html[data-theme="light"] #main-body .main-row .theme-sidebar-panel {
  background-color: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(15, 17, 21, 0.04);
}
html[data-theme="light"] #main-body .main-row .theme-sidebar-panel .panel-heading {
  border-bottom-color: var(--border);
}

/* Liste tabloları (includes/tablelist.tpl, DataTables) */
html[data-theme="light"] #main-body .main-row .listtable {
  background-color: var(--card);
  box-shadow: 0 1px 2px rgba(15, 17, 21, 0.04);
}
html[data-theme="light"] #main-body .main-row .listtable .table thead,
html[data-theme="light"] #main-body .main-row .listtable .table thead th {
  background-color: #f8f9fb !important;
  color: var(--foreground);
}
html[data-theme="light"] #main-body .main-row .listtable .table thead th {
  border-bottom: 1px solid var(--border);
}
html[data-theme="light"] #main-body .main-row .listtable .table tbody tr:hover > td {
  background-color: #f7f8fa;
}
html[data-theme="light"] #main-body .main-row .listtable .dataTables_empty {
  color: var(--muted-foreground);
  background-color: var(--card);
}

/* Form alanları: gri sayfada "pasif" görünmesin diye beyaz zemin */
html[data-theme="light"] #main-body .main-row .form-control,
html[data-theme="light"] #main-body .main-row .custom-select,
html[data-theme="light"] #main-body .main-row select.form-control,
html[data-theme="light"] #main-body .main-row .dataTables_filter input,
html[data-theme="light"] #main-body .main-row .dataTables_length select {
  background-color: var(--card);
  border-color: rgba(15, 17, 21, 0.14);
}
html[data-theme="light"] #main-body .main-row .form-control:focus {
  border-color: color-mix(in srgb, var(--indigo) 60%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--indigo) 14%, transparent) !important;
}
html[data-theme="light"] #main-body .main-row .form-control:disabled,
html[data-theme="light"] #main-body .main-row .form-control[readonly] {
  background-color: #f3f4f6;
  color: var(--muted-foreground);
}
html[data-theme="light"] #main-body .main-row .card .card-body .form-control::placeholder,
html[data-theme="light"] #main-body .main-row .form-control::placeholder {
  color: #9097a3;
}

/* ===== 2. Durum etiketleri: açık zeminde okunur koyu tonlar ===== */
html[data-theme="light"] #main-body .label-success,
html[data-theme="light"] #main-body .div-service-status .label-success { color: #047857; }
html[data-theme="light"] #main-body .label-info { color: #1d4ed8; }
html[data-theme="light"] #main-body .label-warning { color: #a15c07; }
html[data-theme="light"] #main-body .label-danger { color: #b91c1c; }
html[data-theme="light"] #main-body .label-secondary { color: var(--foreground-text); }
html[data-theme="light"] #main-body .label[class*=" status-"],
html[data-theme="light"] #main-body .status[class*=" status-"] {
  color: color-mix(in srgb, var(--status-color) 58%, #000) !important;
  background-color: color-mix(in srgb, var(--status-color), transparent 86%) !important;
}
/* Ana sayfa hizmet listesindeki etiket koyu temada beyaz yazılı */
html[data-theme="light"] #main-body .div-service-status .label:not(.label-placeholder) {
  color: #047857;
}
html[data-theme="light"] #main-body .div-service-status .label.label-danger { color: #b91c1c; }
html[data-theme="light"] #main-body .div-service-status .label.label-warning { color: #a15c07; }
html[data-theme="light"] #main-body .div-service-status .label.label-info { color: #1d4ed8; }

/* ===== 3. Yarı saydam (semi-ghost / ghost) butonlar — müşteri paneli kapsamında =====
   theme.css rengi --btn-color değişkeninden !important ile alıyor; değişkeni koyulaştırıyoruz. */
html[data-theme="light"] #main-body .main-row .btn-semi-ghost-success,
html[data-theme="light"] #main-body .main-row .btn-ghost-success { --btn-color: #047857; }
html[data-theme="light"] #main-body .main-row .btn-semi-ghost-danger,
html[data-theme="light"] #main-body .main-row .btn-ghost-danger { --btn-color: #b91c1c; }
html[data-theme="light"] #main-body .main-row .btn-semi-ghost-info,
html[data-theme="light"] #main-body .main-row .btn-ghost-info { --btn-color: #1d4ed8; }
html[data-theme="light"] #main-body .main-row .btn-semi-ghost-warning,
html[data-theme="light"] #main-body .main-row .btn-ghost-warning { --btn-color: #a15c07; }

/* ===== 4. Ürün detayları (WHMCS sarmalayıcı) — alt özet kartı ===== */
html[data-theme="light"] #main-body .main-row .custom-product-status {
  background-color: #f8f9fb;
  border-color: var(--border);
}
html[data-theme="light"] #main-body .main-row .product-details .text-muted,
html[data-theme="light"] #main-body .main-row .product-details .product-subtitle {
  color: #5f6673 !important;
}

/* Dolu yeşil / kırmızı butonlar: beyaz yazı için yeterli kontrast (müşteri paneli kapsamı) */
html[data-theme="light"] #main-body .main-row .btn-success {
  background-color: #05875c;
  border-color: #05875c;
  color: #fff;
}
html[data-theme="light"] #main-body .main-row .btn-success:hover,
html[data-theme="light"] #main-body .main-row .btn-success:focus {
  background-color: #047050;
  border-color: #047050;
  color: #fff;
}
html[data-theme="light"] #main-body .main-row .btn-danger {
  background-color: #dc2626;
  border-color: #dc2626;
  color: #fff;
}
html[data-theme="light"] #main-body .main-row .btn-danger:hover,
html[data-theme="light"] #main-body .main-row .btn-danger:focus {
  background-color: #b91c1c;
  border-color: #b91c1c;
  color: #fff;
}

/* ===== 5. Giriş / kayıt / doğrulama sayfaları (.auth-page) ===== */
html[data-theme="light"] .auth-page .bg-video {
  filter: grayscale(0.35) brightness(1.15) saturate(0.8);
}
html[data-theme="light"] .auth-page .video-overlay-blur {
  background: color-mix(in srgb, var(--background), transparent 10%);
}
html[data-theme="light"] .auth-page .float-links {
  background-color: transparent;
}
html[data-theme="light"] .auth-page .logo-container .bh-logo-light,
html[data-theme="light"] .auth-page .invite-header .bh-logo-light {
  margin-left: auto;
  margin-right: auto;
}
html[data-theme="light"] .auth-page .form-control,
html[data-theme="light"] .auth-page .custom-select,
html[data-theme="light"] .auth-page .input-group-text {
  background-color: var(--card);
  border-color: rgba(15, 17, 21, 0.14);
}
html[data-theme="light"] .auth-page .form-control:focus {
  border-color: color-mix(in srgb, var(--indigo) 60%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--indigo) 14%, transparent) !important;
}
/* Özel onay kutuları (.checkmark): açık zeminde görünür çerçeve */
html[data-theme="light"] .auth-page .form-check .checkmark,
html[data-theme="light"] #main-body .main-row .form-check .checkmark {
  background-color: var(--card);
  border-color: rgba(15, 17, 21, 0.28);
}
html[data-theme="light"] .auth-page .form-check input:checked ~ .checkmark,
html[data-theme="light"] #main-body .main-row .form-check input:checked ~ .checkmark {
  background-color: var(--foreground);
  border-color: var(--foreground);
}

/* Kayıt / davet sayfası: sözleşme modalı gövdesi satır içi #e5e7eb renkli */
html[data-theme="light"] #termsModalBody,
html[data-theme="light"] #inviteTermsModalBody,
html[data-theme="light"] #termsModalBody .terms-modal-inner,
html[data-theme="light"] #inviteTermsModalBody .terms-modal-inner {
  color: var(--foreground-text) !important;
}

/* ===== 6. Kullanıcı daveti kabul (user-invite-accept.tpl <style> bloğu koyu) ===== */
html[data-theme="light"] .invite-shell {
  background: var(--card);
  border-color: var(--border);
  box-shadow: 0 1px 3px rgba(15, 17, 21, 0.05), 0 24px 60px -24px rgba(15, 17, 21, 0.18);
}
html[data-theme="light"] .invite-header h1,
html[data-theme="light"] .invite-card h2,
html[data-theme="light"] .invite-card label {
  color: var(--foreground);
}
html[data-theme="light"] .invite-header p,
html[data-theme="light"] .invite-note,
html[data-theme="light"] .invite-card .text-muted,
html[data-theme="light"] .invite-card .small {
  color: var(--muted-foreground) !important;
}
html[data-theme="light"] .invite-card {
  background: #f8f9fb;
  border-color: var(--border);
}
html[data-theme="light"] .invite-card .form-check,
html[data-theme="light"] .invite-card .checkbox-inline,
html[data-theme="light"] .invite-card .terms-label-text,
html[data-theme="light"] .invite-card .form-check a {
  color: var(--foreground-text);
}

/* ===== 7. Satış ortaklığı paneli (affiliates.tpl <style> bloğu koyu) ===== */
html[data-theme="light"] .affiliate-stat-card,
html[data-theme="light"] .affiliate-panel-card {
  background: var(--card);
  border-color: var(--border);
  box-shadow: 0 1px 2px rgba(15, 17, 21, 0.04), 0 6px 20px -8px rgba(15, 17, 21, 0.08);
}
html[data-theme="light"] .affiliate-stat-card .affiliate-value,
html[data-theme="light"] .affiliate-panel-title,
html[data-theme="light"] .affiliate-summary-item .summary-value,
html[data-theme="light"] .affiliate-links-code {
  color: var(--foreground);
}
html[data-theme="light"] .affiliate-stat-card .affiliate-label,
html[data-theme="light"] .affiliate-panel-muted,
html[data-theme="light"] .affiliate-summary-item .summary-label {
  color: var(--muted-foreground);
}
html[data-theme="light"] .affiliate-summary-item {
  background: #f8f9fb;
  border-color: var(--border);
}
html[data-theme="light"] .affiliate-table-card .table-container {
  background: var(--card);
  border-color: var(--border);
}
html[data-theme="light"] .affiliate-table-card .dataTables_wrapper .dataTables_filter input,
html[data-theme="light"] .affiliate-table-card .dataTables_wrapper .dataTables_length select {
  background: var(--card);
  border-color: rgba(15, 17, 21, 0.14);
  color: var(--foreground);
}
html[data-theme="light"] .affiliate-table-card .dataTables_wrapper .dataTables_filter label,
html[data-theme="light"] .affiliate-table-card .dataTables_wrapper .dataTables_length label,
html[data-theme="light"] .affiliate-table-card .dataTables_wrapper .dataTables_info {
  color: var(--muted-foreground);
}
html[data-theme="light"] .affiliate-table-card .dataTables_wrapper .dataTables_paginate .paginate_button {
  color: var(--foreground-text) !important;
}
html[data-theme="light"] .affiliate-table-card .dataTables_wrapper .dataTables_paginate .paginate_button.current,
html[data-theme="light"] .affiliate-table-card .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  color: var(--indigo) !important;
  border-color: color-mix(in srgb, var(--indigo) 45%, transparent) !important;
  background: color-mix(in srgb, var(--indigo) 8%, transparent) !important;
}
html[data-theme="light"] .affiliate-table-card table {
  border-color: var(--border);
}
html[data-theme="light"] .affiliate-table-card table thead th,
html[data-theme="light"] .affiliate-table-card table.dataTable thead th.sorting,
html[data-theme="light"] .affiliate-table-card table.dataTable thead th.sorting_asc,
html[data-theme="light"] .affiliate-table-card table.dataTable thead th.sorting_desc,
html[data-theme="light"] .affiliate-table-card table.dataTable thead th.sorting_asc_disabled,
html[data-theme="light"] .affiliate-table-card table.dataTable thead th.sorting_desc_disabled {
  background-color: #f8f9fb !important;
  color: var(--foreground) !important;
  border-bottom-color: var(--border);
}
html[data-theme="light"] .affiliate-table-card table tbody td {
  color: var(--foreground-text);
  border-top-color: var(--border);
}
html[data-theme="light"] .affiliate-table-card table tbody tr:hover td {
  background: #f7f8fa;
}
html[data-theme="light"] .affiliate-table-card table.dataTable tbody tr td.dataTables_empty {
  color: var(--muted-foreground);
}

/* ===== 8. Giriş PIN modalları (clientareasecurity.tpl satır içi koyu stiller) ===== */
html[data-theme="light"] #pinModal .modal-content,
html[data-theme="light"] #pinRemoveModal .modal-content {
  background: var(--card) !important;
  border-color: var(--border) !important;
  box-shadow: 0 24px 60px -12px rgba(15, 17, 21, 0.25);
}
html[data-theme="light"] #pinModal .modal-header,
html[data-theme="light"] #pinModal .modal-footer,
html[data-theme="light"] #pinRemoveModal .modal-header,
html[data-theme="light"] #pinRemoveModal .modal-footer {
  border-color: var(--border) !important;
}
html[data-theme="light"] #pinModal .close,
html[data-theme="light"] #pinRemoveModal .close {
  color: var(--foreground) !important;
  opacity: 0.6 !important;
}
html[data-theme="light"] #pinModal .close:hover,
html[data-theme="light"] #pinRemoveModal .close:hover {
  opacity: 1 !important;
}

/* Kayıt şirketi modül çıktısı: alt sunucular (custom.css koyu tonlar) */
html[data-theme="light"] .domain-childhosts-page {
  background: var(--card);
  border: 1px solid var(--border);
}
html[data-theme="light"] .domain-childhosts-subtitle {
  color: var(--muted-foreground);
}

/* ===== order ===== */
/* BiHosting açık tema — order. Tüm kurallar html[data-theme="light"] ile başlar. */
/* Kapsam: sepet / sipariş akışı (#order-apex_cart), yükseltme sayfaları, ödeme yönlendirme sayfaları. */

/* =====================================================================
   1. Sepet panelleri: açık gri sayfa üzerinde beyaz kartlar
   ===================================================================== */
html[data-theme="light"] #order-apex_cart .card,
html[data-theme="light"] #order-apex_cart .standard-card,
html[data-theme="light"] #order-apex_cart .order-summary,
html[data-theme="light"] #order-apex_cart .view-cart-items,
html[data-theme="light"] #order-apex_cart .products .product,
html[data-theme="light"] #order-apex_cart .addon-promo-container,
html[data-theme="light"] #order-apex_cart .mc-promos,
html[data-theme="light"] #order-apex_cart .spotlight-tlds,
html[data-theme="light"] #order-apex_cart .domain-promo-box,
html[data-theme="light"] #order-apex_cart .domain-pricing .table,
html[data-theme="light"] #order-apex_cart .view-cart-tabs .tab-content {
  background-color: var(--card);
  border-color: rgba(15, 17, 21, 0.08);
  box-shadow: 0 1px 2px rgba(15, 17, 21, 0.04), 0 4px 16px rgba(15, 17, 21, 0.04);
}
/* İç içe kartlar gölgesiz */
html[data-theme="light"] #order-apex_cart .card .card,
html[data-theme="light"] #order-apex_cart .view-cart-items .item {
  box-shadow: none;
}
html[data-theme="light"] #order-apex_cart .view-cart-items .item,
html[data-theme="light"] #order-apex_cart .view-cart-items .config-item {
  background-color: var(--card);
}
html[data-theme="light"] #order-apex_cart .view-cart-items .item + .item {
  border-top: 1px solid var(--border);
}
html[data-theme="light"] #order-apex_cart .view-cart-items .addons-list li::before {
  background-color: var(--muted-foreground);
}
/* Mağaza SEO giriş kutusu ve SSS kartları */
html[data-theme="light"] #order-apex_cart .vds-store-seo-lead {
  background-color: var(--card) !important;
  border-color: rgba(15, 17, 21, 0.08) !important;
}
/* Standart kart özellik ikonları (beyaz kare beyaz kartta kayboluyordu) */
html[data-theme="light"] #order-apex_cart .standard-card .fea-item .icon rect { fill: rgba(79, 57, 246, 0.1); }

/* Sipariş özeti yükleniyor durumu */
html[data-theme="light"] #order-apex_cart .order-summary .loader,
html[data-theme="light"] #order-apex_cart .order-summary .loader svg {
  color: var(--muted-foreground);
}

/* Alan yardım metinleri (#888 → okunur gri) */
html[data-theme="light"] #order-apex_cart .field-help-text,
html[data-theme="light"] #order-apex_cart .text-muted,
html[data-theme="light"] #order-apex_cart .domain-promo-box p.small {
  color: var(--muted-foreground) !important;
}

/* Sepet içindeki seçim düğmeleri / para birimi (genel bileşenin sepet içi kontrastı) */
html[data-theme="light"] #order-apex_cart .vds-country-filters .vds-filter-btn:not(.active),
html[data-theme="light"] #order-apex_cart .bh-currency-btn:not(.active) {
  color: #4b5160 !important;
}

/* =====================================================================
   2. Ürün yapılandırma (configureproduct.tpl) — işletim sistemi seçici
   Şablondaki <style> bloğu koyu sabit renkler kullanıyor; burada ezilir.
   ===================================================================== */
html[data-theme="light"] #order-apex_cart .bh-os-sub,
html[data-theme="light"] #order-apex_cart .bh-os-cnt {
  color: var(--muted-foreground);
}
html[data-theme="light"] #order-apex_cart .bh-os-name { color: var(--foreground); }
html[data-theme="light"] #order-apex_cart .bh-os-card {
  border-color: rgba(15, 17, 21, 0.1);
  background: #fafbfc;
}
html[data-theme="light"] #order-apex_cart .bh-os-card:hover {
  border-color: rgba(15, 17, 21, 0.22);
  background: var(--card);
  box-shadow: 0 2px 10px rgba(15, 17, 21, 0.06);
}
html[data-theme="light"] #order-apex_cart .bh-os-card.on {
  border-color: var(--indigo);
  background: rgba(79, 57, 246, 0.06);
  box-shadow: 0 0 0 1px var(--indigo) inset, 0 2px 10px rgba(79, 57, 246, 0.1);
}
html[data-theme="light"] #order-apex_cart .bh-os-card:focus-visible {
  box-shadow: 0 0 0 3px rgba(79, 57, 246, 0.35);
}
html[data-theme="light"] #order-apex_cart .bh-os-ver {
  border-color: rgba(15, 17, 21, 0.14);
  background-color: var(--card);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath fill='%236b7280' d='M3.2 5.6 8 10.4l4.8-4.8'/%3E%3C/svg%3E");
  color: var(--foreground);
}
html[data-theme="light"] #order-apex_cart .bh-os-ver:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(79, 57, 246, 0.12);
}
html[data-theme="light"] #order-apex_cart .bh-os-ver[disabled] {
  background-image: none;
  background-color: #f3f4f6;
  color: var(--foreground-text);
}
html[data-theme="light"] #order-apex_cart .bh-os-ver option {
  background-color: #ffffff;
  color: var(--foreground);
}

/* Yapılandırma alanları: doğrulama hataları */
html[data-theme="light"] #order-apex_cart .is-invalid,
html[data-theme="light"] #order-apex_cart .form-control.is-invalid {
  border-color: #dc2626 !important;
}
html[data-theme="light"] #order-apex_cart .invalid-feedback,
html[data-theme="light"] #order-apex_cart .field-error-msg {
  color: #b91c1c !important; /* satır içi #f87171 açık zeminde soluk kalıyordu */
}

/* Alt bilgi bandı (alert-float): sade beyaz kutu, sol renk şeridi */
html[data-theme="light"] #order-apex_cart .alert.alert-float {
  background-color: var(--card);
  border: 1px solid rgba(15, 17, 21, 0.08);
  border-inline-start: 4px solid var(--alert-color);
  box-shadow: 0 1px 2px rgba(15, 17, 21, 0.04), 0 4px 16px rgba(15, 17, 21, 0.04);
  color: var(--foreground-text) !important;
}
html[data-theme="light"] #order-apex_cart .alert.alert-float::after { display: none; }
html[data-theme="light"] #order-apex_cart .alert.alert-float .alert-message,
html[data-theme="light"] #order-apex_cart .alert.alert-float .alert-link {
  color: var(--foreground-text) !important;
}
html[data-theme="light"] #order-apex_cart .alert.alert-float .alert-link { color: var(--indigo) !important; }
html[data-theme="light"] #order-apex_cart .alert-warning.alert-float { border-inline-start-color: #d97706; }
/* Ödeme sayfası güvenlik notu: aynı sade görünüm */
html[data-theme="light"] #order-apex_cart .alert.checkout-security-msg {
  background-color: var(--card);
  border: 1px solid rgba(15, 17, 21, 0.08);
  border-inline-start: 4px solid #d97706;
  box-shadow: 0 1px 2px rgba(15, 17, 21, 0.04), 0 4px 16px rgba(15, 17, 21, 0.04);
}
html[data-theme="light"] #order-apex_cart .alert.checkout-security-msg::after { display: none; }
html[data-theme="light"] #order-apex_cart .alert.checkout-security-msg .alert-icon,
html[data-theme="light"] #order-apex_cart .alert.checkout-security-msg > div > svg { color: #b45309; }
html[data-theme="light"] #order-apex_cart .alert-warning.alert-float .alert-icon { color: #b45309; }
html[data-theme="light"] #order-apex_cart .alert-danger.alert-float { border-inline-start-color: #dc2626; }
html[data-theme="light"] #order-apex_cart .alert-danger.alert-float .alert-icon { color: #dc2626; }
html[data-theme="light"] #order-apex_cart .alert-info.alert-float { border-inline-start-color: #2391fe; }
html[data-theme="light"] #order-apex_cart .alert-info.alert-float .alert-icon { color: #1d6fd8; }
html[data-theme="light"] #order-apex_cart .alert-success.alert-float { border-inline-start-color: #0fba6d; }
html[data-theme="light"] #order-apex_cart .alert-success.alert-float .alert-icon { color: #047857; }

/* =====================================================================
   3. Alan adı seçimi (configureproductdomain.tpl) ve seçenekler
   ===================================================================== */
html[data-theme="light"] #order-apex_cart .domain-selection-options .option {
  background-color: var(--card);
  border-color: rgba(15, 17, 21, 0.1);
}
html[data-theme="light"] #order-apex_cart .domain-selection-options .option-selected,
html[data-theme="light"] #order-apex_cart .domain-selection-options .option-selected label {
  background-color: rgba(79, 57, 246, 0.06);
  border-color: rgba(79, 57, 246, 0.45);
}
html[data-theme="light"] #order-apex_cart .domain-checker-available,
html[data-theme="light"] #order-apex_cart .domain-available,
html[data-theme="light"] #order-apex_cart .domain-checker-result-headline .domain-checker-available {
  color: #15803d;
}
html[data-theme="light"] #order-apex_cart .domain-checker-unavailable,
html[data-theme="light"] #order-apex_cart .domain-unavailable {
  color: #b91c1c;
}
html[data-theme="light"] #order-apex_cart .domain-searching { color: var(--muted-foreground); }
html[data-theme="light"] #order-apex_cart .idn-language-selector,
html[data-theme="light"] #order-apex_cart .account-select-container div.account:not(.border-bottom) {
  background-color: var(--card);
}

/* configuredomains.tpl: "Hosting önerisi" kutusu (satır içi koyu stil) */
html[data-theme="light"] #order-apex_cart div[style*="rgba(255,255,255,.02)"] {
  background: #f8f9fb !important;
  border-color: rgba(15, 17, 21, 0.1) !important;
}
html[data-theme="light"] #order-apex_cart div[style*="color:#d4d4d8"] { color: var(--foreground) !important; }
html[data-theme="light"] #order-apex_cart div[style*="color:#a1a1aa"] { color: var(--muted-foreground) !important; }
html[data-theme="light"] #order-apex_cart div[style*="color:#16a34a"] { color: #15803d !important; }

/* =====================================================================
   4. Alan adı kayıt / transfer: arama kutusu, sonuçlar, öneriler, fiyatlar
   (domainregister.tpl içindeki koyu <style> bloğu ezilir)
   ===================================================================== */
html[data-theme="light"] #order-apex_cart .domain-checker-container {
  background: var(--card) !important;
  background-color: var(--card) !important;
  border: 1px solid rgba(15, 17, 21, 0.08) !important;
  box-shadow: 0 1px 2px rgba(15, 17, 21, 0.04), 0 4px 16px rgba(15, 17, 21, 0.04);
}
html[data-theme="light"] #order-apex_cart .domain-checker-container .input-group-box {
  background-color: var(--card) !important;
  border: 1px solid rgba(15, 17, 21, 0.14) !important;
  box-shadow: 0 2px 8px rgba(15, 17, 21, 0.05);
}
html[data-theme="light"] #order-apex_cart .domain-checker-container .form-control,
html[data-theme="light"] #order-apex_cart .domain-checker-container input[type="text"],
html[data-theme="light"] #order-apex_cart .domain-checker-container .form-control:focus {
  color: var(--foreground) !important;
  background-color: var(--card) !important;
  border-color: transparent !important;
}
html[data-theme="light"] #order-apex_cart .domain-checker-container .form-control::placeholder {
  color: var(--muted-foreground) !important;
}
html[data-theme="light"] #order-apex_cart .domain-checker-container:focus-within .input-group-box {
  border-color: rgba(79, 57, 246, 0.5) !important;
  box-shadow: 0 0 0 3px rgba(79, 57, 246, 0.1);
}
/* Dünya görseli: açık zeminde silik koyu çizgi */
html[data-theme="light"] #order-apex_cart .domain-checker-bg::after {
  filter: grayscale(1) invert(1);
  opacity: 0.07;
}
/* Öneriler listesi */
html[data-theme="light"] #order-apex_cart .suggested-domains,
html[data-theme="light"] #order-apex_cart .suggested-domains .panel-heading,
html[data-theme="light"] #order-apex_cart .suggested-domains .card-header {
  background-color: var(--card);
  color: var(--foreground);
}
html[data-theme="light"] #order-apex_cart .suggested-domains .panel-heading,
html[data-theme="light"] #order-apex_cart .suggested-domains .card-header {
  border-bottom-color: #16a34a;
}
html[data-theme="light"] #order-apex_cart .suggested-domains .list-group-item {
  background-color: var(--card) !important;
  border-color: var(--border) !important;
  color: var(--foreground-text);
}
html[data-theme="light"] #order-apex_cart .suggested-domains .list-group-item:hover {
  background-color: #f8f9fb !important;
}
html[data-theme="light"] #order-apex_cart .suggested-domains .domain-lookup-suggestions-loader {
  background-color: #f8f9fb;
}
html[data-theme="light"] #order-apex_cart .spotlight-tld {
  border-color: rgba(15, 17, 21, 0.1);
}
/* Fiyat tablosu */
html[data-theme="light"] #order-apex_cart .domain-pricing .tld-pricing-header .col-xs-2,
html[data-theme="light"] #order-apex_cart .domain-pricing .tld-pricing-header .col-sm-2,
html[data-theme="light"] #order-apex_cart .domain-pricing .tld-pricing-header .col-xs-4,
html[data-theme="light"] #order-apex_cart .domain-pricing .tld-pricing-header .col-sm-4 {
  background-color: #f3f4f6;
  border-bottom-color: rgba(79, 57, 246, 0.35);
}
html[data-theme="light"] #order-apex_cart .domain-pricing .table thead th {
  background-color: #f8f9fb;
  color: var(--foreground);
}
html[data-theme="light"] #order-apex_cart .domain-pricing .table tbody tr:hover {
  background-color: #f8f9fb;
}
html[data-theme="light"] #order-apex_cart .tld-filters a:not(.active):not(.badge-success) {
  color: var(--foreground-text);
}
html[data-theme="light"] #order-apex_cart .domain-suggestions-warning { color: var(--muted-foreground); }

/* =====================================================================
   5. Sepeti görüntüle / Ödeme (viewcart.tpl, checkout.tpl)
   ===================================================================== */
html[data-theme="light"] #order-apex_cart .view-cart-tabs .nav-tabs .nav-link {
  color: var(--foreground-text);
}
html[data-theme="light"] #order-apex_cart .view-cart-tabs .nav-tabs .nav-link.active {
  background-color: var(--card);
  color: var(--foreground);
  border-color: rgba(15, 17, 21, 0.08) rgba(15, 17, 21, 0.08) var(--card);
}
html[data-theme="light"] #order-apex_cart .view-cart-empty svg { color: var(--muted-foreground); }

/* Kredi bakiyesi kutusu (checkout.tpl satır içi koyu stil + all.css) */
html[data-theme="light"] #order-apex_cart #applyCreditContainer,
html[data-theme="light"] #order-apex_cart .apply-credit-container {
  background-color: #f8f9fb !important;
  border: 1px solid rgba(15, 17, 21, 0.1) !important;
  color: var(--foreground-text) !important;
}
html[data-theme="light"] #order-apex_cart #applyCreditContainer p,
html[data-theme="light"] #order-apex_cart #applyCreditContainer .radio,
html[data-theme="light"] #order-apex_cart #applyCreditContainer label,
html[data-theme="light"] #order-apex_cart .apply-credit-container p,
html[data-theme="light"] #order-apex_cart .apply-credit-container label {
  color: var(--foreground-text) !important;
}
html[data-theme="light"] #order-apex_cart #applyCreditContainer span,
html[data-theme="light"] #order-apex_cart .apply-credit-container span {
  color: var(--foreground) !important;
}
html[data-theme="light"] #order-apex_cart #applyCreditContainer input[type="radio"] { accent-color: var(--indigo); }
html[data-theme="light"] #order-apex_cart .checkout-payment-method-label {
  color: var(--muted-foreground) !important;
}
/* Hesap seçimi / ödeme yöntemleri / kart alanları */
html[data-theme="light"] #order-apex_cart .account-select-container div.account {
  border-color: var(--border);
}
html[data-theme="light"] #order-apex_cart .account-select-container div.account.active {
  background-color: rgba(79, 57, 246, 0.05);
}
html[data-theme="light"] #order-apex_cart #creditCardInputFields,
html[data-theme="light"] #order-apex_cart .cc-input-container {
  background-color: var(--card);
  border-color: rgba(15, 17, 21, 0.1);
}
html[data-theme="light"] #order-apex_cart .sub-heading span,
html[data-theme="light"] #order-apex_cart .sub-heading .primary-bg-color {
  background-color: var(--background);
  color: var(--foreground);
}
html[data-theme="light"] #order-apex_cart .sub-heading { border-color: var(--border); }
/* Sipariş tamamlandı / dolandırıcılık / hata ekranları */
html[data-theme="light"] #order-apex_cart .order-confirmation,
html[data-theme="light"] #order-apex_cart .order-confirmation-addon-information {
  color: var(--foreground-text);
}
html[data-theme="light"] #order-apex_cart .header-lined h1 { color: var(--foreground); }
html[data-theme="light"] #order-apex_cart .text-danger { color: #b91c1c !important; }

/* Ürün önerileri modali (recommendations-modal.tpl) */
html[data-theme="light"] #recommendationsModal .modal-content,
html[data-theme="light"] .modal-remove-item .modal-content,
html[data-theme="light"] #modalEmptyCart .modal-content {
  background-color: var(--card);
  color: var(--foreground-text);
  border-color: rgba(15, 17, 21, 0.08);
  box-shadow: 0 20px 50px rgba(15, 17, 21, 0.18);
}
html[data-theme="light"] .product-recommendations .product-recommendation {
  background-color: var(--card);
}
html[data-theme="light"] .product-recommendations .product-recommendation .body { color: var(--foreground-text); }

/* =====================================================================
   6. Paket yükseltme / düşürme (upgrade.tpl, upgrade-configure.tpl, upgradesummary.tpl)
   ===================================================================== */
html[data-theme="light"] .upgrade-current-banner {
  background: #f8f9fb;
  border-color: rgba(15, 17, 21, 0.08);
}
html[data-theme="light"] .upgrade-package-card {
  border-color: rgba(15, 17, 21, 0.08);
  border-inline-start-color: var(--indigo);
  background: var(--card);
  box-shadow: 0 1px 2px rgba(15, 17, 21, 0.04), 0 4px 16px rgba(15, 17, 21, 0.05);
}
html[data-theme="light"] .upgrade-package-card__desc p { border-bottom-color: var(--border); }
html[data-theme="light"] .upgrade-package-card__price,
html[data-theme="light"] .upgrade-package-card__select.form-control {
  background-color: #f8f9fb;
  border-color: rgba(15, 17, 21, 0.1);
  color: var(--foreground);
}

/* upgradesummary.tpl: özet tablosu (custom.css'te sabit koyu !important renkler) */
html[data-theme="light"] .card.upgrade-summary .upgrade-summary__table-wrap {
  background: var(--card) !important;
  border: 1px solid rgba(15, 17, 21, 0.1) !important;
}
html[data-theme="light"] .card.upgrade-summary .upgrade-summary__table {
  color: var(--foreground-text) !important;
  background-color: var(--card) !important;
}
html[data-theme="light"] .card.upgrade-summary .upgrade-summary__table thead th {
  background-color: #f6f7f9 !important;
  color: var(--muted-foreground) !important;
  border-bottom: 1px solid var(--border) !important;
}
html[data-theme="light"] .card.upgrade-summary .upgrade-summary__table tbody td {
  background-color: var(--card) !important;
  color: var(--foreground-text) !important;
  border-color: var(--border) !important;
}
html[data-theme="light"] .card.upgrade-summary .upgrade-summary__table tbody tr.masspay-total td {
  background-color: #f8f9fb !important;
  color: var(--foreground) !important;
  border-top: 1px solid var(--border) !important;
}
html[data-theme="light"] .card.upgrade-summary .upgrade-summary__table tbody tr.masspay-total:last-child td {
  background-color: rgba(79, 57, 246, 0.06) !important;
  color: var(--foreground) !important;
  border-top: 2px solid rgba(79, 57, 246, 0.6) !important;
}
html[data-theme="light"] .card.upgrade-summary .upgrade-summary__actions { border-top-color: var(--border); }
/* =====================================================================
   7. Ödeme yönlendirme sayfaları (paytr-checkout.tpl, forwardpage.tpl, 3dsecure.tpl)
   ===================================================================== */
/* PayTR "Öde" düğmesi: şablonda açık gri (#f5f5f5) — açık zeminde koyu dolgu */
html[data-theme="light"] .paytr-checkout-page .paytr-submit-btn,
html[data-theme="light"] .paytr-checkout-page .paytr-submit-btn:hover,
html[data-theme="light"] .paytr-checkout-page .paytr-submit-btn:focus,
html[data-theme="light"] .paytr-submit-btn,
html[data-theme="light"] .paytr-submit-btn:hover,
html[data-theme="light"] .paytr-submit-btn:focus {
  background: #0f1115 !important;
  background-color: #0f1115 !important;
  border-color: #0f1115 !important;
  color: #ffffff !important;
}
html[data-theme="light"] .paytr-submit-btn:hover { filter: none !important; background-color: #262a33 !important; }
html[data-theme="light"] .paytr-submit-btn:focus-visible { box-shadow: 0 0 0 3px rgba(79, 57, 246, 0.3) !important; }
html[data-theme="light"] .paytr-checkout-page .card.bg-default {
  background-color: #f8f9fb !important;
  border: 1px solid rgba(15, 17, 21, 0.08);
}
/* 3D Secure çerçevesi: banka sayfası beyaz zeminli, kenarlık ver */
html[data-theme="light"] iframe.submit-3d {
  background-color: #ffffff;
  border: 1px solid rgba(15, 17, 21, 0.1);
  border-radius: var(--theme-radius, 0.75rem);
}

/* ===== billing ===== */
/* BiHosting açık tema — billing. Tüm kurallar html[data-theme="light"] ile başlar. */

/* ==========================================================================
   1. Fatura görüntüleme (viewinvoice.tpl — bağımsız sayfa, inline <style>)
   Açık temada "temiz kağıt fatura" görünümü.
   ========================================================================== */
html[data-theme="light"] body.invoice-theme-modern {
  background: var(--background);
  color: var(--foreground);
}
@media screen {
  html[data-theme="light"] body.invoice-theme-modern .invoice-container {
    background: #ffffff;
    border-color: rgba(15, 17, 21, 0.08);
    box-shadow: 0 1px 2px rgba(15, 17, 21, 0.04), 0 12px 32px rgba(15, 17, 21, 0.07);
  }
  html[data-theme="light"] body.invoice-theme-modern .invoice-back-link {
    background: #ffffff;
    color: var(--foreground);
    border-color: var(--border);
    box-shadow: 0 1px 2px rgba(15, 17, 21, 0.06), 0 4px 12px rgba(15, 17, 21, 0.06);
  }
  html[data-theme="light"] body.invoice-theme-modern .invoice-back-link:hover {
    background: var(--secondary);
    color: var(--foreground);
  }
}
html[data-theme="light"] body.invoice-theme-modern .invoice-col,
html[data-theme="light"] body.invoice-theme-modern .small-text,
html[data-theme="light"] body.invoice-theme-modern address,
html[data-theme="light"] body.invoice-theme-modern p,
html[data-theme="light"] body.invoice-theme-modern td,
html[data-theme="light"] body.invoice-theme-modern th {
  color: var(--foreground-text);
}
html[data-theme="light"] body.invoice-theme-modern strong,
html[data-theme="light"] body.invoice-theme-modern .invoice-header h3,
html[data-theme="light"] body.invoice-theme-modern .card-title,
html[data-theme="light"] body.invoice-theme-modern h2 {
  color: var(--foreground);
}
html[data-theme="light"] body.invoice-theme-modern hr {
  border-color: rgba(15, 17, 21, 0.08);
}

/* Durum damgaları: açık zeminde net renkler (yazdırırken de korunur) */
html[data-theme="light"] body.invoice-theme-modern .invoice-status span {
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
html[data-theme="light"] body.invoice-theme-modern .invoice-status .paid {
  background: #dcfce7; color: #15803d; border-color: #86efac;
}
html[data-theme="light"] body.invoice-theme-modern .invoice-status .unpaid {
  background: #fee2e2; color: #b91c1c; border-color: #fca5a5;
}
html[data-theme="light"] body.invoice-theme-modern .invoice-status .draft,
html[data-theme="light"] body.invoice-theme-modern .invoice-status .cancelled {
  background: #f1f5f9; color: #475569; border-color: #cbd5e1;
}
html[data-theme="light"] body.invoice-theme-modern .invoice-status .refunded {
  background: #ede9fe; color: #6d28d9; border-color: #c4b5fd;
}
html[data-theme="light"] body.invoice-theme-modern .invoice-status .collections {
  background: #ffedd5; color: #c2410c; border-color: #fdba74;
}

/* Kalem ve işlem tabloları */
html[data-theme="light"] body.invoice-theme-modern .card,
html[data-theme="light"] body.invoice-theme-modern .transactions-container {
  background: #ffffff;
  border-color: rgba(15, 17, 21, 0.1);
}
html[data-theme="light"] body.invoice-theme-modern .card-header,
html[data-theme="light"] body.invoice-theme-modern .card-footer {
  background: #ffffff;
  border-color: rgba(15, 17, 21, 0.08);
}
html[data-theme="light"] body.invoice-theme-modern .table thead td {
  background: #f7f8fa;
  color: var(--foreground);
  border-bottom-color: rgba(15, 17, 21, 0.1);
}
html[data-theme="light"] body.invoice-theme-modern .table tr {
  border-bottom-color: rgba(15, 17, 21, 0.07);
}
html[data-theme="light"] body.invoice-theme-modern .total-row {
  background: #fafbfc;
}
/* Genel toplam satırı (kalem tablosunun son satırı) vurgulu */
html[data-theme="light"] body.invoice-theme-modern .card .table tbody tr:last-child td {
  background: #f3f4f6;
  color: var(--foreground);
  font-weight: 700;
  border-top: 1px solid rgba(15, 17, 21, 0.14) !important;
}

/* Alt aksiyonlar */
html[data-theme="light"] body.invoice-theme-modern .invoice-back-btn {
  border-color: var(--border);
  color: var(--foreground-text);
  background: #ffffff;
}
html[data-theme="light"] body.invoice-theme-modern .invoice-back-btn:hover {
  background: var(--secondary);
  color: var(--foreground);
}
html[data-theme="light"] body.invoice-theme-modern .invoice-action-buttons .btn.btn-invoice-action {
  background: #18181b;
  border-color: #18181b;
  color: #ffffff;
}
html[data-theme="light"] body.invoice-theme-modern .invoice-action-buttons .btn.btn-invoice-action:hover {
  background: #3f3f46;
  border-color: #3f3f46;
  filter: none;
  color: #ffffff;
}

/* Ödeme butonları: "Hemen Öde" marka rengi, "Bağlantı Oluştur" ikincil */
html[data-theme="light"] body.invoice-theme-modern .bh-pay-group .paymebtn-container .btn,
html[data-theme="light"] body.invoice-theme-modern .bh-pay-group .paymebtn-container > form .btn,
html[data-theme="light"] body.invoice-theme-modern .bh-pay-group .paymebtn-container > a.btn,
html[data-theme="light"] body.invoice-theme-modern .bh-pay-group .paymebtn-container .btn:focus,
html[data-theme="light"] body.invoice-theme-modern .bh-pay-group .paymebtn-container > form .btn:focus,
html[data-theme="light"] body.invoice-theme-modern .bh-pay-group .paymebtn-container > a.btn:focus {
  background: var(--indigo, #4f39f6) !important;
  background-color: var(--indigo, #4f39f6) !important;
  border-color: var(--indigo, #4f39f6) !important;
  color: #ffffff !important;
}
html[data-theme="light"] body.invoice-theme-modern .bh-pay-group .paymebtn-container .btn:hover,
html[data-theme="light"] body.invoice-theme-modern .bh-pay-group .paymebtn-container > form .btn:hover,
html[data-theme="light"] body.invoice-theme-modern .bh-pay-group .paymebtn-container > a.btn:hover {
  background: #4129d9 !important;
  background-color: #4129d9 !important;
  border-color: #4129d9 !important;
  color: #ffffff !important;
  filter: none !important;
}
html[data-theme="light"] body.invoice-theme-modern .btn-delegate-pay {
  background: #ffffff;
  border-color: rgba(15, 17, 21, 0.16);
  color: var(--foreground);
}
html[data-theme="light"] body.invoice-theme-modern .btn-delegate-pay:hover,
html[data-theme="light"] body.invoice-theme-modern .btn-delegate-pay:focus {
  background: var(--secondary);
  filter: none;
}
html[data-theme="light"] body.invoice-theme-modern .custom-select {
  background-color: #ffffff;
  color: var(--foreground);
  border-color: var(--border);
}

/* "Başkasına Ödet" modalı (inline style'lar) */
html[data-theme="light"] #bh-delegate-modal {
  background: rgba(15, 17, 21, 0.45) !important;
}
html[data-theme="light"] #bh-delegate-modal > div {
  background: #ffffff !important;
  border-color: rgba(15, 17, 21, 0.1) !important;
  box-shadow: 0 24px 60px rgba(15, 17, 21, 0.18);
}
html[data-theme="light"] #bh-delegate-modal > div > div:first-child {
  border-bottom-color: rgba(15, 17, 21, 0.08) !important;
}
html[data-theme="light"] #bh-delegate-modal > div > div:first-child > span,
html[data-theme="light"] #bh-delegate-amount {
  color: var(--foreground) !important;
}
html[data-theme="light"] #bh-delegate-modal > div > div:first-child > button,
html[data-theme="light"] #bh-delegate-modal p,
html[data-theme="light"] #bh-delegate-loading,
html[data-theme="light"] #bh-delegate-info,
html[data-theme="light"] #bh-delegate-warn {
  color: var(--muted-foreground) !important;
}
html[data-theme="light"] #bh-delegate-modal > div > div:first-child > button:hover {
  color: var(--foreground) !important;
}
html[data-theme="light"] #bh-delegate-link {
  background: var(--background) !important;
  border-color: rgba(15, 17, 21, 0.14) !important;
  color: var(--foreground) !important;
}
html[data-theme="light"] #bh-copy-btn {
  background: var(--indigo, #4f39f6) !important;
  color: #ffffff !important;
}
html[data-theme="light"] #bh-delegate-error {
  background: #fef2f2 !important;
  border-color: #fecaca !important;
  color: #b91c1c !important;
}

/* Yazdırma: açık temada da kağıt gibi, gölgesiz, durum rengi korunur */
@media print {
  html[data-theme="light"] body.invoice-theme-modern { background: #ffffff; }
  html[data-theme="light"] body.invoice-theme-modern .card .table tbody tr:last-child td,
  html[data-theme="light"] body.invoice-theme-modern .table thead td {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

/* ==========================================================================
   2. Teklif görüntüleme (viewquote.tpl — bağımsız, stok WHMCS düzeni)
   ========================================================================== */
html[data-theme="light"] body:not(.invoice-theme-modern) .invoice-container {
  background: #ffffff;
  color: var(--foreground-text);
  border-color: rgba(15, 17, 21, 0.08);
}
@media screen {
  html[data-theme="light"] body:not(.invoice-theme-modern) .invoice-container {
    box-shadow: 0 1px 2px rgba(15, 17, 21, 0.04), 0 12px 32px rgba(15, 17, 21, 0.07);
  }
}
html[data-theme="light"] body:not(.invoice-theme-modern) .invoice-container .card {
  background: #ffffff;
  border-color: rgba(15, 17, 21, 0.1);
}
html[data-theme="light"] body:not(.invoice-theme-modern) .invoice-container .card-header {
  background: #f7f8fa;
  border-color: rgba(15, 17, 21, 0.08);
}
html[data-theme="light"] body:not(.invoice-theme-modern) .invoice-container td.total-row {
  background: #fafbfc;
}
html[data-theme="light"] body:not(.invoice-theme-modern) .invoice-container .invoice-status .paid { color: #15803d; }
html[data-theme="light"] body:not(.invoice-theme-modern) .invoice-container .invoice-status .unpaid { color: #b91c1c; }
html[data-theme="light"] body:not(.invoice-theme-modern) .invoice-container .invoice-status .refunded { color: #6d28d9; }
html[data-theme="light"] body:not(.invoice-theme-modern) .invoice-container .invoice-status .cancelled { color: #475569; }
html[data-theme="light"] body:not(.invoice-theme-modern) .invoice-container .invoice-status .collections { color: #c2410c; }

/* ==========================================================================
   3. Destek listesi: WHMCS özel durum rengi (inline arka plan + --status-color,
   supportticketslist.tpl). Diğer durum etiketleri client.css genel kuralında.
   ========================================================================== */
html[data-theme="light"] #tableTicketsList .label.status-custom {
  color: color-mix(in srgb, var(--status-color, #52525b) 58%, #000) !important;
  background-color: color-mix(in srgb, var(--status-color, #52525b), transparent 86%) !important;
}

/* ==========================================================================
   4. Markdown düzenleyici (destek talebi açma / yanıtlama)
   ========================================================================== */
html[data-theme="light"] .md-editor {
  background: #ffffff;
  border-color: rgba(15, 17, 21, 0.12);
}
html[data-theme="light"] .md-editor > .btn-toolbar,
html[data-theme="light"] .md-editor .md-footer,
html[data-theme="light"] .md-footer {
  background-color: #f7f8fa !important;
}
html[data-theme="light"] .md-editor .md-header .btn-secondary,
html[data-theme="light"] .md-editor .btn-toolbar .btn-secondary {
  background: #ffffff;
  border-color: rgba(15, 17, 21, 0.1);
  color: var(--foreground-text);
}
html[data-theme="light"] .md-editor .md-header .btn-secondary:hover,
html[data-theme="light"] .md-editor .btn-toolbar .btn-secondary:hover,
html[data-theme="light"] .md-editor .md-header .btn-secondary.active {
  background: var(--secondary-hover);
  border-color: rgba(15, 17, 21, 0.14);
  color: var(--foreground);
}
html[data-theme="light"] .md-editor .btn-toolbar .btn-primary,
html[data-theme="light"] .md-editor .md-header .btn-primary {
  background: #ffffff !important;
  color: var(--foreground) !important;
  border: 1px solid rgba(15, 17, 21, 0.14) !important;
}
html[data-theme="light"] .md-editor .btn-toolbar .btn-primary:hover,
html[data-theme="light"] .md-editor .btn-toolbar .btn-primary:focus,
html[data-theme="light"] .md-editor .md-header .btn-primary:hover,
html[data-theme="light"] .md-editor .md-header .btn-primary:focus,
html[data-theme="light"] .md-editor .md-header .btn-primary.active {
  background: var(--secondary-hover) !important;
  color: var(--foreground) !important;
  border-color: rgba(15, 17, 21, 0.2) !important;
}
html[data-theme="light"] .md-editor > textarea.markdown-editor,
html[data-theme="light"] .md-editor > textarea.markdown-editor:focus,
html[data-theme="light"] .md-editor > textarea:focus,
html[data-theme="light"] .md-editor > .md-preview {
  background-color: #ffffff !important;
  color: var(--foreground);
  border-color: rgba(15, 17, 21, 0.08) !important;
}
html[data-theme="light"] .md-editor .md-control,
html[data-theme="light"] .markdown-editor-status {
  color: var(--muted-foreground);
}
html[data-theme="light"] .md-editor .md-control:hover {
  color: var(--foreground);
}
html[data-theme="light"] .md-preview blockquote,
html[data-theme="light"] .markdown-content blockquote {
  border-left-color: rgba(15, 17, 21, 0.15);
  color: var(--foreground-text);
}
html[data-theme="light"] .md-preview pre,
html[data-theme="light"] .markdown-content pre,
html[data-theme="light"] #modalAjax pre {
  background-color: #f3f4f6;
  color: var(--foreground);
  border: 1px solid rgba(15, 17, 21, 0.08);
  border-radius: 8px;
}
html[data-theme="light"] .md-preview :is(h1, h2, h3, h4),
html[data-theme="light"] .markdown-content :is(h1, h2, h3, h4) {
  color: var(--foreground);
}

/* ==========================================================================
   5. Destek talebi görüntüleme (viewticket.tpl inline <style> koyu değerleri)
   ========================================================================== */
html[data-theme="light"] .theme-sidebar-panel .panel-footer .btn,
html[data-theme="light"] .theme-sidebar-panel .panel-footer a.btn,
html[data-theme="light"] .theme-sidebar-panel .panel-footer button.btn,
html[data-theme="light"] .theme-sidebar-panel .panel-footer input.btn,
html[data-theme="light"] .card-header .actions .btn,
html[data-theme="light"] #ticketReplyContainer .btn:not(.btn-primary) {
  background: #ffffff !important;
  color: var(--foreground) !important;
  border: 1px solid rgba(15, 17, 21, 0.14) !important;
}
html[data-theme="light"] .theme-sidebar-panel .panel-footer .btn:hover,
html[data-theme="light"] .theme-sidebar-panel .panel-footer a.btn:hover,
html[data-theme="light"] .theme-sidebar-panel .panel-footer button.btn:hover,
html[data-theme="light"] .theme-sidebar-panel .panel-footer .btn:focus,
html[data-theme="light"] .theme-sidebar-panel .panel-footer a.btn:focus,
html[data-theme="light"] .theme-sidebar-panel .panel-footer button.btn:focus,
html[data-theme="light"] .card-header .actions .btn:hover:not(:disabled),
html[data-theme="light"] .card-header .actions .btn:focus,
html[data-theme="light"] #ticketReplyContainer .btn:not(.btn-primary):hover,
html[data-theme="light"] #ticketReply[aria-expanded="true"] {
  background: var(--secondary) !important;
  color: var(--foreground) !important;
  border-color: rgba(15, 17, 21, 0.2) !important;
}
html[data-theme="light"] #ticketReplyContainer .btn.btn-primary {
  background: var(--indigo, #4f39f6) !important;
  border: 1px solid var(--indigo, #4f39f6) !important;
  color: #ffffff !important;
}
html[data-theme="light"] #ticketReplyContainer .btn.btn-primary:hover {
  background: #4129d9 !important;
  border-color: #4129d9 !important;
}
/* Önizleme düğmesi #ticketReplyContainer içinde: markdown kuralları önceliği korusun */
html[data-theme="light"] #ticketReplyContainer .md-editor .md-header .btn-primary {
  background: #ffffff !important;
  color: var(--foreground) !important;
  border: 1px solid rgba(15, 17, 21, 0.14) !important;
}
html[data-theme="light"] #ticketReplyContainer .md-editor .md-header .btn-primary:hover,
html[data-theme="light"] #ticketReplyContainer .md-editor .md-header .btn-primary.active {
  background: var(--secondary-hover) !important;
  border-color: rgba(15, 17, 21, 0.2) !important;
}
html[data-theme="light"] .ticket-reply-dropdown {
  background: #f9fafb;
  border-top-color: rgba(15, 17, 21, 0.08);
}

/* Yanıt balonları: müşteri beyaz, yetkili hafif indigo tonlu */
html[data-theme="light"] .ticket-reply {
  background-color: #ffffff;
  border-color: rgba(15, 17, 21, 0.1);
  box-shadow: 0 1px 2px rgba(15, 17, 21, 0.04);
}
html[data-theme="light"] .ticket-reply .posted-by {
  background-color: #f7f8fa;
  color: var(--muted-foreground);
  border-bottom: 1px solid rgba(15, 17, 21, 0.06);
}
html[data-theme="light"] .ticket-reply .posted-by .posted-by-name,
html[data-theme="light"] .ticket-reply .posted-by .posted-on {
  color: var(--foreground);
}
html[data-theme="light"] .ticket-reply .ticket-message {
  color: var(--foreground-text);
}
html[data-theme="light"] .ticket-reply.staff,
html[data-theme="light"] .ticket-reply:has(.requestor-type-operator) {
  background-color: #fbfaff !important;
  border-color: rgba(79, 57, 246, 0.22) !important;
}
html[data-theme="light"] .ticket-reply.staff .posted-by,
html[data-theme="light"] .ticket-reply:has(.requestor-type-operator) .posted-by {
  background-color: #f1efff !important;
  color: var(--foreground-text);
  border-bottom-color: rgba(79, 57, 246, 0.12);
}
html[data-theme="light"] .ticket-reply.staff .ticket-message,
html[data-theme="light"] .ticket-reply:has(.requestor-type-operator) .ticket-message {
  background-color: #fbfaff !important;
  color: var(--foreground-text);
}
html[data-theme="light"] .ticket-reply .requestor-badge {
  color: #ffffff;
}
html[data-theme="light"] .ticket-reply .requestor-type-operator {
  background-color: var(--indigo, #4f39f6) !important;
  color: #ffffff !important;
}
html[data-theme="light"] .ticket-reply .requestor-type-registereduser { background-color: #b45309; }
html[data-theme="light"] .ticket-reply .requestor-type-owner { background-color: #15803d; }
html[data-theme="light"] .ticket-reply .h-divider {
  background-color: rgba(15, 17, 21, 0.08);
  border-color: rgba(15, 17, 21, 0.08);
}

/* Ekler */
html[data-theme="light"] .attachment-list .attachment-item {
  background-color: #f7f8fa;
  border: 1px solid rgba(15, 17, 21, 0.08);
}
html[data-theme="light"] .attachment-list .attachment-item:hover {
  background-color: var(--secondary-hover);
}
html[data-theme="light"] .attachment-list .attachment-item a,
html[data-theme="light"] .attachment-list .attachment-item .caption {
  color: var(--foreground);
}
html[data-theme="light"] .attachment-list .attachment-item figure {
  color: var(--muted-foreground);
}

/* Puanlama yıldızları: açık sarı yerine okunur amber */
html[data-theme="light"] .ticket-reply .rating span.star .fa-star,
html[data-theme="light"] .ticket-reply .rating-done span.star .fa-star {
  color: #c4c7ce;
}
html[data-theme="light"] .ticket-reply .rating span.star:hover .fa-star,
html[data-theme="light"] .ticket-reply .rating span.star:hover ~ span.star .fa-star,
html[data-theme="light"] .ticket-reply .rating-done span.star.active .fa-star {
  color: #f59e0b;
}
html[data-theme="light"] .ticket-reply .rating-done .rated {
  color: var(--muted-foreground);
}

/* Talep geri bildirim sayfası (ticketfeedback.tpl) */
html[data-theme="light"] .ticketfeedbackstaffcont {
  background-color: #f7f8fa;
  border: 1px solid rgba(15, 17, 21, 0.08);
  border-radius: 10px;
  color: var(--foreground-text);
}

/* Talep açma 1. adım: departman ayırıcıları */
html[data-theme="light"] #whmcs-support-dept-list .support-dept-item:not(:last-child) {
  border-bottom-color: rgba(15, 17, 21, 0.08) !important;
}
html[data-theme="light"] #whmcs-support-dept-list .support-dept-link:hover {
  color: var(--indigo, #4f39f6);
}

/* ===== modules ===== */
/* BiHosting açık tema — modules. Tüm kurallar html[data-theme="light"] ile başlar. */

/* ============ 1) VDS sunucu paneli (modules/servers/sunucumvds — .svd) ============ */
html[data-theme="light"] .svd {
  --svd-bg: #ffffff;
  --svd-bd: rgba(15, 17, 21, .1);
  --svd-txt: #0f1115;
  --svd-mut: #5f6573;
  --svd-soft: #f3f4f6;
  --svd-soft2: #e6e8ec;
  --svd-pop: #ffffff;
  --svd-in: #ffffff;
  --svd-pt: #4f39f6;
  --svd-ok: #16a34a;
  --svd-bad: #dc2626;
  --svd-warn: #d97706;
  --svd-ok-t: #15803d;   /* metin için koyu tonlar (AA) */
  --svd-bad-t: #b91c1c;
  --svd-warn-t: #92400e;
}
/* kartlar: beyaz + yumuşak gölge */
html[data-theme="light"] .svd-card { box-shadow: 0 1px 2px rgba(15, 17, 21, .04), 0 1px 3px rgba(15, 17, 21, .03); }
html[data-theme="light"] .svd-card .svd-card { box-shadow: none; }
html[data-theme="light"] .svd-kv { border: 1px solid rgba(15, 17, 21, .05); }

/* sol menü */
@media (min-width: 992px) {
  html[data-theme="light"] .svd-tabs { box-shadow: 0 1px 2px rgba(15, 17, 21, .04); }
  html[data-theme="light"] .svd-tabs button.on { background: #eeebff; color: #2e1fb8; }
}
html[data-theme="light"] .svd-tabs button.on i { color: #4f39f6; }
html[data-theme="light"] .svd-tabs button:hover:not(.on) { background: #f3f4f6; }

/* durum hapı */
html[data-theme="light"] .svd-pill.on { color: var(--svd-ok-t); background: #ecfdf3; }
html[data-theme="light"] .svd-pill.off { color: var(--svd-bad-t); background: #fef2f2; }
html[data-theme="light"] .svd-pill.on .svd-dot { box-shadow: 0 0 0 3px rgba(22, 163, 74, .18); }

/* butonlar */
html[data-theme="light"] .svd-btn { background: #fff; }
html[data-theme="light"] .svd-btn:hover:not(:disabled) { background: #f7f6ff; }
html[data-theme="light"] .svd-btn.pri, html[data-theme="light"] .svd-btn.pri:hover:not(:disabled) { background: var(--svd-p); }
html[data-theme="light"] .svd-btn.dng { color: var(--svd-bad-t); }
html[data-theme="light"] .svd-btn.dng:hover:not(:disabled) { background: #fef2f2; color: var(--svd-bad-t); }
html[data-theme="light"] .svd-btn.dngfill, html[data-theme="light"] .svd-btn.dngfill:hover:not(:disabled) { background: var(--svd-bad); }
html[data-theme="light"] .svd-btn:disabled, html[data-theme="light"] .svd-btn.pri:disabled, html[data-theme="light"] .svd-btn.dngfill:disabled { background: #f3f4f6; color: #8b909c; }
html[data-theme="light"] .svd-seg button.on { box-shadow: 0 1px 2px rgba(15, 17, 21, .12), 0 0 0 1px rgba(15, 17, 21, .04); }
html[data-theme="light"] .svd-copy { color: #4f39f6; }

/* grafikler */
html[data-theme="light"] .svd-ch { background: linear-gradient(180deg, color-mix(in srgb, var(--svd-c) 5%, #fff), #fff 60%); }
html[data-theme="light"] .svd-ch-s span { background: #fff; border: 1px solid rgba(15, 17, 21, .07); }
html[data-theme="light"] .svd-plot svg line[stroke="currentColor"][stroke-dasharray="3 4"] { stroke-opacity: .11; }
html[data-theme="light"] .svd-tip { box-shadow: 0 6px 18px rgba(15, 17, 21, .12); border-color: rgba(15, 17, 21, .12); }
html[data-theme="light"] .svd-metric.on { background: color-mix(in srgb, var(--svd-c) 8%, #fff); }

/* rozet / çip / not tonları (açık zeminde okunur) */
html[data-theme="light"] .svd-badge.w { background: #fef3c7; color: var(--svd-warn-t); }
html[data-theme="light"] .svd-badge.c { background: #fee2e2; color: var(--svd-bad-t); }
html[data-theme="light"] .svd-badge.ok { background: #dcfce7; color: var(--svd-ok-t); }
html[data-theme="light"] .svd-chip.ok { color: var(--svd-ok-t); background: #ecfdf3; }
html[data-theme="light"] .svd-chip.c { background: #fee2e2; color: var(--svd-bad-t); }
html[data-theme="light"] .svd-checks li .ic.warn { color: var(--svd-warn); }
html[data-theme="light"] .svd-note.ok { background: #ecfdf3; color: var(--svd-ok-t); border: 1px solid #bbf7d0; }
html[data-theme="light"] .svd-note.err { background: #fef2f2; color: var(--svd-bad-t); border: 1px solid #fecaca; }
html[data-theme="light"] .svd-note.info { background: #f1efff; color: #3b28c9; border: 1px solid #dcd6ff; }
html[data-theme="light"] .svd-nv-warn { background: #fffbeb; border-color: #fde68a; color: #78350f; }
html[data-theme="light"] .svd-stale,
html[data-theme="light"] .svd-op { background: #fffbeb; color: var(--svd-warn-t); border: 1px solid #fde68a; }
html[data-theme="light"] .svd-pend { background: #f4f2ff; border-color: #d9d3ff; }

/* uygulama kartları */
html[data-theme="light"] .svd-app { background: #fafafb; }
html[data-theme="light"] .svd-app:hover { border-color: rgba(79, 57, 246, .3); }
html[data-theme="light"] .svd-app-info { background: #f6f7f9; border: 1px solid rgba(15, 17, 21, .07); color: #1f2330; }

/* form elemanları */
html[data-theme="light"] .svd-input, html[data-theme="light"] .svd-sel { border-color: rgba(15, 17, 21, .16); }
html[data-theme="light"] .svd-input:focus, html[data-theme="light"] .svd-sel:focus { border-color: #4f39f6; outline: 3px solid rgba(79, 57, 246, .15); outline-offset: 0; }
html[data-theme="light"] .svd-input:-webkit-autofill { -webkit-box-shadow: 0 0 0 40px #fff inset; -webkit-text-fill-color: var(--svd-txt); }
html[data-theme="light"] .svd-input::placeholder { color: #9095a1; }
html[data-theme="light"] .svd-sw .tr { background: #d1d5db; }
html[data-theme="light"] .svd-sw input:checked + .tr { background: var(--svd-ok); }
html[data-theme="light"] .svd-sw .tr::after { box-shadow: 0 1px 2px rgba(15, 17, 21, .25); }

/* modal */
html[data-theme="light"] .svd-modal { background: rgba(15, 17, 21, .42); backdrop-filter: blur(2px); }
html[data-theme="light"] .svd-modal-box { box-shadow: 0 20px 50px rgba(15, 17, 21, .18); border-color: rgba(15, 17, 21, .08); }
html[data-theme="light"] .svd-pass { background: #f3f4f6; border: 1px solid rgba(15, 17, 21, .07); }

/* ============ 2) Bayi paneli (/bayi — modules/addons/sunucumvds_reseller) ============ */
html[data-theme="light"] .rsl-stat { background: #fff; box-shadow: 0 1px 2px rgba(15, 17, 21, .04); }
html[data-theme="light"] .rsl-badge { background: #fff; }
html[data-theme="light"] .rsl-badge.on { color: #15803d; background: #ecfdf3; border-color: #bbf7d0; }
html[data-theme="light"] .rsl-badge.off { color: #5f6573; background: #f3f4f6; }
html[data-theme="light"] .rsl-badge.wait { color: #92400e; background: #fffbeb; border-color: #fde68a; }
html[data-theme="light"] .rsl-newkey { border-color: #86efac; }
html[data-theme="light"] .rsl-stat .v a[style*="--yellow"] { color: #b45309 !important; }
html[data-theme="light"] .card-body p[style*="--yellow"] { color: #92400e !important; }
html[data-theme="light"] .rsl-editrow td { background: #f8f9fb; }

/* ============ 3) Bayi API dokümantasyonu (/reseller-api — .rapi-docs) ============ */
html[data-theme="light"] .rapi-docs a { color: #3b28c9; }
html[data-theme="light"] .rapi-docs a.rapi-cta, html[data-theme="light"] .rapi-docs a.rapi-cta:hover { color: #fff; }
html[data-theme="light"] .rapi-docs .rapi-nav a { color: #5f6573; }
html[data-theme="light"] .rapi-docs .rapi-nav a:hover { background: #eceef1; color: var(--foreground); }
html[data-theme="light"] .rapi-docs .rapi-nav a.active { background: #eeebff; color: #2e1fb8; font-weight: 500; }
html[data-theme="light"] .rapi-docs code { background: #f1f2f5; border-color: rgba(15, 17, 21, .08); color: #1f2330; }
html[data-theme="light"] .rapi-docs pre { background: #f8f9fb; border-color: rgba(15, 17, 21, .09); color: #1f2330; }
html[data-theme="light"] .rapi-docs pre code { background: none; border: 0; }
html[data-theme="light"] .rapi-docs .ep code { background: none; border: 0; color: var(--foreground); }
html[data-theme="light"] .rapi-docs .tw { background: #fff; box-shadow: 0 1px 2px rgba(15, 17, 21, .04); }
html[data-theme="light"] .rapi-docs th { background: #f8f9fb; color: #5f6573; }
html[data-theme="light"] .rapi-docs .card { box-shadow: 0 1px 2px rgba(15, 17, 21, .04), 0 1px 3px rgba(15, 17, 21, .03); }
html[data-theme="light"] .rapi-docs .GET { background: #dcfce7; color: #15803d; }
html[data-theme="light"] .rapi-docs .POST { background: #e9e5ff; color: #3b28c9; }
html[data-theme="light"] .rapi-docs .note { background: #fffbeb; border-left-color: #f59e0b; color: #78350f; }
html[data-theme="light"] .rapi-docs .note code { background: rgba(255, 255, 255, .7); }
html[data-theme="light"] .rapi-docs .rapi-badge, html[data-theme="light"] .rapi-docs .tag { color: #5f6573; background: #fff; }

