/*
 * KUZGUNHOST ACIK / KOYU TEMA
 * Renk kararlarini ortak degiskenlerde toplar. Sayfalar kendi yerlesimlerini
 * korur; bu dosya yalniz yuzey, metin, kenarlik ve odak kontrastini yonetir.
 */
:root {
    --kh-theme-page: #f3f5f8;
    --kh-theme-surface: #ffffff;
    --kh-theme-surface-raised: #ffffff;
    --kh-theme-surface-soft: #f7f8fb;
    --kh-theme-surface-muted: #eef1f5;
    --kh-theme-text: #171b2b;
    --kh-theme-text-soft: #626c7d;
    --kh-theme-text-faint: #7c8493;
    --kh-theme-border: #dce2eb;
    --kh-theme-border-strong: #cbd3df;
    --kh-theme-purple: #6f278b;
    --kh-theme-purple-soft: #f3eaf7;
    --kh-theme-teal: #159a92;
    --kh-theme-teal-soft: #e8f6f3;
    --kh-theme-shadow: 0 16px 42px rgba(24, 30, 48, .09);
}

html[data-theme="dark"] {
    color-scheme: dark;
    --kh-theme-page: #10131d;
    --kh-theme-surface: #181c28;
    --kh-theme-surface-raised: #1d2230;
    --kh-theme-surface-soft: #202634;
    --kh-theme-surface-muted: #272d3b;
    --kh-theme-text: #f0f2f8;
    --kh-theme-text-soft: #b8bfcc;
    --kh-theme-text-faint: #929cac;
    --kh-theme-border: #343b4b;
    --kh-theme-border-strong: #465064;
    --kh-theme-purple: #c276dc;
    --kh-theme-purple-soft: #32243d;
    --kh-theme-teal: #54d4cd;
    --kh-theme-teal-soft: #173b3b;
    --kh-theme-shadow: 0 18px 48px rgba(0, 0, 0, .3);

    --kh-text: var(--kh-theme-text);
    --khc-brand: #ad5bc7;
    --khc-brand-dark: #cf86e3;
    --khc-brand-soft: var(--kh-theme-purple-soft);
    --khc-accent-blue: #77aee0;
    --khc-accent-cyan: #54d4cd;
    --khc-ink: var(--kh-theme-text);
    --khc-muted: var(--kh-theme-text-soft);
    --khc-border: var(--kh-theme-border);
    --khc-canvas: var(--kh-theme-page);
    --khc-surface: var(--kh-theme-surface);
    --khc-success: #65d4af;
    --khc-success-soft: #173b33;
    --khc-warning: #f0bd67;
    --khc-warning-soft: #3a3020;
    --khc-danger: #ff9188;
    --khc-danger-soft: #432528;
    --khc-shadow: var(--kh-theme-shadow);

    --kh-header-purple: #c276dc;
    --kh-header-purple-dark: #e1a4f0;
    --kh-header-teal: #55d8d1;
    --kh-header-ink: var(--kh-theme-text);
    --kh-header-muted: var(--kh-theme-text-soft);
    --kh-header-border: var(--kh-theme-border);
    --kh-header-soft: var(--kh-theme-surface-soft);
}

html[data-theme="dark"] body,
html[data-theme="dark"] #main-content {
    background: var(--kh-theme-page);
    color: var(--kh-theme-text);
}

html[data-theme="dark"] #kh-page-loader {
    background:
        radial-gradient(circle at 50% 45%, rgba(194, 118, 220, .16), transparent 38%),
        rgba(16, 19, 29, .97);
}

html[data-theme="dark"] .kh-page-loader-card {
    color: var(--kh-theme-text);
}

html[data-theme="dark"] .kh-skip-link {
    background: var(--kh-theme-surface-raised);
    color: var(--kh-theme-text);
}

