@import url("fonts.css");

/*
 * Geçiş360 kurumsal marka katmanı
 * Ana vurgu: #FD612B | Koyu vurgu: #D94716 | Nötr: #303030
 * Bu dosya pts-theme.css'ten sonra yüklenir ve uygulama genelindeki marka
 * rengini tek merkezden yönetir. Semantik başarı/hata renklerine dokunmaz.
 *
 * PROJE GENELİ SANS-SERIF TİPOGRAFİ SİSTEMİ
 * Projenin her yerinde modern, okunaklı sans-serif font ailesi zorunludur.
 */

:root {
    --gecis-font-sans: "Plus Jakarta Sans", "Inter", "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --default-font-family: var(--gecis-font-sans);
}

/* Tüm HTML etiketleri ve UI bileşenlerinde sans-serif tipografi */
html,
body,
button,
input,
select,
textarea,
optgroup,
table,
th,
td,
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
a,
label,
strong,
b,
em,
small,
div,
code,
pre,
kbd,
samp {
    font-family: "Plus Jakarta Sans", "Inter", "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

*,
*::before,
*::after {
    font-family: inherit;
}

/* 
 * İKON FONTLARINI KORUMA (RemixIcon, Feather, Tabler, Bootstrap, Boxicons, LineAwesome)
 * İkon gliflerinin bozulmaması için font-family değerleri korunur.
 */
[class^="ri-"], [class*=" ri-"], i[class*="ri-"], .ri-font-family {
    font-family: 'remixicon' !important;
}

/* Tabler ikonu `ti ti-<ad>` sınıfıyla yazılır. Genel "ti-" öneki seçicisi tema sınıflarına da (`ti-btn`, `ti-modal-…`) uyuyor,
   ilk sınıfı `ti-btn` olan bağlantı düğmelerinde yazıyı ikon yazı tipiyle çizip bozuyordu ("Canlı İzleme" → "Cı İ") */
.ti, i[class^="ti-"], i[class*=" ti-"] {
    font-family: 'tabler-icons' !important;
}

[class^="bi-"], [class*=" bi-"], i[class*="bi-"], .bi {
    font-family: 'bootstrap-icons' !important;
}

[class^="feather-"], [class*=" feather-"], i[class*="feather-"], .feather, [data-feather] {
    font-family: 'feather' !important;
}

[class^="bx-"], [class*=" bx-"], i[class*="bx-"], .bx {
    font-family: 'boxicons' !important;
}

[class^="la-"], [class*=" la-"], i[class*="la-"], .la, .las, .lab {
    font-family: 'Line Awesome Free' !important;
}

:root {
    --primary: 253 97 43;
    --primary-rgb: 253, 97, 43;
    --orange: 253 97 43;
    --gc-orange: #FD612B;
    --gc-orange-hover: #D94716;
    --gc-orange-deep: #B8370D;
    --gc-charcoal: #303030;
    --gc-charcoal-soft: #353535;
    --gc-surface: #FFFFFF;
    --gc-surface-soft: #F5F5F5;
    --gc-border: #D6DAE1;
    --gc-text: #252525;
    --pts-primary: #FD612B;
    --pts-primary-hover: #D94716;
}

/* Üst çubuk: beyaz yüzey, net turuncu kimlik çizgisi. */
header.app-header,
.app-header,
header#header,
[data-header-styles] .app-header {
    background: #FFFFFF !important;
    border-bottom: 3px solid var(--gc-orange) !important;
}

header.app-header .main-header-container .header-link-icon,
.app-header .main-header-container .header-link-icon,
#header .header-link-icon,
.app-header .sidebar-toggle,
#header .sidebar-toggle,
.app-header .header-link svg,
.app-header .header-link i,
#header .header-link svg,
#header .header-link i {
    color: var(--gc-orange) !important;
    stroke: var(--gc-orange) !important;
}

.app-header .animated-arrow span,
.app-header .animated-arrow span::before,
.app-header .animated-arrow span::after {
    background-color: var(--gc-orange) !important;
}

#header .header-content-left .sidemenu-toggle.header-link {
    border-color: var(--gc-border) !important;
    background: #FFFFFF !important;
    box-shadow: none !important;
}

/* Sağdaki düğmelerde çerçeveyi simge taşır; bağlantı ikinci bir çerçeve çizmez. */
#header .header-content-right .header-link:not(#mainHeaderProfile) {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

#header .header-content-right .header-link:not(#mainHeaderProfile):hover {
    background: transparent !important;
    transform: none !important;
}

#header .header-content-right .header-link:not(#mainHeaderProfile):hover .header-link-icon {
    border-color: var(--gc-orange) !important;
    background: var(--gc-orange) !important;
}

#header .header-content-left .sidemenu-toggle.header-link:hover {
    border-color: var(--gc-orange) !important;
    background: var(--gc-orange) !important;
    color: #FFFFFF !important;
    transform: none !important;
}

#header .header-content-left .sidemenu-toggle.header-link:hover *,
#header .header-content-right .header-link:not(#mainHeaderProfile):hover * {
    color: #FFFFFF !important;
    stroke: #FFFFFF !important;
}

/* Ana navigasyon koyu ve okunaklı kalır; aktif/hover kimliği turuncudur. */
[data-menu-styles="color"] .app-sidebar,
[data-menu-styles="color"] .main-sidebar-header {
    background: var(--gc-charcoal) !important;
}

[data-menu-styles="color"] .main-sidebar-header {
    border-bottom: 3px solid var(--gc-orange) !important;
}

[data-menu-styles="color"] .app-sidebar .side-menu__item:hover,
[data-menu-styles="color"] .app-sidebar .side-menu__item.active {
    background: var(--gc-orange) !important;
    color: #FFFFFF !important;
}

[data-menu-styles="color"] .app-sidebar .side-menu__item:hover .side-menu__icon,
[data-menu-styles="color"] .app-sidebar .side-menu__item.active .side-menu__icon,
[data-menu-styles="color"] .app-sidebar .side-menu__item:hover .side-menu__label,
[data-menu-styles="color"] .app-sidebar .side-menu__item.active .side-menu__label {
    color: #FFFFFF !important;
}

[data-menu-styles="color"] .app-sidebar .category-name {
    color: #E4E7EC !important;
}

/* Ortak aksiyonlar ve marka yardımcı sınıfları. */
.ti-btn-primary,
.ti-btn-primary-full,
.gc-pt__btn--primary {
    background: var(--gc-orange) !important;
    border-color: var(--gc-orange) !important;
    color: #FFFFFF !important;
}

.ti-btn-primary:hover,
.ti-btn-primary-full:hover,
.gc-pt__btn--primary:hover {
    background: var(--gc-orange-hover) !important;
    border-color: var(--gc-orange-hover) !important;
    color: #FFFFFF !important;
}

.text-primary,
a:not(.ti-btn):not(.side-menu__item):not(.header-link):not(.gc-alert-chip):not(.badge):not(.pk-badge):not(.gc-pt__btn):not(.pts-decision):not(.dash-quick):not(.gc-fc__item):not(.gc-setup-return):not(.gc-pt__status):not([class*="danger"]):not([class*="bg-danger"]):not([class*="alert-chip"]) {
    color: var(--gc-orange-deep);
}

a:not(.ti-btn):not(.side-menu__item):not(.header-link):not(.gc-alert-chip):not(.badge):not(.pk-badge):not(.gc-pt__btn):not(.pts-decision):not(.dash-quick):not(.gc-fc__item):not(.gc-setup-return):not(.gc-pt__status):not([class*="danger"]):not([class*="bg-danger"]):not([class*="alert-chip"]):hover {
    color: var(--gc-orange-hover);
}

/* Uyarı çipleri (a.gc-alert-chip): a etiketi genel bağlantı renginden etkilenmez, kendi kurumsal renklerini korur */
a.gc-alert-chip,
.gc-alert-chip {
    text-decoration: none !important;
}

/* ═══ Koyu Kırmızı / Bordo / Danger Zeminlerde Net Beyaz Yazı ve İkon Garantisi ═══ */
.gc-alert-chip--danger,
a.gc-alert-chip--danger,
.gc-alert-chip--danger *,
a.gc-alert-chip--danger *,
.pk-badge--danger,
a.pk-badge--danger,
.pk-badge--danger *,
a.pk-badge--danger *,
.gc-pt__status--danger,
a.gc-pt__status--danger,
.gc-pt__status--danger *,
a.gc-pt__status--danger *,
.pts-decision--denied,
a.pts-decision--denied,
.pts-decision--denied *,
a.pts-decision--denied *,
.badge.bg-danger,
.badge.bg-danger *,
.badge-danger,
.badge-danger *,
.gc-data-chip,
.gc-data-chip *,
.gc-pt__act-btn--delete,
.gc-pt__act-btn--delete *,
.ti-btn-danger,
.ti-btn-danger *,
.ti-btn-danger-full,
.ti-btn-danger-full *,
.alert-danger,
.alert-danger *,
[class*="bg-danger"]:not([class*="-transparent"]):not([class*="/10"]):not([class*="/20"]):not([class*="/0."]),
[class*="bg-danger"]:not([class*="-transparent"]):not([class*="/10"]):not([class*="/20"]):not([class*="/0."]) *,
[style*="background:#8B1028"],
[style*="background:#8B1028"] *,
[style*="background: #8B1028"],
[style*="background: #8B1028"] *,
[style*="background:#8b1028"],
[style*="background:#8b1028"] *,
[style*="background: #8b1028"],
[style*="background: #8b1028"] *,
[style*="background:#A8142F"],
[style*="background:#A8142F"] *,
[style*="background: #A8142F"],
[style*="background: #A8142F"] *,
[style*="background:#C0392B"],
[style*="background:#C0392B"] *,
[style*="background: #C0392B"],
[style*="background: #C0392B"] *,
[style*="background:#730C20"],
[style*="background:#730C20"] *,
[style*="background: #730C20"],
[style*="background: #730C20"] * {
    color: #FFFFFF !important;
    fill: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
}

a.gc-alert-chip--danger:hover,
a.gc-alert-chip--danger:hover *,
a.pk-badge--danger:hover,
a.pk-badge--danger:hover *,
a.gc-pt__status--danger:hover,
a.gc-pt__status--danger:hover *,
.gc-pt__act-btn--delete:hover,
.gc-pt__act-btn--delete:hover *,
.ti-btn-danger:hover,
.ti-btn-danger:hover *,
.ti-btn-danger-full:hover,
.ti-btn-danger-full:hover * {
    color: #FFFFFF !important;
    fill: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
}

.gc-alert-chip--warning,
a.gc-alert-chip--warning,
.gc-alert-chip--warning *,
a.gc-alert-chip--warning * {
    color: #1E293B !important;
    -webkit-text-fill-color: #1E293B !important;
}

.bg-primary {
    background-color: var(--gc-orange) !important;
}

.\!bg-primary {
    background-color: var(--gc-orange) !important;
}

.gc-mh__icon,
.gc-person__avatar,
.gcp-avatar {
    background: var(--gc-orange) !important;
    color: #FFFFFF !important;
}

.gc-mh__title,
.gc-person__new-title {
    color: var(--gc-text) !important;
}

.bg-primary\/10 {
    background-color: #F1F2F4 !important;
}

.scrollToTop,
.passage-mobile-shortcut .header-link {
    background: var(--gc-orange) !important;
    border-color: var(--gc-orange) !important;
    color: #FFFFFF !important;
}

.scrollToTop:hover {
    background: var(--gc-orange-hover) !important;
    border-color: var(--gc-orange-hover) !important;
}

/* Ana sayfa karşılama alanı: sıcak aydınlık zemin, net turuncu çizgi, düz tek renk (gradyansız, saydamsız). */
.gc-welcome,
.dash-welcome,
.guide-hero {
    background: #F8FAFC !important;
    border: 1px solid #CBD5E1 !important;
    border-inline-start: 5px solid var(--gc-orange) !important;
    border-radius: 12px !important;
}

/* Liste ve filtrelerde turuncu odak; nötr beyaz/gri yüzeyler korunur. */
.gc-pt,
.gc-filter,
.box {
    border-color: #CBD5E1;
}

