@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700;800;900&display=swap');

/* adesk-theme.css — Kurumsal mavi (#0065A3) tema override'ları */

:root {
    --adesk-font: sans-serif;
    --adesk-action-button-radius: 999px;

    /* Tema token'ları — sayfa içi <style> blokları sabit renk yerine bunları kullanır. */
    --adesk-surface: #ffffff;
    --adesk-surface-muted: #f9fafb;
    --adesk-surface-sunken: #f3f4f6;
    --adesk-border: #e5e7eb;
    --adesk-border-soft: #f3f4f6;
    --adesk-text: #1f2937;
    --adesk-text-2: #374151;
    --adesk-text-muted: #6b7280;
    --adesk-text-faint: #9ca3af;
    --adesk-shadow: rgba(0, 0, 0, .08);
}
/* Projenin genel fontu Inter Tight'tir. Kalitim ile yayilir; form ogeleri ve
   butonlar kalitim almadigi icin acikca yazilir. Ikon fontlari (remixicon,
   bootstrap-icons, line-awesome...) kendi kurallariyla korunur. */
html,
body {
    font-family: var(--adesk-font) !important;
}

button,
input,
select,
textarea,
optgroup,
.ti-btn,
.btn,
.gc-btn,
.form-control,
.form-select,
.choices,
.choices__inner,
.choices__input,
.choices__list,
.swal2-container,
.flatpickr-calendar,
h1, h2, h3, h4, h5, h6 {
    font-family: var(--adesk-font) !important;
}

/* Rakamlar hizali dursun — eskiden bu isi JetBrains Mono yapiyordu */
.num,
.st-metric-card__value,
.gc-pt__count,
.det-card__value {
    font-variant-numeric: tabular-nums;
}

/*
 * GC QUICK START
 * Bu dosyada bir sey ararken once su anahtar kelimeleri ara:
 * 1. GC DATATABLE RECIPE  -> yeni liste / custom datatable
 * 2. INFO BANNER          -> sayfa ustu bilgilendirme kutulari
 * 3. GC UI SYSTEM         -> skeleton, empty state, validation
 * 4. TABLE SORTING        -> tiklanabilir kolon siralama
 * 5. MOBILE TABLE         -> mobilde tabloyu karta ceviren kurallar
 * 6. DARK MODE PATCHES    -> mevcut bilesenlerin dark override'lari
 *
 * Katman mantigi:
 * - styles.css            -> vendor / Xintra temel stilleri
 * - adesk-theme.css       -> bu proje icin global override ve ortak bilesenler
 *
 * Custom datatable yaparken:
 * - once "GC DATATABLE RECIPE" bolumune git
 * - sonra gerekirse "TABLE SORTING" ve "GC UI SYSTEM" bolumlerini kullan
 */

/*
 * Root font-size'ı sabitle. Xintra tema rem ile çalışıyor (sidebar 15rem, paddingler vs);
 * kullanıcı tarayıcısının veya Android sisteminin font-size ayarı bu rem'leri ölçeklendirip
 * telefondan telefona farklı menü/içerik boyutu yaratıyordu. 16px'e kilitleyince tüm
 * cihazlarda tutarlı görünür. Sayfa zoom (Ctrl+/Pinch) yine çalışır — sadece font-size
 * accessibility override'ı devre dışı.
 */
html {
    font-size: 16px !important;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-size: 0.875rem;
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page>.main-content {
    flex: 1;
}

/* Icerik ile footer arasinda nefes payi (styles.css .main-content padding-bottom: 0 veriyor) */
.page>.main-content.app-content {
    padding-bottom: 1.75rem;
}

/* Kart seridi ile filtre/tablo arasinda nefes payi — komsu marjlar cakistigi icin
   onceki elemanin 1rem alt marjindan buyuk olmali, aksi halde 16px'te kalir */
.main-content .gc-filter,
.main-content .gc-pt {
    margin-top: 1.5rem;
}

/* Mobile sidebar (hamburger açıldığında) — telefon ekran genişliğine göre tutarlı.
   Çok küçük ekranlarda da okunabilir bir minimum, çok geniş telefonlarda taşmasın. */
@media (max-width: 991.98px) {
    .app-sidebar {
        width: min(80vw, 280px) !important;
    }
}

/* Flatpickr modal arkasında kalma sorunu — Preline hs-overlay üzerine çıksın */
.flatpickr-calendar {
    z-index: 99999 !important;
}

/* Butonlar */
.ti-btn-primary {
    background-color: #0065A3 !important;
    border-color: #0065A3 !important;
    color: #FFFFFF !important;
    font-weight: 600;
}

.ti-btn-primary:hover {
    background-color: #00517F !important;
    border-color: #00517F !important;
}

.text-primary {
    color: #0065A3 !important;
}

a {
    color: #00517F;
}

a:hover {
    color: #0065A3;
}

/* Menü (color mode) — koyu slate arka plan, beyaz yazı */
[data-menu-styles="color"] .app-sidebar {
    background-color: #0065A3 !important;
}

[data-menu-styles="color"] .app-sidebar .side-menu__item {
    color: #FFFFFF !important;
}

[data-menu-styles="color"] .app-sidebar .side-menu__item:hover,
[data-menu-styles="color"] .app-sidebar .side-menu__item.active {
    background: rgba(255, 255, 255, 0.1) !important;
}

[data-menu-styles="color"] .app-sidebar .side-menu__label {
    color: #FFFFFF !important;
}

[data-menu-styles="color"] .app-sidebar .side-menu__icon {
    color: #FFFFFF !important;
}

[data-menu-styles="color"] .app-sidebar .category-name {
    color: rgba(255, 255, 255, 0.7) !important;
}

[data-menu-styles="color"] .app-sidebar .side-menu__angle {
    color: #FFFFFF !important;
}

[data-menu-styles="color"] .main-sidebar-header {
    background-color: #0065A3 !important;
}

/* Global Search */
.global-search-wrapper {
    flex: 1 1 420px !important;
    width: auto !important;
    min-width: 280px !important;
    max-width: 560px !important;
    margin-inline-start: 0.25rem;
    position: relative;
}

.global-search-container {
    position: relative;
    width: 100%;
}

.global-search-icon-left {
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    color: rgb(var(--text-muted));
    pointer-events: none;
    z-index: 1;
}

.global-search-input {
    width: 100% !important;
    height: 42px;
    font-size: 14px;
    padding: 0.5rem 5.5rem 0.5rem 2.5rem !important;
    border: 1px solid #dbe3ef;
    border-radius: 0.625rem;
    background: rgb(var(--custom-white, 255 255 255));
    color: rgb(var(--default-text-color, 55 65 81));
    transition: all 0.2s ease;
}

.global-search-input:focus {
    outline: none;
    border-color: #0065A3;
    box-shadow: 0 0 0 3px rgba(0, 101, 163, 0.1);
}

.global-search-input::placeholder {
    color: rgb(var(--text-muted));
    opacity: 0.7;
}

.global-search-shortcut {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    padding: 0.25rem 0.5rem;
    font-size: 11px;
    font-weight: 500;
    color: rgb(var(--text-muted));
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    font-family: inherit;
    pointer-events: none;
}

.global-search-mobile-btn {
    display: none !important;
}
/* Search Dropdown */
.global-search-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    min-width: min(380px, calc(100vw - 1rem));
    max-width: 520px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.625rem;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.18);
    z-index: 99999;
    display: none;
    max-height: 500px;
    overflow-y: auto;
}

.global-search-dropdown.active,
.global-search-dropdown.show {
    display: block;
}
.search-loading,
.search-no-results {
    padding: 1.5rem 1rem;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.search-no-results {
    flex-direction: column;
}

.search-no-results i {
    font-size: 24px;
    opacity: 0.5;
}

.spin {
    animation: gcSpin 1s linear infinite;
}

@keyframes gcSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.search-category {
    border-bottom: 1px solid #e5e7eb;
}

.search-category:last-child {
    border-bottom: none;
}
.search-category-header {
    padding: 0.75rem 1rem;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #6b7280;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: sticky;
    top: 0;
    z-index: 1;
}

.search-category-header i {
    font-size: 14px;
    color: #0065A3;
}

.search-count {
    margin-left: auto;
    font-weight: 600;
    opacity: 0.75;
}
.search-category-items {
    padding: 0.375rem 0;
    background: #fff;
}
.search-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: inherit;
    text-decoration: none !important;
    transition: background 0.15s ease;
}

.search-item:hover {
    background: rgba(0, 101, 163, 0.08);
}
.search-item-initials,
.search-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    font-weight: 700;
}

.search-item-initials {
    border-radius: 50%;
    background: #0065A3;
    color: #fff;
    font-size: 14px;
}

.search-item-icon {
    background: rgba(0, 101, 163, 0.1);
    color: #0065A3;
    font-size: 18px;
}

.search-item-content {
    flex: 1 1 auto;
    min-width: 0;
    display: block;
}

.search-item-title-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.search-item-title {
    color: #111827;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.search-item-subtitle {
    display: block;
    margin-top: 3px;
    color: #6b7280;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.search-item-badge {
    flex: 0 0 auto;
    max-width: 92px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 10px;
    padding: 4px 9px;
    border-radius: 6px;
    background: rgba(0, 101, 163, 0.1);
    color: #0065A3;
    font-weight: 700;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 1rem;
    cursor: pointer;
    transition: background 0.15s;
}

.search-result-item:hover {
    background: #f9fafb;
}
.search-no-result {
    padding: 1.5rem 1rem;
    text-align: center;
    font-size: 0.8125rem;
    color: rgb(var(--text-muted));
}

/* Mobile Search Overlay */
.mobile-search-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: none;
    flex-direction: column;
    padding: 1rem;
    padding-top: max(1rem, env(safe-area-inset-top));
}

.mobile-search-overlay.active,
.mobile-search-overlay.show {
    display: flex;
}

.mobile-search-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.mobile-search-input-wrap {
    flex: 1;
    position: relative;
    min-width: 0;
}

.mobile-search-input-wrap i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.125rem;
    color: #6b7280;
    pointer-events: none;
}

.mobile-search-input {
    width: 100%;
    height: 48px;
    font-size: 16px;
    padding: 0 1rem 0 2.75rem;
    border: none;
    border-radius: 12px;
    background: #fff;
    color: #111827;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.mobile-search-input:focus {
    outline: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), 0 0 0 2px rgba(var(--primary-rgb), 0.65);
}

.mobile-search-close {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #fff;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #6b7280;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    flex: 0 0 auto;
}

.mobile-search-close:hover {
    color: #0065A3;
}

.mobile-search-results {
    flex: 1 1 auto;
    min-height: 200px;
    overflow-y: auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.mobile-search-results:empty {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-search-results:empty::before {
    content: "Aramak için yazın...";
    color: #9ca3af;
    font-size: 14px;
}
/* Responsive Search */
@media (max-width: 1399.98px) {
    .global-search-wrapper {
        max-width: 480px !important;
    }
}

@media (max-width: 1199.98px) {
    .global-search-wrapper {
        flex-basis: 340px !important;
        min-width: 240px !important;
        max-width: 400px !important;
    }
}

@media (max-width: 991.98px) {
    .global-search-wrapper {
        flex-basis: 280px !important;
        min-width: 200px !important;
        max-width: 320px !important;
    }

    .global-search-shortcut {
        display: none;
    }

    .global-search-input {
        padding-right: 1rem !important;
    }
}

@media (max-width: 767.98px) {
    .global-search-wrapper {
        display: none !important;
    }

    .global-search-mobile-btn {
        display: flex !important;
    }
}

/* Bildirimler */
#header .header-notifications {
    position: relative;
}

#header .header-notifications .header-link {
    position: relative;
}