/* Tema dugmesi hesap ve sepet islemleriyle ayni olculeri kullanir. */
.kh-site-header .kh-theme-toggle,
.payment-brand .kh-theme-toggle {
    display: inline-grid;
    width: 46px;
    min-width: 46px;
    height: 46px;
    flex: 0 0 46px;
    place-items: center;
    margin: 0;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 7px;
    background: transparent;
    color: var(--kh-header-purple, #6f278b);
    font-size: 15px;
    cursor: pointer;
    transition: border-color .16s ease, background-color .16s ease, color .16s ease, transform .16s ease;
}

.kh-site-header .kh-theme-toggle:hover,
.kh-site-header .kh-theme-toggle:focus-visible,
.payment-brand .kh-theme-toggle:hover,
.payment-brand .kh-theme-toggle:focus-visible {
    border-color: #d2bddb;
    background: #f2eaf5;
    color: #6f278b;
    outline: 2px solid transparent;
    transform: translateY(-1px);
}

.kh-theme-icon--sun { display: none; }
html[data-theme="dark"] .kh-theme-icon--moon { display: none; }
html[data-theme="dark"] .kh-theme-icon--sun { display: inline-block; }
.kh-theme-toggle__text { display: none; }

/* Ortak header ve mega menuler. */
html[data-theme="dark"] .kh-site-header {
    border-color: var(--kh-theme-border);
    background: #151925;
    box-shadow: 0 10px 32px rgba(0, 0, 0, .28);
}

/* Marka logosunun ozgun renkleri koyu temada da korunur. */
html[data-theme="dark"] .kh-site-header .kh-site-logo {
    opacity: 1;
    filter: none;
}

html[data-theme="dark"] .payment-brand__logo img {
    opacity: 1;
    filter: brightness(0) invert(1);
}

html[data-theme="dark"] .kh-site-header .kh-header-controls {
    border-color: var(--kh-theme-border);
    background: #1d2230;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .24);
}

html[data-theme="dark"] .kh-site-header .navbar-light .kh-primary-nav .nav-link:hover,
html[data-theme="dark"] .kh-site-header .navbar-light .kh-primary-nav .nav-link:focus-visible,
html[data-theme="dark"] .kh-site-header .kh-nav-group.is-open > .kh-nav-trigger,
html[data-theme="dark"] .kh-site-header .navbar-light .kh-primary-nav .nav-link.is-current,
html[data-theme="dark"] .kh-site-header .kh-header-action:hover,
html[data-theme="dark"] .kh-site-header .kh-header-action:focus-visible,
html[data-theme="dark"] .kh-site-header .navbar-toggler:hover,
html[data-theme="dark"] .kh-site-header .navbar-toggler:focus-visible,
html[data-theme="dark"] .kh-site-header .kh-theme-toggle:hover,
html[data-theme="dark"] .kh-site-header .kh-theme-toggle:focus-visible {
    border-color: #644b70;
    background: #30243a;
    color: #e4a9f3;
}

html[data-theme="dark"] .kh-site-header .kh-header-action__copy small,
html[data-theme="dark"] .kh-site-header .kh-mega-menu__links > a small {
    color: var(--kh-theme-text-soft);
}

html[data-theme="dark"] .kh-language-switcher {
    border-color: var(--kh-theme-border-strong);
    background: #171c28;
}

html[data-theme="dark"] .kh-language-switcher button {
    color: var(--kh-theme-text-soft);
}

html[data-theme="dark"] .kh-language-switcher button:hover,
html[data-theme="dark"] .kh-language-switcher button:focus-visible {
    background: #2b2435;
    color: #e5b0f2;
}

html[data-theme="dark"] .kh-language-switcher button.is-active {
    background: #b05ec8;
    color: #fff;
}

/* Ust bilgi seridi her iki temada da sabit koyu yuzeydir. */
html[data-theme="dark"] .kh-site-topbar .kh-language-switcher {
    border-color: rgba(255, 255, 255, .1);
    background: transparent;
}

html[data-theme="dark"] .kh-site-topbar .kh-language-switcher button {
    color: #cbd0db;
}

html[data-theme="dark"] .kh-site-topbar .kh-language-switcher button:hover,
html[data-theme="dark"] .kh-site-topbar .kh-language-switcher button:focus-visible {
    background: rgba(255, 255, 255, .09);
    color: #fff;
}

html[data-theme="dark"] .kh-site-topbar .kh-language-switcher button.is-active {
    background: #57d4cd;
    color: #121522;
}

html[data-theme="dark"] .kh-site-header .kh-mega-menu,
html[data-theme="dark"] .kh-site-header .kh-mega-menu--services {
    border-color: var(--kh-theme-border-strong);
    background: var(--kh-theme-surface);
    box-shadow: 0 28px 72px rgba(0, 0, 0, .48);
}

html[data-theme="dark"] .kh-site-header .kh-mega-menu__intro,
html[data-theme="dark"] .kh-mobile-menu-heading {
    background: #151a28;
}

html[data-theme="dark"] .kh-site-header .kh-mega-menu__links,
html[data-theme="dark"] .kh-site-header .navbar-collapse.collapse,
html[data-theme="dark"] .kh-site-header .navbar-collapse.collapsing {
    background: var(--kh-theme-surface-soft);
}

html[data-theme="dark"] .kh-site-header .kh-mega-menu__links > a,
html[data-theme="dark"] .kh-site-header .kh-mega-menu__footer {
    border-color: var(--kh-theme-border);
    background: var(--kh-theme-surface);
    color: var(--kh-theme-text);
}

html[data-theme="dark"] .kh-site-header .navbar-light .kh-primary-nav .nav-link {
    color: var(--kh-theme-text);
}

html[data-theme="dark"] .kh-site-header .kh-mega-menu__links > a:hover,
html[data-theme="dark"] .kh-site-header .kh-mega-menu__links > a:focus-visible,
html[data-theme="dark"] .kh-site-header .kh-mega-menu__links > a.is-current {
    border-color: #735083;
    background: #282131;
    color: #e2a4f1;
}

html[data-theme="dark"] .kh-site-header .kh-mega-menu__links > a > i {
    background: #34233d;
    color: #d491e6;
}

/* Ortak sayfa yuzeyleri ve eski tema bolumleri. */
html[data-theme="dark"] .white-bg-con,
html[data-theme="dark"] .light-bg-con,
html[data-theme="dark"] .kh-commerce-section,
html[data-theme="dark"] .kh-auth-page,
html[data-theme="dark"] .kh-panel-page,
html[data-theme="dark"] .kh-blog-index,
html[data-theme="dark"] .kh-blog-article,
html[data-theme="dark"] .kh-services-directory,
html[data-theme="dark"] .kh-domain-owner-page,
html[data-theme="dark"] .kh-domain-results-section,
html[data-theme="dark"] .kh-domain-price-section,
html[data-theme="dark"] .kh-domain-hosting-offer,
html[data-theme="dark"] .kh-support-records-page,
html[data-theme="dark"] .kh-support-detail-page {
    background: var(--kh-theme-page);
}

html[data-theme="dark"] .kh-commerce :where(h1, h2, h3, h4, h5, h6),
html[data-theme="dark"] .white-bg-con :where(h1, h2, h3, h4),
html[data-theme="dark"] .light-bg-con :where(h1, h2, h3, h4),
html[data-theme="dark"] .black-text,
html[data-theme="dark"] .blue-text {
    color: var(--kh-theme-text);
}

html[data-theme="dark"] .kh-commerce p,
html[data-theme="dark"] .grey-text,
html[data-theme="dark"] .gray-text {
    color: var(--kh-theme-text-soft);
}

/* Hakkımızda sayfasındaki eski tanıtım kartları koyu zeminde açık metin kullanır. */
html[data-theme="dark"] .why-choose-us-con :where(h2, h3, h4),
html[data-theme="dark"] .why-choose-us-con .white-box :where(h2, h3, h4) {
    color: var(--kh-theme-text) !important;
}

html[data-theme="dark"] .why-choose-us-con .white-box :where(p, span) {
    color: var(--kh-theme-text-soft) !important;
}

/* Eski sayfa CSS'i basliklara dogrudan siyah renk verdigi icin hedefli seciciler gerekir. */
html[data-theme="dark"] body.kh-page--hakkimizda .feature-content h4,
html[data-theme="dark"] body.kh-page--hakkimizda .why-choose-us-con .white-box h4 {
    color: #f4f7fb !important;
}

html[data-theme="dark"] body.kh-page--hakkimizda .feature-content p {
    color: #c4ccda !important;
}

html[data-theme="dark"] .white-box,
html[data-theme="dark"] .plan-box,
html[data-theme="dark"] .service-detail-card,
html[data-theme="dark"] .kh-wheel-credit-offer,
html[data-theme="dark"] .kh-auth-form,
html[data-theme="dark"] .kh-form-section,
html[data-theme="dark"] .kh-checkout-section,
html[data-theme="dark"] .kh-panel-section,
html[data-theme="dark"] .kh-panel-form,
html[data-theme="dark"] .kh-metric-grid article,
html[data-theme="dark"] .kh-order-card,
html[data-theme="dark"] .kh-cart-item,
html[data-theme="dark"] .kh-order-summary,
html[data-theme="dark"] .kh-product-card,
html[data-theme="dark"] .kh-service-family,
html[data-theme="dark"] .kh-cross-sell,
html[data-theme="dark"] .kh-order-legal,
html[data-theme="dark"] .kh-wallet-card,
html[data-theme="dark"] .kh-wallet-empty,
html[data-theme="dark"] .kh-wallet-enrollment,
html[data-theme="dark"] .kh-checkout-vault-note {
    border-color: var(--kh-theme-border);
    background: var(--kh-theme-surface);
    color: var(--kh-theme-text);
    box-shadow: var(--kh-theme-shadow);
}

/* Odeme ekranindaki siparise ozel hukuki ozet acik temadan kalan beyaz zemini kullanmaz. */
html[data-theme="dark"] .kh-order-legal__intro {
    border-color: #2bb8aa;
    background: #182b2c;
}

html[data-theme="dark"] .kh-order-legal__intro > i {
    color: #63ddd1;
}

html[data-theme="dark"] .kh-order-legal__intro strong {
    color: #f4f7fb;
}

html[data-theme="dark"] .kh-order-legal__intro span {
    color: #b9c2d1;
}

html[data-theme="dark"] .kh-order-legal__links a {
    border-color: var(--kh-theme-border);
    background: var(--kh-theme-surface-soft);
    color: #e0a9ee;
}

html[data-theme="dark"] .kh-order-legal__links a:hover,
html[data-theme="dark"] .kh-order-legal__links a:focus-visible {
    border-color: #b963d1;
    background: #292338;
}

/* Formlar ve tablolarda tarayicinin varsayilan acik renkleri kalmaz. */
html[data-theme="dark"] input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
html[data-theme="dark"] select,
html[data-theme="dark"] textarea {
    border-color: var(--kh-theme-border-strong);
    background-color: var(--kh-theme-surface-soft);
    color: var(--kh-theme-text);
}

html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {
    color: #8e98a9;
    opacity: 1;
}

html[data-theme="dark"] input:focus,
html[data-theme="dark"] select:focus,
html[data-theme="dark"] textarea:focus {
    border-color: #b963d1;
    background-color: #242a38;
    box-shadow: 0 0 0 3px rgba(194, 118, 220, .16);
}

html[data-theme="dark"] input[type="checkbox"],
html[data-theme="dark"] input[type="radio"] {
    accent-color: #b963d1;
}

html[data-theme="dark"] label,
html[data-theme="dark"] dt,
html[data-theme="dark"] th {
    color: var(--kh-theme-text);
}

html[data-theme="dark"] dd,
html[data-theme="dark"] td,
html[data-theme="dark"] .kh-data-table td,
html[data-theme="dark"] .kh-admin-table td {
    border-color: var(--kh-theme-border);
    color: var(--kh-theme-text-soft);
}

html[data-theme="dark"] table,
html[data-theme="dark"] .kh-table-wrap,
html[data-theme="dark"] .kh-admin-table-wrap,
html[data-theme="dark"] .kh-data-table,
html[data-theme="dark"] .kh-admin-table {
    border-color: var(--kh-theme-border);
    background: var(--kh-theme-surface);
}

html[data-theme="dark"] .kh-data-table thead th,
html[data-theme="dark"] .kh-admin-table th {
    border-color: var(--kh-theme-border);
    background: var(--kh-theme-surface-soft);
}

html[data-theme="dark"] .kh-data-table tbody tr:hover,
html[data-theme="dark"] .kh-admin-table tbody tr:hover {
    background: #222938;
}

/* Sepet, odeme ve urun kataloglari. */
html[data-theme="dark"] .kh-cart-toolbar,
html[data-theme="dark"] .kh-cart-item__body,
html[data-theme="dark"] .kh-cart-item__footer,
html[data-theme="dark"] .kh-period-form,
html[data-theme="dark"] .kh-quantity-control,
html[data-theme="dark"] .kh-vps-resources,
html[data-theme="dark"] .kh-profile-summary,
html[data-theme="dark"] .kh-payment-option,
html[data-theme="dark"] .kh-checkout-account-status,
html[data-theme="dark"] .kh-order-summary__total,
html[data-theme="dark"] .kh-result-next li,
html[data-theme="dark"] .kh-profile-security__rules,
html[data-theme="dark"] .kh-quick-actions nav a {
    border-color: var(--kh-theme-border);
    background: var(--kh-theme-surface-soft);
    color: var(--kh-theme-text);
}

html[data-theme="dark"] .kh-quantity-control button,
html[data-theme="dark"] .kh-quantity-control input,
html[data-theme="dark"] .kh-vps-resource-field select {
    border-color: var(--kh-theme-border);
    background: var(--kh-theme-surface-raised);
    color: var(--kh-theme-text);
}

html[data-theme="dark"] .kh-checkout-section__heading,
html[data-theme="dark"] .kh-panel-header,
html[data-theme="dark"] .kh-profile-form__footer,
html[data-theme="dark"] .kh-order-card__header,
html[data-theme="dark"] .kh-order-card__footer {
    border-color: var(--kh-theme-border);
}

/* Musteri paneli. Masaustu koyu yan menu korunur, mobil kart da koyu temaya uyar. */
html[data-theme="dark"] .kh-panel-nav {
    border-color: #333a4b;
    background: #171c2a;
    box-shadow: 0 16px 38px rgba(0, 0, 0, .35);
}

html[data-theme="dark"] .kh-panel-nav nav a,
html[data-theme="dark"] .kh-panel-nav form button {
    color: #cad0dc;
}

html[data-theme="dark"] .kh-panel-nav nav a:hover,
html[data-theme="dark"] .kh-panel-nav nav a.is-active {
    background: #352b41;
    color: #fff;
}

html[data-theme="dark"] .kh-panel-welcome-meta span,
html[data-theme="dark"] .kh-profile-status {
    border-color: var(--kh-theme-border);
    background: var(--kh-theme-surface);
    color: var(--kh-theme-text-soft);
}

/* Blog kartlari, makale metni ve yardimci icerikler. */
html[data-theme="dark"] .kh-blog-categories,
html[data-theme="dark"] .kh-blog-recommended,
html[data-theme="dark"] .kh-blog-featured,
html[data-theme="dark"] .kh-blog-card,
html[data-theme="dark"] .kh-blog-article__content,
html[data-theme="dark"] .kh-blog-sidebar > section,
html[data-theme="dark"] .kh-blog-summary,
html[data-theme="dark"] .kh-blog-summary b,
html[data-theme="dark"] .kh-blog-inline-media,
html[data-theme="dark"] .kh-blog-product-callout,
html[data-theme="dark"] .kh-blog-faq details,
html[data-theme="dark"] .kh-blog-comparison table,
html[data-theme="dark"] .kh-blog-cover figcaption {
    border-color: var(--kh-theme-border);
    background: var(--kh-theme-surface);
    color: var(--kh-theme-text-soft);
}

html[data-theme="dark"] .kh-blog-card h3 a,
html[data-theme="dark"] .kh-blog-featured h2 a,
html[data-theme="dark"] .kh-blog-content,
html[data-theme="dark"] .kh-blog-content h2,
html[data-theme="dark"] .kh-blog-content h3,
html[data-theme="dark"] .kh-blog-sidebar h2,
html[data-theme="dark"] .kh-blog-product-callout strong,
html[data-theme="dark"] .kh-blog-summary b {
    color: var(--kh-theme-text);
}

html[data-theme="dark"] .kh-blog-sidebar > section > a {
    border-color: var(--kh-theme-border);
    color: var(--kh-theme-text);
}

html[data-theme="dark"] .kh-blog-sidebar > section > a b {
    color: #f2f5fa;
}

html[data-theme="dark"] .kh-blog-sidebar > section > a small {
    color: #b2bbc9;
}

html[data-theme="dark"] .kh-blog-comparison tbody tr:nth-child(even) {
    background: var(--kh-theme-surface-soft);
}

/* Alan adi arama, sahiplik, fiyat ve transfer akislari. */
html[data-theme="dark"] .kh-domain-search-shell,
html[data-theme="dark"] .kh-domain-results-shell,
html[data-theme="dark"] .kh-domain-result-card,
html[data-theme="dark"] .kh-domain-price-grid article,
html[data-theme="dark"] .kh-domain-owner-main .kh-form-section,
html[data-theme="dark"] .kh-domain-owner-summary,
html[data-theme="dark"] .kh-domain-panel-card,
html[data-theme="dark"] .kh-domain-transfer__form,
html[data-theme="dark"] .kh-domain-transfer__aside,
html[data-theme="dark"] .kh-domain-operation-switch,
html[data-theme="dark"] .kh-account-type-switch {
    border-color: var(--kh-theme-border);
    background: var(--kh-theme-surface);
    color: var(--kh-theme-text);
    box-shadow: var(--kh-theme-shadow);
}

html[data-theme="dark"] .kh-domain-extension-chips button,
html[data-theme="dark"] .kh-domain-result-card__action,
html[data-theme="dark"] .kh-domain-panel-card dl > div,
html[data-theme="dark"] .kh-domain-owner-summary dl > div {
    border-color: var(--kh-theme-border);
    background: var(--kh-theme-surface-soft);
    color: var(--kh-theme-text);
}

html[data-theme="dark"] .kh-domain-form,
html[data-theme="dark"] .kh-domain-form .kh-domain-input-wrap {
    border-color: var(--kh-theme-border-strong);
    background: var(--kh-theme-surface-soft);
}

/* Destek kayitlari ve yazişma ekranlari. */
html[data-theme="dark"] .kh-support-summary,
html[data-theme="dark"] .kh-support-summary article,
html[data-theme="dark"] .kh-support-registry,
html[data-theme="dark"] .kh-support-registry__main,
html[data-theme="dark"] .kh-support-registry__filters,
html[data-theme="dark"] .kh-support-create,
html[data-theme="dark"] .kh-support-inbox,
html[data-theme="dark"] .kh-ticket-register,
html[data-theme="dark"] .kh-ticket-row,
html[data-theme="dark"] .kh-ticket-thread,
html[data-theme="dark"] .kh-ticket-entry,
html[data-theme="dark"] .kh-ticket-reply-panel,
html[data-theme="dark"] .kh-ticket-reply-editor,
html[data-theme="dark"] .kh-ticket-context,
html[data-theme="dark"] .kh-ticket-history {
    border-color: var(--kh-theme-border);
    background: var(--kh-theme-surface);
    color: var(--kh-theme-text);
    box-shadow: var(--kh-theme-shadow);
}

html[data-theme="dark"] .kh-ticket-row:hover,
html[data-theme="dark"] .kh-ticket-row:focus-within,
html[data-theme="dark"] .kh-ticket-entry__body,
html[data-theme="dark"] .kh-ticket-context dl > div,
html[data-theme="dark"] .kh-support-empty {
    border-color: var(--kh-theme-border);
    background: var(--kh-theme-surface-soft);
}

/* Bildirimler, cerezler, modal ve yüzen destek araclari. */
html[data-theme="dark"] .kh-notice,
html[data-theme="dark"] .kh-cookie-banner,
html[data-theme="dark"] .kh-cookie-modal__panel,
html[data-theme="dark"] .kh-cookie-option,
html[data-theme="dark"] .modal-content,
html[data-theme="dark"] #wa-box,
html[data-theme="dark"] #kh-ai-panel {
    border-color: var(--kh-theme-border);
    background: var(--kh-theme-surface-raised);
    color: var(--kh-theme-text);
    box-shadow: var(--kh-theme-shadow);
}