.form-control:focus,
.ti-form-input:focus,
.ti-form-select:focus,
.choices.is-focused .choices__inner,
.choices.is-open .choices__inner {
    border-color: var(--gc-orange) !important;
    box-shadow: none !important;
    outline: 1px solid var(--gc-orange) !important;
}

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

/* Uygulama modüllerinde kalmış doğrudan antrasit marka vurguları. */
.pk-gauge__fill,
.pk-lot__fill,
.pk-dist__fill {
    background: var(--gc-orange) !important;
}

.pk-gate__verdict--in {
    border-inline-start-color: var(--gc-orange) !important;
    color: var(--gc-orange-deep) !important;
}

.pk-step__add:hover {
    border-color: var(--gc-orange) !important;
    background: #FFFFFF !important;
    color: var(--gc-orange-deep) !important;
}

::selection {
    background: var(--gc-orange);
    color: #FFFFFF;
}

:focus-visible {
    outline-color: var(--gc-orange);
}

html:is(.dark, [data-theme-mode="dark"]) :is(header.app-header, .app-header, header#header, [data-header-styles] .app-header) {
    background: #1E293B !important;
    background-color: #1E293B !important;
    border-color: #334155 !important;
    border-bottom: 3px solid var(--gc-orange) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35) !important;
}

/* Koyu header altında styles.css .desktop-logo'yu gizler; top_bar.php tek logo bastığı için görünür tutulur. */
@media (min-width: 992px) {
    html:is(.dark, [data-theme-mode="dark"]) #header .horizontal-logo .header-logo .desktop-logo,
    html:is(.dark, [data-theme-mode="dark"]) .app-sidebar .main-sidebar-header .header-logo .desktop-logo,
    html:is(.dark, [data-theme-mode="dark"]) .app-sidebar .main-sidebar-header .header-logo .logo {
        display: block !important;
    }

    html:is(.dark, [data-theme-mode="dark"]) #header .horizontal-logo .header-logo .toggle-logo {
        display: none !important;
    }
}

@media (max-width: 991.98px) {
    html:is(.dark, [data-theme-mode="dark"]) #header .horizontal-logo .header-logo .desktop-logo {
        display: none !important;
    }

    html:is(.dark, [data-theme-mode="dark"]) #header .horizontal-logo .header-logo .toggle-logo {
        display: block !important;
    }
}

/* Sol menü düğmesi ve sağ araç ikonları koyu slate üstünde koyu çerçeveyle görünür. */
html:is(.dark, [data-theme-mode="dark"]) #header .header-content-left .sidemenu-toggle.header-link {
    border-color: #334155 !important;
    background: #0F172A !important;
    color: var(--gc-orange) !important;
}

html:is(.dark, [data-theme-mode="dark"]) #header .header-content-left .sidemenu-toggle.header-link:hover {
    border-color: var(--gc-orange) !important;
    background: var(--gc-orange) !important;
    color: #FFFFFF !important;
}

html:is(.dark, [data-theme-mode="dark"]) #header .header-content-left .sidemenu-toggle.header-link:hover span,
html:is(.dark, [data-theme-mode="dark"]) #header .header-content-left .sidemenu-toggle.header-link:hover span::before,
html:is(.dark, [data-theme-mode="dark"]) #header .header-content-left .sidemenu-toggle.header-link:hover span::after {
    background-color: #FFFFFF !important;
}

html:is(.dark, [data-theme-mode="dark"]) #header .header-content-right .header-theme-mode > a {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

html:is(.dark, [data-theme-mode="dark"]) #header .main-header-container .header-link-icon {
    border-color: #334155 !important;
    background-color: #0F172A !important;
    color: var(--gc-orange) !important;
    stroke: var(--gc-orange) !important;
}

html:is(.dark, [data-theme-mode="dark"]) #header .header-content-right :is(.header-link:not(#mainHeaderProfile), .header-theme-mode > a):hover .header-link-icon {
    border-color: var(--gc-orange) !important;
    background-color: var(--gc-orange) !important;
    color: #FFFFFF !important;
    stroke: #FFFFFF !important;
}

html:is(.dark, [data-theme-mode="dark"]) #header .header-content-right :is(.header-link:not(#mainHeaderProfile), .header-theme-mode > a):hover * {
    color: #FFFFFF !important;
    stroke: #FFFFFF !important;
}

html:is(.dark, [data-theme-mode="dark"]) #header .gc-qs__input {
    border-color: #334155 !important;
    background: #0F172A !important;
    color: #F8FAFC !important;
}

html:is(.dark, [data-theme-mode="dark"]) #header .gc-qs__input:focus {
    border-color: var(--gc-orange) !important;
    background: #0F172A !important;
    box-shadow: 0 0 0 3px rgba(253, 97, 43, 0.2) !important;
}

html:is(.dark, [data-theme-mode="dark"]) #header .gc-qs__input::placeholder {
    color: #94A3B8 !important;
}

html:is(.dark, [data-theme-mode="dark"]) #header .gc-qs__kbd {
    border-color: #334155 !important;
    background: #1E293B !important;
    color: #94A3B8 !important;
}

html:is(.dark, [data-theme-mode="dark"]) #header .gc-qs__results {
    border-color: #334155 !important;
    background: #1E293B !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5) !important;
}

html:is(.dark, [data-theme-mode="dark"]) #header .gc-qs__group {
    color: #94A3B8 !important;
}

html:is(.dark, [data-theme-mode="dark"]) #header .gc-qs__item {
    color: #F1F5F9 !important;
}

html:is(.dark, [data-theme-mode="dark"]) #header .gc-qs__item:hover,
html:is(.dark, [data-theme-mode="dark"]) #header .gc-qs__item.is-active {
    background: #334155 !important;
    color: #FFFFFF !important;
}

html:is(.dark, [data-theme-mode="dark"]) #header .gc-qs__text strong {
    color: #F8FAFC !important;
}

html:is(.dark, [data-theme-mode="dark"]) #header .gc-qs__text small,
html:is(.dark, [data-theme-mode="dark"]) #header .gc-qs__empty {
    color: #94A3B8 !important;
}

html:is(.dark, [data-theme-mode="dark"]) #header .gc-fc__toggle {
    border-color: #334155 !important;
    background: #0F172A !important;
    color: #F1F5F9 !important;
}

html:is(.dark, [data-theme-mode="dark"]) #header .gc-fc--set .gc-fc__toggle {
    border-color: var(--gc-orange) !important;
    background: rgba(253, 97, 43, 0.16) !important;
    color: #FDBA74 !important;
}

html:is(.dark, [data-theme-mode="dark"]) #header .gc-fc__caret {
    color: #94A3B8 !important;
}

html:is(.dark, [data-theme-mode="dark"]) #header .gc-shift__button {
    background: #0F172A !important;
}

html:is(.dark, [data-theme-mode="dark"]) #header .gc-shift--open .gc-shift__button {
    border-color: #22C55E !important;
    background: #103524 !important;
    color: #4ADE80 !important;
}

html:is(.dark, [data-theme-mode="dark"]) #header .gc-update__button {
    border-color: #60A5FA !important;
    background: #0F172A !important;
    color: #93C5FD !important;
}

html:is(.dark, [data-theme-mode="dark"]) #mainHeaderProfile .header-profile-name {
    color: #F8FAFC !important;
}

html:is(.dark, [data-theme-mode="dark"]) #mainHeaderProfile .header-profile-role {
    color: #94A3B8 !important;
}

/*
 * #FD612B Kurumsal Renk Sistemi (Geçişsiz / Gradyansız / Saydamsız Düz Renkler)
 * Tüm paneller opak düz yüzeylerdir; saydam dolgu, cam efekti veya gradyan kullanılmaz.
 */
:root {
    --gc-page: #F1F5F9;
    --gc-panel: #FFFFFF;
    --gc-panel-alt: #F8FAFC;
    --gc-line: #E2E8F0;
    --gc-line-strong: #CBD5E1;
    --gc-ink: #0F172A;
    --gc-muted: #64748B;
    
    /* #FD612B Uyumlu Düz Renkler */
    --gc-blue: #2563EB;
    --gc-blue-soft: #DBEAFE;
    --gc-blue-border: #93C5FD;
    
    --gc-green: #059669;
    --gc-green-soft: #D1FAE5;
    --gc-green-border: #6EE7B7;
    
    --gc-amber: #D97706;
    --gc-amber-soft: #FEF3C7;
    --gc-amber-border: #FCD34D;
    
    --gc-red: #DC2626;
    --gc-red-soft: #FEE2E2;
    --gc-red-border: #FCA5A5;
    
    --gc-indigo: #4F46E5;
    --gc-indigo-soft: #EEF2FF;
    --gc-indigo-border: #C7D2FE;
    
    --gc-peach: #FFF0EA;
    --gc-peach-soft: #FFE8DE;
    --gc-peach-border: #FED7C7;
}

body,
.page,
.main-content,
.app-content {
    background-color: var(--gc-page) !important;
}

/* Sayfa başlığı, kırıntı ve üst aksiyonlar: aydınlık, belirgin, yapılandırılmış düz kart. */
.page-header-breadcrumb {
    margin-block: 1rem !important;
    padding: 1rem 1.25rem !important;
    border: 1px solid #E2E8F0 !important;
    border-inline-start: 4px solid var(--gc-orange) !important;
    border-radius: 10px !important;
    background: #FFFFFF !important;
}

.page-header-breadcrumb h1,
.page-header-breadcrumb h2,
.page-header-breadcrumb h3,
.page-header-breadcrumb h4,
.page-header-breadcrumb .page-title {
    color: #0F172A !important;
    font-weight: 800 !important;
    letter-spacing: -.02em !important;
}

.page-header-breadcrumb .breadcrumb {
    color: #64748B !important;
    font-size: 0.82rem !important;
}

.page-header-breadcrumb .breadcrumb .breadcrumb-item a {
    color: var(--gc-orange-deep) !important;
    font-weight: 600 !important;
}

.page-header-breadcrumb .breadcrumb .breadcrumb-item a:hover {
    color: var(--gc-orange-hover) !important;
    text-decoration: underline !important;
}

/* Rehber ve bilgilendirme kutuları: aydınlık düz yüzey ve net turuncu çizgi */
.pricing-guide {
    margin-block-end: 1.25rem !important;
    padding: 1.15rem 1.25rem !important;
    border: 1px solid #CBD5E1 !important;
    border-inline-start: 4px solid var(--gc-orange) !important;
    border-radius: 10px !important;
    background: #F8FAFC !important;
}

.pricing-guide__step {
    border: 1px solid #CBD5E1 !important;
    border-radius: 8px !important;
    background: #FFFFFF !important;
    padding: 0.9rem !important;
}

.pricing-guide__number {
    background: var(--gc-orange) !important;
    color: #FFFFFF !important;
}

/* Sekme çubukları: tek renk, net yapı, opak düz kutular */
.pk-seg,
.pricing-tabs-bar .pk-seg,
.rp-tabs,
.pr-period {
    display: inline-flex !important;
    align-items: center !important;
    background: #E2E8F0 !important;
    border: 1px solid #CBD5E1 !important;
    border-radius: 8px !important;
    padding: 3px !important;
    gap: 3px !important;
}

.pk-seg .ti-btn,
.pricing-tabs .btn-tab,
.rp-tabs .btn-report-tab,
.pr-period__btn {
    background: #FFFFFF !important;
    border: 1px solid #CBD5E1 !important;
    color: #334155 !important;
    font-weight: 600 !important;
    font-size: 0.82rem !important;
    border-radius: 6px !important;
    padding: 6px 14px !important;
    transition: all 0.15s ease-in-out !important;
}

.pk-seg .ti-btn:hover,
.pricing-tabs .btn-tab:hover,
.rp-tabs .btn-report-tab:hover,
.pr-period__btn:hover {
    background: #F1F5F9 !important;
    border-color: #94A3B8 !important;
    color: #0F172A !important;
}

.pk-seg .ti-btn.ti-btn-primary,
.pricing-tabs .btn-tab.ti-btn-primary,
.rp-tabs .btn-report-tab.ti-btn-primary,
.pr-period__btn.is-active,
.pk-seg .ti-btn[aria-selected="true"],
.pricing-tabs .btn-tab[aria-selected="true"],
.rp-tabs .btn-report-tab[aria-selected="true"] {
    background: var(--gc-orange) !important;
    border-color: var(--gc-orange) !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
}