.notification-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    background: #DC2626;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    border-radius: 9999px;
    box-shadow: 0 0 0 2px var(--custom-white, #fff);
    pointer-events: none;
}

.notification-badge.hidden {
    display: none !important;
}

.notification-dropdown {
    width: 20rem;
    max-width: calc(100vw - 1rem);
    padding: 0;
}

@media (max-width: 480px) {
    .notification-dropdown {
        width: calc(100vw - 1rem);
    }

    .notification-list {
        max-height: 60vh;
    }

    .notification-badge {
        top: 2px;
        right: 2px;
        min-width: 14px;
        height: 14px;
        font-size: 9px;
        line-height: 14px;
    }
}

.notification-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.notification-panel-title {
    font-weight: 600;
    font-size: 0.875rem;
    color: rgb(var(--default-text-color));
}

.notification-mark-all {
    font-size: 0.75rem;
    color: #0065A3;
    cursor: pointer;
}

.notification-mark-all:hover {
    text-decoration: underline;
}

.notification-list {
    overflow-y: auto;
    max-height: 22rem;
}

.notification-item {
    display: block;
    padding: 0.625rem 1rem;
    border-bottom: 1px solid #f3f4f6;
    text-decoration: none;
    color: rgb(var(--default-text-color));
    transition: background 0.15s;
    cursor: pointer;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item:hover {
    background: #f9fafb;
}

.notification-item.unread {
    background: rgba(220, 38, 38, 0.04);
}

.notification-item.unread:hover {
    background: rgba(220, 38, 38, 0.08);
}

.notification-item-title {
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 2px;
    color: rgb(var(--default-text-color));
}

.notification-item-message {
    font-size: 0.75rem;
    color: rgb(var(--text-muted));
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notification-item-time {
    font-size: 0.6875rem;
    color: rgb(var(--text-muted));
    opacity: 0.8;
    margin-top: 3px;
}

.notification-loading,
.notification-empty {
    padding: 1.5rem 1rem;
    text-align: center;
    font-size: 0.8125rem;
    color: rgb(var(--text-muted));
}

.notification-panel-footer {
    padding: 0.625rem 1rem;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.notification-see-all {
    font-size: 0.8125rem;
    color: #0065A3;
    font-weight: 500;
}

.notification-see-all:hover {
    text-decoration: underline;
}
/* Header icon hizalama — sadece ikon kendisi (kare frame .header-link'e taşındı) */
#header .header-content-right .header-link-icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-size: 18px;
    padding: 0;
    border: none;
    background: transparent;
}

#header .header-content-right svg.header-link-icon {
    display: block !important;
    stroke-width: 1.6;
}

#header .header-content-right .header-link-icon.hidden {
    display: none !important;
}

/* .header-link wrapper — 36x36 net çerçeve */
#header .header-content-left .sidemenu-toggle.header-link,
#header .header-content-right .header-link:not(#mainHeaderProfile) {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(0, 101, 163, 0.18);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.7);
    color: rgb(var(--default-text-color));
    transition: background 0.15s, border-color 0.15s, box-shadow 0.15s, color 0.15s, transform 0.15s;
}

#header .header-content-left .sidemenu-toggle.header-link:hover,
#header .header-content-right .header-link:not(#mainHeaderProfile):hover {
    background: rgba(var(--primary-rgb), 0.08);
    border-color: rgba(var(--primary-rgb), 0.28);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1);
    color: rgb(var(--primary-rgb));
    transform: translateY(-1px);
}
#header .header-content-left .sidemenu-toggle.header-link:focus-visible,
#header .header-content-right .header-link:not(#mainHeaderProfile):focus-visible {
    outline: 2px solid rgba(var(--primary-rgb), 0.35);
    outline-offset: 2px;
}

#header .header-content-right #mainHeaderProfile {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Mobil passage kısayolu — sadece mobilde göster */
.passage-mobile-shortcut {
    display: none !important;
}

@media (max-width: 767.98px) {
    .passage-mobile-shortcut {
        display: flex !important;
    }

    .passage-mobile-shortcut .header-link {
        width: 40px !important;
        height: 40px !important;
        overflow: visible;
        border-color: rgba(var(--primary-rgb), 0.9) !important;
        background: #0065A3 !important;
        color: #fff !important;
        box-shadow: 0 8px 20px rgba(0, 101, 163, 0.28), 0 0 0 4px rgba(0, 101, 163, 0.1) !important;
    }

    .passage-mobile-shortcut .header-link-icon {
        width: 23px;
        height: 23px;
        font-size: 23px;
        text-shadow: 0 0 12px rgba(255, 255, 255, 0.85);
    }

    .passage-mobile-shortcut .header-link::after {
        content: "";
        position: absolute;
        inset: -5px;
        border: 1px solid rgba(0, 101, 163, 0.26);
        border-radius: 0.625rem;
        animation: gc-qr-pulse 2.15s ease-in-out infinite;
        pointer-events: none;
    }
}

/* Scroll to top */
.scrollToTop {
    z-index: 999 !important;
    border-color: #0065A3 !important;
    background: #0065A3 !important;
    color: #fff !important;
}

.scrollToTop .arrow,
.scrollToTop i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    line-height: 1;
    font-size: 1.25rem;
}

.scrollToTop:hover {
    border-color: #00517F !important;
    background: #00517F !important;
}
/* Dark mode toggle */
#header .header-theme-mode {
    display: flex;
    align-items: center;
}

#header .header-theme-mode .theme-mode-dark,
#header .header-theme-mode .theme-mode-light {
    width: 36px;
    height: 36px;
    padding: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

html:not(.dark) #header .header-theme-mode .theme-mode-light {
    display: none !important;
}
@keyframes gc-qr-pulse {

    0%,
    100% {
        opacity: 0.65;
        transform: scale(0.96);
        box-shadow: 0 0 0 0 rgba(0, 101, 163, 0.2);
    }

    50% {
        opacity: 1;
        transform: scale(1.08);
        box-shadow: 0 0 0 6px rgba(0, 101, 163, 0);
    }
}

@media (prefers-reduced-motion: reduce) {

    #header .header-content-right .header-link,
    .passage-mobile-shortcut .header-link::after {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}

/* Welcome Card & Dark Banners — force white text over dark gradients */
.gc-welcome,
.dash-welcome,
.guide-hero {
    color: #FFFFFF !important;
}

.gc-welcome h1,
.gc-welcome h2,
.gc-welcome p,
.gc-welcome span,
.dash-welcome h1,
.dash-welcome h2,
.dash-welcome p,
.dash-welcome span,
.dash-welcome .dash-date,
.guide-hero h1,
.guide-hero h2,
.guide-hero p,
.guide-hero span {
    color: #FFFFFF !important;
}

.gc-welcome {
    background: #0065A3;
    border-radius: 0.85rem;
    padding: 1.5rem 1.75rem;
    margin-bottom: 1.25rem;
}

.gc-welcome h1 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
}

.gc-welcome p {
    margin: 0;
    opacity: 0.85;
    font-size: 0.9rem;
}

/* Filter bar alignment fix */
.box-body .flex-wrap.items-center select.form-control,
.box-body .flex-wrap.items-center input.form-control,
.box-body .grid select.form-control,
.box-body .grid input.form-control {
    height: 38px;
    font-size: 0.8125rem;
}

.box-body .grid select.form-control-sm,
.box-body .grid input.form-control-sm {
    height: 34px;
    font-size: 0.8rem;
}

.box-body .choices .choices__inner {
    min-height: 38px;
    padding: 0.35rem 0.75rem;
    font-size: 0.8125rem;
    display: flex;
    align-items: center;
}

.box-body .grid .choices .choices__inner {
    min-height: 34px;
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
}

/* Choices.js z-index fix */
.choices {
    position: relative;
    z-index: 20;
}

.choices.is-open {
    z-index: 9999;
}

.choices__list--dropdown {
    z-index: 9999;
    background-color: #fff;
}
/*
 * GC DATATABLE RECIPE
 * Yeni bir custom datatable icin onerilen iskelet:
 *
 * <div class="gc-datatable">
 *   <div class="gc-datatable__toolbar">
 *     <div class="gc-datatable__title">...</div>
 *     <div class="gc-datatable__actions">...</div>
 *   </div>
 *   <div class="gc-datatable__filters">...</div>
 *   <div class="gc-datatable__card">
 *     <div class="table-responsive">
 *       <table class="table ti-custom-table ti-custom-table-hover gc-datatable__table whitespace-nowrap">
 *         ...
 *       </table>
 *     </div>
 *     <div class="gc-datatable__empty hidden">...</div>
 *   </div>
 *   <div class="gc-datatable__footer">
 *     <div class="gc-datatable__meta">...</div>
 *     <div class="gc-datatable__pagination">...</div>
 *   </div>
 * </div>
 *
 * Notlar:
 * - kolon siralama istiyorsan JS tarafinda GC.table.sortable(...) kullan
 * - bos veri gorunumu icin gc-empty-state kullan
 * - mobil kart donusumu icin tabloya whitespace-nowrap birak
 */

/* Custom datatable: genel iskelet */
.gc-datatable {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gc-datatable__toolbar,
.gc-datatable__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.gc-datatable__title {
    min-width: 0;
}

.gc-datatable__title h5,
.gc-datatable__title h6,
.gc-datatable__title .title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: rgb(var(--default-text-color));
}

.gc-datatable__title .sub,
.gc-datatable__meta {
    font-size: 0.78rem;
    color: rgb(var(--text-muted));
    line-height: 1.45;
}

.gc-datatable__actions,
.gc-datatable__filters,
.gc-datatable__pagination {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.gc-datatable__filters {
    align-items: flex-end;
}

.gc-datatable__search {
    width: min(100%, 360px);
    min-width: 220px;
}

.gc-datatable__card {
    background: rgb(var(--custom-white, 255 255 255));
    border: 1px solid rgb(var(--default-border));
    border-radius: 0.75rem;
    overflow: hidden;
}

.gc-datatable__card .table-responsive {
    margin-bottom: 0;
}

.gc-datatable__table {
    margin-bottom: 0;
}

.gc-datatable__empty {
    padding: 1.5rem 1rem;
}

/* Tablo iyilestirmeleri */
.ti-custom-table thead th {
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.75rem 0.5rem;
    white-space: nowrap;
    color: #374151;
}

.ti-custom-table tbody td {
    padding: 0.75rem 0.5rem;
    vertical-align: middle;
    font-size: 0.82rem;
}

.ti-custom-table-hover tbody tr {
    transition: background 0.12s ease;
    border-bottom: 1px solid #f3f4f6;
}

.ti-custom-table-hover tbody tr:hover {
    background-color: #f8fafc;
}
/* Mobil responsive */
@media (max-width: 767.98px) {
    #header .header-content-right {
        gap: 0.2rem;
    }

    #header .header-content-right .header-fullscreen {
        display: none !important;
    }

    .gc-datatable__toolbar,
    .gc-datatable__footer {
        align-items: stretch;
    }

    .gc-datatable__actions,
    .gc-datatable__filters,
    .gc-datatable__pagination,
    .gc-datatable__search {
        width: 100%;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   GC UI SYSTEM — Toast, Validation, Skeleton, Empty State, Stat, etc.
   ═══════════════════════════════════════════════════════════════════════ */

/* ─── FORM VALIDATION ───────────────────────────────────────────────── */
.gc-field-error {
    border-color: #DC2626 !important;
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.1) !important;
}