html[data-theme="dark"] .kh-cookie-banner__copy p,
html[data-theme="dark"] .kh-cookie-option span,
html[data-theme="dark"] .wa-text,
html[data-theme="dark"] .kh-ai-note {
    color: var(--kh-theme-text-soft);
}

html[data-theme="dark"] .kh-ai-messages,
html[data-theme="dark"] .kh-ai-form,
html[data-theme="dark"] .wa-body {
    background: var(--kh-theme-surface);
}

html[data-theme="dark"] .kh-ai-message.is-assistant,
html[data-theme="dark"] .kh-ai-quick,
html[data-theme="dark"] .kh-ai-action {
    border-color: var(--kh-theme-border);
    background: var(--kh-theme-surface-soft);
    color: var(--kh-theme-text);
}

/* Sayfaya ozel CSS dosyalarindan gelen acik yuzeyleri ortak tema ile esitle. */
html[data-theme="dark"] .background-f3f3f3,
html[data-theme="dark"] .background-fff,
html[data-theme="dark"] .kh-shell,
html[data-theme="dark"] .kh-seo-content,
html[data-theme="dark"] .legal-page,
html[data-theme="dark"] .kh-domain-guide__pricing,
html[data-theme="dark"] .kh-domain-guide__faq,
html[data-theme="dark"] .kh-domain-guide__data-map,
html[data-theme="dark"] .kh-wheel-terms,
html[data-theme="dark"] .kh-not-found {
    background: var(--kh-theme-page);
    color: var(--kh-theme-text);
}

/* Eski superclasses.css bu iki yardimci sinifta background-color kullanir. */
html[data-theme="dark"] .background-fff {
    background-color: var(--kh-theme-surface) !important;
}

html[data-theme="dark"] .background-f3f3f3 {
    background-color: var(--kh-theme-page) !important;
}

html[data-theme="dark"] .feature-box,
html[data-theme="dark"] .safe-and-stream-con .safe-and-stream-wrap .wrap1,
html[data-theme="dark"] .question-answer-con .faq .accordion-card,
html[data-theme="dark"] .faq-featured-con .accordion-card:has(.collapsed),
html[data-theme="dark"] .kh-seo-card,
html[data-theme="dark"] .kh-seo-list li,
html[data-theme="dark"] .kh-seo-related a,
html[data-theme="dark"] .kh-faq article,
html[data-theme="dark"] .kh-services-route,
html[data-theme="dark"] .kh-services-cta,
html[data-theme="dark"] .kh-auth-layout > .kh-auth-intro,
html[data-theme="dark"] .kh-wheel-machine,
html[data-theme="dark"] .kh-wheel-benefits span,
html[data-theme="dark"] .kh-wheel-message,
html[data-theme="dark"] .kh-wheel-award,
html[data-theme="dark"] .kh-wheel-term-grid article,
html[data-theme="dark"] .kh-support-overview article,
html[data-theme="dark"] .kh-support-create-form,
html[data-theme="dark"] .kh-ticket-record,
html[data-theme="dark"] .kh-ticket-file-picker__control,
html[data-theme="dark"] .kh-ticket-file-picker__action,
html[data-theme="dark"] .kh-ticket-attachment,
html[data-theme="dark"] .kh-ticket-record__attachments-section,
html[data-theme="dark"] .kh-not-found__content,
html[data-theme="dark"] .kh-google-button,
html[data-theme="dark"] .kh-plan-option > span,
html[data-theme="dark"] .kh-hosting-platform-filter button,
html[data-theme="dark"] .kh-compare-shell,
html[data-theme="dark"] .kh-order-metrics article,
html[data-theme="dark"] .kh-order-journey li > span,
html[data-theme="dark"] .kh-order-filters button,
html[data-theme="dark"] .kh-purchase-steps li > span,
html[data-theme="dark"] .kh-plan-count,
html[data-theme="dark"] .kh-period-selector span {
    border-color: var(--kh-theme-border);
    background: var(--kh-theme-surface);
    color: var(--kh-theme-text);
    box-shadow: none;
}

