/* =====================================================
   RAKAM GİZLEME
   ===================================================== */
.rakam-gizle-btn {
    background: none;
    border: none;
    color: var(--renk-metin-ikincil);
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    margin-right: 4px;
}
.rakam-gizle-btn:hover {
    background: var(--renk-yuzey-hover);
    color: var(--renk-metin);
}
.rakam-gizle-btn.aktif {
    color: var(--renk-ana);
}
.rakam-gizle-btn.aktif svg {
    stroke: var(--renk-ana);
}

/* Rakam gizleme active olduğunda */
.rakam-gizli .rakam-gizlenecek,
.rakam-gizli .rakam-deger,
body.rakam-gizli .rakam-gizlenecek,
body.rakam-gizli .rakam-deger {
    filter: blur(6px);
    user-select: none;
    transition: filter 0.2s;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

/* --- CSS Değişkenleri --- */
:root {
    --renk-ana: #4f46e5;
    --renk-ana-hover: #4338ca;
    --renk-ana-acik: #eef2ff;
    --renk-basari: #10b981;
    --renk-basari-acik: #d1fae5;
    --renk-uyari: #f59e0b;
    --renk-uyari-acik: #fef3c7;
    --renk-hata: #ef4444;
    --renk-hata-acik: #fee2e2;
    --renk-bilgi: #3b82f6;
    --renk-bilgi-acik: #dbeafe;
    
    --renk-bg: #f1f5f9;
    --renk-yuzey: #ffffff;
    --renk-yuzey-hover: #f8fafc;
    --renk-metin: #1e293b;
    --renk-metin-ikincil: #64748b;
    --renk-sinir: #e2e8f0;
    --renk-sinir-hover: #cbd5e1;
    
    --sidebar-genislik: 260px;
    --ustbar-yukseklik: 64px;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --golge: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --golge-lg: 0 4px 6px rgba(0,0,0,0.07), 0 10px 15px rgba(0,0,0,0.1);
    --gecis: all 0.2s ease;
}

/* --- Reset & Temel --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--renk-bg);
    color: var(--renk-metin);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    overflow-x: hidden;
    width: 100%;
}

a {
    color: var(--renk-ana);
    text-decoration: none;
    transition: var(--gecis);
}

a:hover {
    color: var(--renk-ana-hover);
}

img {
    max-width: 100%;
    height: auto;
}

/* =====================================================
   LOGİN SAYFASI
   ===================================================== */
.login-sayfasi {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--renk-ana) 0%, #7c3aed 100%);
    padding: 20px;
}

.login-kapsayici {
    width: 100%;
    max-width: 420px;
}

.login-kutu {
    background: var(--renk-yuzey);
    border-radius: var(--border-radius-lg);
    padding: 40px 32px;
    box-shadow: var(--golge-lg);
}

.login-logo {
    text-align: center;
    margin-bottom: 8px;
}

.login-kutu h1 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--renk-metin);
    margin-bottom: 4px;
}

.login-alt {
    text-align: center;
    color: var(--renk-metin-ikincil);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.login-form .form-grup {
    margin-bottom: 16px;
}

.login-form .form-grup label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--renk-metin);
    margin-bottom: 6px;
}

/* =====================================================
   SİDEBAR
   ===================================================== */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-genislik);
    height: 100vh;
    background: var(--renk-yuzey);
    border-right: 1px solid var(--renk-sinir);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.sidebar-baslik {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 20px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--renk-ana);
    border-bottom: 1px solid var(--renk-sinir);
}

.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 12px 0;
}

.sidebar-nav ul {
    list-style: none;
}

.sidebar-nav li {
    padding: 0 8px;
}

.sidebar-ayrac {
    padding: 16px 16px 6px !important;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--renk-metin-ikincil);
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--border-radius);
    color: var(--renk-metin-ikincil);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--gecis);
}

.sidebar-link:hover {
    background: var(--renk-ana-acik);
    color: var(--renk-ana);
}

.sidebar-link.aktif {
    background: var(--renk-ana);
    color: #fff;
}

.sidebar-link svg {
    flex-shrink: 0;
}

.sidebar-alt {
    padding: 12px 8px;
    border-top: 1px solid var(--renk-sinir);
}

.sidebar-cikis {
    color: var(--renk-hata) !important;
}

.sidebar-cikis:hover {
    background: var(--renk-hata-acik) !important;
}

/* Mobil Menü - Üst Bar İçinde */
.mobil-menu-toggle {
    display: none;
    background: none;
    border: none;
    border-radius: var(--border-radius);
    padding: 6px;
    cursor: pointer;
    color: var(--renk-metin-ikincil);
    transition: var(--gecis);
    flex-shrink: 0;
    margin-right: 8px;
}