.gc-field-error:focus {
    border-color: #DC2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15) !important;
}

.gc-field-msg {
    display: block;
    font-size: 0.75rem;
    color: #DC2626;
    margin-top: 0.25rem;
    line-height: 1.3;
    animation: gcFieldMsgIn 0.2s ease;
}

@keyframes gcFieldMsgIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gc-field-success {
    border-color: #10B981 !important;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.1) !important;
    transition: border-color 0.3s, box-shadow 0.3s;
}/* ─── SKELETON LOADING ──────────────────────────────────────────────── */
.gc-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: gcSkeletonShimmer 1.5s infinite ease-in-out;
    border-radius: 4px;
}

@keyframes gcSkeletonShimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}
.gc-skeleton-row td {
    padding: 0.75rem 0.5rem !important;
}

.gc-skeleton-card {
    height: 80px;
    margin-bottom: 0.75rem;
}

/* ─── EMPTY STATES ──────────────────────────────────────────────────── */
.gc-empty-state {
    text-align: center;
    padding: 2.5rem 1rem;
}

.gc-empty-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(0, 101, 163, 0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
}

.gc-empty-icon i {
    font-size: 1.5rem;
    color: #6B7280;
}

.gc-empty-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.25rem;
}

.gc-empty-desc {
    font-size: 0.78rem;
    color: rgb(var(--text-muted));
    line-height: 1.4;
}

/* ─── BREADCRUMB ────────────────────────────────────────────────────── */
.gc-breadcrumb {
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.25rem;
}

.gc-breadcrumb a {
    color: #0065A3;
    text-decoration: none;
    transition: color 0.15s;
}

.gc-breadcrumb a:hover {
    text-decoration: underline;
}

.gc-breadcrumb-sep {
    color: rgb(var(--text-muted));
    opacity: 0.5;
    font-size: 0.7rem;
}

.gc-breadcrumb-current {
    color: rgb(var(--text-muted));
    font-weight: 500;
}
/* ─── RAPOR ALT NAVİGASYONU (report/_nav.php) ───────────────────────── */
.report-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 6px;
    margin-bottom: 1rem;
}

.report-nav-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: 9px;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgb(var(--text-muted));
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s, color .15s;
}

.report-nav-pill i {
    font-size: 1rem;
}

.report-nav-pill:hover {
    background: rgba(var(--primary-rgb), 0.07);
    color: rgb(var(--primary-rgb));
}

.report-nav-pill.active {
    background: rgb(var(--primary));
    color: #fff;
    box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.25);
}

.report-nav-pill.active:hover {
    color: #fff;
}
/* Hazır tarih ön ayar çipleri */
.date-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.date-preset {
    font-size: 0.74rem;
    font-weight: 600;
    padding: 5px 11px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #fff;
    color: rgb(var(--text-muted));
    cursor: pointer;
    transition: all .15s;
}

.date-preset:hover {
    border-color: rgb(var(--primary-rgb));
    color: rgb(var(--primary-rgb));
}