html[data-theme="dark"] .kh-seo-content .kh-seo-copy,
html[data-theme="dark"] .kh-seo-card p,
html[data-theme="dark"] .kh-services-route small,
html[data-theme="dark"] .kh-services-cta p,
html[data-theme="dark"] .kh-ticket-record__body p,
html[data-theme="dark"] .kh-ticket-file-picker > small,
html[data-theme="dark"] .kh-ticket-attachment figcaption small,
html[data-theme="dark"] .safe-and-stream-con .data-text {
    color: var(--kh-theme-text-soft);
}

html[data-theme="dark"] .kh-seo-card h3,
html[data-theme="dark"] .kh-seo-list li,
html[data-theme="dark"] .kh-services-route strong,
html[data-theme="dark"] .kh-services-cta h2,
html[data-theme="dark"] .kh-ticket-attachment figcaption strong,
html[data-theme="dark"] .safe-and-stream-con .data-count {
    color: var(--kh-theme-text);
}

/* Ana sayfanin eski hosting bilesenleri de ortak tema degiskenlerini kullanir. */
html[data-theme="dark"] .hosting-plans-con .plan-box,
html[data-theme="dark"] .hosting-features-con .feature-box,
html[data-theme="dark"] .partners-con ul li {
    border-color: var(--kh-theme-border);
    background-color: var(--kh-theme-surface) !important;
    color: var(--kh-theme-text);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .2);
}

html[data-theme="dark"] .hosting-plans-con .plan-box:hover,
html[data-theme="dark"] .hosting-features-con .feature-box:hover,
html[data-theme="dark"] .partners-con ul li:hover {
    border-bottom-color: var(--kh-theme-teal);
    background-color: var(--kh-theme-surface-raised) !important;
}

html[data-theme="dark"] .hosting-plans-con .plan-box :where(h3, h4, .price, .price span, li),
html[data-theme="dark"] .hosting-features-con .feature-box :where(h3, h4),
html[data-theme="dark"] .background-f3f3f3 .heading-title-con h2,
html[data-theme="dark"] .safe-and-stream-con .heading-title-con h2 {
    color: var(--kh-theme-text) !important;
}

html[data-theme="dark"] .hosting-plans-con .plan-box p,
html[data-theme="dark"] .hosting-features-con .feature-box p,
html[data-theme="dark"] .background-f3f3f3 .heading-title-con p,
html[data-theme="dark"] .safe-and-stream-con .heading-title-con p {
    color: var(--kh-theme-text-soft) !important;
}

html[data-theme="dark"] .hosting-plans-con .plan-box .secondary-button a {
    border-color: #765188;
    background: var(--kh-theme-purple-soft);
    color: #e5b0f2;
}

html[data-theme="dark"] .hosting-plans-con .plan-box .secondary-button a:hover,
html[data-theme="dark"] .hosting-plans-con .plan-box .secondary-button a:focus-visible {
    border-color: var(--kh-theme-teal);
    background: var(--kh-theme-teal-soft);
    color: #83e3dd;
}

/* Yeni katalog, alan adi, blog ve odeme akislarinda kalan acik yuzeyler. */
html[data-theme="dark"] .kh-wheel-page,
html[data-theme="dark"] .kh-wheel-stage,
html[data-theme="dark"] .kh-wheel-terms,
html[data-theme="dark"] .kh-domain-pricing,
html[data-theme="dark"] .kh-domain-faq-section {
    border-color: var(--kh-theme-border);
    background: var(--kh-theme-page);
    color: var(--kh-theme-text);
}

html[data-theme="dark"] .kh-wheel-frame,
html[data-theme="dark"] .kh-wheel-machine__topline span,
html[data-theme="dark"] .kh-wheel-countdown,
html[data-theme="dark"] .kh-category-tabs,
html[data-theme="dark"] .kh-hosting-platform-filter,
html[data-theme="dark"] .kh-product-grid .kh-plan-catalog-card .kh-spec-list,
html[data-theme="dark"] .kh-domain-transfer,
html[data-theme="dark"] .kh-domain-transfer form,
html[data-theme="dark"] .kh-domain-transfer form > div,
html[data-theme="dark"] .kh-domain-transfer__steps span,
html[data-theme="dark"] .kh-domain-result,
html[data-theme="dark"] .kh-account-type-switch label > span,
html[data-theme="dark"] .kh-domain-operation-switch label > span,
html[data-theme="dark"] .kh-blog-search > div,
html[data-theme="dark"] .kh-empty-state,
html[data-theme="dark"] .kh-confirmation-panel,
html[data-theme="dark"] .kh-button--ghost,
html[data-theme="dark"] .kh-inline-check,
html[data-theme="dark"] .kh-cart-config,
html[data-theme="dark"] .kh-checkout-section-band,
html[data-theme="dark"] .kh-payment-option.is-selected,
html[data-theme="dark"] .kh-summary-assurance,
html[data-theme="dark"] .kh-result-summary > div,
html[data-theme="dark"] .kh-result-next li,
html[data-theme="dark"] .kh-order-progress li > span,
html[data-theme="dark"] .kh-service-row,
html[data-theme="dark"] .kh-checkout-card-choice,
html[data-theme="dark"] .kh-vault-status,
html[data-theme="dark"] .kh-service-autopay,
html[data-theme="dark"] .kh-autopay-toggle,
html[data-theme="dark"] .customers-reviews-con .white-box,
html[data-theme="dark"] .empowering-journy-con .white-box,
html[data-theme="dark"] .managed-con .white-box {
    border-color: var(--kh-theme-border);
    background: var(--kh-theme-surface-soft);
    color: var(--kh-theme-text);
    box-shadow: none;
}

html[data-theme="dark"] .kh-category-tabs button:hover,
html[data-theme="dark"] .kh-category-tabs button:focus-visible,
html[data-theme="dark"] .kh-hosting-platform-filter button:hover,
html[data-theme="dark"] .kh-hosting-platform-filter button:focus-visible,
html[data-theme="dark"] .kh-account-type-switch input:checked + span,
html[data-theme="dark"] .kh-domain-operation-switch input:checked + span {
    border-color: var(--kh-theme-purple);
    background: var(--kh-theme-purple-soft);
    color: #e5b0f2;
}

html[data-theme="dark"] :where(
    .kh-wheel-copy h1,
    .kh-wheel-machine__title strong,
    .kh-wheel-terms h2,
    .kh-domain-owner-summary h2,
    .kh-domain-owner-price,
    .kh-cross-sell__copy h2,
    .kh-cross-sell__copy h3,
    .kh-blog-recommended h2,
    .kh-blog-section-heading h2,
    .kh-section-heading h2,
    .kh-service-family h3,
    .kh-cookie-banner__copy strong,
    .kh-cookie-modal__heading h2,
    .kh-cookie-option strong,
    .kh-not-found h1,
    .kh-checkout-card-choice strong,
    .kh-vault-status strong,
    .kh-service-autopay strong,
    .kh-autopay-toggle strong) {
    color: var(--kh-theme-text) !important;
}

html[data-theme="dark"] :where(
    .kh-wheel-copy > p,
    .kh-wheel-benefits small,
    .kh-wheel-action small,
    .kh-wheel-right-expiry,
    .kh-plan-catalog-card small,
    .kh-not-found p,
    .kh-checkout-card-choice span,
    .kh-vault-status span,
    .kh-service-autopay span,
    .kh-autopay-toggle span) {
    color: var(--kh-theme-text-soft) !important;
}

html[data-theme="dark"] .kh-blog-card footer a,
html[data-theme="dark"] .kh-service-family__icon,
html[data-theme="dark"] .kh-not-found__icon {
    border-color: var(--kh-theme-border);
    background: var(--kh-theme-purple-soft);
    color: #dda5eb;
}

html[data-theme="dark"] .kh-not-found__icon {
    background: var(--kh-theme-teal-soft);
    color: #72ddd6;
}

html[data-theme="dark"] .contact-form-con form :where(input, textarea) {
    border-color: var(--kh-theme-border-strong) !important;
    background: var(--kh-theme-surface-soft) !important;
    color: var(--kh-theme-text) !important;
}

html[data-theme="dark"] #main-content > :where(h3, p, code) {
    color: var(--kh-theme-text);
}

/* KVKK ve sozlesme sayfalari da okunakli bir dokuman yuzeyi kullanir. */
html[data-theme="dark"] .legal-toc,
html[data-theme="dark"] .legal-content,
html[data-theme="dark"] .legal-table-wrap,
html[data-theme="dark"] .legal-table,
html[data-theme="dark"] .legal-contact a,
html[data-theme="dark"] .legal-contact span {
    border-color: var(--kh-theme-border);
    background: var(--kh-theme-surface);
    color: var(--kh-theme-text);
    box-shadow: var(--kh-theme-shadow);
}

html[data-theme="dark"] .legal-section,
html[data-theme="dark"] .legal-table th,
html[data-theme="dark"] .legal-table td {
    border-color: var(--kh-theme-border);
}