.mobil-menu-toggle:hover {
    color: var(--renk-ana);
    background: var(--renk-yuzey-hover);
}

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}

/* =====================================================
   ANA İÇERİK
   ===================================================== */
.ana-icerik {
    margin-left: var(--sidebar-genislik);
    flex: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    width: calc(100% - var(--sidebar-genislik));
    max-width: 100vw;
    overflow-x: hidden;
}

/* =====================================================
   ÜST BAR
   ===================================================== */
.ust-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: var(--ustbar-yukseklik);
    background: var(--renk-yuzey);
    border-bottom: 1px solid var(--renk-sinir);
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
}

.ust-bar-sol {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex: 1;
}

.ust-bar-sol h2 {
    font-size: 1.15rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ust-bar-sag {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Bildirim Butonu */
.bildirim-dropdown {
    position: relative;
}

.bildirim-btn {
    position: relative;
    background: none;
    border: 1px solid var(--renk-sinir);
    border-radius: var(--border-radius);
    padding: 8px;
    cursor: pointer;
    color: var(--renk-metin-ikincil);
    transition: var(--gecis);
}

.bildirim-btn:hover {
    background: var(--renk-yuzey-hover);
    color: var(--renk-ana);
}

.bildirim-sayi {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--renk-hata);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.bildirim-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 360px;
    max-width: 90vw;
    background: var(--renk-yuzey);
    border: 1px solid var(--renk-sinir);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--golge-lg);
    z-index: 200;
}

.bildirim-menu.acik {
    display: block;
}

.bildirim-menu-baslik {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid var(--renk-sinir);
    font-weight: 600;
    font-size: 0.9rem;
}

.bildirim-liste {
    max-height: 320px;
    overflow-y: auto;
}

.bildirim-bos {
    padding: 24px;
    text-align: center;
    color: var(--renk-metin-ikincil);
    font-size: 0.9rem;
}

.bildirim-item {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--renk-sinir);
    transition: var(--gecis);
    color: var(--renk-metin) !important;
}

.bildirim-item:hover {
    background: var(--renk-yuzey-hover);
}

.bildirim-yeni {
    background: var(--renk-ana-acik);
}

.bildirim-tur {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.bildirim-tur.bilgi { background: var(--renk-bilgi-acik); color: var(--renk-bilgi); }
.bildirim-tur.uyari { background: var(--renk-uyari-acik); color: var(--renk-uyari); }
.bildirim-tur.hata { background: var(--renk-hata-acik); color: var(--renk-hata); }
.bildirim-tur.basari { background: var(--renk-basari-acik); color: var(--renk-basari); }

.bildirim-icerik {
    flex: 1;
    min-width: 0;
}

.bildirim-baslik {
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 2px;
}

.bildirim-mesaj {
    font-size: 0.8rem;
    color: var(--renk-metin-ikincil);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bildirim-tarih {
    font-size: 0.7rem;
    color: var(--renk-metin-ikincil);
    margin-top: 2px;
}

.bildirim-tum {
    display: block;
    text-align: center;
    padding: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    border-top: 1px solid var(--renk-sinir);
}

/* Profil Dropdown */
.profil-dropdown {
    position: relative;
}

.profil-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 1px solid var(--renk-sinir);
    border-radius: var(--border-radius);
    padding: 6px 12px 6px 6px;
    cursor: pointer;
    color: var(--renk-metin);
    transition: var(--gecis);
}

.profil-btn:hover {
    background: var(--renk-yuzey-hover);
}

.profil-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--renk-ana);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.profil-isim {
    font-size: 0.85rem;
    font-weight: 500;
}

.profil-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 240px;
    background: var(--renk-yuzey);
    border: 1px solid var(--renk-sinir);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--golge-lg);
    z-index: 200;
}

.profil-menu.acik {
    display: block;
}

.profil-menu-bilgi {
    padding: 14px 16px;
}

.profil-menu-bilgi strong {
    display: block;
    font-size: 0.9rem;
}

.profil-menu-bilgi span {
    font-size: 0.8rem;
    color: var(--renk-metin-ikincil);
}

.profil-menu hr {
    border: none;
    border-top: 1px solid var(--renk-sinir);
}

.profil-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: 0.85rem;
    color: var(--renk-metin) !important;
    transition: var(--gecis);
}

.profil-link:hover {
    background: var(--renk-yuzey-hover);
}

.profil-cikis {
    color: var(--renk-hata) !important;
}

/* =====================================================
   İÇERİK ALANI
   ===================================================== */