.date-preset.active {
    background: rgb(var(--primary));
    color: #fff;
    border-color: rgb(var(--primary));
}
@media (max-width: 640px) {
    .report-nav {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .report-nav-pill {
        flex: 0 0 auto;
    }
}

/* ─── MODAL RESPONSIVE ──────────────────────────────────────────────── */
.gc-modal-sm .ti-modal-box {
    max-width: 560px !important;
}

.gc-modal-md .ti-modal-box {
    max-width: 720px !important;
}

.gc-modal-lg .ti-modal-box {
    max-width: 900px !important;
}

.gc-modal-xl .ti-modal-box {
    max-width: 1080px !important;
}

/* Mobil modal bottom-sheet davranışı gc-mobile.js tarafından yönetilir */

/* ─── Modal Görsel İyileştirme (Armiya Split Panel Tema) ──────────── */
.hs-overlay.ti-modal {
    background: radial-gradient(circle at 20% 15%, rgba(0, 101, 163, .12) 0 4px, transparent 5px),
        radial-gradient(circle at 76% 82%, rgba(0, 62, 99, .08) 0 3px, transparent 4px),
        rgba(8, 28, 46, .62) !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
}

.hs-overlay.ti-modal.open {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.ti-modal .ti-modal-box {
    overflow: visible !important;
    margin: auto !important;
}

.ti-modal .ti-modal-content {
    border-radius: 20px !important;
    overflow: hidden !important;
    border: 3px solid #003E63 !important;
    box-shadow: 9px 9px 0 #003E63 !important;
    background: #FFF !important;
    font-family: sans-serif !important;
    position: relative !important;
    color: #0F172A !important;
}

.ti-modal .ti-modal-header {
    background: transparent !important;
    border-bottom: 2px dashed rgba(0, 101, 163, .15) !important;
    padding: 18px 24px 14px !important;
    position: relative !important;
    z-index: 1;
}

.ti-modal .ti-modal-header .modal-title {
    font: 900 20px/1.15 sans-serif !important;
    color: #003E63 !important;
    letter-spacing: -.025em !important;
}

.ti-modal .ti-modal-close-btn {
    width: 32px !important;
    height: 32px !important;
    border: 2.5px solid #003E63 !important;
    border-radius: 50% !important;
    background: #F1F5F9 !important;
    box-shadow: 2px 2px 0 #003E63 !important;
    display: grid !important;
    place-items: center !important;
    transition: transform .18s, background .18s !important;
    color: #0F172A !important;
}

.ti-modal .ti-modal-close-btn:hover {
    transform: rotate(90deg) scale(1.08) !important;
    background: #FEF2F2 !important;
    color: #EF4444 !important;
}

.ti-modal .ti-modal-body {
    background: transparent !important;
    max-height: calc(90vh - 160px) !important;
    overflow-y: auto !important;
    padding: 20px 24px !important;
    position: relative !important;
    z-index: 1;
}

.ti-modal .ti-modal-footer {
    background: transparent !important;
    border-top: 2px dashed rgba(0, 101, 163, .15) !important;
    padding: 14px 24px 18px !important;
    position: relative !important;
    z-index: 1;
}

.ti-modal .ti-modal-footer .ti-btn-primary {
    padding: 12px 24px !important;
    border: 3px solid #003E63 !important;
    border-radius: var(--adesk-action-button-radius) !important;
    background: #0065A3 !important;
    color: #FFF !important;
    font: 800 14px/1 sans-serif !important;
    box-shadow: 4px 4px 0 #003E63 !important;
    transition: transform .15s, box-shadow .15s !important;
}

.ti-modal .ti-modal-footer .ti-btn-primary:hover {
    transform: translate(-2px, -2px) !important;
    box-shadow: 7px 7px 0 #003E63 !important;
}

.ti-modal .ti-modal-footer .ti-btn-primary:active {
    transform: translate(2px, 2px) !important;
    box-shadow: 2px 2px 0 #003E63 !important;
}

.ti-modal .ti-modal-footer .ti-btn-light {
    padding: 12px 24px !important;
    border: 3px solid #003E63 !important;
    border-radius: var(--adesk-action-button-radius) !important;
    background: #F1F5F9 !important;
    color: #0F172A !important;
    font: 800 14px/1 sans-serif !important;
    box-shadow: 4px 4px 0 #003E63 !important;
    transition: transform .15s, box-shadow .15s !important;
}

.ti-modal .ti-modal-footer .ti-btn-light:hover {
    transform: translate(-2px, -2px) !important;
    box-shadow: 7px 7px 0 #003E63 !important;
}

.ti-modal .ti-modal-footer .ti-btn-light:active {
    transform: translate(2px, 2px) !important;
    box-shadow: 2px 2px 0 #003E63 !important;
}

.ti-modal .ti-modal-footer .ti-btn-danger {
    padding: 12px 24px !important;
    border: 3px solid #7F1D1D !important;
    border-radius: var(--adesk-action-button-radius) !important;
    background: #DC2626 !important;
    color: #FFF !important;
    font: 800 14px/1 sans-serif !important;
    box-shadow: 4px 4px 0 #7F1D1D !important;
    transition: transform .15s, box-shadow .15s !important;
}

.ti-modal .ti-modal-footer .ti-btn-danger:hover {
    transform: translate(-2px, -2px) !important;
    box-shadow: 7px 7px 0 #7F1D1D !important;
}

.ti-modal .ti-modal-footer .ti-btn-danger:active {
    transform: translate(2px, 2px) !important;
    box-shadow: 2px 2px 0 #7F1D1D !important;
}

.ti-modal .ti-btn,
.ti-modal .btn,
.ti-modal .gc-btn,
.ti-modal a.ti-btn,
.ti-modal a.btn,
.ti-modal a.gc-btn,
.ti-modal .ti-modal-footer button {
    border-radius: var(--adesk-action-button-radius) !important;
}

.ti-modal .ti-modal-footer .ti-btn-success {
    padding: 12px 24px !important;
    border: 3px solid #0E5A2B !important;
    border-radius: var(--adesk-action-button-radius) !important;
    background: #15803D !important;
    color: #FFF !important;
    font: 800 14px/1 sans-serif !important;
    box-shadow: 4px 4px 0 #0E5A2B !important;
    transition: transform .15s, box-shadow .15s !important;
}

.ti-modal .ti-modal-footer .ti-btn-success:hover {
    transform: translate(-2px, -2px) !important;
    box-shadow: 7px 7px 0 #0E5A2B !important;
}

.ti-modal .ti-modal-footer .ti-btn-success:active {
    transform: translate(2px, 2px) !important;
    box-shadow: 2px 2px 0 #0E5A2B !important;
}

.ti-modal .ti-modal-footer .ti-btn-secondary {
    padding: 12px 24px !important;
    border: 3px solid #3B4650 !important;
    border-radius: var(--adesk-action-button-radius) !important;
    background: #52606D !important;
    color: #FFF !important;
    font: 800 14px/1 sans-serif !important;
    box-shadow: 4px 4px 0 #3B4650 !important;
    transition: transform .15s, box-shadow .15s !important;
}

.ti-modal .ti-modal-footer .ti-btn-secondary:hover {
    transform: translate(-2px, -2px) !important;
    box-shadow: 7px 7px 0 #3B4650 !important;
}

.ti-modal .ti-modal-footer .ti-btn-secondary:active {
    transform: translate(2px, 2px) !important;
    box-shadow: 2px 2px 0 #3B4650 !important;
}

/* Varyanti olmayan footer butonu birincil eylem gibi durur; beyaz/stilsiz kalmaz */
.ti-modal .ti-modal-footer button:not([class*="ti-btn-"]):not(.gc-btn) {
    padding: 12px 24px !important;
    border: 3px solid #003E63 !important;
    border-radius: var(--adesk-action-button-radius) !important;
    background: #0065A3 !important;
    color: #FFF !important;
    font: 800 14px/1 sans-serif !important;
    box-shadow: 4px 4px 0 #003E63 !important;
    transition: transform .15s, box-shadow .15s !important;
}

/* Alt aksiyon butonlari metin uzunlugundan ve sinifindan bagimsiz ayni olcude durur */
.ti-modal .ti-modal-footer button,
.ti-modal .ti-modal-footer a.ti-btn,
.ti-modal .ti-modal-footer a.gc-btn {
    min-width: 132px !important;
    min-height: 46px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

.swal2-container .swal2-actions button {
    border-radius: var(--adesk-action-button-radius) !important;
}

/* styles.css'deki .swal2-actions flex-wrap kuralı butonları alt alta düşürüyor;
   arm-swal temasının grid düzenini burada pekiştiriyoruz */
body.swal2-shown div.swal2-container div.swal2-actions.arm-actions {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
    flex-wrap: nowrap !important;
}

body.swal2-shown div.swal2-container .arm-actions button.swal2-confirm,
body.swal2-shown div.swal2-container .arm-actions button.swal2-cancel,
body.swal2-shown div.swal2-container .arm-actions button.swal2-deny {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 48px !important;
    padding: 0 20px !important;
    margin: 0 !important;
    font-size: 15px !important;
    border-radius: var(--adesk-action-button-radius, 999px) !important;
    box-sizing: border-box !important;
}

/* ─── Form Elemanları (Vurgulu Brutalist Stiller) ────────────────── */
.ti-modal .ti-modal-body input[type="text"],
.ti-modal .ti-modal-body input[type="email"],
.ti-modal .ti-modal-body input[type="password"],
.ti-modal .ti-modal-body input[type="number"],
.ti-modal .ti-modal-body input[type="tel"],
.ti-modal .ti-modal-body input[type="url"],
.ti-modal .ti-modal-body input[type="date"],
.ti-modal .ti-modal-body input[type="time"],
.ti-modal .ti-modal-body input[type="datetime-local"],
.ti-modal .ti-modal-body textarea,
.ti-modal .ti-modal-body select,
.ti-modal .ti-modal-body .ti-form-input,
.ti-modal .ti-modal-body .ti-form-select {
    width: 100% !important;
    padding: 11px 14px !important;
    border: 2.5px solid #003E63 !important;
    border-radius: 10px !important;
    background: #FFF !important;
    font: 600 14px/1.2 sans-serif !important;
    color: #0F172A !important;
    outline: none !important;
    box-shadow: inset 2px 2px 0 rgba(0, 62, 99, .05) !important;
    transition: border-color .2s, box-shadow .2s !important;
}

.ti-modal .ti-modal-body input[type="text"]:focus,
.ti-modal .ti-modal-body input[type="email"]:focus,
.ti-modal .ti-modal-body input[type="password"]:focus,
.ti-modal .ti-modal-body input[type="number"]:focus,
.ti-modal .ti-modal-body input[type="tel"]:focus,
.ti-modal .ti-modal-body input[type="url"]:focus,
.ti-modal .ti-modal-body input[type="date"]:focus,
.ti-modal .ti-modal-body input[type="time"]:focus,
.ti-modal .ti-modal-body input[type="datetime-local"]:focus,
.ti-modal .ti-modal-body textarea:focus,
.ti-modal .ti-modal-body select:focus,
.ti-modal .ti-modal-body .ti-form-input:focus,
.ti-modal .ti-modal-body .ti-form-select:focus {
    border-color: #0065A3 !important;
    box-shadow: 0 0 0 3px rgba(0, 101, 163, .12) !important;
}

.ti-modal .ti-modal-body input::placeholder,
.ti-modal .ti-modal-body textarea::placeholder {
    color: #94A3B8 !important;
    font-weight: 500 !important;
}

.ti-modal .ti-modal-body label {
    display: block !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #003E63 !important;
    margin-bottom: 5px !important;
}

.ti-modal .ti-modal-body select {
    appearance: none !important;
    cursor: pointer !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2310355A' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
}

/* Choices.js — sadece dış kutu diğer inputlar gibi */
.ti-modal .ti-modal-body .choices__inner {
    border: 2.5px solid #003E63 !important;
    border-radius: 10px !important;
    background: #FFF !important;
    padding: 8px 14px !important;
    min-height: 44px !important;
    font: 600 14px/1.2 sans-serif !important;
    color: #0F172A !important;
    box-shadow: inset 2px 2px 0 rgba(0, 62, 99, .05) !important;
    transition: border-color .2s, box-shadow .2s !important;
}

.ti-modal .ti-modal-body .choices.is-open .choices__inner,
.ti-modal .ti-modal-body .choices__inner:focus-within {
    border-color: #0065A3 !important;
    box-shadow: 0 0 0 3px rgba(0, 101, 163, .12) !important;
}

/* Modal ici onay kutusu satiri — her modalda ayni gorunum */
.gc-check-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 12px;
    border: 1.5px solid #E2E8F0;
    border-radius: 10px;
    background: #F8FAFC;
}

.gc-check-row__hint {
    padding-left: 25px;
    font-size: 11.5px;
    font-weight: 500;
    color: #64748B;
}

/* ─── Modal form standardi ────────────────────────────────────────────
   Tum modallarda ayni alan yuksekligi, ayni etiket bicimi, tasma yok.
   Metin/sayi/secim alanlari yukaridaki ortak kuralla boyutlanir; asagidakiler
   o kuralin disinda kalan alan turlerini ayni dile getirir. */

/* Onay kutusu satirlari blok etiket kuralindan muaf: kutu + metin yan yana */
.ti-modal .ti-modal-body label:has(input[type="checkbox"]),
.ti-modal .ti-modal-body label:has(input[type="radio"]) {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 0 !important;
    cursor: pointer !important;
}

.ti-modal .ti-modal-body input[type="checkbox"],
.ti-modal .ti-modal-body input[type="radio"] {
    width: 17px !important;
    height: 17px !important;
    flex: 0 0 17px !important;
    margin: 0 !important;
    padding: 0 !important;
    accent-color: #0065A3;
    cursor: pointer !important;
}

.ti-modal .ti-modal-body input[type="file"] {
    width: 100% !important;
    padding: 8px 12px !important;
    border: 2.5px solid #003E63 !important;
    border-radius: 10px !important;
    background: #FFF !important;
    font: 600 13px/1.4 sans-serif !important;
    color: #0F172A !important;
    cursor: pointer !important;
}

.ti-modal .ti-modal-body textarea {
    min-height: 76px !important;
    line-height: 1.45 !important;
    resize: vertical !important;
}

.ti-modal .ti-modal-body input[readonly],
.ti-modal .ti-modal-body textarea[readonly] {
    background: #F4F6F8 !important;
    border-color: #C7D2DC !important;
    color: #475569 !important;
    cursor: default !important;
}

/* Grid hucreleri kendi icerigiyle sismesin — tasmanin ana sebebi budur */
.ti-modal .ti-modal-content,
.ti-modal .ti-modal-body,
.ti-modal .ti-modal-body .grid,
.ti-modal .ti-modal-body .grid > * {
    min-width: 0;
}

.ti-modal .ti-modal-body > * {
    max-width: 100%;
}

/* Alan sonrasi yardim metni ile alan arasinda tutarli bosluk */
.ti-modal .ti-modal-body .grid > * > .form-label {
    min-height: 18px;
}

/* Tablo hucreleri ve `-sm` isaretli alanlar tam genislik kuralindan muaftir.
   Aksi halde satir ici durum secimleri %100 genisleyip tabloyu kutunun disina tasiriyor. */
.ti-modal .ti-modal-body table select,
.ti-modal .ti-modal-body select.form-select-sm {
    width: auto !important;
    min-width: 96px !important;
    max-width: 100% !important;
    padding: 4px 26px 4px 8px !important;
    border-width: 1.5px !important;
    border-radius: 7px !important;
    font-size: 12px !important;
    background-position: right 8px center !important;
}

.ti-modal .ti-modal-body table input[type="text"],
.ti-modal .ti-modal-body table input[type="number"] {
    width: auto !important;
    min-width: 96px !important;
    max-width: 100% !important;
    padding: 4px 8px !important;
    border-width: 1.5px !important;
    border-radius: 7px !important;
    font-size: 12px !important;
}

/* Modal icindeki tablolar yatayda kendi icinde kaysin, kutuyu tasirmasin */
.ti-modal .ti-modal-body .overflow-x-auto,
.ti-modal .ti-modal-body .table-responsive {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.ti-modal .ti-modal-body .gc-pt__table {
    width: 100%;
    font-size: 12.5px;
}

.ti-modal .ti-modal-body .gc-pt__table thead th,
.ti-modal .ti-modal-body .gc-pt__table tbody td {
    padding: 8px 10px;
}

/* Modal açılış animasyonu */
.ti-modal.open .ti-modal-box {
    animation: armModalPop .34s cubic-bezier(.18, .86, .38, 1.18);
}

@keyframes armModalPop {
    0% {
        transform: translateY(22px) scale(.80) rotate(-2deg);
        opacity: 0;
    }

    65% {
        transform: translateY(-2px) scale(1.02) rotate(.5deg);
        opacity: 1;
    }

    100% {
        transform: translateY(0) scale(1) rotate(0);
    }
}

/* ─── Mobil: bottom-sheet ─────────────────────────────────────────── */
@media (max-width: 767px) {
    .ti-modal .ti-modal-content {
        border-radius: 20px 20px 0 0 !important;
        box-shadow: 0 -4px 24px rgba(0, 62, 99, .18) !important;
        border: none !important;
        border-top: 3px solid #003E63 !important;
    }

    .ti-modal .ti-modal-footer .ti-btn-primary,
    .ti-modal .ti-modal-footer .ti-btn-light {
        flex: 1 !important;
        box-shadow: 2px 2px 0 #003E63 !important;
        padding: 12px 14px !important;
        font-size: 13px !important;
    }
}/* Modal Check Row */
/* ─── TABLE SORTING ─────────────────────────────────────────────────── */
.gc-th-sortable {
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-right: 1.25rem !important;
    transition: background 0.12s;
}

.gc-th-sortable:hover {
    background: rgba(0, 0, 0, 0.03);
}
.gc-th-sortable::after {
    content: '⇅';
    position: absolute;
    right: 0.35rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7rem;
    opacity: 0.4;
}

.gc-th-sortable.sort-asc::after {
    content: '▲';
    opacity: 0.8;
    color: #0065A3;
}

.gc-th-sortable.sort-desc::after {
    content: '▼';
    opacity: 0.8;
    color: #0065A3;
}
/* ─── TYPOGRAPHY SCALE ──────────────────────────────────────────────── */
.gc-text-page-title {
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.3;
}

.gc-text-section-title {
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.4;
}

.gc-text-body {
    font-size: 0.8125rem;
    line-height: 1.5;
}

.gc-text-caption {
    font-size: 0.75rem;
    color: rgb(var(--text-muted));
    line-height: 1.4;
}

.gc-text-micro {
    font-size: 0.6875rem;
    color: rgb(var(--text-muted));
}/* ─── WEBVIEW & MOBILE OPTIMIZATIONS ─────────────────────────────────── */

/* iOS safe-area (notch) — body + fixed header + modal */
@supports (padding: env(safe-area-inset-top)) {
    body {
        padding-top: env(safe-area-inset-top);
        padding-bottom: env(safe-area-inset-bottom);
    }

    .app-header,
    header.app-header {
        padding-top: env(safe-area-inset-top) !important;
    }

    @media (max-width: 639px) {
        .ti-modal .ti-modal-box {
            padding-top: env(safe-area-inset-top);
            padding-bottom: env(safe-area-inset-bottom);
        }
    }
}

/* Pull-to-refresh devre dışı — WebView'de yenileme jesti istenmez */
html,
body {
    overscroll-behavior-y: contain;
}

/* WebView touch — 300ms tıklama gecikmesi yok + tap highlight kaldır */
a,
button,
[role="button"],
.ti-btn,
.btn {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* Mobil: iOS input zoom engeli (font-size < 16px focus'ta zoom yapar) */
@media (max-width: 767px) {

    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    input[type="tel"],
    input[type="search"],
    input[type="date"],
    input[type="datetime-local"],
    input[type="time"],
    input[type="url"],
    select,
    textarea,
    .form-control,
    .form-control-sm {
        font-size: 16px !important;
    }
}

/* Mobil: dokunmatik alan ≥44×44 (WCAG AA) */
@media (max-width: 767px) {

    .ti-btn,
    .btn,
    button.ti-btn,
    a.ti-btn {
        min-height: 44px;
        padding-top: 0.6rem;
        padding-bottom: 0.6rem;
    }

    .form-control,
    .form-control-sm,
    select.form-control {
        min-height: 44px;
    }

    /* Tablolardaki ikon butonlar — biraz daha küçük ama yine de tıklanabilir */
    td .ti-btn-icon,
    td .ti-btn-sm,
    td .ti-btn.btn-icon {
        min-width: 38px;
        min-height: 38px;
    }
}

/* Mobil: tablo nowrap kaldır — hücreler wrap edebilsin */
@media (max-width: 767px) {

    .table.whitespace-nowrap,
    table.whitespace-nowrap {
        white-space: normal !important;
    }

    .table.whitespace-nowrap td,
    .table.whitespace-nowrap th,
    table.whitespace-nowrap td,
    table.whitespace-nowrap th {
        white-space: normal !important;
        word-break: break-word;
    }
}

/* ─── MOBİL TABLO → KART GÖRÜNÜM ──────────────────────────────────────
   whitespace-nowrap işaretli tüm listeleme tabloları mobilde otomatik
   olarak kart layout'a dönüşür. Her satır beyaz bir kart, ilk hücre
   başlık (bold), diğer hücreler altta stacked. .text-end (işlem) hücresi
   sağa hizalı flexbox olarak ayrılır. Per-page değişiklik gerekmez.
*/
@media (max-width: 767px) {

    .table-responsive,
    .overflow-x-auto {
        overflow-x: visible !important;
    }

    /* Geniş matris/rapor tabloları (kart'a dönüşmez) yatay kaydırmayı korur — aksi halde sayfayı taşırır */
    .gc-keep-scroll,
    .overflow-x-auto.gc-keep-scroll,
    .table-responsive.gc-keep-scroll,
    .overflow-x-auto:has(.gc-report-table),
    .table-responsive:has(.gc-report-table) {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    .table.whitespace-nowrap,
    table.whitespace-nowrap {
        display: block;
        width: 100%;
        background: transparent !important;
        border: none !important;
        min-width: 0 !important;
    }

    .table.whitespace-nowrap thead,
    table.whitespace-nowrap thead {
        display: none;
    }

    .table.whitespace-nowrap tbody,
    table.whitespace-nowrap tbody {
        display: block;
        width: 100%;
    }

    .table.whitespace-nowrap tbody tr,
    table.whitespace-nowrap tbody tr {
        display: block;
        background: rgb(var(--custom-white, 255 255 255));
        border: 1px solid rgb(var(--default-border));
        border-radius: 0.625rem;
        padding: 0.85rem 1rem;
        margin-bottom: 0.6rem;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    }

    .table.whitespace-nowrap tbody tr:hover,
    table.whitespace-nowrap tbody tr:hover {
        background: rgba(var(--primary-rgb), 0.02);
    }

    .table.whitespace-nowrap tbody td,
    table.whitespace-nowrap tbody td {
        display: block;
        padding: 0.25rem 0;
        border: none !important;
        font-size: 0.8125rem;
        line-height: 1.4;
    }

    /* İlk hücre — başlık (kart adı) */
    .table.whitespace-nowrap tbody td:first-child,
    table.whitespace-nowrap tbody td:first-child {
        font-size: 0.95rem;
        font-weight: 600;
        color: rgb(var(--default-text-color));
        margin-bottom: 0.35rem;
        padding-top: 0;
    }

    /* İşlem hücresi (sağa hizalı) — kartın altına flex butonlar */
    .table.whitespace-nowrap tbody td.text-end,
    .table.whitespace-nowrap tbody td.text-center:last-child,
    table.whitespace-nowrap tbody td.text-end,
    table.whitespace-nowrap tbody td.text-center:last-child {
        text-align: left !important;
        margin-top: 0.6rem;
        padding-top: 0.6rem;
        border-top: 1px dashed rgb(var(--default-border)) !important;
        display: flex;
        gap: 0.4rem;
        flex-wrap: wrap;
    }

    .table.whitespace-nowrap tbody td.text-end .ti-btn,
    .table.whitespace-nowrap tbody td.text-center:last-child .ti-btn,
    table.whitespace-nowrap tbody td.text-end .ti-btn,
    table.whitespace-nowrap tbody td.text-center:last-child .ti-btn {
        flex: 1 1 auto;
        min-height: 40px;
        margin: 0 !important;
        justify-content: center;
    }

    /* Boş veri satırı — kart değil, tek satır mesaj */
    .table.whitespace-nowrap tbody tr td[colspan]:only-child,
    table.whitespace-nowrap tbody tr td[colspan]:only-child {
        text-align: center;
        padding: 1.25rem 0.5rem;
        font-size: 0.875rem;
    }

    .table.whitespace-nowrap tbody tr:has(td[colspan]:only-child),
    table.whitespace-nowrap tbody tr:has(td[colspan]:only-child) {
        background: transparent;
        border: 1px dashed rgb(var(--default-border));
        box-shadow: none;
    }
    /* Box wrapper'ın iç padding'i mobilde daralt */
    .box .box-body.p-0 {
        padding: 0.5rem !important;
    }
}

/* ===== Global bilgilendirme banner'ı — sade/kurumsal ortak kullanım ===== */
.info-banner {
    --ib-amber: #FBB72A;
    --ib-amber-rgb: 251, 183, 42;
    --ib-accent: var(--ib-amber);
    --ib-accent-rgb: var(--ib-amber-rgb);
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-left: 4px solid var(--ib-accent);
    border-radius: 10px;
    padding: 1rem 1.15rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

/* varyant aksan rengi */
.info-banner-primary {
    --ib-accent: #FBB72A;
    --ib-accent-rgb: 251, 183, 42;
}

.info-banner-warning {
    --ib-accent: #FBB72A;
    --ib-accent-rgb: 251, 183, 42;
}

.info-banner-success {
    --ib-accent: #16A34A;
    --ib-accent-rgb: 22, 163, 74;
}

/* ikon — sade kurumsal çip */
.info-banner .ib-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    margin-top: 1px;
    display: grid;
    place-items: center;
    font-size: 1.15rem;
    line-height: 1;
    background: rgba(var(--ib-accent-rgb), 0.13);
    border: 1px solid rgba(var(--ib-accent-rgb), 0.24);
    color: var(--ib-accent) !important;
}

.info-banner .ib-text {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.info-banner .ib-text strong {
    color: var(--default-text-color);
    display: block;
    margin-bottom: 0.15rem;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

@media (max-width: 640px) {
    .info-banner {
        flex-direction: column;
        gap: 0.6rem;
    }
}

/* ─── WEBVIEW NATIVE HİSSİYAT (Adım 1) ──────────────────────────────── */

/* Sayfa geçişinde beyaz flash önleme */
html {
    background-color: rgb(var(--default-body-bg-color));
}
/* Aktif basım feedback (buton + kart) */
@media (max-width: 767px) {

    .ti-btn:active,
    button:active,
    a.ti-btn:active,
    [role="button"]:active {
        transform: scale(0.96);
        opacity: 0.85;
        transition: transform 0.08s ease, opacity 0.08s ease;
    }

    .box:active,
    .branch-card:active,
    .ntf-item:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}

/* User-select kapalı (non-input) — native app hissiyatı */
@media (max-width: 767px) {

    body,
    .box,
    .box-header,
    .box-footer,
    nav,
    .tab-btn,
    .gc-tab,
    .page-header-breadcrumb,
    .app-header,
    .app-sidebar,
    label {
        -webkit-user-select: none;
        user-select: none;
    }

    input,
    textarea,
    select,
    [contenteditable="true"],
    pre,
    code,
    .form-control,
    td,
    p,
    span,
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    li,
    a {
        -webkit-user-select: auto;
        user-select: auto;
    }
}

/* Bottom safe-area (gesture-bar telefonlar) */
@supports (padding: env(safe-area-inset-bottom)) {
    @media (max-width: 767px) {
        .main-content.app-content {
            padding-bottom: calc(1rem + env(safe-area-inset-bottom));
        }
    }
}

/* Modal footer sticky davranışı gc-mobile.js tarafından yönetilir */

/* ─── TAB OVERFLOW FIX (Adım 2) ──────────────────────────────────────── */
@media (max-width: 639px) {
    .gc-tabs {
        flex-wrap: nowrap !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-bottom: 2px;
    }

    .gc-tabs::-webkit-scrollbar {
        display: none;
    }

    .gc-tabs .gc-tab,
    .tab-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }
}

/* ─── FİLTRE SATIRLARI 480px ALTINDA FULL-WIDTH (Adım 3) ─────────────── */
@media (max-width: 480px) {
    .grid.grid-cols-12>[class*="col-span-6"]:not(.keep-half) {
        grid-column: span 12 / span 12;
    }
}

/* ─── SHIFT TAKVİM MOBİL (Adım 4) ───────────────────────────────────── */
@media (max-width: 767px) {
    #tabCalendar .table-bordered {
        font-size: 0.7rem;
    }

    #tabCalendar .table-bordered td,
    #tabCalendar .table-bordered th {
        padding: 0.25rem 0.2rem;
    }

    #tabCalendar .table-bordered td:first-child,
    #tabCalendar .table-bordered th:first-child {
        position: sticky;
        left: 0;
        z-index: 2;
        background: #fff;
    }}

/* ─── SAYFA GEÇİŞ ANİMASYONU (Adım 7 CSS) ──────────────────────────── */
@media (max-width: 767px) {
    body.gc-page-exit {
        opacity: 0.6;
        transform: scale(0.98);
        transition: opacity 0.12s ease, transform 0.12s ease;
    }
}

/* ─── PUBLIC SAYFA MOBİL (Adım 6) ────────────────────────────────────── */
@media (max-width: 420px) {
    .req-card {
        border-radius: 0.75rem;
    }

    .req-head {
        padding: 1.25rem 1rem 0.75rem;
    }

    .req-body {
        padding: 0 1rem 1rem;
    }
}

@media (max-width: 480px) {
    .guide-hero {
        padding: 1.5rem 1.25rem;
        border-radius: 0.75rem;
    }

    .guide-hero h1 {
        font-size: 1.35rem;
    }

    .guide-hero p {
        font-size: 0.85rem;
    }
}

/* ─── Rapor tabloları — zebra striping + hover ─── */
.gc-report-table tbody tr:nth-child(even) {
    background-color: #f9fafb;
}

.gc-report-table tbody tr:hover {
    background-color: #f1f5f9;
    transition: background 0.12s ease;
}

.gc-report-table td {
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

.gc-report-table.puantaj-table tbody tr:nth-child(even) td:not([class*="cell-"]) {
    background-color: #f9fafb;
}

.gc-report-table.puantaj-table tbody tr:nth-child(even) td[class*="cell-"] {
    background-color: transparent;
}

.gc-report-table.puantaj-table tbody tr:hover td {
    background-color: rgba(var(--primary-rgb), 0.04);
}

/* ─── Rapor/izleme tablolarında isim → profil bağlantısı ─── */
.gc-profile-link {
    color: rgb(var(--primary-rgb));
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.gc-profile-link:hover {
    text-decoration: underline;
}

/* ─── Global tablo satır yoğunluğu — daha kompakt ─── */
.table td {
    padding: 0.35rem 0.75rem !important;
}

.table thead tr th {
    padding: 0.4rem 0.75rem !important;
}/* Sabit beyaz/açık zemin & gri metin yardımcıları (inline style="...#fff/#374151" alternatifi) */
html.is-native-app.dark #gc-ptr {
    background: rgb(var(--default-background));
}

html.is-native-app.dark #gc-ptr .gc-ptr-spinner {
    border-color: rgb(var(--default-border) / 0.18);
    border-top-color: #93c5fd;
}

/* ─── FOOTER ───────────────────────────────────────────────────────── */
.gc-footer {
    margin-top: auto;
    padding: 0;
    font-family: sans-serif;
}

.gc-footer .gc-ft-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 28px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-radius: 0;
}

.gc-footer .gc-ft-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.gc-footer .gc-ft-brand .gc-ft-logo {
    height: 28px;
    margin-bottom: 0;
}

.gc-footer .gc-ft-brand .gc-ft-logo-dark {
    display: none;
}

.gc-footer .gc-ft-brand p {
    font-size: 11.5px;
    color: #64748b;
    line-height: 1.4;
    margin: 0;
    max-width: 280px;
}

.gc-footer .gc-ft-social h6 {
    display: none;
}

.gc-footer .gc-ft-social-links {
    display: flex;
    gap: 8px;
}

.gc-footer .gc-ft-social-links a {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: #e2e8f0;
    color: #475569;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s;
}

.gc-footer .gc-ft-social-links a:hover {
    background: #003E63;
    color: #fff;
    transform: translateY(-1px);
}

.gc-footer .gc-ft-contact h6 {
    display: none;
}

.gc-footer .gc-ft-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 16px;
}

.gc-footer .gc-ft-contact ul li {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.gc-footer .gc-ft-contact ul li i {
    font-size: 14px;
    color: #94a3b8;
    width: 16px;
    flex-shrink: 0;
}

.gc-footer .gc-ft-contact ul a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.15s;
}

.gc-footer .gc-ft-contact ul a:hover {
    color: #003E63;
}

.gc-footer .gc-ft-copy {
    font-size: 11px;
    color: #94a3b8;
    margin-left: auto;
}

.gc-footer .gc-ft-copy strong {
    color: #475569;
}

@media (max-width: 992px) {
    .gc-footer .gc-ft-grid {
        flex-wrap: wrap;
        gap: 16px;
        padding: 18px 20px;
    }
}

@media (max-width: 576px) {
    .gc-footer .gc-ft-grid {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px;
    }

    .gc-footer .gc-ft-contact ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .gc-footer .gc-ft-copy {
        margin-left: 0;
        text-align: center;
    }
}
.gc-footer.gc-footer-mobile {
    margin-top: auto;
    padding: 0;
}

.gc-footer.gc-footer-mobile .gc-ft-grid {
    justify-content: center;
    padding: 14px 16px;
}

.gc-footer.gc-footer-mobile .gc-ft-copy {
    margin-left: 0;
    text-align: center;
}

/* ═══════════════════════════════════════════════════════════════════════
   GC FILTER PANEL — Açılır/kapanır filtre kutusu
   ═══════════════════════════════════════════════════════════════════════ */
.gc-filter {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    margin-bottom: 1rem;
    position: relative;
    /* tablo sarmalayicisi z-index:1 tasiyor; acilan select onun ustunde kalmali */
    z-index: 30;
}

.gc-filter .choices.is-open,
.gc-filter .choices__list--dropdown {
    z-index: 10000;
}

.gc-filter__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 18px;
    cursor: pointer;
    user-select: none;
    transition: background .12s;
}

.gc-filter__toggle:hover {
    background: #F9FAFB;
}

.gc-filter__toggle-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #1F2937;
}