html[data-theme="dark"] .legal-table th {
    background: var(--kh-theme-surface-soft);
    color: var(--kh-theme-text);
}

html[data-theme="dark"] .legal-toc h2,
html[data-theme="dark"] .legal-section h2,
html[data-theme="dark"] .legal-section h3,
html[data-theme="dark"] .legal-contact strong {
    color: var(--kh-theme-text);
}

html[data-theme="dark"] .legal-updated,
html[data-theme="dark"] .legal-section p,
html[data-theme="dark"] .legal-section li,
html[data-theme="dark"] .legal-table td {
    color: var(--kh-theme-text-soft);
}

html[data-theme="dark"] .legal-toc a {
    color: #d69be8;
}

html[data-theme="dark"] .legal-notice {
    border-color: #765188;
    background: var(--kh-theme-purple-soft);
    color: var(--kh-theme-text-soft);
}

html[data-theme="dark"] .legal-notice--teal {
    border-color: #2b7773;
    background: var(--kh-theme-teal-soft);
}

/* Alan adi fiyat ve sahiplik rehberleri icin tek bir koyu renk sozlugu. */
html[data-theme="dark"] .kh-domain-guide {
    --kh-guide-ink: var(--kh-theme-text);
    --kh-guide-copy: var(--kh-theme-text-soft);
    --kh-guide-line: var(--kh-theme-border);
    --kh-guide-brand: #d18ae3;
    --kh-guide-brand-dark: #e6b2f2;
    --kh-guide-teal: #54d4cd;
    --kh-guide-soft: var(--kh-theme-surface-soft);
}

html[data-theme="dark"] .kh-domain-guide__intro,
html[data-theme="dark"] .kh-domain-guide__band,
html[data-theme="dark"] .kh-domain-guide__security {
    background: var(--kh-theme-page);
}

html[data-theme="dark"] .kh-domain-guide__price-table,
html[data-theme="dark"] .kh-domain-guide__price-row,
html[data-theme="dark"] .kh-domain-guide__query-link,
html[data-theme="dark"] .kh-domain-guide__empty,
html[data-theme="dark"] .kh-domain-guide__choice-grid article,
html[data-theme="dark"] .kh-domain-guide__faq .kh-faq article,
html[data-theme="dark"] .kh-domain-guide__owner-grid article,
html[data-theme="dark"] .kh-domain-guide__data-grid article,
html[data-theme="dark"] .kh-domain-guide__security-grid > ul {
    border-color: var(--kh-theme-border);
    background: var(--kh-theme-surface);
    color: var(--kh-theme-text);
    box-shadow: var(--kh-theme-shadow);
}

html[data-theme="dark"] .kh-domain-guide__price-row:hover {
    background: var(--kh-theme-surface-soft);
}

html[data-theme="dark"] .kh-domain-guide__notice,
html[data-theme="dark"] .kh-domain-guide__summary {
    background: var(--kh-theme-teal-soft);
}

html[data-theme="dark"] .kh-domain-guide__notice p,
html[data-theme="dark"] .kh-domain-guide__notice strong,
html[data-theme="dark"] .kh-domain-guide__summary li,
html[data-theme="dark"] .kh-domain-guide__owner-grid article > ul li,
html[data-theme="dark"] .kh-domain-guide__security-grid li,
html[data-theme="dark"] .kh-domain-guide__highlights span,
html[data-theme="dark"] .kh-domain-guide__amount small,
html[data-theme="dark"] .kh-domain-guide__extension small {
    color: var(--kh-theme-text-soft);
}

html[data-theme="dark"] .kh-domain-guide__extension-icon,
html[data-theme="dark"] .kh-domain-guide__empty > i,
html[data-theme="dark"] .kh-domain-guide__choice-grid i,
html[data-theme="dark"] .kh-domain-guide__owner-heading > i,
html[data-theme="dark"] .kh-domain-guide__data-grid article > span {
    background: var(--kh-theme-purple-soft);
    color: #d18ae3;
}