.icerik-alani {
    flex: 1;
    padding: 24px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.alt-footer {
    padding: 16px 24px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--renk-metin-ikincil);
    border-top: 1px solid var(--renk-sinir);
    background: var(--renk-yuzey);
}

/* =====================================================
   KARTLAR
   ===================================================== */
.kart {
    background: var(--renk-yuzey);
    border: 1px solid var(--renk-sinir);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--golge);
    width: 100%;
}

.kart-baslik {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--renk-sinir);
    gap: 8px;
}

.kart-baslik h3 {
    font-size: 1rem;
    font-weight: 600;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kart-icerik {
    padding: 20px;
    width: 100%;
}

/* Dashboard İstatistik Kartları */
.istatistik-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
    width: 100%;
}

.istatistik-kart {
    background: var(--renk-yuzey);
    border: 1px solid var(--renk-sinir);
    border-radius: var(--border-radius-lg);
    padding: 20px;
    box-shadow: var(--golge);
    transition: var(--gecis);
}

.istatistik-kart:hover {
    box-shadow: var(--golge-lg);
    transform: translateY(-2px);
}

.istatistik-ikon {
    width: 44px;
    height: 44px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.istatistik-ikon.ana { background: var(--renk-ana-acik); color: var(--renk-ana); }
.istatistik-ikon.basari { background: var(--renk-basari-acik); color: var(--renk-basari); }
.istatistik-ikon.uyari { background: var(--renk-uyari-acik); color: var(--renk-uyari); }
.istatistik-ikon.hata { background: var(--renk-hata-acik); color: var(--renk-hata); }
.istatistik-ikon.bilgi { background: var(--renk-bilgi-acik); color: var(--renk-bilgi); }

.istatistik-deger {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 4px;
}

.istatistik-etiket {
    font-size: 0.85rem;
    color: var(--renk-metin-ikincil);
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
    width: 100%;
}

/* Dashboard Kart İçi Sayfalama */
.dashboard-sayfalama {
    display: flex;
    gap: 4px;
    justify-content: center;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--renk-sinir);
}

.dash-sayfa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 6px;
    border: 1px solid var(--renk-sinir);
    border-radius: var(--border-radius);
    background: var(--renk-yuzey);
    color: var(--renk-metin-ikincil);
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--gecis);
    font-family: inherit;
}

.dash-sayfa-btn:hover {
    border-color: var(--renk-ana);
    color: var(--renk-ana);
    background: var(--renk-ana-acik);
}

.dash-sayfa-btn.aktif {
    background: var(--renk-ana);
    color: #fff;
    border-color: var(--renk-ana);
}

.dash-gizli {
    display: none !important;
}

@media (max-width: 768px) {
    .dash-sayfa-btn {
        min-width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }
    .dashboard-sayfalama {
        gap: 3px;
        margin-top: 6px;
        padding-top: 6px;
    }
}

.dashboard-tam {
    grid-column: 1 / -1;
}

/* =====================================================
   TABLOLAR
   ===================================================== */
.tablo-kapsayici {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    min-width: 600px;
}

thead {
    background: var(--renk-yuzey-hover);
}

th {
    text-align: left;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--renk-metin-ikincil);
    border-bottom: 2px solid var(--renk-sinir);
    white-space: nowrap;
}

td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--renk-sinir);
    vertical-align: middle;
}

tr:hover {
    background: var(--renk-yuzey-hover);
}

.tablo-bos {
    text-align: center;
    padding: 40px 20px;
    color: var(--renk-metin-ikincil);
}

.tablo-bos svg {
    margin-bottom: 8px;
    opacity: 0.4;
}

.tablo-bos p {
    font-size: 0.9rem;
}

/* =====================================================
   FORMLAR
   ===================================================== */
.form-grup {
    margin-bottom: 16px;
}

.form-grup label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--renk-metin);
    margin-bottom: 6px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--renk-sinir);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--renk-metin);
    background: var(--renk-yuzey);
    transition: var(--gecis);
    outline: none;
    max-width: 100%;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--renk-ana);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-textarea {
    min-height: 100px;
    resize: vertical;
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--renk-sinir);
}