.gc-filter__toggle-title i {
    color: #F5C95B;
    font-size: 16px;
}

.gc-filter__toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-size: 18px;
    color: #6B7280;
    transition: transform .2s ease;
    transform: rotate(0deg);
}

.gc-filter.is-open .gc-filter__toggle-icon {
    transform: rotate(180deg);
}

/* Dolu filtre sayisi rozeti — panel kapaliyken filtrenin aktif oldugunu gosterir */
.gc-filter__count {
    display: none;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: rgb(var(--primary-rgb, 0 101 163));
    color: #fff;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}

.gc-filter__count.is-visible {
    display: inline-block;
}

/* Varsayilan kapali; gc-ui-utils.js slideToggle ile acar */
.gc-filter__body {
    display: none;
    padding: 14px 18px 18px;
    border-top: 1px solid #F3F4F6;
}

.gc-filter.is-open .gc-filter__body {
    display: block;
    animation: gcFilterReveal .18s ease-out;
}

@keyframes gcFilterReveal {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.gc-filter__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 12px;
    align-items: end;
}

.gc-filter__grid label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #6B7280;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.gc-filter__grid .form-control,
.gc-filter__grid .filter-input,
.gc-filter__grid select {
    font-size: 13px;
    height: 34px;
    border-radius: 6px;
}

.gc-filter__grid .choices .choices__inner {
    min-height: 34px;
    max-height: 34px;
    padding: 4px 10px;
    font-size: 13px;
    display: flex;
    align-items: center;
    border-radius: 6px;
}

.gc-filter__grid .choices[data-type*="select-multiple"] .choices__inner {
    max-height: none;
}
/* ═══════════════════════════════════════════════════════════════════════
   GC PREMIUM TABLE — "Tam Premium" datatable stili
   Kullanım:
   <div class="gc-pt">
     <div class="gc-pt__header">
       <div class="gc-pt__brand">...</div>
       <div class="gc-pt__actions">...</div>
     </div>
     <div class="gc-pt__body [gc-pt__filigran]">
       <table class="gc-pt__table">...</table>
     </div>
     <div class="gc-pt__footer">...</div>
   </div>
   ═══════════════════════════════════════════════════════════════════════ */
.gc-pt {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    /* overflow gorunur: filtre dropdown'lari kart sinirinin disina tasabilmeli */
    overflow: visible;
    box-shadow: 0 2px 8px -4px rgba(0, 0, 0, .08);
    position: relative;
    margin-bottom: 1.5rem;
}

.gc-pt__header {
    border-radius: 10px 10px 0 0;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    border-bottom: 3px solid #F5C95B;
}

.gc-pt__brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.gc-pt__brand img {
    height: 36px;
    display: block;
}

.gc-pt__brand-sep {
    width: 1px;
    height: 28px;
    background: #E5E7EB;
}

.gc-pt__brand-badge {
    background: #F9FAFB;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid #E5E7EB;
    display: flex;
    align-items: center;
}

.gc-pt__brand-badge img {
    height: 24px;
    display: block;
}

.gc-pt__brand h5,
.gc-pt__brand .gc-pt__title {
    margin: 0;
    font-weight: 700;
    font-size: 15px;
    color: #0F1419;
    letter-spacing: -.01em;
}

.gc-pt__brand .gc-pt__subtitle {
    font-size: 10px;
    color: #6B7280;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 1px;
}

.gc-pt__brand .gc-pt__count {
    background: #F3F4F6;
    color: #4B5563;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: "Inter Tight", monospace;
}

.gc-pt__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.gc-pt__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 12.5px;
    padding: 7px 12px;
    border-radius: 5px;
    background: #fff;
    color: #374151;
    border: 1px solid #D1D5DB;
    cursor: pointer;
    transition: background .15s, border-color .15s;
    font-family: inherit;
}