.pk-seg .ti-btn i,
.pricing-tabs .btn-tab i,
.rp-tabs .btn-report-tab i,
.pr-period__btn i {
    opacity: 1 !important;
    color: inherit !important;
}

.pk-seg .ti-btn i > svg.gc-ico,
.pricing-tabs .btn-tab i > svg.gc-ico,
.rp-tabs .btn-report-tab i > svg.gc-ico,
.pr-period__btn i > svg.gc-ico {
    stroke-width: 2.1 !important;
}

/* Temel kartlar: net çerçeveler ve opak düz yüzeyler. */
.box,
.card,
.gc-filter,
.gc-stat,
.dash-quick {
    border: 1px solid #CBD5E1 !important;
    border-radius: 10px !important;
    background-color: #FFFFFF !important;
}

.box-header,
.card-header {
    border-bottom: 1px solid #E2E8F0 !important;
    background-color: #FFFFFF !important;
}

.gc-filter {
    overflow: visible;
    border: 1px solid #CBD5E1 !important;
    background: #FFFFFF !important;
    border-radius: 10px !important;
    margin-bottom: 1.25rem !important;
}

.gc-filter__toggle {
    min-height: 46px;
    padding: 11px 16px;
    border-radius: 9px 9px 0 0;
    background: #F8FAFC !important;
    border-bottom: 1px solid #E2E8F0 !important;
}

.gc-filter__toggle:hover,
.gc-filter__toggle[aria-expanded="true"] {
    background: #E2E8F0 !important;
}

.gc-filter__toggle-title {
    font-weight: 700 !important;
    color: #0F172A !important;
}

.gc-filter__toggle-title i,
.gc-filter__toggle-icon {
    color: var(--gc-orange-deep) !important;
}

.gc-filter__body {
    background: #FFFFFF !important;
    padding: 16px 18px !important;
}

/* ═══ Datatable & Liste Kartları: Aydınlık, canlı, renkli ve #FD612B ile uyumlu ═══ */
.gc-pt {
    background: #FFFFFF !important;
    border: 1px solid #CBD5E1 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    margin-bottom: 1.5rem !important;
}