/* =====================================================
   BUTONLAR
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: var(--gecis);
    text-decoration: none;
    line-height: 1.4;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-ana {
    background: var(--renk-ana);
    color: #fff;
}

.btn-ana:hover {
    background: var(--renk-ana-hover);
    color: #fff;
}

.btn-basari {
    background: var(--renk-basari);
    color: #fff;
}

.btn-basari:hover {
    background: #059669;
    color: #fff;
}

.btn-uyari {
    background: var(--renk-uyari);
    color: #fff;
}

.btn-uyari:hover {
    background: #d97706;
    color: #fff;
}

.btn-hata {
    background: var(--renk-hata);
    color: #fff;
}

.btn-hata:hover {
    background: #dc2626;
    color: #fff;
}

.btn-ikincil {
    background: var(--renk-yuzey);
    color: var(--renk-metin);
    border: 1px solid var(--renk-sinir);
}

.btn-ikincil:hover {
    background: var(--renk-yuzey-hover);
    border-color: var(--renk-sinir-hover);
}

.btn-kucuk {
    padding: 6px 12px;
    font-size: 0.8rem;
}

.btn-tam {
    width: 100%;
    justify-content: center;
}

/* =====================================================
   ALERT / BİLDİRİM MESAJLARI
   ===================================================== */