.gc-pt__btn:hover {
    background: #F3F4F6;
    border-color: #9CA3AF;
}

.gc-pt__btn--primary {
    background: #F5C95B;
    color: #1A1A1A;
    border-color: #F5C95B;
    font-weight: 700;
}

.gc-pt__btn--primary:hover {
    background: #E3B84A;
    border-color: #E3B84A;
}

.gc-pt__btn--success {
    background: #15803D;
    color: #fff;
    border-color: #15803D;
    font-weight: 700;
}

.gc-pt__btn--success:hover {
    background: #166534;
    border-color: #166534;
}

/* Body + filigran */
.gc-pt__body {
    position: relative;
    overflow: hidden;
}

.gc-pt__filigran::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 340px;
    height: 340px;
    transform: translate(-50%, -50%) rotate(-18deg);
    background: url('/assets/images/adesk-logo.png') no-repeat center/contain;
    opacity: .035;
    pointer-events: none;
    z-index: 0;
}

.gc-pt__body .table-responsive,
.gc-pt__body .overflow-x-auto {
    position: relative;
    z-index: 1;
}

/* Table */
.gc-pt__table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.gc-pt__table thead th {
    text-align: left;
    padding: 8px 16px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #111827;
    font-weight: 800;
    border-bottom: 2px solid #E5E7EB;
    background: #F9FAFB;
    white-space: nowrap;
}

.gc-pt__table thead th.text-center {
    text-align: center;
}

.gc-pt__table thead th.text-end,
.gc-pt__table thead th.text-right {
    text-align: right;
}

.gc-pt__table thead th:last-child {
    text-align: right;
    padding-right: 20px;
}

.gc-pt__table tbody td {
    padding: 6px 16px;
    font-size: 13px;
    color: #1F2937;
    font-weight: 500;
    border-bottom: 1px solid #F3F4F6;
    white-space: nowrap;
    vertical-align: middle;
}

.gc-pt__table tbody td:first-child {
    font-weight: 700;
    color: #111827;
    font-size: 13.5px;
}

.gc-pt__table tbody td:last-child {
    text-align: right;
    padding-right: 20px;
}

.gc-pt__table tbody tr {
    transition: background .12s ease;
}

.gc-pt__table tbody tr:hover {
    background: #FEFCF3;
}

.gc-pt__table tbody td.text-center {
    text-align: center;
}

.gc-pt__table tbody td.text-end,
.gc-pt__table tbody td.text-right {
    text-align: right;
}

.gc-pt__table tbody td[data-num] {
    text-align: right;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    font-family: "Inter Tight", monospace;
}

/* Action buttons */
.gc-pt__act {
    display: inline-flex;
    gap: 3px;
    justify-content: flex-end;
}

.gc-pt__act-btn {
    width: 26px;
    height: 26px;
    border-radius: 5px;
    display: inline-grid;
    place-items: center;
    font-size: 13px;
    border: none;
    cursor: pointer;
    transition: background .15s, transform .1s;
}

.gc-pt__act-btn:hover {
    transform: translateY(-1px);
}

