/* Core Stylesheet - Premium Light Theme Theme */
:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #eff6ff;
    --success: #10b981;
    --success-light: #ecfdf5;
    --warning: #f59e0b;
    --warning-light: #fef3c7;
    --danger: #ef4444;
    --danger-light: #fee2e2;
    --background: #f8fafc;
    --surface: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 16px;
}

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

body {
    background-color: var(--background);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--primary-hover);
}

/* Layout */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* Header & Navbar */
.navbar {
    background-color: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
}

.brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-badge {
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.925rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
    background-color: var(--primary-light);
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-left: 1.5rem;
    border-left: 1px solid var(--border);
}

.user-info {
    font-size: 0.875rem;
}

.user-name {
    font-weight: 600;
    color: var(--text-primary);
}

.btn-logout {
    font-size: 0.8125rem;
    color: var(--danger);
    font-weight: 500;
    padding: 0.375rem 0.75rem;
    border: 1px solid var(--danger-light);
    background-color: var(--danger-light);
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.btn-logout:hover {
    background-color: var(--danger);
    color: white;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.card {
    background-color: var(--surface);
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.card-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
}

.card-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* Tables & Wrappers */
.table-container {
    background-color: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin-bottom: 2rem;
}

.table-header-bar {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.table-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.table-responsive {
    overflow-x: auto;
    overflow-y: auto;
    max-height: 68vh; /* Ekran yüksekliğinin %68'i kadar alan kaplar, geri kalanı için dikey scroll çıkar */
    width: 100%;
}

.table-custom {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    text-align: left;
}

.table-custom th {
    background-color: var(--background);
    color: var(--text-secondary);
    font-weight: 600;
    padding: 0.875rem 1rem;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.table-custom th.sortable {
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s, color 0.2s;
}

.table-custom th.sortable:hover {
    background-color: var(--primary-light) !important;
    color: var(--primary) !important;
}

.sort-indicator-icon {
    display: inline-block;
    transition: transform 0.2s ease;
}


.table-custom td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-primary);
    white-space: nowrap;
}

.table-custom tr:last-child td {
    border-bottom: none;
}

.table-custom tr.row-subtotal {
    background-color: #f1f5f9 !important; /* Mavi/Gri şık ara toplam rengi */
    font-weight: 700;
}

.table-custom tr.row-subtotal td {
    color: var(--primary) !important;
}

/* Satıra tıklayınca yeşil renkle vurgulama (Mobil kolaylık için) */
.table-custom tbody tr:not(.row-subtotal) {
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.table-custom tbody tr:not(.row-subtotal):hover {
    background-color: #f8fafc;
}

.table-custom tr.row-highlighted td {
    background-color: #dcfce7 !important; /* Premium yumuşak yeşil */
    color: #166534 !important; /* Koyu yeşil metin */
    border-bottom-color: #bbf7d0 !important;
}

/* --- EXCEL HÜCRE DONDURMA (STICKY TABLE HEADERS & COLUMNS) --- */

/* Genel Başlık Sabitleme (Dikey kaydırma için başlıkları navbar'ın hemen altında dondurur) */
.table-custom thead th {
    position: sticky;
    top: 0; /* Artık dikey kaydırma yerel olduğu için 0 yaptık */
    z-index: 15;
    background-color: var(--background);
    box-shadow: 0 1px 0 var(--border);
}

/* Yapışkan Sütunların Arka Plan Renklerinin Satır Durumuna Göre Korunması */
.table-custom tbody tr td:first-child,
.table-custom tbody tr td:nth-child(2) {
    background-color: var(--surface);
    transition: background-color 0.15s ease;
}

/* Hover Durumunda Sabit Hücrelerin Rengi */
.table-custom tbody tr:not(.row-subtotal):not(.row-sube-header):hover td:first-child,
.table-custom tbody tr:not(.row-subtotal):not(.row-sube-header):hover td:nth-child(2) {
    background-color: #f8fafc !important;
}

/* Yeşil Seçili Durumunda Sabit Hücrelerin Rengi */
.table-custom tbody tr.row-highlighted td:first-child,
.table-custom tbody tr.row-highlighted td:nth-child(2) {
    background-color: #dcfce7 !important;
    color: #166534 !important;
}

/* Ara Toplam Satırlarında Sabit Hücrelerin Rengi */
.table-custom tbody tr.row-subtotal td:first-child,
.table-custom tbody tr.row-subtotal td:nth-child(2),
.table-custom tbody tr.row-sube-header td:first-child,
.table-custom tbody tr.row-sube-header td:nth-child(2) {
    background-color: #f1f5f9 !important;
    color: var(--text-primary) !important;
}

/* Genel Toplam Satırlarında Sabit Hücrelerin Rengi (Dondurulduğunda arka plan şeffaf olmasın) */
.table-custom tfoot tr td:first-child,
.table-custom tfoot tr td:nth-child(2) {
    background-color: #e2e8f0 !important;
    color: var(--text-primary) !important;
    z-index: 11;
}

/* DESKTOP & TABLET KURALLARI (Geniş Ekranlar) */
@media (min-width: 769px) {
    /* 1. Sütun (Cari Kodu) En Solda Sabit */
    .table-custom th:first-child,
    .table-custom td:first-child {
        position: sticky;
        left: 0;
        z-index: 11;
        width: 260px;
        min-width: 260px;
        max-width: 260px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    /* 2. Sütun (Cari Ünvanı) 1. Sütunun Hemen Yanında Sabit */
    .table-custom th:nth-child(2),
    .table-custom td:nth-child(2) {
        position: sticky;
        left: 260px; /* Cari Kodu sütununun genişliği (260px) */
        z-index: 11;
        box-shadow: 2px 0 5px rgba(0,0,0,0.05);
        width: 320px;
        min-width: 320px;
        max-width: 320px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    /* Başlıkların Dikey + Yatay Çakışma Yönetimi */
    .table-custom thead th:first-child {
        position: sticky;
        top: 0;
        left: 0;
        z-index: 25;
        background-color: var(--background);
    }
    
    .table-custom thead th:nth-child(2) {
        position: sticky;
        top: 0;
        left: 220px;
        z-index: 25;
        background-color: var(--background);
        box-shadow: 2px 0 5px rgba(0,0,0,0.05);
    }
}

/* MOBİL KURALLARI (Dar Ekranlar) */
@media (max-width: 768px) {
    /* Mobil ekranda yer kazanmak için Cari Kodu sütununu gizliyoruz */
    .table-custom th:first-child,
    .table-custom td:first-child {
        display: none;
    }
    
    /* Mobil ekranda 2. Sütun (Cari Ünvanı) en solda dondurulur */
    .table-custom th:nth-child(2),
    .table-custom td:nth-child(2) {
        position: sticky;
        left: 0;
        z-index: 11;
        box-shadow: 2px 0 5px rgba(0,0,0,0.08);
        max-width: 140px; /* Ekranda çok yer kaplamasın diye sınırlandırıldı */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .table-custom thead th:nth-child(2) {
        position: sticky;
        top: 0;
        left: 0;
        z-index: 25;
        background-color: var(--background);
        box-shadow: 2px 0 5px rgba(0,0,0,0.08);
    }
}

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

/* Filters & Inputs */
.filter-bar {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.form-control-sm {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    outline: none;
    transition: all 0.2s;
}

.form-control-sm:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--border);
    color: var(--text-secondary);
}

.btn-outline:hover {
    background-color: var(--background);
    color: var(--text-primary);
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.125rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
}

.badge-success {
    background-color: var(--success-light);
    color: var(--success);
}

.badge-warning {
    background-color: var(--warning-light);
    color: var(--warning);
}

.badge-danger {
    background-color: var(--danger-light);
    color: var(--danger);
}

/* Chart Canvas Section */
.charts-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (max-width: 992px) {
    .charts-grid {
        grid-template-columns: 1fr;
    }
}

.chart-card {
    background-color: var(--surface);
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.chart-header {
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1rem;
}

.chart-container {
    position: relative;
    height: 320px;
    width: 100%;
}

/* Responsive and Mobile Optimizations */
.btn-group-toggle {
    display: inline-flex;
    background: #e2e8f0;
    padding: 3px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    gap: 4px;
}

.btn-toggle-option {
    padding: 0.35rem 0.85rem;
    font-size: 0.8125rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: transparent;
    color: var(--text-secondary);
}

.btn-toggle-option.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

@media (max-width: 768px) {
    .container {
        padding: 1rem 0.5rem;
    }

    .navbar-container {
        flex-wrap: wrap;
        padding: 0.75rem 1rem;
    }

    .brand {
        font-size: 1.1rem;
    }

    .nav-links {
        order: 3;
        width: 100%;
        margin-top: 0.75rem;
        justify-content: space-around;
        border-top: 1px solid var(--border);
        padding-top: 0.5rem;
    }

    .nav-user {
        border-left: none;
        padding-left: 0;
        order: 2;
        gap: 0.5rem;
    }

    .user-info {
        display: none; /* Mobilde yer kazanmak için admin yazısını gizle */
    }

    .btn-logout {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }

    .card-grid {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .card {
        padding: 1rem;
    }

    .card-value {
        font-size: 1.5rem;
    }

    .chart-card {
        padding: 1rem;
    }

    .chart-container {
        height: 260px;
    }

    .table-header-bar {
        padding: 0.75rem;
        flex-direction: column;
        align-items: stretch;
    }

    .filter-bar {
        width: 100%;
    }

    .filter-bar form {
        width: 100%;
        flex-direction: column;
        align-items: stretch !important;
        gap: 0.5rem !important;
    }

    .filter-bar form select,
    .filter-bar form input,
    .filter-bar form button,
    .btn-group-toggle {
        width: 100% !important;
        text-align: center;
        justify-content: center;
    }

    .btn-group-toggle {
        display: flex;
    }

    .btn-toggle-option {
        flex: 1;
    }

    #table-search {
        width: 100% !important;
        margin-top: 0.25rem;
    }

    .table-header-bar button {
        width: 100% !important;
        justify-content: center;
    }

    /* Tablo mobilde daha sıkışık ve okunabilir olsun */
    .table-custom {
        font-size: 0.8rem;
    }

    .table-custom th,
    .table-custom td {
        padding: 0.625rem 0.75rem;
    }

    /* Mobil ekranda yer kazanmak için Cari Kodu sütununu gizliyoruz */
    .table-custom th:first-child,
    .table-custom td:first-child {
        display: none;
    }
    
    /* Mobil ekranda 2. Sütun (Cari Ünvanı) en solda dondurulur */
    .table-custom th:nth-child(2),
    .table-custom td:nth-child(2) {
        position: sticky;
        left: 0;
        z-index: 11;
        box-shadow: 2px 0 5px rgba(0,0,0,0.08);
        max-width: 130px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .table-custom thead th:nth-child(2) {
        position: sticky;
        top: 0;
        left: 0;
        z-index: 25;
        background-color: var(--background);
        box-shadow: 2px 0 5px rgba(0,0,0,0.08);
    }
}

/* --- TABS NAVIGATION --- */
.tabs-navigation {
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1.5rem;
    border-bottom: 2px solid var(--border);
    padding-bottom: 0px;
}

.tab-link {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 0.5rem;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: -2px;
    text-decoration: none;
}

.tab-link:hover {
    color: var(--primary);
}

.tab-link.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-badge {
    background: var(--border);
    color: var(--text-secondary);
    font-size: 0.75rem;
    padding: 0.125rem 0.375rem;
    border-radius: 9999px;
    font-weight: 500;
    transition: all 0.2s;
}

.tab-link.active .tab-badge {
    background: var(--primary-light);
    color: var(--primary);
}

/* --- MODAL (AÇILIR PENCERE) STİLLERİ --- */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease-in-out;
}

.modal-backdrop.show {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background: var(--surface);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 480px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.25s ease-in-out;
}

.modal-backdrop.show .modal-box {
    transform: scale(1);
}

.modal-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--background);
}

.modal-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.modal-close-btn {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close-btn:hover {
    color: var(--danger);
}

.modal-body {
    padding: 1.5rem;
}

.modal-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.4;
}

.modal-info-card {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.info-row:last-child {
    margin-bottom: 0;
}

.info-label {
    color: var(--text-secondary);
}

.info-value {
    font-weight: 600;
    color: var(--text-primary);
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.modal-btn {
    width: 100%;
    padding: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.modal-btn:hover {
    background: var(--background);
}

.modal-btn.btn-exclude {
    border-color: var(--danger-light);
    color: var(--danger);
    background-color: var(--danger-light);
}

.modal-btn.btn-exclude:hover {
    background-color: var(--danger);
    color: white;
}

.modal-btn.btn-special {
    border-color: var(--warning-light);
    color: var(--warning);
    background-color: var(--warning-light);
}

.modal-btn.btn-special:hover {
    background-color: var(--warning);
    color: white;
}

.modal-btn.btn-normal {
    border-color: var(--primary-light);
    color: var(--primary);
    background-color: var(--primary-light);
}

.modal-btn.btn-normal:hover {
    background-color: var(--primary);
    color: white;
}

/* --- AYARLAR SAYFASI STİLLERİ --- */
.settings-group {
    margin-bottom: 1.5rem;
}

.settings-label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.settings-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    margin-top: -0.25rem;
}

.settings-textarea {
    width: 100%;
    min-height: 120px;
    padding: 0.75rem;
    font-size: 0.875rem;
    font-family: inherit;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    resize: vertical;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.settings-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.alert-info-light {
    background-color: var(--primary-light);
    border: 1px solid #bfdbfe;
    color: #1e3a8a;
    padding: 1rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

/* --- CONTROL PANEL & FILTER CARD --- */
.control-panel {
    background-color: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
}

.control-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.control-title-area {
    display: flex;
    flex-direction: column;
}

.control-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.control-field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.control-label {
    font-size: 0.725rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: left;
}

.control-actions-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px dashed var(--border);
    margin-top: 0.25rem;
}

.control-actions-left, .control-actions-right {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.btn.active-group {
    background-color: var(--primary);
    color: white !important;
    border-color: var(--primary) !important;
}

/* Excel Stil Sınır Ayracı (Dondurulmuş alan belirteci) */
@media (min-width: 769px) {
    .table-custom th:nth-child(2),
    .table-custom td:nth-child(2) {
        border-right: 2px solid #cbd5e1 !important;
    }
}

/* Modal Görünüm Öncelikli Güvenlik Kuralları */
.modal-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: rgba(15, 23, 42, 0.4) !important;
    backdrop-filter: blur(8px) !important;
    z-index: 9999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Mutabakat M Badge Stilleri */
.badge-m-green {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background-color: var(--success);
    color: white;
    font-weight: bold;
    font-size: 11px;
    border-radius: 4px;
    margin-left: 6px;
    vertical-align: middle;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(16, 185, 129, 0.2);
}

.badge-m-red {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background-color: white;
    color: var(--danger);
    border: 1.5px solid var(--danger);
    font-weight: bold;
    font-size: 11px;
    border-radius: 4px;
    margin-left: 6px;
    vertical-align: middle;
    cursor: pointer;
}