.alert {
    padding: 12px 16px;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.alert-basari {
    background: var(--renk-basari-acik);
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-hata {
    background: var(--renk-hata-acik);
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-uyari {
    background: var(--renk-uyari-acik);
    color: #92400e;
    border: 1px solid #fde68a;
}

.alert-bilgi {
    background: var(--renk-bilgi-acik);
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

/* =====================================================
   DURUM / BADGE
   ===================================================== */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.badge-aktif {
    background: var(--renk-basari-acik);
    color: #065f46;
}

.badge-pasif {
    background: var(--renk-hata-acik);
    color: #991b1b;
}

.badge-beklemede {
    background: var(--renk-uyari-acik);
    color: #92400e;
}

.badge-tamamlandi {
    background: var(--renk-bilgi-acik);
    color: #1e40af;
}

.badge-odendi {
    background: var(--renk-basari-acik);
    color: #065f46;
}

.badge-odenmedi {
    background: var(--renk-hata-acik);
    color: #991b1b;
}

.badge-basari {
    background: var(--renk-basari-acik);
    color: #065f46;
}

.badge-uyari {
    background: var(--renk-uyari-acik);
    color: #92400e;
}

.badge-hata {
    background: var(--renk-hata-acik);
    color: #991b1b;
}

.badge-bilgi {
    background: var(--renk-bilgi-acik);
    color: #1e40af;
}

.badge-bekleme {
    background: var(--renk-uyari-acik);
    color: #92400e;
}

/* =====================================================
    TOPLU SEÇİM
    ===================================================== */
.tablo-checkbox {
    width: 40px;
    text-align: center;
}

.tablo-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--renk-ana);
}

.toplu-islem-bar {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: var(--renk-ana-acik);
    border: 1px solid var(--renk-ana);
    border-radius: var(--border-radius);
    margin-bottom: 16px;
    font-size: 0.875rem;
    font-weight: 500;
}

.toplu-islem-bar.goster {
    display: flex;
}

.toplu-islem-bar .secim-sayisi {
    color: var(--renk-ana);
    font-weight: 600;
}

.toplu-islem-bar .btn {
    margin-left: auto;
}

/* =====================================================
    İŞLEM BUTONLARI (Tablolarda)
    ===================================================== */
.islemler {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.islem-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--renk-sinir);
    border-radius: var(--border-radius);
    background: var(--renk-yuzey);
    color: var(--renk-metin-ikincil);
    cursor: pointer;
    transition: var(--gecis);
    text-decoration: none;
}

.islem-btn:hover {
    border-color: var(--renk-ana);
    color: var(--renk-ana);
    background: var(--renk-ana-acik);
}

.islem-btn.btn-sil:hover {
    border-color: var(--renk-hata);
    color: var(--renk-hata);
    background: var(--renk-hata-acik);
}

/* =====================================================
   ARAMA / FİLTRE
   ===================================================== */
.arama-kutusu {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    width: 100%;
}

.arama-input {
    flex: 1;
    min-width: 200px;
    padding: 10px 14px 10px 40px;
    border: 1px solid var(--renk-sinir);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-family: inherit;
    background: var(--renk-yuzey) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") no-repeat 12px center;
    outline: none;
    transition: var(--gecis);
    max-width: 100%;
}

.arama-input:focus {
    border-color: var(--renk-ana);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* =====================================================
   SAYFALAMA
   ===================================================== */
.sayfalama {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.sayfalama a,
.sayfalama span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border: 1px solid var(--renk-sinir);
    border-radius: var(--border-radius);
    font-size: 0.85rem;
    color: var(--renk-metin);
    text-decoration: none;
    transition: var(--gecis);
}

.sayfalama a:hover {
    background: var(--renk-yuzey-hover);
    border-color: var(--renk-ana);
    color: var(--renk-ana);
}

.sayfalama .aktif {
    background: var(--renk-ana);
    color: #fff;
    border-color: var(--renk-ana);
}

/* =====================================================
   SIRALAMA LİNKLERİ
   ===================================================== */
.sirala-link {
    color: var(--renk-metin);
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: var(--gecis);
}

.sirala-link:hover {
    color: var(--renk-ana);
}

.sirala-link:after {
    content: "⇅";
    font-size: 0.7rem;
    opacity: 0.3;
    margin-left: 2px;
}

th:has(.sirala-link) {
    padding: 0;
}

th:has(.sirala-link) .sirala-link {
    display: block;
    padding: 12px 16px;
}

/* =====================================================
   MODAL
   ===================================================== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.acik {
    display: flex;
}

.modal {
    background: var(--renk-yuzey);
    border-radius: var(--border-radius-lg);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--golge-lg);
}

.modal-baslik {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--renk-sinir);
}

.modal-baslik h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.modal-kapat {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--renk-metin-ikincil);
    padding: 4px;
    line-height: 1;
}

.modal-icerik {
    padding: 20px;
}

.modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding: 16px 20px;
    border-top: 1px solid var(--renk-sinir);
}

/* =====================================================
   YARDIMCI SINIFLAR
   ===================================================== */
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-ikincil { color: var(--renk-metin-ikincil); }
.text-kucuk { font-size: 0.8rem; }
.text-basari { color: var(--renk-basari); }
.text-hata { color: var(--renk-hata); }
.text-uyari { color: var(--renk-uyari); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-gap { gap: 10px; }
.flex-wrap { flex-wrap: wrap; }

/* =====================================================
    RESPONSIVE - MOBİL UYUMLULUK
    ===================================================== */

/* Tablet ve Mobil */
@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .istatistik-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }
}

@media (max-width: 768px) {
    /* Sidebar mobil - slide-in */
    .sidebar {
        transform: translateX(-100%);
        width: 280px;
        box-shadow: 2px 0 20px rgba(0,0,0,0.15);
    }
    
    .sidebar.acik {
        transform: translateX(0);
    }
    
    .sidebar-overlay.acik {
        display: block;
    }
    
    /* Mobil menü butonu - üst bar içinde */
    .mobil-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Ana içerik tam genişlik */
    .ana-icerik {
        margin-left: 0;
        width: 100%;
    }
    
    /* Üst bar düzenlemesi */
    .ust-bar {
        padding: 0 12px;
        height: 56px;
    }
    
    .ust-bar-sol h2 {
        font-size: 0.95rem;
        max-width: 140px;
    }
    
    .ust-bar-sag {
        gap: 6px;
    }
    
    .icerik-alani {
        padding: 12px;
    }
    
    /* İstatistik kartları */
    .istatistik-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        margin-bottom: 12px;
    }
    
    .istatistik-kart {
        padding: 12px;
    }
    
    .istatistik-deger {
        font-size: 1.2rem;
    }
    
    .istatistik-etiket {
        font-size: 0.7rem;
    }
    
    .istatistik-ikon {
        width: 36px;
        height: 36px;
        margin-bottom: 8px;
    }
    
    .istatistik-ikon svg {
        width: 18px;
        height: 18px;
    }
    
    /* Bildirim menü mobil */
    .bildirim-menu {
        width: calc(100vw - 24px);
        max-width: 360px;
        right: -50px;
        top: calc(100% + 4px);
    }
    
    .profil-isim {
        display: none;
    }
    
    .profil-btn {
        padding: 4px;
    }
    
    .profil-btn svg:last-child {
        display: none;
    }
    
    /* Arama kutusu */
    .arama-kutusu {
        flex-direction: column;
    }
    
    .arama-input {
        min-width: auto;
        width: 100%;
    }
    
    /* Formlar */
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .islemler {
        flex-direction: row;
        gap: 4px;
    }
    
    .islem-btn {
        width: 28px;
        height: 28px;
    }
    
    .islem-btn svg {
        width: 14px;
        height: 14px;
    }
    
    .modal {
        max-width: 100%;
        margin: 10px;
    }
    
    /* Kart başlıkları */
    .kart-baslik {
        padding: 12px 14px;
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .kart-baslik h3 {
        font-size: 0.9rem;
    }
    
    .kart-icerik {
        padding: 12px;
    }
    
    /* Tablolar - yatay kaydırma */
    .tablo-kapsayici {
        margin: 0;
        padding: 0;
        width: 100%;
    }
    
    table {
        font-size: 0.78rem;
        min-width: 500px;
    }
    
    th, td {
        padding: 8px 10px;
        white-space: nowrap;
    }
    
    /* Filtre formları */
    .form-inline {
        width: 100%;
    }
    
    .form-inline .form-input,
    .form-inline .form-select {
        min-width: 0;
        width: 100%;
    }
    
    .form-kucuk {
        font-size: 0.8rem;
        padding: 8px 10px;
    }
    
    /* Dashboard liste */
    .dashboard-liste-item {
        padding: 8px 10px;
    }
    
    .dashboard-liste-baslik {
        font-size: 0.82rem;
    }
    
    .dashboard-liste-alt {
        font-size: 0.7rem;
    }
    
    .dashboard-liste-avatar {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }
    
    /* Hoş geldin banner */
    .hosgeldin-banner {
        padding: 14px 16px;
        flex-direction: column;
        text-align: center;
    }
    
    .hosgeldin-text h2 {
        font-size: 1.1rem;
    }
    
    .hosgeldin-actions {
        width: 100%;
        justify-content: center;
    }
    
    .hosgeldin-actions .btn {
        flex: 1;
        justify-content: center;
        font-size: 0.8rem;
        padding: 8px 12px;
    }
    
    /* Butonlar */
    .btn {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
    
    .btn-kucuk {
        padding: 5px 10px;
        font-size: 0.75rem;
    }
    
    /* Alert */
    .alert {
        padding: 10px 12px;
        font-size: 0.8rem;
    }
    
    /* Toplu işlem bar */
    .toplu-islem-bar {
        flex-wrap: wrap;
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    .toplu-islem-bar .btn {
        margin-left: 0;
    }
    
    /* Sayfalama */
    .sayfalama {
        gap: 3px;
    }
    
    .sayfalama a,
    .sayfalama span {
        min-width: 32px;
        height: 32px;
        font-size: 0.78rem;
    }
    
    /* Export dropdown */
    .export-dropdown {
        width: 100%;
    }
    
    .export-toggle {
        width: 100%;
        justify-content: center;
    }
    
    .export-menu {
        width: 100%;
        right: 0;
        left: 0;
    }
    
    /* Dashboard düzenleme */
    .dashboard-duzenle-btn-container {
        flex-direction: column;
        gap: 6px;
    }
    
    .dashboard-duzenle-btn-container .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Gizli kart paneli */
    .dashboard-gizli-panel {
        max-width: calc(100% - 24px);
    }
    
    .gizli-kart-item {
        padding: 8px 12px;
    }
    
    .gizli-kart-item span {
        font-size: 0.82rem;
    }
    
    /* Badge */
    .badge {
        font-size: 0.7rem;
        padding: 2px 8px;
    }
    
    /* Müşteri seçim alanı */
    .musteri-secim-alani {
        flex-direction: column;
    }
    
    .musteri-secim-alani .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Dashboard grid */
    .dashboard-grid {
        gap: 12px;
    }
    
    /* Kart toggle */
    .kart-toggle-btn {
        width: 24px;
        height: 24px;
        font-size: 0.85rem;
    }
    
    /* Sıralama linkleri */
    .sirala-link {
        font-size: 0.72rem;
    }
    
    th:has(.sirala-link) .sirala-link {
        padding: 8px 10px;
    }
    
    /* Filtre form wrapper */
    .flex.flex-gap.flex-wrap form {
        width: 100%;
    }
    
    /* Dashboard kart toggle butonları */
    .kart-baslik-actions {
        flex-wrap: wrap;
        justify-content: flex-end;
    }
}

@media (max-width: 480px) {
    .istatistik-grid {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }
    
    .istatistik-kart {
        padding: 10px;
    }
    
    .istatistik-deger {
        font-size: 1.1rem;
    }
    
    .login-kutu {
        padding: 20px 16px;
    }
    
    .login-kutu h1 {
        font-size: 1.2rem;
    }
    
    .ust-bar {
        padding-left: 8px;
        padding-right: 8px;
        height: 50px;
    }
    
    .ust-bar-sol h2 {
        font-size: 0.85rem;
        max-width: 100px;
    }
    
    .icerik-alani {
        padding: 8px;
    }
    
    .kart-baslik {
        padding: 10px 12px;
    }
    
    .kart-baslik h3 {
        font-size: 0.85rem;
    }
    
    .kart-icerik {
        padding: 10px;
    }
    
    table {
        font-size: 0.72rem;
        min-width: 450px;
    }
    
    th, td {
        padding: 6px 8px;
    }
    
    .bildirim-menu {
        width: calc(100vw - 16px);
        right: -40px;
    }
    
    .bildirim-liste {
        max-height: 260px;
    }
    
    .bildirim-item {
        padding: 10px 12px;
    }
    
    .bildirim-baslik {
        font-size: 0.8rem;
    }
    
    .bildirim-mesaj {
        font-size: 0.75rem;
    }
    
    .form-input,
    .form-select,
    .form-textarea {
        padding: 8px 12px;
        font-size: 0.82rem;
    }
    
    .form-row {
        gap: 10px;
    }
    
    .form-grup {
        margin-bottom: 12px;
    }
    
    .form-grup label {
        font-size: 0.8rem;
    }
    
    .btn {
        padding: 7px 12px;
        font-size: 0.78rem;
    }
    
    .btn-kucuk {
        padding: 4px 8px;
        font-size: 0.72rem;
    }
    
    .dashboard-grid {
        gap: 8px;
    }
    
    .dashboard-liste-item {
        padding: 6px 8px;
    }
    
    .dashboard-liste-baslik {
        font-size: 0.78rem;
    }
    
    .dashboard-liste-alt {
        font-size: 0.65rem;
    }
    
    .dashboard-liste-avatar {
        width: 26px;
        height: 26px;
        font-size: 0.7rem;
    }
    
    .hosgeldin-banner {
        padding: 12px;
    }
    
    .hosgeldin-text h2 {
        font-size: 1rem;
    }
    
    .hosgeldin-text p {
        font-size: 0.75rem;
    }
    
    .hosgeldin-actions .btn {
        font-size: 0.75rem;
        padding: 6px 10px;
    }
    
    .sayfalama a,
    .sayfalama span {
        min-width: 28px;
        height: 28px;
        font-size: 0.72rem;
    }
    
    .badge {
        font-size: 0.65rem;
        padding: 2px 6px;
    }
    
    .islem-btn {
        width: 24px;
        height: 24px;
    }
    
    .islem-btn svg {
        width: 12px;
        height: 12px;
    }
    
    .alert {
        padding: 8px 10px;
        font-size: 0.78rem;
    }
    
    .toplu-islem-bar {
        padding: 6px 10px;
        font-size: 0.75rem;
    }
    
    .tablo-checkbox input[type="checkbox"] {
        width: 14px;
        height: 14px;
    }
    
    .sirala-link {
        font-size: 0.68rem;
    }
    
    th:has(.sirala-link) .sirala-link {
        padding: 6px 8px;
    }
    
    .kart-bos {
        padding: 16px 12px;
    }
    
    .kart-bos-ikon {
        font-size: 2rem;
    }
    
    .kart-bos p {
        font-size: 0.82rem;
    }
}

/* Çok küçük ekranlar (320px) */
@media (max-width: 380px) {
    .istatistik-grid {
        grid-template-columns: 1fr;
    }
    
    .ust-bar-sol h2 {
        max-width: 80px;
        font-size: 0.8rem;
    }
    
    .bildirim-menu {
        right: -30px;
    }
    
    .profil-btn {
        padding: 3px;
    }
    
    .profil-avatar {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }
    
    table {
        min-width: 380px;
        font-size: 0.68rem;
    }
    
    th, td {
        padding: 4px 6px;
    }
}

/* =====================================================
   DIŞA AKTAR (EXPORT) DROPDOWN
   ===================================================== */
.export-dropdown {
    position: relative;
    display: inline-block;
}

.export-menu {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    min-width: 180px;
    background: var(--renk-yuzey);
    border: 1px solid var(--renk-sinir);
    border-radius: var(--border-radius);
    box-shadow: var(--golge-lg);
    z-index: 300;
    overflow: hidden;
}

.export-dropdown:hover .export-menu,
.export-dropdown:focus-within .export-menu {
    display: block;
}

.export-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    font-size: 0.85rem;
    color: var(--renk-metin) !important;
    transition: var(--gecis);
    border-bottom: 1px solid var(--renk-sinir);
    text-decoration: none;
}

.export-item:last-child {
    border-bottom: none;
}

.export-item:hover {
    background: var(--renk-yuzey-hover);
    color: var(--renk-ana) !important;
}

@media (max-width: 768px) {
    .export-menu {
        right: auto;
        left: 0;
    }
}

/* =====================================================
   MÜŞTERİ SEÇİM ALANI (Hızlı Ekleme Butonu)
   ===================================================== */
.musteri-secim-alani {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.musteri-secim-alani select {
    flex: 1;
}

.musteri-secim-alani .btn {
    white-space: nowrap;
    flex-shrink: 0;
    margin-top: 0;
}

@media (max-width: 768px) {
    .musteri-secim-alani {
        flex-direction: column;
    }
    
    .musteri-secim-alani .btn {
        width: 100%;
        justify-content: center;
    }
}

/* =====================================================
   DASHBOARD SÜRÜKLE-BIRAK SIRALAMA
   ===================================================== */
.dashboard-duzenle-btn-container {
    text-align: right;
    margin-bottom: 16px;
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

#dashboardKartlar.dashboard-duzenleme .kart {
    cursor: grab;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    user-select: none;
}

#dashboardKartlar.dashboard-duzenleme .kart:active {
    cursor: grabbing;
}

#dashboardKartlar.dashboard-duzenleme .kart.kart-surukleniyor {
    opacity: 0.5;
    transform: scale(0.98);
}

#dashboardKartlar.dashboard-duzenleme .kart.kart-surukleme-ustunde,
#dashboardKartlar.dashboard-duzenleme .dashboard-bos-alan.kart-surukleme-ustunde {
    border-color: var(--renk-ana);
    box-shadow: 0 0 0 2px var(--renk-ana-acik), var(--golge-lg);
    transform: scale(1.02);
}