.gc-pt__act-btn--settings {
    color: #6B7280;
    border: 1px solid #E5E7EB;
    background: #fff;
}

.gc-pt__act-btn--settings:hover {
    background: #F3F4F6;
    color: #374151;
}

.gc-pt__act-btn--view {
    color: #fff;
    background: #3B82F6;
}

.gc-pt__act-btn--view:hover {
    background: #2563EB;
}

.gc-pt__act-btn--edit {
    color: #1A1A1A;
    background: #F5C95B;
}

.gc-pt__act-btn--edit:hover {
    background: #E3B84A;
}

/* Onay bekleyen musteriyi firmaya baglayan aksiyon */
.gc-pt__act-btn--approve {
    color: #fff;
    background: #15803D;
}

.gc-pt__act-btn--approve:hover {
    background: #116430;
}

.gc-pt__act-btn--delete {
    color: #fff;
    background: #A8142F;
}

.gc-pt__act-btn--delete:hover {
    background: #8B1028;
}

.gc-pt__act-btn--card {
    color: #fff;
    background: #6B7280;
}

.gc-pt__act-btn--card:hover {
    background: #4B5563;
}

.gc-pt__act-btn--qr {
    color: #fff;
    background: #0EA5E9;
}

.gc-pt__act-btn--qr:hover {
    background: #0284C7;
}

.gc-pt__act-btn--labeled {
    width: auto;
    height: auto;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-radius: 6px;
}

/* Status badges */
.gc-pt__status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .02em;
}

.gc-pt__status--active {
    background: #15803D;
    color: #fff;
}

.gc-pt__status--active::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #86EFAC;
}

.gc-pt__status--inactive {
    background: #E5E7EB;
    color: #4B5563;
}

.gc-pt__status--inactive::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #9CA3AF;
}

.gc-pt__status--warning {
    background: #FEF3C7;
    color: #92400E;
    border: 1.5px solid #F59E0B;
    animation: gcPtPulse 2s ease-in-out infinite;
}

.gc-pt__status--warning::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #F59E0B;
}

.gc-pt__status--danger {
    background: #DC2626;
    color: #fff;
    border: none;
    animation: gcPtPulse 2s ease-in-out infinite;
    text-decoration: none;
}

.gc-pt__status--danger::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #FCA5A5;
}

a.gc-pt__status--danger:hover {
    background: #B91C1C;
    color: #fff;
    text-decoration: none;
}

@keyframes gcPtPulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4);
    }

    50% {
        box-shadow: 0 0 0 5px rgba(220, 38, 38, 0);
    }
}

/* Footer */
.gc-pt__footer {
    border-radius: 0 0 10px 10px;
    padding: 9px 20px;
    border-top: 1px solid #E5E7EB;
    background: #FAFAFA;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 11.5px;
    color: #4B5563;
    font-weight: 600;
}

.gc-pt__footer-right {
    font-family: "Inter Tight", monospace;
    font-weight: 700;
    color: #0F1419;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* Pagination inside gc-pt */
.gc-pt__pagination {
    display: flex;
    align-items: center;
    gap: 4px;
}

.gc-pt__pagination button,
.gc-pt__pagination a {
    min-width: 28px;
    height: 28px;
    padding: 0 6px;
    border-radius: 5px;
    border: 1px solid #E5E7EB;
    background: #fff;
    color: #374151;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .12s, border-color .12s;
    text-decoration: none;
}

.gc-pt__pagination button:hover,
.gc-pt__pagination a:hover {
    background: #F3F4F6;
    border-color: #9CA3AF;
}

.gc-pt__pagination button.active,
.gc-pt__pagination a.active {
    background: #F5C95B;
    border-color: #F5C95B;
    color: #1A1A1A;
    font-weight: 700;
}

.gc-pt__pagination button:disabled {
    opacity: .4;
    cursor: not-allowed;
}

.gc-pt__info {
    font-size: 11.5px;
    color: #6B7280;
    font-weight: 500;
}

/* Empty state inside gc-pt */
.gc-pt__empty {
    text-align: center;
    padding: 2.5rem 1rem;
}

.gc-pt__empty-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(245, 201, 91, .12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    font-size: 1.5rem;
    color: #F5C95B;
}

.gc-pt__empty-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.25rem;
}

.gc-pt__empty-desc {
    font-size: 0.78rem;
    color: #6B7280;
}

/* Skeleton loading */
.gc-pt__skeleton td {
    padding: 8px 16px !important;
}

.gc-pt__skeleton .gc-pt__skel-bar {
    height: 11px;
    border-radius: 3px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: gcSkeletonShimmer 1.5s infinite ease-in-out;
}/* Mobile responsive */
@media (max-width: 767px) {
    .gc-pt__header {
        padding: 10px 14px;
        gap: 8px;
    }

    .gc-pt__brand img {
        height: 28px;
    }

    .gc-pt__brand-badge img {
        height: 18px;
    }

    .gc-pt__brand h5,
    .gc-pt__brand .gc-pt__title {
        font-size: 13px;
    }

    .gc-pt__actions {
        width: 100%;
    }

    .gc-pt__btn {
        flex: 1;
        justify-content: center;
        font-size: 12px;
        padding: 8px 10px;
    }

    .gc-pt__table thead {
        display: none;
    }

    /* Kartların üstüne oturduğu nötr zemin — beyaz kartlar belirginleşsin */
    .gc-pt__body {
        background: #F4F6F8;
        padding: 10px;
    }

    /* Her satır ayrık, yükseltilmiş bir karta dönüşür — 2 sütunlu grid */
    .gc-pt__table tbody tr {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2px 14px;
        padding: 14px 16px;
        margin-bottom: 10px;
        background: #fff;
        border: 1px solid #E8ECF0;
        border-radius: 12px;
        box-shadow: 0 1px 3px rgba(16, 24, 40, .05), 0 4px 12px -4px rgba(16, 24, 40, .08);
        position: relative;
        overflow: hidden;
    }

    /* Sol accent çizgi — border yerine pseudo (animasyonda background taşması olmaz) */
    .gc-pt__table tbody tr::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 3.5px;
        background: #0065A3;
        border-radius: 12px 0 0 12px;
    }

    .gc-pt__table tbody tr:last-child {
        margin-bottom: 0;
    }

    .gc-pt__table tbody tr:hover {
        background: #fff;
    }

    .gc-pt__table tbody td {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 5px 0;
        border: none;
        white-space: normal;
        font-size: 13px;
        font-weight: 500;
        color: #1E293B;
        line-height: 1.4;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Ortadaki hizalı hücreler kartta sola yaslanır */
    .gc-pt__table tbody td.text-center,
    .gc-pt__table tbody td.text-end,
    .gc-pt__table tbody td.text-right {
        text-align: left;
    }

    /* Kart başlığı (ilk hücre) — tam genişlik, koyu ve belirgin */
    .gc-pt:not(.gc-pt--mini) .gc-pt__table tbody td:first-child:not([colspan]) {
        grid-column: 1 / -1;
        font-size: 14px;
        font-weight: 800;
        color: #0F172A;
        padding: 0 0 8px;
        margin-bottom: 2px;
        border-bottom: 1px solid #F1F3F5;
        letter-spacing: -0.01em;
    }

    /* Kartın alt aksiyon şeridi (son hücre) — tam genişlik */
    .gc-pt:not(.gc-pt--mini) .gc-pt__table tbody td:last-child:not([colspan]) {
        grid-column: 1 / -1;
        margin-top: 2px;
        padding-top: 8px;
        border-top: 1px solid #F1F3F5;
        text-align: left;
        font-size: 11.5px;
        color: #64748B;
    }

    /* Tek hücreli satırlar (skeleton, empty state) tam genişlik */
    .gc-pt__table tbody td[colspan] {
        grid-column: 1 / -1;
    }

    /* Mobil kart görünümünde her hücrenin başına sütun başlığını yaz (data-label gc-ui-utils.js'ten gelir) */
    .gc-pt:not(.gc-pt--mini) .gc-pt__table tbody td[data-label]:not(:first-child):not(:last-child)::before {
        content: attr(data-label);
        margin-bottom: 1px;
        font-size: 10px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: .04em;
        color: #94A3B8;
        line-height: 1.2;
    }

    /* Modal içindeki tablolar .gc-pt sarmalayıcısı taşımaz; thead gizlenip satır karta dönüştüğü
       için etiketsiz kalırlardı. İlk/son hücre de anlamlı olduğundan burada muafiyet yoktur. */
    .ti-modal .ti-modal-body .gc-pt__table tbody td[data-label]::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 1px;
        font-size: 10px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: .04em;
        color: #94A3B8;
        line-height: 1.2;
    }

    .gc-pt__act {
        gap: 6px;
    }

    .gc-pt__act-btn {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }

    .gc-pt__footer {
        padding: 8px 14px;
        flex-direction: column;
        align-items: flex-start;
    }

    .gc-pt__pagination {
        flex-wrap: wrap;
    }
    /* ─────────────────────────────────────────────────────────────
       gc-pt--mini — kompakt kart modu
       Satır başına 2 kart; kartta yalnız rol sınıfı taşıyan hücreler
       görünür, kalan alanlar detay modalında açılır.
       ───────────────────────────────────────────────────────────── */
    .gc-pt--mini .gc-pt__table tbody {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        align-items: start;
    }

    .gc-pt--mini .gc-pt__table tbody tr {
        display: flex;
        flex-wrap: wrap;
        align-content: flex-start;
        gap: 5px 8px;
        margin-bottom: 0;
        padding: 11px 11px 11px 13px;
    }

    /* skeleton ve boş durum satırları iki sütunu birden kaplar */
    .gc-pt--mini .gc-pt__table tbody tr.gc-pt__fullrow,
    .gc-pt--mini .gc-pt__table tbody tr:has(td[colspan]) {
        grid-column: 1 / -1;
        display: block;
    }

    .gc-pt--mini .gc-pt__table tbody td {
        display: none;
        padding: 0;
        margin: 0;
        border: none;
        min-width: 0;
        max-width: 100%;
    }

    .gc-pt--mini .gc-pt__table tbody td::before {
        content: none;
    }

    /* kart bağlamında sütun başlığı olmadığı için işaretler hücrenin başına yazılır */
    .gc-pt--mini .gc-pt__table tbody td.gc-c-id::before {
        content: '#';
        opacity: .75;
    }

    .gc-pt--mini .gc-pt__table tbody td.gc-c-tech::before {
        content: '👤 ';
        opacity: .8;
    }

    .gc-pt--mini .gc-pt__table tbody td[colspan] {
        display: block;
    }

    .gc-pt--mini .gc-pt__table tbody td.gc-c-badge {
        display: block;
        order: 1;
    }

    .gc-pt--mini .gc-pt__table tbody td.gc-c-id {
        display: block;
        order: 2;
        margin-left: auto;
        font-size: 11.5px;
        font-weight: 800;
        color: #94A3B8;
        letter-spacing: .02em;
    }

    .gc-pt--mini .gc-pt__table tbody td.gc-c-title {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        order: 3;
        width: 100%;
        margin-top: 1px;
        font-size: 12.5px;
        font-weight: 700;
        line-height: 1.35;
        color: #0F172A;
    }

    /* liste tablosundaki daraltma stilini kartta iptal et */
    .gc-pt--mini .gc-pt__table tbody td.gc-c-title span {
        display: inline !important;
        max-width: none !important;
        white-space: normal !important;
        overflow: visible !important;
    }

    .gc-pt--mini .gc-pt__table tbody td.gc-c-sub {
        display: block;
        order: 4;
        width: 100%;
        font-size: 11.5px;
        font-weight: 600;
        color: #475569;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .gc-pt--mini .gc-pt__table tbody td.gc-c-meta {
        display: block;
        order: 5;
        width: 100%;
        margin-top: 2px;
        padding-top: 6px;
        border-top: 1px solid #F1F3F5;
        font-size: 10.5px;
        font-weight: 600;
        color: #94A3B8;
    }

    .gc-pt--mini .gc-pt__table tbody .st-badge {
        font-size: 10px;
        padding: 2px 7px;
    }}