.gc-pt__header {
    min-height: 58px;
    padding: 12px 18px !important;
    border-top: 3.5px solid var(--gc-orange) !important;
    border-bottom: 1px solid #CBD5E1 !important;
    background: #F8FAFC !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.gc-pt__brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gc-pt__brand h5,
.gc-pt__brand .gc-pt__title,
.gc-pt__header .box-title {
    color: #0F172A !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.015em !important;
    margin: 0;
}

.gc-pt__brand .gc-pt__subtitle {
    color: #64748B !important;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    margin-top: 2px;
}

.gc-pt__brand-sep {
    background: #CBD5E1 !important;
    width: 1.5px !important;
    height: 24px !important;
    display: inline-block;
}

.gc-pt__brand .gc-pt__count,
.gc-pt__brand-badge {
    border: 1px solid var(--gc-orange) !important;
    background: var(--gc-orange) !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    border-radius: 6px !important;
    padding: 3px 10px !important;
    font-size: 0.78rem !important;
}

.gc-pt__header input.form-control,
.gc-pt__header input.form-control-sm,
.gc-pt__actions input.form-control,
.gc-pt__actions input.form-control-sm {
    height: 34px !important;
    min-height: 34px !important;
    padding: 6px 10px !important;
    font-size: 0.82rem !important;
    line-height: 1.3 !important;
    background: #FFFFFF !important;
    border: 1px solid #CBD5E1 !important;
    color: #0F172A !important;
    border-radius: 6px !important;
    box-sizing: border-box !important;
}

.gc-pt__header input.form-control:focus,
.gc-pt__header input.form-control-sm:focus,
.gc-pt__actions input.form-control:focus,
.gc-pt__actions input.form-control-sm:focus {
    border-color: var(--gc-orange) !important;
    outline: 1px solid var(--gc-orange) !important;
}

.gc-pt__btn {
    height: 34px;
    min-height: 34px;
    border: 1px solid #CBD5E1 !important;
    border-radius: 6px !important;
    background: #E2E8F0 !important;
    color: #0F172A !important;
    font-weight: 600 !important;
    font-size: 0.82rem !important;
    padding: 6px 14px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0 !important;
    line-height: 1.3 !important;
    box-sizing: border-box !important;
    transition: all 0.15s ease-in-out !important;
    cursor: pointer;
}

.gc-pt__actions .ti-btn {
    height: 34px !important;
    min-height: 34px !important;
    margin: 0 !important;
    padding: 6px 12px !important;
    font-size: 0.82rem !important;
    line-height: 1.3 !important;
    box-sizing: border-box !important;
}

.gc-pt__btn:hover {
    border-color: #94A3B8 !important;
    background: #CBD5E1 !important;
    color: #0F172A !important;
}

.gc-pt__btn--primary {
    border-color: var(--gc-orange) !important;
    background: var(--gc-orange) !important;
    color: #FFFFFF !important;
}

.gc-pt__btn--primary:hover {
    border-color: var(--gc-orange-hover) !important;
    background: var(--gc-orange-hover) !important;
    color: #FFFFFF !important;
}

.gc-pt__table thead th,
.table thead th,
table.dataTable > thead th {
    padding-block: 12px !important;
    border-top: 1px solid #E2E8F0 !important;
    border-bottom: 2px solid #CBD5E1 !important;
    background: #F8FAFC !important;
    color: #1E293B !important;
    font-size: 0.76rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

.gc-pt__table tbody tr:nth-child(even),
.table tbody tr:nth-child(even),
table.dataTable > tbody tr:nth-child(even) {
    background: #FAFBFC !important;
}

.gc-pt__table tbody tr:nth-child(odd),
.table tbody tr:nth-child(odd),
table.dataTable > tbody tr:nth-child(odd) {
    background: #FFFFFF !important;
}

.gc-pt__table tbody td,
.table tbody td,
table.dataTable > tbody td {
    border-bottom: 1px solid #E2E8F0 !important;
    color: #0F172A !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    padding: 12px 16px !important;
    vertical-align: middle !important;
}

.gc-pt__table thead th.text-start,
.gc-pt__table thead th.text-left,
.gc-pt__table tbody td.text-start,
.gc-pt__table tbody td.text-left {
    text-align: left !important;
}

.gc-pt__table thead th.text-center,
.gc-pt__table tbody td.text-center {
    text-align: center !important;
}

.gc-pt__table thead th.text-end,
.gc-pt__table thead th.text-right,
.gc-pt__table tbody td.text-end,
.gc-pt__table tbody td.text-right {
    text-align: right !important;
}

.gc-pt__table tbody tr:hover,
.table tbody tr:hover,
table.dataTable > tbody tr:hover {
    background: #F1F5F9 !important;
}

.gc-pt__footer {
    border-top: 1px solid #E2E8F0 !important;
    background: #F8FAFC !important;
    padding: 12px 18px !important;
}

.gc-pt__info {
    color: #475569 !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
}

/* Sayfa boyutu seçici (GC.paginate opts.size): bilgi metninin yanında durur, sayfalama sağa itilir */
.gc-pt__size {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin: 0 auto 0 0;
    color: #475569;
    font-size: .8rem;
    font-weight: 600;
    white-space: nowrap;
}

[dir="rtl"] .gc-pt__size {
    margin: 0 0 0 auto;
}

.gc-pt__size-select {
    height: 30px;
    padding: 0 26px 0 10px;
    border: 1px solid #CBD5E1;
    border-radius: 6px;
    background-color: #FFFFFF;
    color: #0F172A;
    font-size: .8rem;
    font-weight: 700;
    cursor: pointer;
}

.gc-pt__size-select:focus-visible {
    outline: 2px solid var(--gc-orange);
    outline-offset: 1px;
}

html.dark .gc-pt__size-select,
html[data-theme-mode="dark"] .gc-pt__size-select {
    border-color: #334155;
    background-color: #0F172A;
    color: #F1F5F9;
}

.gc-pt__pagination {
    display: flex;
    align-items: center;
    gap: 4px;
}

.gc-pt__pagination .pagination .page-item .page-link,
.gc-pt__pagination button,
.gc-pt__pagination a {
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border-radius: 6px !important;
    border: 1px solid #CBD5E1 !important;
    background: #FFFFFF !important;
    color: #334155 !important;
    font-weight: 600 !important;
    font-size: 0.82rem !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.15s ease !important;
}

.gc-pt__pagination .pagination .page-item:not(.active) .page-link:hover,
.gc-pt__pagination button:hover:not(.active):not(:disabled),
.gc-pt__pagination a:hover:not(.active) {
    border-color: #94A3B8 !important;
    color: #0F172A !important;
    background: #E2E8F0 !important;
}

.gc-pt__pagination .pagination .page-item.active .page-link,
.gc-pt__pagination button.active,
.gc-pt__pagination a.active {
    background: var(--gc-orange) !important;
    border-color: var(--gc-orange) !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
}

/* Aksiyon butonları: #FD612B ile uyumlu, tek renk ve %100 opak (saydamsız, gradyansız) */
.gc-pt__act {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.gc-pt__act-btn {
    width: 32px;
    height: 32px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none !important;
    transition: all 0.15s ease-in-out !important;
    font-size: 0.95rem;
}

/* Düzenle (Edit): Düz Net Marka Turuncusu */
.gc-pt__act-btn--edit {
    border: 1px solid var(--gc-orange) !important;
    background: var(--gc-orange) !important;
    color: #FFFFFF !important;
}

.gc-pt__act-btn--edit *,
.gc-pt__act-btn--edit i {
    color: #FFFFFF !important;
    fill: #FFFFFF !important;
}

.gc-pt__act-btn--edit:hover {
    border-color: var(--gc-orange-hover) !important;
    background: var(--gc-orange-hover) !important;
    color: #FFFFFF !important;
}

/* Görüntüle / QR (View): Düz Kraliyet Mavisi */
.gc-pt__act-btn--view,
.gc-pt__act-btn--qr {
    border: 1px solid #2563EB !important;
    background: #2563EB !important;
    color: #FFFFFF !important;
}

.gc-pt__act-btn--view *,
.gc-pt__act-btn--qr *,
.gc-pt__act-btn--view i,
.gc-pt__act-btn--qr i {
    color: #FFFFFF !important;
    fill: #FFFFFF !important;
}

.gc-pt__act-btn--view:hover,
.gc-pt__act-btn--qr:hover {
    border-color: #1D4ED8 !important;
    background: #1D4ED8 !important;
    color: #FFFFFF !important;
}

/* Sil (Delete): Düz Net Kırmızı */
.gc-pt__act-btn--delete {
    border: 1px solid #DC2626 !important;
    background: #DC2626 !important;
    color: #FFFFFF !important;
}

.gc-pt__act-btn--delete *,
.gc-pt__act-btn--delete i {
    color: #FFFFFF !important;
    fill: #FFFFFF !important;
}

.gc-pt__act-btn--delete:hover {
    border-color: #B91C1C !important;
    background: #B91C1C !important;
    color: #FFFFFF !important;
}

/* Kart / Abonelik (Card): Düz Zümrüt Yeşili */
.gc-pt__act-btn--card {
    border: 1px solid #059669 !important;
    background: #059669 !important;
    color: #FFFFFF !important;
}

.gc-pt__act-btn--card *,
.gc-pt__act-btn--card i {
    color: #FFFFFF !important;
    fill: #FFFFFF !important;
}

.gc-pt__act-btn--card:hover {
    border-color: #047857 !important;
    background: #047857 !important;
    color: #FFFFFF !important;
}

/* Ayarlar / Nötr (Settings): Düz Koyu Slate */
.gc-pt__act-btn--settings {
    border: 1px solid #475569 !important;
    background: #475569 !important;
    color: #FFFFFF !important;
}

.gc-pt__act-btn--settings *,
.gc-pt__act-btn--settings i {
    color: #FFFFFF !important;
    fill: #FFFFFF !important;
}

.gc-pt__act-btn--settings:hover {
    border-color: #334155 !important;
    background: #334155 !important;
    color: #FFFFFF !important;
}

/* Kullanılamayan işlem düğmesi (ör. komut gönderilemeyen bariyer): yarı saydam değil opak gri */
.gc-pt__act-btn:disabled {
    border-color: #CBD5E1 !important;
    background: #E2E8F0 !important;
    color: #64748B !important;
    cursor: not-allowed;
}

.gc-pt__act-btn:disabled i {
    color: #64748B !important;
}

/* Durum Rozetleri: Tek renk, opak ve net */
.gc-pt__status {
    border-radius: 6px !important;
    animation: none !important;
    padding: 3px 10px !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
}

.gc-pt__status--active {
    background: #059669 !important;
    color: #FFFFFF !important;
    border: 1px solid #059669 !important;
}

.gc-pt__status--inactive {
    background: #64748B !important;
    color: #FFFFFF !important;
    border: 1px solid #64748B !important;
}

.gc-pt__status--warning {
    background: #D97706 !important;
    color: #FFFFFF !important;
    border: 1px solid #D97706 !important;
}

.gc-pt__status--danger {
    background: #DC2626 !important;
    color: #FFFFFF !important;
    border: 1px solid #DC2626 !important;
}

.gc-pt__status--info {
    background: #2563EB !important;
    color: #FFFFFF !important;
    border: 1px solid #2563EB !important;
}

/* Genel Buton Stilleri: #FD612B odaklı, tek renk ve %100 opak (saydamsız, gradyansız) */
.ti-btn-primary,
.ti-btn-primary-full {
    background: var(--gc-orange) !important;
    border-color: var(--gc-orange) !important;
    color: #FFFFFF !important;
    font-weight: 600 !important;
    border-radius: 7px !important;
    transition: all 0.15s ease-in-out !important;
}

.ti-btn-primary:hover,
.ti-btn-primary-full:hover {
    background: var(--gc-orange-hover) !important;
    border-color: var(--gc-orange-hover) !important;
    color: #FFFFFF !important;
}

.ti-btn-light,
.ti-btn-secondary {
    background: #E2E8F0 !important;
    border: 1px solid #CBD5E1 !important;
    color: #0F172A !important;
    font-weight: 600 !important;
    border-radius: 7px !important;
    transition: all 0.15s ease-in-out !important;
}

.ti-btn-light:hover,
.ti-btn-secondary:hover {
    background: #CBD5E1 !important;
    border-color: #94A3B8 !important;
    color: #0F172A !important;
}

.ti-btn-outline-primary {
    background: #FFFFFF !important;
    border: 2px solid var(--gc-orange) !important;
    color: var(--gc-orange) !important;
    font-weight: 700 !important;
    border-radius: 7px !important;
}

.ti-btn-outline-primary:hover {
    background: var(--gc-orange) !important;
    border-color: var(--gc-orange) !important;
    color: #FFFFFF !important;
}

.ti-btn-soft-primary {
    background: var(--gc-orange) !important;
    border: 1px solid var(--gc-orange) !important;
    color: #FFFFFF !important;
    font-weight: 600 !important;
    border-radius: 7px !important;
}

.ti-btn-soft-primary:hover {
    background: var(--gc-orange-hover) !important;
    border-color: var(--gc-orange-hover) !important;
    color: #FFFFFF !important;
}

/* Dashboard kartlari ve sekmeleri tamamen opak yuzeylerdir. */
.gc-stat {
    border-inline-start: 5px solid var(--gc-stat-color) !important;
    box-shadow: 0 3px 0 #E1E4E8 !important;
}

.gc-stat:hover,
.gc-stat--clickable:hover {
    box-shadow: 0 5px 0 #CDD1D6 !important;
}

.gc-stat__icon,
.dash-quick i {
    box-shadow: none !important;
}

.dash-tabs {
    border: 1px solid var(--gc-line) !important;
    background: #E6E8EB !important;
}

.dash-tab {
    background: #E6E8EB !important;
    color: #4C5563 !important;
}

.dash-tab:hover {
    background: #D8DBE0 !important;
    color: var(--gc-ink) !important;
}

.dash-tab.dash-tab--on {
    background: var(--gc-orange) !important;
    color: #FFFFFF !important;
    box-shadow: none !important;
}

/* Formlar ve seciciler net, opak odak halkasi kullanir. */
.form-control,
.form-select,
.ti-form-input,
.ti-form-select,
.choices__inner,
.select2-selection {
    border-color: var(--gc-line-strong) !important;
    border-radius: 8px !important;
    background-color: #FFFFFF !important;
}

.form-control:focus,
.form-select:focus,
.ti-form-input:focus,
.ti-form-select:focus,
.choices.is-focused .choices__inner,
.choices.is-open .choices__inner,
.select2-container--focus .select2-selection {
    border-color: var(--gc-orange) !important;
    outline: 3px solid #FFD7C8 !important;
    outline-offset: 1px !important;
    box-shadow: none !important;
}

.ti-btn,
.btn {
    border-radius: 8px !important;
}

/* Menü ikonları (Lucide) — Soluk ikon sorununa karşı tam netlik, kontrast ve opaklık */
.app-sidebar .side-menu__icon {
    font-size: 1.125rem !important;
    opacity: 1 !important;
}

.app-sidebar .side-menu__angle {
    opacity: 1 !important;
}

.app-sidebar .gc-submenu-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 1.2rem !important;
    width: 1.2rem !important;
    height: 1.2rem !important;
    font-size: 1rem !important;
    text-align: center !important;
    color: inherit !important;
    opacity: 1 !important;
}

/* İkon çizgi kalınlığı — Menüdeki tüm ikonlar net, belirgin ve dengeli çizilir */
.app-sidebar .side-menu__icon > svg.gc-ico,
.app-sidebar .gc-submenu-icon > svg.gc-ico,
.app-sidebar .side-menu__angle > svg.gc-ico {
    stroke-width: 2.1 !important;
}

.app-sidebar .slide-menu.child1 .side-menu__item {
    display: flex;
    align-items: center;
    gap: .55rem;
    border-radius: 7px;
}

/* Kurumsal turuncu menü (varsayılan) — Ana başlıklar, açılır oklar ve alt menü ikonları canlı ve net beyaz */
[data-menu-styles="color"] .app-sidebar .side-menu__icon,
[data-menu-styles="color"] .app-sidebar .side-menu__angle {
    color: #FFFFFF !important;
    opacity: 1 !important;
}

[data-menu-styles="color"] .app-sidebar .gc-submenu-icon,
[data-menu-styles="color"] .app-sidebar .slide-menu.child1 .side-menu__item .gc-submenu-icon {
    color: #FFFFFF !important;
    opacity: 1 !important;
}

[data-menu-styles="color"] .app-sidebar .slide-menu.child1 .side-menu__item:hover .gc-submenu-icon,
[data-menu-styles="color"] .app-sidebar .slide-menu.child1 .side-menu__item.active .gc-submenu-icon {
    color: #FFFFFF !important;
    opacity: 1 !important;
}

[data-menu-styles="color"] .app-sidebar .category-name {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Açık tema menü — İkonlar soluk gri yerine canlı kurumsal turuncu ve belirgin koyu ton */
[data-menu-styles="light"] .app-sidebar .side-menu__icon {
    color: rgb(var(--primary)) !important;
    opacity: 1 !important;
}

[data-menu-styles="light"] .app-sidebar .gc-submenu-icon {
    color: #334155 !important;
    opacity: 1 !important;
}

[data-menu-styles="light"] .app-sidebar .side-menu__angle {
    color: #475569 !important;
    opacity: 1 !important;
}

[data-menu-styles="light"] .app-sidebar .slide-menu.child1 .side-menu__item:hover .gc-submenu-icon,
[data-menu-styles="light"] .app-sidebar .slide-menu.child1 .side-menu__item.active .gc-submenu-icon {
    color: rgb(var(--primary)) !important;
    opacity: 1 !important;
}

/* Koyu tema menü — Soluk gri ikonlar yerine canlı beyaz/slate-100 */
[data-menu-styles="dark"] .app-sidebar .side-menu__icon,
[data-menu-styles="dark"] .app-sidebar .gc-submenu-icon,
[data-menu-styles="dark"] .app-sidebar .side-menu__angle {
    color: #F8FAFC !important;
    opacity: 1 !important;
}

[data-menu-styles="dark"] .app-sidebar .side-menu__item:hover .side-menu__icon,
[data-menu-styles="dark"] .app-sidebar .side-menu__item.active .side-menu__icon,
[data-menu-styles="dark"] .app-sidebar .slide-menu.child1 .side-menu__item:hover .gc-submenu-icon,
[data-menu-styles="dark"] .app-sidebar .slide-menu.child1 .side-menu__item.active .gc-submenu-icon {
    color: #FFFFFF !important;
    opacity: 1 !important;
}

/* Giris ekranlari da uygulama kartlariyla ayni dili kullanir. */
.authentication-background {
    background: var(--gc-page) !important;
}

.authentication-background .box,
.authentication-background .card,
.authentication-background [class*="authentication"] form {
    border-radius: 14px !important;
}


/* Koyu modda dengeli Slate yüzeyler ve datatable uyumu korunur. */
html.dark body,
html[data-theme-mode="dark"] body,
html.dark .page,
html[data-theme-mode="dark"] .page,
html.dark .main-content,
html[data-theme-mode="dark"] .main-content,
html.dark .app-content,
html[data-theme-mode="dark"] .app-content {
    background-color: #0F172A !important;
}

html.dark .page-header-breadcrumb,
html[data-theme-mode="dark"] .page-header-breadcrumb,
html.dark .box,
html[data-theme-mode="dark"] .box,
html.dark .card,
html[data-theme-mode="dark"] .card,
html.dark .gc-filter,
html[data-theme-mode="dark"] .gc-filter,
html.dark .gc-stat,
html[data-theme-mode="dark"] .gc-stat,
html.dark .dash-quick,
html[data-theme-mode="dark"] .dash-quick {
    border-color: #334155 !important;
    background-color: #1E293B !important;
    box-shadow: 0 3px 0 #0F172A !important;
}

html.dark .gc-pt,
html[data-theme-mode="dark"] .gc-pt {
    background: #1E293B !important;
    border-color: #334155 !important;
    box-shadow: none !important;
}

html.dark .gc-pt__header,
html[data-theme-mode="dark"] .gc-pt__header {
    background: #1E293B !important;
    border-top-color: var(--gc-orange) !important;
    border-bottom-color: #334155 !important;
}

html.dark .gc-pt__brand h5,
html.dark .gc-pt__brand .gc-pt__title,
html.dark .gc-pt__header .box-title,
html[data-theme-mode="dark"] .gc-pt__brand h5,
html[data-theme-mode="dark"] .gc-pt__brand .gc-pt__title,
html[data-theme-mode="dark"] .gc-pt__header .box-title {
    color: #F8FAFC !important;
}

html.dark .gc-pt__brand .gc-pt__subtitle,
html[data-theme-mode="dark"] .gc-pt__brand .gc-pt__subtitle {
    color: #94A3B8 !important;
}

html.dark .gc-pt__brand-sep,
html[data-theme-mode="dark"] .gc-pt__brand-sep {
    background: #334155 !important;
}

html.dark .gc-pt__brand .gc-pt__count,
html.dark .gc-pt__brand-badge,
html[data-theme-mode="dark"] .gc-pt__brand .gc-pt__count,
html[data-theme-mode="dark"] .gc-pt__brand-badge {
    border-color: #7C2D12 !important;
    background: #431407 !important;
    color: #FF8F6B !important;
}

html.dark .gc-pt__btn,
html[data-theme-mode="dark"] .gc-pt__btn {
    border-color: #334155 !important;
    background: #1E293B !important;
    color: #E2E8F0 !important;
}

html.dark .gc-pt__btn:hover,
html[data-theme-mode="dark"] .gc-pt__btn:hover {
    border-color: var(--gc-orange) !important;
    background: #431407 !important;
    color: #FF8F6B !important;
}

html.dark .gc-pt__table thead th,
html[data-theme-mode="dark"] .gc-pt__table thead th,
html.dark .table thead th,
html[data-theme-mode="dark"] .table thead th,
html.dark table.dataTable>thead th,
html[data-theme-mode="dark"] table.dataTable>thead th {
    background: #0F172A !important;
    border-bottom-color: #334155 !important;
    color: #94A3B8 !important;
}

html.dark .gc-pt__table tbody td,
html[data-theme-mode="dark"] .gc-pt__table tbody td,
html.dark .table tbody td,
html[data-theme-mode="dark"] .table tbody td,
html.dark table.dataTable>tbody td,
html[data-theme-mode="dark"] table.dataTable>tbody td {
    border-bottom-color: #242E3D !important;
    color: #E2E8F0 !important;
}

/* Koyu temada satır zemini de koyudur: hem sayfa hem modal içi tablolar uyumludur. */
html.dark .gc-pt__table tbody tr:nth-child(odd),
html[data-theme-mode="dark"] .gc-pt__table tbody tr:nth-child(odd),
html.dark .table tbody tr:nth-child(odd),
html[data-theme-mode="dark"] .table tbody tr:nth-child(odd),
html.dark table.dataTable>tbody tr:nth-child(odd),
html[data-theme-mode="dark"] table.dataTable>tbody tr:nth-child(odd) {
    background: #1E293B !important;
}

html.dark .gc-pt__table tbody tr:nth-child(even),
html[data-theme-mode="dark"] .gc-pt__table tbody tr:nth-child(even),
html.dark .table tbody tr:nth-child(even),
html[data-theme-mode="dark"] .table tbody tr:nth-child(even),
html.dark table.dataTable>tbody tr:nth-child(even),
html[data-theme-mode="dark"] table.dataTable>tbody tr:nth-child(even) {
    background: #19233A !important;
}

html.dark .gc-pt__table tbody tr:hover,
html[data-theme-mode="dark"] .gc-pt__table tbody tr:hover,
html.dark .table tbody tr:hover,
html[data-theme-mode="dark"] .table tbody tr:hover,
html.dark table.dataTable>tbody tr:hover,
html[data-theme-mode="dark"] table.dataTable>tbody tr:hover {
    background: #271E1B !important;
}

html.dark .gc-pt__footer,
html[data-theme-mode="dark"] .gc-pt__footer {
    border-top-color: #334155 !important;
    background: #1E293B !important;
}

html.dark .page-header-breadcrumb h1,
html.dark .page-header-breadcrumb h2,
html.dark .page-header-breadcrumb h3,
html.dark .page-header-breadcrumb h4,
html.dark .page-header-breadcrumb .page-title,
html[data-theme-mode="dark"] .page-header-breadcrumb h1,
html[data-theme-mode="dark"] .page-header-breadcrumb h2,
html[data-theme-mode="dark"] .page-header-breadcrumb h3,
html[data-theme-mode="dark"] .page-header-breadcrumb h4,
html[data-theme-mode="dark"] .page-header-breadcrumb .page-title {
    color: #F8FAFC !important;
}

html.dark .page-header-breadcrumb .breadcrumb,
html[data-theme-mode="dark"] .page-header-breadcrumb .breadcrumb {
    color: #94A3B8 !important;
}

html.dark .page-header-breadcrumb .breadcrumb .breadcrumb-item a,
html[data-theme-mode="dark"] .page-header-breadcrumb .breadcrumb .breadcrumb-item a {
    color: #FF8F6B !important;
}

html.dark .box-header,
html.dark .card-header,
html[data-theme-mode="dark"] .box-header,
html[data-theme-mode="dark"] .card-header {
    border-bottom-color: #334155 !important;
    background-color: #1E293B !important;
}

html.dark .form-control,
html.dark .form-select,
html.dark .ti-form-input,
html.dark .ti-form-select,
html.dark .choices__inner,
html.dark .select2-selection,
html[data-theme-mode="dark"] .form-control,
html[data-theme-mode="dark"] .form-select,
html[data-theme-mode="dark"] .ti-form-input,
html[data-theme-mode="dark"] .ti-form-select,
html[data-theme-mode="dark"] .choices__inner,
html[data-theme-mode="dark"] .select2-selection {
    border-color: #334155 !important;
    background-color: #0F172A !important;
    color: #E2E8F0 !important;
}

html.dark .gc-pt__info,
html.dark .gc-pt__size,
html[data-theme-mode="dark"] .gc-pt__info,
html[data-theme-mode="dark"] .gc-pt__size {
    color: #94A3B8 !important;
}

/* Sayfa içi bağlantı ve vurgu yazısı koyu temada açık turuncudur. */
html.dark .main-content a:not(.ti-btn):not(.side-menu__item):not(.header-link):not(.gc-alert-chip):not(.badge):not(.pk-badge):not(.gc-pt__btn):not(.pts-decision):not(.dash-quick):not(.gc-fc__item):not(.gc-setup-return):not(.gc-pt__status):not([class*="danger"]):not([class*="bg-danger"]):not([class*="alert-chip"]),
html[data-theme-mode="dark"] .main-content a:not(.ti-btn):not(.side-menu__item):not(.header-link):not(.gc-alert-chip):not(.badge):not(.pk-badge):not(.gc-pt__btn):not(.pts-decision):not(.dash-quick):not(.gc-fc__item):not(.gc-setup-return):not(.gc-pt__status):not([class*="danger"]):not([class*="bg-danger"]):not([class*="alert-chip"]) {
    color: #FF8F6B;
}

/* pts-theme.css .text-primary ve .text-success'e !important verir; koyu karşılıkları da öyle yazılır */
html.dark .main-content .text-primary,
html[data-theme-mode="dark"] .main-content .text-primary {
    color: #FF8F6B !important;
}

html.dark .main-content .text-success,
html[data-theme-mode="dark"] .main-content .text-success {
    color: #4ADE80 !important;
}

html.dark .gc-pt__act-btn--settings,
html.dark .gc-pt__act-btn--card,
html[data-theme-mode="dark"] .gc-pt__act-btn--settings,
html[data-theme-mode="dark"] .gc-pt__act-btn--card {
    border-color: #334155 !important;
    background: #0F172A !important;
    color: #94A3B8 !important;
}

html.dark .gc-pt__act-btn--edit,
html[data-theme-mode="dark"] .gc-pt__act-btn--edit {
    border-color: #334155 !important;
    background: #0F172A !important;
    color: #E2E8F0 !important;
}

/* ═══ FİLTRE PANELİ (GC.filterPanel) ═══════════════════════════════════════
   Liste ekranlarının ortak filtre kartı: dönem satırı, arama ve filtre ızgarası, "Gelişmiş filtreler", aktif filtre
   çipleri. Opak yüzeyler; etkin hazır dönem ve çipler turuncu tondur. Panel yapışkan değildir (tablo başlığı yapışır). */
.gc-fp {
    position: relative;
    margin-bottom: 1rem;
    border: 1px solid #CBD5E1;
    border-radius: 10px;
    background: #FFFFFF;
    overflow: visible;
}

.gc-fp:has(.choices.is-open) {
    z-index: 30;
}

.gc-fp__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem 1rem;
    padding: 10px 16px;
    border-bottom: 1px solid #E2E8F0;
    border-radius: 10px 10px 0 0;
    background: #F8FAFC;
}

.gc-fp__title {
    display: flex;
    align-items: center;
    gap: .5rem;
    min-width: 0;
    color: #0F172A;
    font-size: .875rem;
    font-weight: 700;
    cursor: pointer;
    user-select: none;
    transition: color .15s ease;
}

.gc-fp__title:hover {
    color: var(--gc-orange-deep);
}

.gc-fp__title:focus-visible {
    outline: 2px solid var(--gc-orange);
    outline-offset: 2px;
    border-radius: 4px;
}

.gc-fp__title > i {
    color: var(--gc-orange-deep);
    font-size: 1rem;
}

.gc-fp__count {
    padding: 2px 9px;
    border: 1px solid #FFD7C8;
    border-radius: 999px;
    background: #FFF1EB;
    color: var(--gc-orange-deep);
    font-size: .75rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.gc-fp__count:empty {
    display: none;
}

.gc-fp__tools {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .4rem;
}

.gc-fp__tool {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid #CBD5E1;
    border-radius: 6px;
    background: #FFFFFF;
    color: #334155;
    font-size: .78rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

.gc-fp__tool:hover {
    border-color: var(--gc-orange);
    color: var(--gc-orange-deep);
}

.gc-fp__tool.hidden,
.gc-fp__chips.hidden,
.gc-fp__badge.hidden {
    display: none !important;
}

.gc-fp__toggle {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.gc-fp--open .gc-fp__toggle {
    border-color: #CBD5E1;
    background: #F1F5F9;
    color: #0F172A;
}

.gc-fp.gc-fp--has-chips:not(.gc-fp--open) .gc-fp__toggle {
    border-color: var(--gc-orange);
    color: var(--gc-orange-deep);
    background: #FFF7ED;
}

.gc-fp__toggle-icon {
    font-size: 1rem;
    line-height: 1;
    transition: transform .2s ease;
}

.gc-fp--open .gc-fp__toggle-icon {
    transform: rotate(180deg);
}

.gc-fp__toggle .gc-fp__badge {
    margin-inline-start: 4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: .68rem;
    font-weight: 800;
}

.gc-fp__collapse {
    width: 100%;
}

.gc-fp:not(.gc-fp--compact).gc-fp--collapsed .gc-fp__collapse,
.gc-fp:not(.gc-fp--compact):not(.gc-fp--open) .gc-fp__collapse {
    display: none !important;
}

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

.gc-fp--open .gc-fp__collapse {
    animation: gcFpFadeIn .18s ease-out;
}

/* Kapalı ve çipsiz panel: alt sınır çizgisi kalkar, başlık tüm kartın köşelerine uyar */
.gc-fp:not(.gc-fp--compact).gc-fp--collapsed:not(.gc-fp--has-chips) .gc-fp__head,
.gc-fp:not(.gc-fp--compact):not(.gc-fp--open):not(.gc-fp--has-chips) .gc-fp__head {
    border-bottom: none;
    border-radius: 10px;
}

/* Kapalı ama çipli panel: başlığın alt çizgisi kalır, çipler kartın alt köşelerini yuvarlar */
.gc-fp:not(.gc-fp--compact).gc-fp--collapsed.gc-fp--has-chips .gc-fp__head,
.gc-fp:not(.gc-fp--compact):not(.gc-fp--open).gc-fp--has-chips .gc-fp__head {
    border-bottom: 1px solid #E2E8F0;
    border-radius: 10px 10px 0 0;
}

.gc-fp:not(.gc-fp--compact).gc-fp--collapsed.gc-fp--has-chips .gc-fp__chips,
.gc-fp:not(.gc-fp--compact):not(.gc-fp--open).gc-fp--has-chips .gc-fp__chips {
    border-top: none;
    border-radius: 0 0 10px 10px;
}

.gc-fp__period {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .6rem 1rem;
    padding: 12px 16px 0;
}

.gc-fp__presets {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 3px;
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    background: #E2E8F0;
}

.gc-fp__preset {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    min-height: 30px;
    padding: 0 12px;
    border: 1px solid #CBD5E1;
    border-radius: 6px;
    background: #FFFFFF;
    color: #334155;
    font-size: .8rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

.gc-fp__preset:hover {
    border-color: #94A3B8;
    background: #F1F5F9;
    color: #0F172A;
}

.gc-fp__preset.is-active,
.gc-fp__preset.is-active:hover {
    border-color: var(--gc-orange);
    background: var(--gc-orange);
    color: #FFFFFF;
    font-weight: 700;
}

.gc-fp__range {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    min-width: 0;
}

.gc-fp__range .form-control {
    width: 168px;
    min-height: 34px;
    font-size: .82rem;
}

.gc-fp__range input[type="hidden"] {
    display: none;
}

.gc-fp__step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border: 1px solid #CBD5E1;
    border-radius: 6px;
    background: #FFFFFF;
    color: #334155;
    font-size: 1.1rem;
    cursor: pointer;
}

.gc-fp__step:hover:not(:disabled) {
    border-color: var(--gc-orange);
    color: var(--gc-orange-deep);
}

.gc-fp__step:disabled {
    background: #F1F5F9;
    color: #94A3B8;
    cursor: not-allowed;
}

.gc-fp__dash {
    color: #64748B;
}

.gc-fp__body {
    padding: 12px 16px 14px;
    container-type: inline-size;
}

/* yalnız dönem satırı olan panelde gövde yoktur; alt boşluğu dönem satırı verir */
.gc-fp--period-only .gc-fp__period {
    padding-bottom: 12px;
}

.gc-fp__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 10px 12px;
    align-items: end;
}

.gc-fp__grid--advanced {
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px dashed #CBD5E1;
}

.gc-fp__grid--advanced[hidden] {
    display: none;
}

.gc-fp__field {
    min-width: 0;
}

.gc-fp__field--search,
.gc-fp__field--wide {
    grid-column: span 2;
}

/* Dar kapta (Canlı İzleme sütunu) iki sütun sığsın; arama ve geniş alan satırın tamamını alır.
   "span 2" tek sütunlu ızgarada örtük ikinci sütun açıp alanları kaydırıyordu */
@container (max-width: 440px) {
    .gc-fp__grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }

    .gc-fp__field--search,
    .gc-fp__field--wide {
        grid-column: 1 / -1;
    }
}

/* Sıkı panel (Canlı İzleme sütunu): başlık araçları simgedir; arama dışındaki filtreler her genişlikte
   "Filtreler (N)" düğmesinin arkasındadır, akış kutularına yer kalır */
.gc-fp--compact .gc-fp__head {
    padding: 6px 10px;
}

.gc-fp--compact .gc-fp__tool:not(.gc-fp__toggle) > span {
    display: none;
}

.gc-fp--compact .gc-fp__toggle {
    display: inline-flex;
}

.gc-fp--compact .gc-fp__body {
    padding: 8px 10px 10px;
}

.gc-fp--compact .gc-fp__field--search .gc-fp__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.gc-fp--compact:not(.gc-fp--open) .gc-fp__field:not(.gc-fp__field--search),
.gc-fp--compact:not(.gc-fp--open) .gc-fp__more,
.gc-fp--compact:not(.gc-fp--open) .gc-fp__grid--advanced {
    display: none;
}

.gc-fp--compact .gc-fp__chips {
    padding: 6px 10px 8px;
}

.gc-fp__label {
    display: block;
    margin-bottom: 4px;
    color: #475569;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .02em;
}

.gc-fp .form-control,
.gc-fp .choices__inner {
    min-height: 38px !important;
    font-size: .84rem;
}

.gc-fp .choices {
    margin-bottom: 0;
    font-size: .84rem;
}

/* tek seçimde metin oka binmez; çoklu seçim de aynı oku taşır */
.gc-fp .choices[data-type*="select-one"] .choices__inner {
    padding: 6px 30px 6px 10px !important;
    border-radius: 6px !important;
}

.gc-fp .choices__list--single {
    padding: 2px 0 !important;
}

.gc-fp .choices[data-type*="select-multiple"] .choices__inner {
    padding: 3px 30px 3px 6px !important;
    border-radius: 6px !important;
}

.gc-fp .choices[data-type*="select-multiple"]::after {
    content: "";
    position: absolute;
    top: 18px;
    right: 11.5px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px;
    border-color: #333 transparent transparent;
    pointer-events: none;
}

.gc-fp .choices[data-type*="select-multiple"] .choices__input {
    margin: 3px 0 !important;
    padding: 3px 4px !important;
    background: transparent !important;
    font-size: .84rem;
}

.gc-fp .choices[data-type*="select-multiple"] .choices__item--selectable.choices__item {
    margin: 2px 3px 2px 0;
    border-color: #FFD7C8;
    background: #FFF1EB;
    color: var(--gc-orange-deep);
    font-weight: 600;
}

.gc-fp__search {
    position: relative;
}

.gc-fp__search > i {
    position: absolute;
    inset-inline-start: 11px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748B;
    font-size: .95rem;
    pointer-events: none;
}

.gc-fp .gc-fp__search .form-control {
    padding-inline-start: 36px !important;
}

.gc-fp__pair {
    display: flex;
    align-items: center;
    gap: .35rem;
}

.gc-fp__pair .form-control {
    min-width: 0;
    flex: 1 1 0;
}

.gc-fp__pair input[type="hidden"] {
    display: none;
}

.gc-fp__unit {
    flex: 0 0 auto;
    color: #64748B;
    font-size: .75rem;
    font-weight: 600;
}

.gc-fp__seg {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.gc-fp__seg-btn {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid #CBD5E1;
    border-radius: 6px;
    background: #FFFFFF;
    color: #334155;
    font-size: .8rem;
    font-weight: 600;
    cursor: pointer;
}

.gc-fp__seg-btn:hover {
    border-color: #94A3B8;
    background: #F1F5F9;
}

.gc-fp__seg-btn.is-active,
.gc-fp__seg-btn.is-active:hover {
    border-color: var(--gc-orange);
    background: var(--gc-orange);
    color: #FFFFFF;
}

.gc-fp__field--segmented {
    grid-column: 1 / -1;
}

.gc-fp__check {
    display: flex;
    align-items: center;
    gap: .5rem;
    min-height: 36px;
    margin: 0;
    padding: 0 10px;
    border: 1px solid #CBD5E1;
    border-radius: 6px;
    background: #FFFFFF;
    color: #334155;
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
}

.gc-fp__check input {
    flex: 0 0 auto;
    margin: 0;
    accent-color: var(--gc-orange);
}

.gc-fp__more {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    min-height: 38px;
    padding: 6px 12px;
    border: 1px solid #CBD5E1;
    border-radius: 6px;
    background: #FFFFFF;
    color: #334155;
    font-size: .8rem;
    font-weight: 600;
    cursor: pointer;
}

.gc-fp__more:hover,
.gc-fp__more.is-open {
    border-color: var(--gc-orange);
    color: var(--gc-orange-deep);
}

.gc-fp__more-icon {
    transition: transform .15s;
}

.gc-fp__more.is-open .gc-fp__more-icon {
    transform: rotate(180deg);
}

.gc-fp__badge {
    display: inline-grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: var(--gc-orange);
    color: #FFFFFF;
    font-size: .7rem;
    font-weight: 800;
}

.gc-fp__chips {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 16px 12px;
    border-top: 1px solid #E2E8F0;
}

.gc-fp__chips-label {
    color: #64748B;
    font-size: .75rem;
    font-weight: 700;
}

.gc-fp__chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    max-width: 100%;
    min-height: 28px;
    padding: 0 6px 0 10px;
    border: 1px solid #FFD7C8;
    border-radius: 999px;
    background: #FFF1EB;
    color: var(--gc-orange-deep);
    font-size: .78rem;
    font-weight: 600;
    cursor: pointer;
}

.gc-fp__chip > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gc-fp__chip > i {
    flex: 0 0 auto;
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #FFD7C8;
    font-size: .8rem;
}

.gc-fp__chip:hover {
    border-color: var(--gc-orange);
}

.gc-fp__chip:hover > i {
    background: var(--gc-orange);
    color: #FFFFFF;
}

.gc-fp button:focus-visible,
.gc-fp input:focus-visible {
    outline: 2px solid var(--gc-orange);
    outline-offset: 1px;
}

@media (max-width: 991.98px) {
    .gc-fp__range {
        width: 100%;
    }

    .gc-fp__range .form-control {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
    }
}

/* Telefonda dönem ve arama görünür; diğer filtreler "Filtreler (N)" düğmesinin arkasındadır */
@media (max-width: 767.98px) {
    .gc-fp__head {
        padding: 8px 12px;
    }

    .gc-fp__tool > span {
        display: none;
    }

    .gc-fp__toggle {
        display: inline-flex;
    }

    .gc-fp__toggle > span {
        display: inline;
    }

    .gc-fp__period {
        padding: 10px 12px 0;
    }

    .gc-fp__presets {
        flex-wrap: nowrap;
        max-width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .gc-fp__presets::-webkit-scrollbar {
        display: none;
    }

    .gc-fp__body {
        padding: 10px 12px 12px;
    }

    .gc-fp__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .gc-fp__field--search,
    .gc-fp__field--wide {
        grid-column: auto;
    }



    .gc-fp__chips {
        padding: 8px 12px 10px;
    }
}

/* Koyu tema: sayfa yüzeyindeki kartlarla aynı tonlar */
html.dark .gc-fp,
html[data-theme-mode="dark"] .gc-fp,
html.dark .gc-fp__head,
html[data-theme-mode="dark"] .gc-fp__head,
html.dark .gc-fp__chips,
html[data-theme-mode="dark"] .gc-fp__chips {
    border-color: #334155;
    background: #1E293B;
}

html.dark .gc-fp:not(.gc-fp--compact).gc-fp--collapsed.gc-fp--has-chips .gc-fp__head,
html[data-theme-mode="dark"] .gc-fp:not(.gc-fp--compact).gc-fp--collapsed.gc-fp--has-chips .gc-fp__head {
    border-bottom-color: #334155;
}

html.dark .gc-fp--open .gc-fp__toggle,
html[data-theme-mode="dark"] .gc-fp--open .gc-fp__toggle {
    border-color: #475569;
    background: #334155;
    color: #F8FAFC;
}

html.dark .gc-fp.gc-fp--has-chips:not(.gc-fp--open) .gc-fp__toggle,
html[data-theme-mode="dark"] .gc-fp.gc-fp--has-chips:not(.gc-fp--open) .gc-fp__toggle {
    border-color: var(--gc-orange);
    color: #FDBA74;
    background: rgba(234, 88, 12, 0.15);
}

html.dark .gc-fp__title,
html[data-theme-mode="dark"] .gc-fp__title {
    color: #F8FAFC;
}

html.dark .gc-fp__label,
html[data-theme-mode="dark"] .gc-fp__label,
html.dark .gc-fp__chips-label,
html[data-theme-mode="dark"] .gc-fp__chips-label,
html.dark .gc-fp__dash,
html[data-theme-mode="dark"] .gc-fp__dash,
html.dark .gc-fp__unit,
html[data-theme-mode="dark"] .gc-fp__unit {
    color: #94A3B8;
}

html.dark .gc-fp__presets,
html[data-theme-mode="dark"] .gc-fp__presets {
    border-color: #334155;
    background: #0F172A;
}

html.dark .gc-fp__preset:not(.is-active),
html[data-theme-mode="dark"] .gc-fp__preset:not(.is-active),
html.dark .gc-fp__tool,
html[data-theme-mode="dark"] .gc-fp__tool,
html.dark .gc-fp__step,
html[data-theme-mode="dark"] .gc-fp__step,
html.dark .gc-fp__more,
html[data-theme-mode="dark"] .gc-fp__more,
html.dark .gc-fp__check,
html[data-theme-mode="dark"] .gc-fp__check,
html.dark .gc-fp__seg-btn:not(.is-active),
html[data-theme-mode="dark"] .gc-fp__seg-btn:not(.is-active) {
    border-color: #334155;
    background: #0F172A;
    color: #E2E8F0;
}

html.dark .gc-fp__grid--advanced,
html[data-theme-mode="dark"] .gc-fp__grid--advanced {
    border-top-color: #334155;
}

/* Hızlı filtre kartı seçiliyken (Geçişler) kart kendi rengiyle çerçevelenir */
.gc-stat.gc-stat--clickable.is-selected {
    border-color: var(--gc-stat-color, var(--gc-orange)) !important;
    box-shadow: 0 0 0 2px var(--gc-stat-color, var(--gc-orange)) !important;
}

/* onay kutulu ve iki alanlı (aralık) filtre iki sütun kaplar; etiket tek satırda, alanlar okunur genişlikte kalır */
.gc-fp__field--check,
.gc-fp__field--range,
.gc-fp__field--time-range,
.gc-fp__field--date-range {
    grid-column: span 2;
}

@media (max-width: 767.98px) {
    .gc-fp__field--check,
    .gc-fp__field--range,
    .gc-fp__field--time-range,
    .gc-fp__field--date-range {
        grid-column: auto;
    }
}

/* telefonda iki tarih alanı ‹ › düğmeleri arasında yan yana sığar; ayraç gizlenir, saatli tarih kesilmez */
@media (max-width: 767.98px) {
    .gc-fp__range {
        display: grid;
        grid-template-columns: 34px minmax(0, 1fr) minmax(0, 1fr) 34px;
        gap: 6px;
    }

    .gc-fp__range .gc-fp__dash {
        display: none;
    }

    .gc-fp__range .form-control {
        width: 100%;
        padding-left: 8px !important;
        padding-right: 8px !important;
        font-size: .78rem;
    }
}

/* SweetAlert toast anlık arka plan kararmasını ve bulanıklığını kesin olarak önleme */
body.swal2-toast-shown .swal2-container,
body.swal2-no-backdrop .swal2-container,
.swal2-container.swal2-top-end,
.swal2-container.swal2-top-start,
.swal2-container.swal2-top,
.swal2-container.swal2-bottom-end,
.swal2-container.swal2-bottom-start,
.swal2-container.swal2-bottom,
.swal2-container:has(> .swal2-toast) {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    pointer-events: none !important;
    transition: none !important;
}

/* ── Dönem ve Geçerlilik Gösterimi (Alt alta tarih ve gün sayısı) ───────── */
.gc-period-box {
    display: inline-flex;
    flex-direction: column;
    gap: 3px;
    font-size: .8rem;
    line-height: 1.35;
    text-align: start;
}

.gc-period-box__row {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.gc-period-box__lbl {
    font-size: .72rem;
    font-weight: 500;
    color: #64748b;
    min-width: 58px;
}

.gc-period-box__val {
    font-weight: 600;
    color: #1e293b;
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
}

/* Koyu satır ve koyu modda tarih ve etiket açık renkle okunur. */
html.dark .gc-period-box__val,
html[data-theme-mode="dark"] .gc-period-box__val {
    color: #E2E8F0;
}

html.dark .gc-period-box__lbl,
html[data-theme-mode="dark"] .gc-period-box__lbl {
    color: #94A3B8;
}

.gc-period-box__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
    flex-wrap: wrap;
}

.gc-period-box__days {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(253, 97, 43, 0.08);
    color: #d94716;
    border: 1px solid rgba(253, 97, 43, 0.22);
    border-radius: 9999px;
    padding: 1px 7px;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .01em;
}

.gc-period-box__days i {
    font-size: .75rem;
}

.gc-period-box__rem {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    padding: 1px 7px;
    font-size: .72rem;
    font-weight: 600;
}

.gc-period-box__rem--ok {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.gc-period-box__rem--warning {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fde68a;
}

.gc-period-box__rem--danger {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.gc-period-box--compact {
    font-size: .75rem;
    gap: 2px;
}
.gc-period-box--compact .gc-period-box__lbl {
    font-size: .68rem;
    min-width: 44px;
}
.gc-period-box--compact .gc-period-box__days,
.gc-period-box--compact .gc-period-box__rem {
    font-size: .68rem;
    padding: 0 5px;
}

/* Modallardaki canlı dönem hesaplama bilgi kutusu */
.gc-period-preview {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #334155;
    font-size: .8rem;
    margin-top: 4px;
}

.gc-period-preview i {
    font-size: 1.1rem;
    color: #fd612b;
    flex-shrink: 0;
}

.gc-period-preview__text {
    flex: 1;
    line-height: 1.4;
}

.gc-period-preview__days {
    font-weight: 700;
    color: #0f172a;
}

/* ═══ Türk Plaka Giriş Bileşeni (.own-plate-wrap) ═══
   Modallarda ve formlarda mavi TR rozetli kurumsal plaka giriş alanı. */
.own-plate-wrap {
    display: flex !important;
    align-items: stretch !important;
    width: 100%;
    min-height: 42px !important;
    height: 42px !important;
    border: 1px solid #CBD5E1 !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    background: #FFFFFF !important;
    box-sizing: border-box !important;
    transition: border-color .15s, box-shadow .15s;
}

.own-plate-wrap:focus-within {
    border-color: #FD612B !important;
    box-shadow: 0 0 0 2.5px rgba(253, 97, 43, 0.15) !important;
}

.own-plate-badge {
    background: #003399 !important;
    color: #FFFFFF !important;
    font-weight: 800 !important;
    font-size: 11px !important;
    width: 34px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    letter-spacing: .05em !important;
    flex-shrink: 0 !important;
    user-select: none !important;
}

.own-plate-wrap input,
.own-plate-wrap input.form-control,
.own-plate-wrap input.own-plate {
    flex: 1 1 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 100% !important;
    min-height: 100% !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0 12px !important;
    background: transparent !important;
    color: #0F172A !important;
    font-family: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    letter-spacing: .06em !important;
    text-transform: uppercase !important;
}

.own-plate-wrap input:focus,
.own-plate-wrap input.form-control:focus,
.own-plate-wrap input.own-plate:focus {
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
}

/* Kompakt plaka alanı (Örn: Kişi modalı araç satırları) */
.own-row .own-plate-wrap,
.own-plate-wrap--sm {
    width: 160px !important;
    min-height: 36px !important;
    height: 36px !important;
    flex-shrink: 0 !important;
}

.own-row .own-plate-wrap .own-plate-badge,
.own-plate-wrap--sm .own-plate-badge {
    width: 28px !important;
}

.own-row .own-plate-wrap input,
.own-plate-wrap--sm input {
    font-size: 13.5px !important;
    padding: 0 8px !important;
}

/* ═══ Şifre Göster/Gizle Butonu Dikey Merkezleme ═══ */
.show-password-button {
    top: 50% !important;
    transform: translateY(-50%) !important;
}

/* ═══ Form ve Buton Satır İçi Dikey Hizalama & Eşit Yükseklik Standartları ═══ */
.form-control-sm,
.choices.form-control-sm .choices__inner,
.form-control-sm + .choices .choices__inner {
    min-height: 36px !important;
    height: 36px !important;
    padding: 6px 10px !important;
    font-size: 0.84rem !important;
    line-height: 1.3 !important;
    box-sizing: border-box !important;
}

.ti-btn.ti-btn-sm {
    min-height: 34px !important;
    height: 34px !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;
}

/* Buton ve input yan yana geldiğinde margin kaymasını engelle */
.flex.items-center > .ti-btn,
.flex.items-stretch > .ti-btn,
.input-group > .ti-btn {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}



/* Tablo sığmadığında kaydırma denetimleri, sayfalama çubuğunun hemen üstünde görünür. */
[data-gc-xscroll] { max-width: 100%; min-width: 0; overflow-x: auto; }
.gc-xscroll-view::-webkit-scrollbar:horizontal { display: none; }
.gc-xscroll { padding: .55rem .8rem; border-top: 1px solid rgb(var(--default-border, 203 213 225)); }
.gc-xscroll[hidden] { display: none; }
.gc-xscroll strong { display: block; margin-bottom: .25rem; font-size: .875rem; }
.gc-xscroll__controls { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .6rem; }
.gc-xscroll__controls button {
    display: grid; place-items: center; width: 2.5rem; height: 2.25rem;
    border-radius: 6px; background: #1D4ED8; color: #FFF;
}
.gc-xscroll__controls button:disabled { background: #64748B; }
.gc-xscroll__controls input { width: 100%; min-width: 0; height: 2rem; accent-color: #1D4ED8; cursor: ew-resize; }
.gc-xscroll__controls :is(button, input):focus-visible { outline: 2px solid #2563EB; outline-offset: 2px; }

.gc-operator-ui .app-content, .gc-operator-ui .ti-modal-content { font-family: system-ui, "Segoe UI", Arial, sans-serif; }
.gc-operator-ui .app-content .gc-pt__table :is(th, td) { font-size: .9375rem !important; line-height: 1.45; }
.gc-operator-ui :is(.app-content, .ti-modal .ti-modal-content) :is(.ti-btn-primary, .ti-btn-primary-full, .ti-btn-light, .ti-btn-info, .ti-btn-success, .ti-btn-warning, .ti-btn-danger),
.gc-operator-ui :is(.app-content, .ti-modal .ti-modal-content) :is(.ti-btn-primary, .ti-btn-primary-full, .ti-btn-light, .ti-btn-info, .ti-btn-success, .ti-btn-warning, .ti-btn-danger):hover {
    background: var(--gc-op-action) !important;
    border-color: var(--gc-op-action) !important;
    color: #FFF !important;
    box-shadow: none !important;
    transition: none !important;
}
.gc-operator-ui :is(.app-content, .ti-modal .ti-modal-content) :is(.ti-btn-primary, .ti-btn-primary-full) { --gc-op-action: #C2410C; }
.gc-operator-ui :is(.app-content, .ti-modal .ti-modal-content) .ti-btn-light { --gc-op-action: #334155; }
.gc-operator-ui :is(.app-content, .ti-modal .ti-modal-content) .ti-btn-info { --gc-op-action: #1D4ED8; }
.gc-operator-ui :is(.app-content, .ti-modal .ti-modal-content) .ti-btn-success { --gc-op-action: #166534; }
.gc-operator-ui :is(.app-content, .ti-modal .ti-modal-content) .ti-btn-warning { --gc-op-action: #92400E; }
.gc-operator-ui :is(.app-content, .ti-modal .ti-modal-content) .ti-btn-danger { --gc-op-action: #B91C1C; }
.gc-operator-ui :is(.app-content, .ti-modal .ti-modal-content) .ti-btn:disabled { --gc-op-action: #64748B; opacity: 1; }
.gc-operator-ui .app-content :is(button, a, input, select, summary):focus-visible { outline: 2px solid #2563EB; outline-offset: 2px; }
/* Segment düğmeleri her sayfada aynı görünür: seçili olan turuncu, diğerleri beyaz; grup 36 px boyundadır. */
.pk-seg .ti-btn.ti-btn-sm { height: 28px !important; min-height: 28px !important; }
.gc-operator-ui :is(.app-content, .ti-modal .ti-modal-content) .pk-seg .ti-btn.ti-btn-light {
    background: #FFFFFF !important; border-color: #CBD5E1 !important; color: #334155 !important;
}
.gc-operator-ui :is(.app-content, .ti-modal .ti-modal-content) .pk-seg .ti-btn.ti-btn-light:hover {
    background: #F1F5F9 !important; border-color: #94A3B8 !important; color: #0F172A !important;
}
/* Koyu temada sekme ve segment kutuları da koyudur; açık gri kutu koyu sayfada parlak bir blok gibi duruyordu. */
html.dark :is(.pk-seg, .rp-tabs, .pr-period),
html[data-theme-mode="dark"] :is(.pk-seg, .rp-tabs, .pr-period) {
    background: #0F172A !important; border-color: #334155 !important;
}
html.dark :is(.pricing-tabs .btn-tab, .rp-tabs .btn-report-tab, .pr-period__btn):not(.ti-btn-primary):not([aria-selected="true"]):not(.is-active),
html[data-theme-mode="dark"] :is(.pricing-tabs .btn-tab, .rp-tabs .btn-report-tab, .pr-period__btn):not(.ti-btn-primary):not([aria-selected="true"]):not(.is-active),
html.dark .gc-operator-ui :is(.app-content, .ti-modal .ti-modal-content) .pk-seg .ti-btn.ti-btn-light,
html[data-theme-mode="dark"] .gc-operator-ui :is(.app-content, .ti-modal .ti-modal-content) .pk-seg .ti-btn.ti-btn-light {
    background: #1E293B !important; border-color: #334155 !important; color: #E2E8F0 !important;
}

/* hidden özniteliği her zaman gizler; bileşen sınıflarının display değeri onu ezmesin (boş uyarı şeritleri görünüyordu). */
[hidden]:not([hidden="until-found"]) { display: none !important; }

/* Sayfa araç çubuğu: arama, durum düğmeleri ve açılır seçenekler aynı satırda ve aynı boyda (34 px) durur. */
.gc-op-tools { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem; padding: .65rem 0; }
.gc-op-tools form { display: flex; align-items: center; flex-wrap: nowrap; gap: .4rem; max-width: 100%; }
.gc-op-tools form label { margin: 0; font-weight: 600; white-space: nowrap; }
.gc-op-tools .form-control { width: 15rem; max-width: 100%; min-width: 0; height: 34px; }
.gc-op-tools .ti-btn { min-height: 34px !important; height: 34px !important; padding: 0 12px !important; margin: 0 !important; }
.gc-op-tools details { max-width: 100%; }
.gc-op-tools details[open] { flex-basis: 100%; }
.gc-op-tools summary, .gc-op-disclosure summary { cursor: pointer; font-weight: 700; }
.gc-op-tools summary {
    display: inline-flex; align-items: center; gap: .35rem; height: 34px; padding: 0 12px; list-style: none;
    border: 1px solid rgb(var(--default-border)); border-radius: .375rem; background: rgb(var(--custom-white)); font-size: .875rem;
}
.gc-op-tools summary::-webkit-details-marker { display: none; }
.gc-op-tools summary::after { content: "\25BE"; font-size: .8em; }
.gc-op-tools details[open] > summary::after { content: "\25B4"; }
.gc-op-tools details > div { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .4rem; }
.gc-op-disclosure > div { display: grid; justify-items: start; gap: .35rem; padding-top: .4rem; }
.gc-op-disclosure summary { color: var(--gc-orange-deep); }
html.dark .gc-op-disclosure summary { color: #FDBA74; }
.gc-op-secondary { display: block; margin-top: .2rem; color: var(--text-muted); }

.gc-report-range { margin: .6rem 0; font-weight: 750; }
.gc-operator-ui .ops-item__foot { flex-wrap: wrap; gap: .4rem .8rem; }

.gc-operator-ui .app-content :is(.gc-pt__act-btn, .gc-pt__btn--primary, .pr-gate),
.gc-operator-ui .app-content :is(.gc-pt__act-btn, .gc-pt__btn--primary, .pr-gate):hover {
    background: var(--gc-op-row-action, #334155) !important;
    border-color: var(--gc-op-row-action, #334155) !important;
    color: #FFF !important;
    box-shadow: none !important;
    transition: none !important;
}
.gc-operator-ui .app-content :is(.gc-pt__act-btn--view, .gc-pt__act-btn--edit) { --gc-op-row-action: #1D4ED8; }
.gc-operator-ui .app-content .gc-pt__act-btn--pay { --gc-op-row-action: #166534; }
.gc-operator-ui .app-content .gc-pt__act-btn--delete { --gc-op-row-action: #B91C1C; }
.gc-operator-ui .app-content :is(.gc-pt__btn--primary, .pr-gate) { --gc-op-row-action: #C2410C; }
.gc-operator-ui .app-content :is(.gc-pt__act-btn, .pr-gate):disabled { --gc-op-row-action: #64748B; }

/* ═══ Koyu Mod Eksiksiz Kapsama (Marka Katmanı) ═════════════════════════════ */
html.dark :is(.gc-welcome, .dash-welcome, .guide-hero, .pricing-guide),
html[data-theme-mode="dark"] :is(.gc-welcome, .dash-welcome, .guide-hero, .pricing-guide) {
    background: #1E293B !important;
    border-color: #334155 !important;
    border-inline-start: 4px solid var(--gc-orange) !important;
    color: #F1F5F9 !important;
}

html.dark .pricing-guide__step,
html[data-theme-mode="dark"] .pricing-guide__step {
    background: #0F172A !important;
    border-color: #334155 !important;
    color: #E2E8F0 !important;
}

html.dark .gc-period-preview,
html[data-theme-mode="dark"] .gc-period-preview {
    background: #1E293B;
    border-color: #334155;
    color: #E2E8F0;
}

html.dark .gc-period-preview__days,
html[data-theme-mode="dark"] .gc-period-preview__days {
    color: #F8FAFC;
}

html.dark .own-plate-wrap,
html[data-theme-mode="dark"] .own-plate-wrap {
    background: #0F172A !important;
    border-color: #475569 !important;
}

html.dark .own-plate-wrap input,
html.dark .own-plate-wrap input.form-control,
html.dark .own-plate-wrap input.own-plate,
html[data-theme-mode="dark"] .own-plate-wrap input,
html[data-theme-mode="dark"] .own-plate-wrap input.form-control,
html[data-theme-mode="dark"] .own-plate-wrap input.own-plate {
    color: #F8FAFC !important;
}

html.dark .gc-filter__toggle,
html[data-theme-mode="dark"] .gc-filter__toggle {
    background: #0F172A !important;
    border-bottom-color: #334155 !important;
}

html.dark .gc-filter__toggle:hover,
html.dark .gc-filter__toggle[aria-expanded="true"],
html[data-theme-mode="dark"] .gc-filter__toggle:hover,
html[data-theme-mode="dark"] .gc-filter__toggle[aria-expanded="true"] {
    background: #334155 !important;
}

html.dark .gc-filter__toggle-title,
html[data-theme-mode="dark"] .gc-filter__toggle-title {
    color: #F8FAFC !important;
}

html.dark .gc-filter__body,
html[data-theme-mode="dark"] .gc-filter__body {
    background: #1E293B !important;
}

html.dark .gc-pt__header input.form-control,
html.dark .gc-pt__header input.form-control-sm,
html.dark .gc-pt__actions input.form-control,
html.dark .gc-pt__actions input.form-control-sm,
html[data-theme-mode="dark"] .gc-pt__header input.form-control,
html[data-theme-mode="dark"] .gc-pt__header input.form-control-sm,
html[data-theme-mode="dark"] .gc-pt__actions input.form-control,
html[data-theme-mode="dark"] .gc-pt__actions input.form-control-sm {
    background: #0F172A !important;
    border-color: #334155 !important;
    color: #F8FAFC !important;
}

html.dark :is(.gc-pt__pagination .pagination .page-item .page-link, .gc-pt__pagination button, .gc-pt__pagination a),
html[data-theme-mode="dark"] :is(.gc-pt__pagination .pagination .page-item .page-link, .gc-pt__pagination button, .gc-pt__pagination a) {
    background: #0F172A !important;
    border-color: #334155 !important;
    color: #E2E8F0 !important;
}

html.dark :is(.gc-pt__pagination .pagination .page-item:not(.active) .page-link:hover, .gc-pt__pagination button:hover:not(.active):not(:disabled), .gc-pt__pagination a:hover:not(.active)),
html[data-theme-mode="dark"] :is(.gc-pt__pagination .pagination .page-item:not(.active) .page-link:hover, .gc-pt__pagination button:hover:not(.active):not(:disabled), .gc-pt__pagination a:hover:not(.active)) {
    background: #334155 !important;
    border-color: #475569 !important;
    color: #FFFFFF !important;
}

html.dark :is(.ti-btn-light, .ti-btn-secondary),
html[data-theme-mode="dark"] :is(.ti-btn-light, .ti-btn-secondary) {
    background: #1E293B !important;
    border-color: #334155 !important;
    color: #E2E8F0 !important;
}

html.dark :is(.ti-btn-light, .ti-btn-secondary):hover,
html[data-theme-mode="dark"] :is(.ti-btn-light, .ti-btn-secondary):hover {
    background: #334155 !important;
    border-color: #475569 !important;
    color: #FFFFFF !important;
}

html.dark .gc-fp__chip,
html[data-theme-mode="dark"] .gc-fp__chip {
    background: rgba(253, 97, 43, 0.14);
    border-color: rgba(253, 97, 43, 0.35);
    color: #FDBA74;
}

html.dark .gc-fp__count,
html[data-theme-mode="dark"] .gc-fp__count {
    background: rgba(253, 97, 43, 0.16);
    border-color: rgba(253, 97, 43, 0.38);
    color: #FDBA74;
}

/* Açılır menüler (dil, tesis, profil ve sayfa içi dropdownlar) koyu modda düz koyu slate görünür. */
html:is(.dark, [data-theme-mode="dark"]) :is(.ti-dropdown-menu, .main-header-dropdown) {
    background: #1E293B !important;
    border: 1px solid #334155 !important;
    color: #F1F5F9 !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5) !important;
}

html:is(.dark, [data-theme-mode="dark"]) :is(.ti-dropdown-menu, .main-header-dropdown) .border-b,
html:is(.dark, [data-theme-mode="dark"]) :is(.ti-dropdown-menu, .main-header-dropdown) .ti-dropdown-divider {
    border-color: #334155 !important;
}

html:is(.dark, [data-theme-mode="dark"]) .ti-dropdown-item {
    color: #E2E8F0 !important;
}

html:is(.dark, [data-theme-mode="dark"]) .ti-dropdown-item:hover,
html:is(.dark, [data-theme-mode="dark"]) .ti-dropdown-item:focus {
    background: #334155 !important;
    color: #FFFFFF !important;
}

html:is(.dark, [data-theme-mode="dark"]) .ti-dropdown-item.active {
    background: var(--gc-orange) !important;
    color: #FFFFFF !important;
}

html:is(.dark, [data-theme-mode="dark"]) :is(.main-header-dropdown, .ti-dropdown-menu) .text-textmuted {
    color: #94A3B8 !important;
}

html:is(.dark, [data-theme-mode="dark"]) :is(.main-header-dropdown, .ti-dropdown-menu) .text-primary {
    color: #FB923C !important;
}

html:is(.dark, [data-theme-mode="dark"]) .ti-dropdown-item.active .text-primary {
    color: #FFFFFF !important;
}

/* Ana navigasyon (yatay şerit ve dikey/mobil çekmece) koyu modda koyu slate zeminde çalışır. */
html:is(.dark, [data-theme-mode="dark"]) :is(.app-sidebar, .main-sidebar-header, #sidebar, #sidebar .main-sidebar, #sidebar .main-menu-container) {
    background: #0F172A !important;
    background-color: #0F172A !important;
    border-color: #334155 !important;
}

html:is(.dark, [data-theme-mode="dark"]) .main-sidebar-header {
    border-bottom: 1px solid #334155 !important;
}

html:is(.dark, [data-theme-mode="dark"]) .app-sidebar :is(.slide-menu, .slide.has-sub .slide-menu.child1, .slide.has-sub .slide-menu.child2, .slide.has-sub .slide-menu.child3) {
    background: #1E293B !important;
    background-color: #1E293B !important;
    border: 1px solid #334155 !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5) !important;
}

html:is(.dark, [data-theme-mode="dark"]) .app-sidebar :is(.side-menu__item, .slide-menu.child1 .side-menu__item) {
    color: #E2E8F0 !important;
}

html:is(.dark, [data-theme-mode="dark"]) .app-sidebar :is(.side-menu__label, .side-menu__icon, .side-menu__angle, .gc-submenu-icon) {
    color: #CBD5E1 !important;
}

html:is(.dark, [data-theme-mode="dark"]) .app-sidebar .category-name {
    color: #94A3B8 !important;
}

html:is(.dark, [data-theme-mode="dark"]) .app-sidebar .slide-menu > .gc-menu-divider {
    background: #334155 !important;
}

html:is(.dark, [data-theme-mode="dark"]) .app-sidebar .side-menu__item:hover,
html:is(.dark, [data-theme-mode="dark"]) .app-sidebar .side-menu__item.active,
html:is(.dark, [data-theme-mode="dark"]) .app-sidebar .slide-menu.child1 .side-menu__item:hover,
html:is(.dark, [data-theme-mode="dark"]) .app-sidebar .slide-menu.child1 .side-menu__item.active {
    background: var(--gc-orange) !important;
    color: #FFFFFF !important;
}

html:is(.dark, [data-theme-mode="dark"]) .app-sidebar .side-menu__item:hover :is(.side-menu__label, .side-menu__icon, .side-menu__angle, .gc-submenu-icon),
html:is(.dark, [data-theme-mode="dark"]) .app-sidebar .side-menu__item.active :is(.side-menu__label, .side-menu__icon, .side-menu__angle, .gc-submenu-icon) {
    color: #FFFFFF !important;
}

html:is(.dark, [data-theme-mode="dark"]) .app-sidebar .main-menu-container :is(.slide-left, .slide-right) {
    background: #1E293B !important;
    border-color: #334155 !important;
    color: #F8FAFC !important;
}

html:is(.dark, [data-theme-mode="dark"]) .app-sidebar .main-menu-container :is(.slide-left svg, .slide-right svg) {
    fill: #F8FAFC !important;
    color: #F8FAFC !important;
}

/* Alt bilgi (footer) koyu modda koyu slate yüzeye geçer. */
html:is(.dark, [data-theme-mode="dark"]) :is(footer, footer.footer, body > .page > footer) {
    background: #1E293B !important;
    background-color: #1E293B !important;
    border-top: 1px solid #334155 !important;
    color: #94A3B8 !important;
}

html:is(.dark, [data-theme-mode="dark"]) footer .text-dark {
    color: #F8FAFC !important;
}

html:is(.dark, [data-theme-mode="dark"]) footer :is(.text-textmuted, .dark\:text-textmuted\/50, span) {
    color: #94A3B8 !important;
}