.kart-surukle-tutamaci {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 0;
    color: var(--renk-metin-ikincil);
    cursor: grab;
    border-bottom: 1px solid var(--renk-sinir);
    margin-bottom: 0;
    background: var(--renk-yuzey-hover);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    transition: var(--gecis);
}

.kart-surukle-tutamaci:hover {
    color: var(--renk-ana);
    background: var(--renk-ana-acik);
}

/* Boş alan (sürükleme için) */
.dashboard-bos-alan {
    grid-column: 1 / -1;
    border: 2px dashed var(--renk-sinir-hover);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    text-align: center;
    color: var(--renk-metin-ikincil);
    font-size: 0.9rem;
    background: var(--renk-yuzey-hover);
    transition: var(--gecis);
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard-bos-alan:hover {
    border-color: var(--renk-ana);
    color: var(--renk-ana);
    background: var(--renk-ana-acik);
}

/* Kart toggle butonu */
.kart-baslik-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.kart-toggle-btn {
    width: 28px;
    height: 28px;
    border: 1px solid var(--renk-sinir);
    border-radius: 50%;
    background: var(--renk-yuzey);
    color: var(--renk-metin-ikincil);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--gecis);
    line-height: 1;
}

.kart-toggle-btn:hover {
    background: var(--renk-yuzey-hover);
    color: var(--renk-ana);
    border-color: var(--renk-ana);
}