/* ============================================================
   KULLANILMIYOR — silinen index.php dashboard'una aitti (.cta-support*,
   .cta-glow, .cta-duo, .pending-company); hiçbir sayfa bu sınıfları basmıyor
   ============================================================ */
.cta-support {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 26px;
    border-radius: 18px;
    background: #00517F;
    color: #fff;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 101, 163, .35);
    transition: transform .18s ease, box-shadow .18s ease;
}
.cta-support:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 42px rgba(0, 101, 163, .48);
    color: #fff;
}
.cta-support__ico {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .16);
}
.cta-support__ico svg { width: 36px; height: 36px; }
.cta-support__txt {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1 1 auto;
    min-width: 0;
}
.cta-support__ttl {
    font-size: clamp(18px, 2.3vw, 26px);
    font-weight: 800;
    line-height: 1.15;
}
.cta-support__sub {
    font-size: 13.5px;
    font-weight: 500;
    opacity: .9;
}
.cta-support__btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #00517F;
    font-weight: 800;
    font-size: 15px;
    padding: 13px 24px;
    border-radius: 12px;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
}
.cta-support__btn i { font-size: 20px; line-height: 1; }

/* parlak nabız halesi */
.cta-glow { animation: cta-pulse 2.4s ease-in-out infinite; }
@keyframes cta-pulse {
    0%, 100% { box-shadow: 0 10px 30px rgba(0, 101, 163, .35), 0 0 0 0 rgba(0, 101, 163, .45); }
    50%      { box-shadow: 0 14px 40px rgba(0, 101, 163, .5), 0 0 0 14px rgba(0, 101, 163, 0); }
}
/* kullanılmıyor — silinen index.php dashboard'unun "firma bekliyor" şeridi */
.pending-company { display: flex; align-items: flex-start; gap: 10px; padding: 12px 16px; margin-bottom: 1rem; background: #fff7ed; border: 1px solid #fed7aa; border-left: 4px solid #a85f00; border-radius: 10px; }
.pending-company i { color: #a85f00; font-size: 18px; line-height: 1.3; }
.pending-company__title { color: #7c2d12; font-size: .84rem; font-weight: 800; }
.pending-company__text { color: #9a3412; font-size: .78rem; margin-top: 2px; }
/* kullanılmıyor — silinen index.php dashboard'unun ikili CTA ızgarası */
.cta-duo { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 1200px) { .cta-duo { grid-template-columns: 1fr 1fr; } }
.cta-support--call { background: #15803D; box-shadow: 0 10px 30px rgba(21, 128, 61, .35); }
.cta-support--call:hover { box-shadow: 0 16px 42px rgba(21, 128, 61, .48); }
.cta-support--call .cta-support__btn { color: #15803D; }
.cta-glow--call { animation: cta-pulse-call 2.4s ease-in-out infinite; }
@keyframes cta-pulse-call {
    0%, 100% { box-shadow: 0 10px 30px rgba(21, 128, 61, .35), 0 0 0 0 rgba(21, 128, 61, .45); }
    50%      { box-shadow: 0 14px 40px rgba(21, 128, 61, .5), 0 0 0 14px rgba(21, 128, 61, 0); }
}
/* buton olarak kullanildiginda <a> gorunumunu birebir korur */
button.cta-support { width: 100%; border: 0; font-family: inherit; text-align: left; cursor: pointer; }

/* kayan parıltı */
.cta-support::after {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent);
    transform: skewX(-20deg);
    animation: cta-shine 3.4s ease-in-out infinite;
    pointer-events: none;
}
@keyframes cta-shine {
    0%   { left: -60%; }
    55%, 100% { left: 130%; }
}
@media (max-width: 640px) {
    .cta-support { flex-wrap: wrap; gap: 14px; padding: 18px; }
    .cta-support__txt { flex-basis: calc(100% - 82px); }
    .cta-support__btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    .cta-glow, .cta-support::after { animation: none; }
}

/* ─── SÜRÜKLE-BIRAK DOSYA ALANLARI ──────────────────────────────────────
   gc-ui-utils.js içindeki gcFileDropZones() her input[type=file] için bir
   bırakma alanı kurar ve sürükleme sırasında .gc-dropzone--over ekler.
   Tint için inset box-shadow kullanılır: elemanın kendi arka planına ve
   position değerine dokunmaz, içindeki metin/görsel okunur kalır. */
.gc-dropzone--over {
    outline: 2px dashed #0065A3;
    outline-offset: 2px;
    box-shadow: inset 0 0 0 999px rgba(0, 101, 163, .07);
}

@media (prefers-reduced-motion: reduce) {
    .gc-dropzone--over { outline-style: solid; }
}

/* ─── GC-UPLOAD: PAYLAŞILAN DOSYA BIRAKMA ALANI ─────────────────────────
   Ham <input type="file"> ekranda yalnız "Dosya Seç" butonu olarak göründüğü
   için sürüklenebilir olduğu anlaşılmıyordu. Bu bileşen alanı görünür kılar:
   input gizlenir, kutuya tıklamak seçiciyi açar (gc-ui-utils.js), sürükleyip
   bırakmak da aynı input'u doldurur. Yeni dosya alanlarında bunu kullanın. */
.gc-upload {
    border: 2px dashed #C7D2DC;
    border-radius: 12px;
    padding: 1.25rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease;
    background: var(--adesk-surface-muted);
}

.gc-upload:hover {
    border-color: #0065A3;
    background: rgba(0, 101, 163, .04);
}

.gc-upload input[type="file"] {
    display: none !important;
}

.gc-upload__icon {
    font-size: 1.85rem;
    line-height: 1;
    color: #94A3B8;
    display: block;
    margin-bottom: .45rem;
}

.gc-upload__text {
    font-size: .82rem;
    font-weight: 600;
    color: var(--adesk-text-2);
}

.gc-upload__hint {
    font-size: .7rem;
    color: #94A3B8;
    margin-top: 4px;
}

/* Sürükleme sırasında kenarlık zaten .gc-dropzone--over ile vurgulanır;
   burada yalnız ikon markaya döner ki geri bildirim tek parça görünsün. */
.gc-upload.gc-dropzone--over .gc-upload__icon {
    color: #0065A3;
}

/* Support Module Card View & Tech Stats */
.gc-view-btn {
    border: none;
    background: transparent;
    color: #94A3B8;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.gc-view-btn:hover {
    color: #475569;
}
.gc-view-btn.is-active {
    background: #fff;
    color: #0065A3;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Personnel (Tech) Stats Horizontal Row */
.st-tech-stats-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 12px !important;
    align-items: center !important;
    padding: 6px 4px 12px 4px !important;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
    width: 100% !important;
}
.st-tech-stats-row::-webkit-scrollbar {
    height: 6px;
}
.st-tech-stats-row::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
.tech-stat-card {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    background: #fff;
    border: 1px solid var(--default-border);
    border-left: 4px solid var(--tech-color, #0065A3);
    border-radius: 10px;
    padding: 10px 16px;
    min-width: 200px !important;
    flex: 0 0 auto !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap !important;
}
.tech-stat-card:hover {
    border-color: var(--tech-color, #0065A3);
    border-left-color: var(--tech-color, #0065A3);
    background: var(--tech-soft, rgba(0, 101, 163, 0.05));
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}
.tech-stat-ava {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
.tech-stat-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.tech-stat-name {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--default-text-color);
    white-space: nowrap;
}
.tech-stat-count {
    font-size: 12px;
    margin-top: 1px;
}
/* Card View Enhancements */
.gc-ticket-card-inner {
    background: #ffffff;
    border: 1px solid var(--default-border);
    border-top: 4px solid #0065A3;
    border-radius: 12px;
    padding: 16px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    position: relative;
}

/* Status-based top border accents */
.gc-ticket-card[data-status="yeni"] .gc-ticket-card-inner { border-top-color: #E88A00; }
.gc-ticket-card[data-status="atandi"] .gc-ticket-card-inner { border-top-color: #0065A3; }
.gc-ticket-card[data-status="islemde"] .gc-ticket-card-inner { border-top-color: #00517F; }
.gc-ticket-card[data-status="parca-bekliyor"] .gc-ticket-card-inner { border-top-color: #8B1028; }
.gc-ticket-card[data-status="tamamlandi"] .gc-ticket-card-inner { border-top-color: #15803D; }
.gc-ticket-card[data-status="teslim"] .gc-ticket-card-inner { border-top-color: #06B6D4; }
.gc-ticket-card[data-status="iptal"] .gc-ticket-card-inner { border-top-color: #52606D; }

.gc-ticket-card:hover .gc-ticket-card-inner {
    box-shadow: 0 12px 28px -6px rgba(15, 46, 67, 0.12);
    transform: translateY(-3px);
}

.gc-tcard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.gc-tcard-id {
    font-size: 13.5px;
    font-weight: 800;
    color: #1e293b;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 6px;
    letter-spacing: -0.02em;
    font-family: inherit;
    border: 1px solid #e2e8f0;
}
.gc-tcard-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.gc-tcard-company {
    font-size: 14px;
    font-weight: 700;
    color: var(--default-text-color);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.gc-tcard-company .gc-tcard-icon {
    color: #0065A3;
    font-size: 16px;
    flex-shrink: 0;
}
.gc-tcard-branch {
    color: #64748b;
    font-weight: 500;
    font-size: 12px;
}
.gc-tcard-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin-bottom: 12px;
}
.gc-tcard-customer {
    font-size: 11.5px;
    font-weight: 600;
    color: #475569;
    display: inline-flex;
    align-items: center;
    background: #f8fafc;
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}
.gc-tcard-program {
    font-size: 11.5px;
    font-weight: 600;
    color: #0065A3;
    display: inline-flex;
    align-items: center;
    background: rgba(0, 101, 163, 0.08);
    padding: 3px 8px;
    border-radius: 6px;
}
.gc-tcard-complaint {
    font-size: 12.5px;
    color: #334155;
    line-height: 1.5;
    margin-bottom: 14px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    background: #f8fafc;
    padding: 10px 12px;
    border-radius: 8px;
    border-left: 3px solid #cbd5e1;
}
.gc-tcard-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px dashed var(--default-border);
    font-size: 12px;
}
.gc-tcard-tech {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 12px;
}
.gc-tcard-tech-ava {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10.5px;
    font-weight: 800;
    flex-shrink: 0;
}
.gc-tcard-tech-name {
    color: var(--default-text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}
.gc-tcard-tech-unassigned {
    color: #94a3b8;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11.5px;
}
.gc-tcard-time {
    color: #64748b;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11.5px;
    white-space: nowrap;
}