/* Klavye kullanan ziyaretci tema dugmesinin odagini net olarak gorur. */
.kh-site-header .kh-theme-toggle:focus-visible,
.payment-brand .kh-theme-toggle:focus-visible {
    border-color: var(--kh-header-teal, #159a92);
    outline: 3px solid rgba(21, 154, 146, .32);
    outline-offset: 2px;
}

@media (forced-colors: active) {
    .kh-site-header .kh-theme-toggle,
    .payment-brand .kh-theme-toggle {
        border-color: ButtonText;
    }
}

/* Footer koyu temada ana sayfadan kopmadan daha sakin bir katman olur. */
html[data-theme="dark"] .kh-site-footer {
    border-top: 1px solid var(--kh-theme-border);
    background: #141822 !important;
}

html[data-theme="dark"] .kh-site-footer h2,
html[data-theme="dark"] .kh-site-footer a,
html[data-theme="dark"] .kh-site-footer .kh-footer-command,
html[data-theme="dark"] .kh-site-footer__bottom p {
    color: #c4cbd7;
}

html[data-theme="dark"] .kh-site-footer h2 {
    color: #f2f4f8;
}

html[data-theme="dark"] .kh-site-footer a:hover,
html[data-theme="dark"] .kh-site-footer a:focus-visible,
html[data-theme="dark"] .kh-site-footer .kh-footer-command:hover,
html[data-theme="dark"] .kh-site-footer .kh-footer-command:focus-visible {
    color: #63d8d2;
}

html[data-theme="dark"] .kh-site-footer__bottom {
    border-color: var(--kh-theme-border);
}

html[data-theme="dark"] .kh-site-footer img {
    filter: brightness(0) invert(.82);
}

/* Layout kullanmayan banka test ekrani da ayni tema tercihini izler. */
html[data-theme="dark"] body:has(.payment-shell) {
    background: var(--kh-theme-page);
    color: var(--kh-theme-text);
}

html[data-theme="dark"] .payment-brand {
    border-color: var(--kh-theme-border);
}

html[data-theme="dark"] .payment-brand__secure,
html[data-theme="dark"] .payment-heading p,
html[data-theme="dark"] .security-copy,
html[data-theme="dark"] .payment-summary__total > span,
html[data-theme="dark"] .payment-summary li small,
html[data-theme="dark"] .card-detection {
    color: var(--kh-theme-text-soft);
}

html[data-theme="dark"] .payment-brand__back {
    color: #d18ae3;
}

html[data-theme="dark"] .test-notice,
html[data-theme="dark"] .payment-card,
html[data-theme="dark"] .payment-summary {
    border-color: var(--kh-theme-border);
    background: var(--kh-theme-surface);
    color: var(--kh-theme-text);
    box-shadow: var(--kh-theme-shadow);
}

html[data-theme="dark"] .field input,
html[data-theme="dark"] .card-detection {
    border-color: var(--kh-theme-border-strong);
    background: var(--kh-theme-surface-soft);
    color: var(--kh-theme-text);
}

html[data-theme="dark"] .card-detection__network,
html[data-theme="dark"] .payment-summary__top > span {
    background: var(--kh-theme-purple-soft);
    color: #dc9cec;
}

html[data-theme="dark"] .security-copy,
html[data-theme="dark"] .payment-summary__total {
    border-color: var(--kh-theme-border);
}

html[data-theme="dark"] .security-copy strong,
html[data-theme="dark"] .payment-summary > strong,
html[data-theme="dark"] .payment-summary li strong {
    color: var(--kh-theme-text);
}

/*
 * Guncel destek merkezi kendi acik tema renklerini tanimlar. Asagidaki
 * seciciler yalniz bu calisma alanini hedefler; mesaj yonleri ve durum
 * renkleri korunurken beyaz yuzey ile siyah metin cakismasi engellenir.
 */
html[data-theme="dark"] .kh-helpdesk-page {
    background: var(--kh-theme-page);
    color: var(--kh-theme-text);
}

html[data-theme="dark"] :where(
    .kh-helpdesk-stats,
    .kh-helpdesk-admin-metrics,
    .kh-helpdesk-ticket-panel,
    .kh-helpdesk-new-ticket,
    .kh-helpdesk-queue,
    .kh-helpdesk-shell,
    .kh-helpdesk-inbox__header,
    .kh-helpdesk-thread,
    .kh-helpdesk-thread__header,
    .kh-helpdesk-composer,
    .kh-helpdesk-composer__box,
    .kh-helpdesk-case-info > header,
    .kh-helpdesk-filter-clear) {
    border-color: var(--kh-theme-border);
    background: var(--kh-theme-surface);
    color: var(--kh-theme-text);
    box-shadow: var(--kh-theme-shadow);
}

html[data-theme="dark"] :where(
    .kh-helpdesk-inbox,
    .kh-helpdesk-messages,
    .kh-helpdesk-composer__box > footer,
    .kh-helpdesk-thread__closed,
    .kh-helpdesk-case-info,
    .kh-helpdesk-queue__filters,
    .kh-helpdesk-mobile-summary,
    .kh-helpdesk-security,
    .kh-helpdesk-case-info__note) {
    border-color: var(--kh-theme-border);
    background: var(--kh-theme-surface-soft);
    color: var(--kh-theme-text-soft);
}

html[data-theme="dark"] :where(
    .kh-helpdesk-stats > div + div,
    .kh-helpdesk-admin-metrics > article + article,
    .kh-helpdesk-panel-title,
    .kh-helpdesk-queue__header,
    .kh-helpdesk-ticket-item,
    .kh-helpdesk-new-ticket > form > header,
    .kh-helpdesk-inbox__header,
    .kh-helpdesk-inbox__item,
    .kh-helpdesk-thread__header,
    .kh-helpdesk-composer,
    .kh-helpdesk-composer__box > footer,
    .kh-helpdesk-thread__closed,
    .kh-helpdesk-case-info,
    .kh-helpdesk-case-info > header,
    .kh-helpdesk-case-info dl > div,
    .kh-helpdesk-queue__filters,
    .kh-helpdesk-queue__columns,
    .kh-helpdesk-queue-item) {
    border-color: var(--kh-theme-border);
}

html[data-theme="dark"] :where(
    .kh-helpdesk-home__header h1,
    .kh-helpdesk-admin-header h1,
    .kh-helpdesk-stats strong,
    .kh-helpdesk-admin-metrics strong,
    .kh-helpdesk-panel-title h2,
    .kh-helpdesk-queue__header h2,
    .kh-helpdesk-new-ticket h2,
    .kh-helpdesk-ticket-item__content > strong,
    .kh-helpdesk-ticket-item__message b,
    .kh-helpdesk-empty h3,
    .kh-helpdesk-breadcrumb strong,
    .kh-helpdesk-inbox__header span,
    .kh-helpdesk-inbox__body b,
    .kh-helpdesk-thread__identity h1,
    .kh-helpdesk-message__group > header strong,
    .kh-helpdesk-composer > label,
    .kh-helpdesk-composer__count b,
    .kh-helpdesk-thread__closed strong,
    .kh-helpdesk-case-info h2,
    .kh-helpdesk-case-info dd,
    .kh-helpdesk-queue-item__case strong,
    .kh-helpdesk-queue-item__customer strong,
    .kh-helpdesk-queue-item__route strong,
    .kh-helpdesk-queue-item__time strong) {
    color: var(--kh-theme-text);
}

html[data-theme="dark"] :where(
    .kh-helpdesk-home__header p,
    .kh-helpdesk-admin-header p,
    .kh-helpdesk-stats small,
    .kh-helpdesk-admin-metrics small,
    .kh-helpdesk-panel-title p,
    .kh-helpdesk-queue__header p,
    .kh-helpdesk-new-ticket header p,
    .kh-helpdesk-panel-title > span,
    .kh-helpdesk-queue__header > span,
    .kh-helpdesk-ticket-item__message,
    .kh-helpdesk-ticket-item__meta,
    .kh-helpdesk-empty p,
    .kh-helpdesk-breadcrumb,
    .kh-helpdesk-inbox__header strong,
    .kh-helpdesk-inbox__body time,
    .kh-helpdesk-inbox__body small,
    .kh-helpdesk-day,
    .kh-helpdesk-message__group > header time,
    .kh-helpdesk-message__group > small,
    .kh-helpdesk-composer__box > footer > span:first-child,
    .kh-helpdesk-composer__count,
    .kh-helpdesk-thread__closed span,
    .kh-helpdesk-case-info header p,
    .kh-helpdesk-case-info dt,
    .kh-helpdesk-case-info__note p,
    .kh-helpdesk-status-select,
    .kh-helpdesk-queue__columns,
    .kh-helpdesk-queue-item__case small,
    .kh-helpdesk-queue-item__customer small,
    .kh-helpdesk-queue-item__route small,
    .kh-helpdesk-queue-item__time small) {
    color: var(--kh-theme-text-soft);
}

html[data-theme="dark"] .kh-helpdesk-message__bubble {
    border-color: var(--kh-theme-border-strong);
    background: var(--kh-theme-surface-raised);
    color: var(--kh-theme-text);
    box-shadow: 0 5px 15px rgba(0, 0, 0, .18);
}

html[data-theme="dark"] .kh-helpdesk-message.is-outbound .kh-helpdesk-message__bubble {
    border-color: #a75bc0;
    background: #6c2785;
    color: #fff;
}

html[data-theme="dark"] :where(
    .kh-helpdesk-new-ticket input,
    .kh-helpdesk-new-ticket select,
    .kh-helpdesk-new-ticket textarea,
    .kh-helpdesk-composer textarea,
    .kh-helpdesk-status-select select,
    .kh-helpdesk-queue__filters input,
    .kh-helpdesk-queue__filters select) {
    border-color: var(--kh-theme-border-strong);
    background: var(--kh-theme-surface-raised);
    color: var(--kh-theme-text);
}

html[data-theme="dark"] :where(
    .kh-helpdesk-ticket-item > a:hover,
    .kh-helpdesk-ticket-item > a:focus-visible,
    .kh-helpdesk-inbox__item:hover,
    .kh-helpdesk-inbox__item:focus-visible,
    .kh-helpdesk-queue-item > a:hover,
    .kh-helpdesk-queue-item > a:focus-visible) {
    background: #2b2435;
}

html[data-theme="dark"] .kh-helpdesk-inbox__item.is-active {
    background: #342640;
    box-shadow: inset 3px 0 #c276dc;
}

html[data-theme="dark"] .kh-helpdesk-day::before,
html[data-theme="dark"] .kh-helpdesk-day::after {
    background: var(--kh-theme-border);
}

/* Kayitli kart ve otomatik odeme satirlarindaki sabit koyu metinler. */
html[data-theme="dark"] :where(
    .kh-wallet-empty strong,
    .kh-wallet-enrollment strong,
    .kh-checkout-vault-note strong,
    .kh-wallet-card strong,
    .kh-service-autopay strong,
    .kh-autopay-toggle strong) {
    color: var(--kh-theme-text);
}

html[data-theme="dark"] :where(
    .kh-wallet-empty p,
    .kh-wallet-enrollment span,
    .kh-checkout-vault-note span,
    .kh-wallet-card small) {
    color: var(--kh-theme-text-soft);
}

/* Ana sayfanin ozellik basliklari eski siyah rengini koyu temaya tasimaz. */
html[data-theme="dark"] .hosting-features-con .heading-title-con h2,
html[data-theme="dark"] .hosting-features-con .feature-box :where(h3, h4) {
    color: var(--kh-theme-text) !important;
}

html[data-theme="dark"] .hosting-features-con .heading-title-con p,
html[data-theme="dark"] .hosting-features-con .feature-box p {
    color: var(--kh-theme-text-soft) !important;
}

@media (max-width: 1279.98px) {
    .kh-site-header .kh-theme-toggle {
        width: 44px;
        min-width: 44px;
        height: 44px;
        flex-basis: 44px;
    }
}

@media (max-width: 991.98px) {
    html[data-theme="dark"] .kh-site-header .navbar-collapse.collapse,
    html[data-theme="dark"] .kh-site-header .navbar-collapse.collapsing {
        border-color: var(--kh-theme-border-strong);
        background: #1b202d;
    }

    html[data-theme="dark"] .kh-site-header .navbar-light .kh-primary-nav .nav-link {
        border-color: var(--kh-theme-border);
        background: var(--kh-theme-surface);
    }

    html[data-theme="dark"] .kh-panel-nav {
        border-color: var(--kh-theme-border);
        background: var(--kh-theme-surface);
    }

    html[data-theme="dark"] body.kh-mobile-nav-open::before {
        background: rgba(5, 7, 12, .72);
    }
}

@media (max-width: 379.98px) {
    .kh-site-header .kh-theme-toggle,
    .kh-site-header .kh-header-action.kh-header-icon-link,
    .kh-site-header .navbar-toggler {
        width: 40px;
        min-width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

}

@media (prefers-reduced-motion: reduce) {
    .kh-site-header .kh-theme-toggle {
        transition: none;
    }
}

/*
 * Kapsamli koyu tema kontrast duzeltmeleri.
 * Sayfaya ozel stillerde kalan sabit acik tema renkleri burada ezilir;
 * yerlesim ve bilesen boyutlari degistirilmez.
 */
html[data-theme="dark"] :where(
    .special-text.purple-text,
    .kh-kicker,
    .kh-service-family__type,
    .kh-plan-family,
    .kh-domain-pricing .special-text,
    .kh-domain-transfer .special-text,
    .kh-domain-guide .special-text,
    .kh-blog-index .special-text,
    .kh-blog-article .special-text,
    .kh-wheel-page .special-text) {
    color: #d99bea !important;
}

/* Hizmet dizini: kart govdesi, teknik maddeler ve metin baglantilari. */
html[data-theme="dark"] .kh-services-directory :where(
    .kh-service-family p,
    .kh-service-family li,
    .kh-services-route small,
    .kh-services-cta p) {
    color: var(--kh-theme-text-soft) !important;
}

html[data-theme="dark"] .kh-services-directory :where(
    .kh-service-family h3,
    .kh-services-route strong,
    .kh-services-cta h2) {
    color: var(--kh-theme-text) !important;
}

html[data-theme="dark"] .kh-services-directory .kh-service-family > a {
    color: #dda5eb !important;
}

html[data-theme="dark"] .kh-services-directory .kh-service-family ul {
    border-color: var(--kh-theme-border);
}

/* Paket katalogu: kategori rengi kart metninin okunurlugunu dusurmez. */
html[data-theme="dark"] .kh-product-grid .kh-plan-catalog-card :where(
    .kh-plan-family,
    .kh-category-badge,
    em) {
    color: #d99bea !important;
}

html[data-theme="dark"] .kh-product-grid .kh-plan-catalog-card :where(
    h2,
    h3,
    .kh-plan-price strong,
    .kh-spec-list dd) {
    color: var(--kh-theme-text) !important;
}

html[data-theme="dark"] .kh-product-grid .kh-plan-catalog-card :where(
    p,
    small,
    .kh-spec-list dt) {
    color: var(--kh-theme-text-soft) !important;
}

html[data-theme="dark"] .kh-product-grid .kh-plan-catalog-card :where(
    .kh-product-icon,
    .kh-category-badge) {
    border-color: #5f4769;
    background: var(--kh-theme-purple-soft) !important;
}

/* Alan adi arama, fiyat, sahiplik ve transfer sayfalari. */
html[data-theme="dark"] :where(
    .kh-domain-pricing,
    .kh-domain-faq-section,
    .kh-domain-transfer,
    .kh-domain-owner-page,
    .kh-domain-results-section,
    .kh-domain-price-section,
    .kh-domain-guide) :where(h1, h2, h3, h4, strong, dt) {
    color: var(--kh-theme-text) !important;
}

html[data-theme="dark"] :where(
    .kh-domain-pricing,
    .kh-domain-faq-section,
    .kh-domain-transfer,
    .kh-domain-owner-page,
    .kh-domain-results-section,
    .kh-domain-price-section,
    .kh-domain-guide) :where(p, li, small, dd, figcaption) {
    color: var(--kh-theme-text-soft) !important;
}

html[data-theme="dark"] .kh-domain-price-actions a.is-secondary {
    border-color: #80508f;
    background: var(--kh-theme-surface-soft) !important;
    color: #e1aaef !important;
}

html[data-theme="dark"] :where(
    .kh-domain-guide__summary-icon,
    .kh-domain-guide__security-grid i,
    .kh-domain-guide__highlights i) {
    background: var(--kh-theme-teal-soft) !important;
    color: #6edfd8 !important;
}

/* Blog liste ve makale sayfalarinda basliklar ile meta metinleri. */
html[data-theme="dark"] :where(.kh-blog-index, .kh-blog-article) :where(
    h1,
    h2,
    h3,
    h4,
    strong,
    .kh-blog-card h3 a,
    .kh-blog-featured h2 a) {
    color: var(--kh-theme-text) !important;
}

html[data-theme="dark"] :where(.kh-blog-index, .kh-blog-article) :where(
    p,
    li,
    time,
    small,
    figcaption) {
    color: var(--kh-theme-text-soft) !important;
}

html[data-theme="dark"] .kh-blog-category {
    border: 1px solid #2d706c;
    background: var(--kh-theme-teal-soft) !important;
    color: #79e1dc !important;
}

html[data-theme="dark"] .kh-blog-search input {
    background: transparent !important;
}

/*
 * Blog detaylarındaki SSS basliklari ile hizmet sayfalarindaki SEO metinleri,
 * eski acik tema renklerini dogrudan tanimliyordu. Bu katman mobil ve masaustu
 * gece modunda baslik, aciklama ve kart yuzeylerini birlikte okunur tutar.
 */
html[data-theme="dark"] .kh-blog-article .kh-blog-faq summary {
    color: var(--kh-theme-text) !important;
}

html[data-theme="dark"] .kh-blog-article .kh-blog-faq details[open] summary {
    color: #e2a4f1 !important;
}

html[data-theme="dark"] .kh-blog-article .kh-blog-faq p {
    color: var(--kh-theme-text-soft) !important;
}

html[data-theme="dark"] .kh-seo-content :where(h1, h2, h3, h4, strong, dt) {
    color: var(--kh-theme-text) !important;
}

html[data-theme="dark"] .kh-seo-content :where(p, li, dd, small) {
    color: var(--kh-theme-text-soft) !important;
}

html[data-theme="dark"] .kh-seo-content .kh-faq > article {
    border-color: var(--kh-theme-border) !important;
    background: var(--kh-theme-surface) !important;
    box-shadow: none !important;
}

html[data-theme="dark"] .kh-seo-content .kh-faq > article > h3 {
    color: var(--kh-theme-text) !important;
}

html[data-theme="dark"] .kh-seo-content .kh-faq > article > p {
    color: var(--kh-theme-text-soft) !important;
}

/* Giris ve kayit akislari. */
html[data-theme="dark"] .kh-auth-page :where(h1, h2, h3, strong, label) {
    color: var(--kh-theme-text) !important;
}

html[data-theme="dark"] .kh-auth-page :where(p, small, .kh-auth-help, .kh-password-rule, .kh-inline-check span) {
    color: var(--kh-theme-text-soft) !important;
}

html[data-theme="dark"] .kh-auth-page :where(.kh-inline-check, .kh-consent-row, .kh-auth-notice) {
    border-color: var(--kh-theme-border);
    background: var(--kh-theme-surface-soft) !important;
}

/* Sepet ve odeme ust bandi acik arka plan uzerinde beyaz metin birakmaz. */
html[data-theme="dark"] .kh-purchase-hero,
html[data-theme="dark"] .kh-commerce-hero--compact:not(.kh-service-banner) {
    border-color: var(--kh-theme-border);
    background: #171c29 !important;
}

html[data-theme="dark"] .kh-purchase-hero :where(h1, h2, strong),
html[data-theme="dark"] .kh-commerce-hero--compact:not(.kh-service-banner) :where(h1, h2, strong) {
    color: var(--kh-theme-text) !important;
}

html[data-theme="dark"] .kh-purchase-hero :where(p, small),
html[data-theme="dark"] .kh-commerce-hero--compact:not(.kh-service-banner) :where(p, small) {
    color: var(--kh-theme-text-soft) !important;
}

html[data-theme="dark"] :where(
    .kh-cart-item,
    .kh-order-summary,
    .kh-checkout-section,
    .kh-checkout-section-band,
    .kh-payment-option,
    .kh-checkout-card-choice,
    .kh-summary-assurance) :where(h2, h3, h4, strong, dt, label) {
    color: var(--kh-theme-text) !important;
}

html[data-theme="dark"] :where(
    .kh-cart-item,
    .kh-order-summary,
    .kh-checkout-section,
    .kh-checkout-section-band,
    .kh-payment-option,
    .kh-checkout-card-choice,
    .kh-summary-assurance) :where(p, small, dd, span) {
    color: var(--kh-theme-text-soft);
}

/* Cark sayfasindaki ek hak karti ve bilgilendirme alanlari. */
html[data-theme="dark"] .kh-wheel-credit-offer {
    border-color: var(--kh-theme-border);
    background: var(--kh-theme-surface) !important;
}

html[data-theme="dark"] .kh-wheel-credit-offer :where(h3, strong) {
    color: var(--kh-theme-text) !important;
}

html[data-theme="dark"] .kh-wheel-credit-offer :where(p, small) {
    color: var(--kh-theme-text-soft) !important;
}

html[data-theme="dark"] .kh-wheel-credit-offer__copy > span {
    color: #dda5eb !important;
}

html[data-theme="dark"] :where(.kh-wheel-benefits i, .kh-wheel-credit-offer__icon) {
    border-color: #654870;
    background: var(--kh-theme-purple-soft) !important;
    color: #e0a7ed !important;
}

/* Yasal dokumanlarda baglantilar koyu zeminde mor-siyah kalmaz. */
html[data-theme="dark"] :where(.legal-page, .legal-content, .legal-section, .legal-contact) a {
    color: #dda5eb !important;
    text-decoration-color: rgba(221, 165, 235, .55);
}

html[data-theme="dark"] :where(.legal-page, .legal-content, .legal-section, .legal-contact) a:hover,
html[data-theme="dark"] :where(.legal-page, .legal-content, .legal-section, .legal-contact) a:focus-visible {
    color: #74ddd7 !important;
}

/* Musteri paneli, destek, kart ve tablo ikincil metinleri. */
html[data-theme="dark"] :where(.kh-panel-page, .kh-helpdesk-page, .kh-support-records-page, .kh-support-detail-page) :where(
    h1,
    h2,
    h3,
    h4,
    strong,
    dt,
    th) {
    color: var(--kh-theme-text) !important;
}

html[data-theme="dark"] :where(.kh-panel-page, .kh-helpdesk-page, .kh-support-records-page, .kh-support-detail-page) :where(
    p,
    small,
    dd,
    td,
    time) {
    color: var(--kh-theme-text-soft) !important;
}

html[data-theme="dark"] :where(
    .kh-wallet-page,
    .kh-wallet-section,
    .kh-wallet-card,
    .kh-wallet-empty,
    .kh-wallet-enrollment,
    .kh-service-autopay,
    .kh-autopay-toggle) {
    border-color: var(--kh-theme-border);
    background: var(--kh-theme-surface) !important;
    color: var(--kh-theme-text);
}

/* Footer ve yuzen iletisim araclari her sayfada ayni kontrasti kullanir. */
html[data-theme="dark"] .kh-site-footer :where(a, button, p, address, li, span) {
    color: #c6ceda !important;
}

html[data-theme="dark"] .kh-site-footer :where(a, button):hover,
html[data-theme="dark"] .kh-site-footer :where(a, button):focus-visible {
    color: #6fe0da !important;
}

html[data-theme="dark"] :where(.wa-name, .wa-text, .kh-ai-note) {
    color: var(--kh-theme-text-soft) !important;
}

/* Parlak turkuaz butonlarda koyu yazi WCAG kontrastini korur. */
html[data-theme="dark"] :where(
    .primary-button a,
    .kh-service-banner .primary-button a,
    .contact-form-con button,
    .kh-domain-transfer .primary-button a) {
    color: #101827 !important;
}

html[data-theme="dark"] .kh-ai-badge {
    background: #0f6f68;
    color: #fff !important;
}

/* Sayfa kok siniflari, eski sayfa CSS'indeki sabit renkler icin son guvenlik katmanidir. */
html[data-theme="dark"] body.kh-page--hizmetler .kh-services-directory :where(p, li, small) {
    color: var(--kh-theme-text-soft) !important;
}

html[data-theme="dark"] body.kh-page--hizmetler .kh-services-directory :where(h1, h2, h3, h4, strong) {
    color: var(--kh-theme-text) !important;
}

html[data-theme="dark"] body.kh-page--hizmetler .kh-service-family > a {
    color: #dda5eb !important;
}

html[data-theme="dark"] body.kh-page--paketler .kh-plan-catalog-card :where(.kh-plan-family, .kh-category-badge, em) {
    color: #e0a7ed !important;
}

html[data-theme="dark"] body[class*="kh-page--alan-adi"] :where(
    .kh-domain-search-shell,
    .kh-domain-transfer,
    .kh-domain-owner-page,
    .kh-domain-guide,
    .kh-seo-content) :where(h1, h2, h3, h4, strong, dt) {
    color: var(--kh-theme-text) !important;
}

html[data-theme="dark"] body[class*="kh-page--alan-adi"] :where(
    .kh-domain-search-shell,
    .kh-domain-transfer,
    .kh-domain-owner-page,
    .kh-domain-guide,
    .kh-seo-content) :where(p, li, small, dd) {
    color: var(--kh-theme-text-soft) !important;
}

html[data-theme="dark"] body.kh-page--blog :where(.kh-blog-categories, .kh-blog-index, .kh-blog-recommended) a {
    color: #d6dbe5 !important;
}

html[data-theme="dark"] body.kh-page--blog :where(.kh-blog-read, .kh-blog-card__link) {
    color: #dda5eb !important;
}

html[data-theme="dark"] body.kh-page--blog :where(.kh-blog-card, .kh-blog-featured) p {
    color: var(--kh-theme-text-soft) !important;
}

html[data-theme="dark"] body[class*="kh-page--hesap-"] .kh-security-block {
    border-color: #2d7062;
    background: #173b33 !important;
}

html[data-theme="dark"] body[class*="kh-page--hesap-"] .kh-security-block :where(strong, span, p) {
    color: #d7eee8 !important;
}

/* Aktif hesap/sepet dugmesi parlak mor yerine okunakli koyu mor kullanir. */
html[data-theme="dark"] .kh-site-header .kh-header-action.is-current {
    border-color: #9e55b6;
    background: #5e2a72;
    color: #fff;
}

html[data-theme="dark"] .kh-site-header .kh-header-action.is-current .kh-header-action__copy small {
    color: #f1dff5;
}

/* Yerel tarayici denetimleri ve otomatik doldurma acik yuzey olusturmaz. */
html[data-theme="dark"] :where(option, optgroup) {
    background: #202634;
    color: var(--kh-theme-text);
}

html[data-theme="dark"] input:-webkit-autofill,
html[data-theme="dark"] input:-webkit-autofill:hover,
html[data-theme="dark"] input:-webkit-autofill:focus,
html[data-theme="dark"] textarea:-webkit-autofill,
html[data-theme="dark"] select:-webkit-autofill {
    -webkit-text-fill-color: var(--kh-theme-text);
    box-shadow: 0 0 0 1000px #202634 inset;
    caret-color: var(--kh-theme-text);
}

html[data-theme="dark"] :disabled,
html[data-theme="dark"] [aria-disabled="true"] {
    color: #929cac;
    opacity: .82;
}

html[data-theme="dark"] ::selection {
    background: #744187;
    color: #fff;
}

/*
 * Iletisim kartlari eski tema dosyasindan sabit siyah metin devralir.
 * Baslik, baglanti ve aciklamalar burada tek bir koyu tema kontrastina alinır.
 */
html[data-theme="dark"] .contact-help-con .heading-title-con h2,
html[data-theme="dark"] .contact-help-con .white-box h4 {
    color: var(--kh-theme-text) !important;
}

html[data-theme="dark"] .contact-help-con .white-box :where(li, a) {
    color: var(--kh-theme-text-soft) !important;
}

html[data-theme="dark"] .contact-help-con .white-box a:hover,
html[data-theme="dark"] .contact-help-con .white-box a:focus-visible {
    color: #74ddd7 !important;
}

/* Hakkimizda sayfasinin eski sabit renkleri JS kok sinifina bagli kalmaz. */
html[data-theme="dark"] .empowering-journy-con .feature-content h4,
html[data-theme="dark"] .why-choose-us-con .white-box h4 {
    color: var(--kh-theme-text) !important;
}

html[data-theme="dark"] .empowering-journy-con .feature-content p,
html[data-theme="dark"] .why-choose-us-con .white-box p {
    color: var(--kh-theme-text-soft) !important;
}

/* Blog yan cubugundaki kucuk kartlar da okunabilir bir metin hiyerarsisi kullanir. */
html[data-theme="dark"] .kh-blog-sidebar > section > a :where(b, strong, h3, h4) {
    color: var(--kh-theme-text) !important;
}

html[data-theme="dark"] .kh-blog-sidebar > section > a :where(small, span, p) {
    color: var(--kh-theme-text-soft) !important;
}

/* Asistanin hizli soru seridi koyu panel icinde beyaz bir bant olusturmaz. */
html[data-theme="dark"] .kh-ai-quick-list {
    border-top: 1px solid var(--kh-theme-border);
    border-bottom: 1px solid var(--kh-theme-border);
    background: var(--kh-theme-surface-raised) !important;
}

html[data-theme="dark"] .kh-ai-quick {
    border-color: #465064 !important;
    background: var(--kh-theme-surface-soft) !important;
    color: var(--kh-theme-text) !important;
}

html[data-theme="dark"] .kh-ai-quick:hover,
html[data-theme="dark"] .kh-ai-quick:focus-visible {
    border-color: #8c5d9d !important;
    background: #30243a !important;
    color: #f2d8f8 !important;
}

html[data-theme="dark"] .kh-ai-form input {
    border-color: var(--kh-theme-border-strong);
    background: var(--kh-theme-surface-soft);
    color: var(--kh-theme-text);
}

html[data-theme="dark"] .kh-ai-form input::placeholder {
    color: var(--kh-theme-text-faint);
    opacity: 1;
}

html[data-theme="dark"] .kh-payment-result-reason {
    border-color: #704047;
    border-left-color: #ff9188;
    background: #342328;
    color: var(--kh-theme-text);
}

html[data-theme="dark"] .kh-payment-result-reason__icon {
    background: #4a292e;
    color: #ffaaa3;
}

html[data-theme="dark"] .kh-payment-result-reason strong {
    color: #ffc5c0;
}

html[data-theme="dark"] .kh-payment-result-reason p {
    color: #e0b5b3 !important;
}

/* Odeme sayfasindaki siparise ozel yasal kayit koyu temada tek yuzeyde kalir. */
html[data-theme="dark"] .kh-order-legal__intro,
html[data-theme="dark"] .kh-inline-check {
    border-color: var(--kh-theme-border) !important;
    background: var(--kh-theme-surface-soft) !important;
}

html[data-theme="dark"] .kh-order-legal__intro :where(strong, span),
html[data-theme="dark"] .kh-inline-check > span {
    color: var(--kh-theme-text) !important;
}

html[data-theme="dark"] .kh-order-legal__links a {
    border-color: var(--kh-theme-border) !important;
    background: var(--kh-theme-surface-raised) !important;
    color: #dda5eb !important;
}

html[data-theme="dark"] .kh-order-legal__links a:hover,
html[data-theme="dark"] .kh-order-legal__links a:focus-visible {
    border-color: #8c5d9d !important;
    background: #30243a !important;
}

/* Yenilenen alan adı sonuç başlığı ve durum kartlarının koyu tema karşılıkları. */
html[data-theme="dark"] .kh-domain-results-section {
    background:
        radial-gradient(circle at 10% 0%, rgba(60, 218, 193, .08), transparent 34%),
        var(--kh-theme-page);
}

html[data-theme="dark"] .kh-domain-results-header h2,
html[data-theme="dark"] .kh-domain-result-card__copy strong {
    color: var(--kh-theme-text) !important;
}

html[data-theme="dark"] .kh-domain-results-header__count,
html[data-theme="dark"] .kh-domain-result--wide.has-results .kh-domain-result-card {
    border-color: var(--kh-theme-border);
    background: var(--kh-theme-surface);
    color: var(--kh-theme-text);
}

html[data-theme="dark"] .kh-domain-results-header__count {
    color: var(--kh-theme-text-soft);
}

html[data-theme="dark"] .kh-domain-result-card.is-available {
    border-color: #285f55;
}

html[data-theme="dark"] .kh-domain-result-card.is-taken {
    border-color: #70423f;
}