/* Gizli kart */
.kart.kart-gizli .kart-icerik {
    display: none;
}

.kart.kart-gizli {
    opacity: 0.7;
}

.kart.kart-gizli:hover {
    opacity: 1;
}

.kart.kart-gizli .kart-baslik {
    border-bottom: none;
}

/* Gizli kartlar paneli */
.dashboard-gizli-panel {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 500;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
}

.dashboard-gizli-panel.acik {
    display: block;
}

.dashboard-gizli-panel .kart {
    box-shadow: var(--golge-lg);
}

.gizli-kart-listesi {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gizli-kart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border: 1px solid var(--renk-sinir);
    border-radius: var(--border-radius);
    background: var(--renk-yuzey);
    transition: var(--gecis);
}

.gizli-kart-item:hover {
    background: var(--renk-yuzey-hover);
}

.gizli-kart-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

.gizli-toggle-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--renk-sinir);
    border-radius: var(--border-radius);
    background: var(--renk-yuzey);
    color: var(--renk-metin-ikincil);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--gecis);
}

.gizli-toggle-btn:hover {
    border-color: var(--renk-ana);
    color: var(--renk-ana);
}

.gizli-toggle-btn.gizli {
    background: var(--renk-ana);
    color: #fff;
    border-color: var(--renk-ana);
}

.gizli-toggle-btn.gizli:hover {
    background: var(--renk-ana-hover);
}

/* Mobilde sürükleme düğmesi daha belirgin */
@media (max-width: 768px) {
    .dashboard-duzenle-btn-container {
        text-align: center;
        justify-content: center;
    }
    
    #dashboardKartlar.dashboard-duzenleme .kart {
        cursor: default;
    }
    
    .kart-surukle-tutamaci {
        padding: 10px 0;
        cursor: default;
    }
    
    .dashboard-gizli-panel {
        max-width: calc(100% - 32px);
    }
}

/* =====================================================
   YAZDIRMA
   ===================================================== */
@media print {
    .sidebar,
    .ust-bar,
    .mobil-menu-toggle,
    .sidebar-overlay,
    .btn,
    .islemler,
    .arama-kutusu,
    .sayfalama,
    .alt-footer {
        display: none !important;
    }
    
    .ana-icerik {
        margin-left: 0 !important;
    }
    
    .icerik-alani {
        padding: 0 !important;
    }
    
    .kart {
        border: 1px solid #ddd !important;
        box-shadow: none !important;
        break-inside: avoid;
    }
}