/* Genel Stiller */
:root {
    --primary: #4361ee;
    --primary-dark: #3a0ca3;
    --secondary: #4cc9f0;
    --success: #4ade80;
    --warning: #b58b42;
    --danger: #ef4444;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #94a3b8;
    --border: #496385;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --radius: 14px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

body {
    background: linear-gradient(135deg, #6478ae 0%, #f8fafc 100%);
    color: var(--dark);
    min-height: 100vh;
    line-height: 1.6;
}

/* Giriş Ekranı */
#loginScreen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.login-container {
    width: 100%;
    max-width: 400px;
}

.login-box {
    background: white;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo i {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 15px;
    display: block;
}

.logo h1 {
    font-size: 24px;
    color: var(--dark);
    font-weight: 600;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
    font-size: 14px;
}

.login-form input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 16px;
    transition: all 0.3s;
}

.login-form input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.login-info {
    margin-top: 20px;
    padding: 15px;
    background: #f1f5f9;
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
}

.login-info p {
    margin-bottom: 5px;
    font-size: 14px;
    color: #64748b;
}

.login-info i {
    margin-right: 8px;
    color: var(--primary);
}

/* Butonlar */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #3a56d4 0%, #2d0a8c 100%);
}

.btn-secondary {
    background: #2c3137;
    color: white;
}

.btn-secondary:hover {
    background: #475569;
}

.btn-success {
    background: linear-gradient(135deg, var(--success) 0%, #16a34a 100%);
    color: white;
}

.btn-success:hover {
    background: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger) 0%, #dc2626 100%);
    color: white;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
}

.btn-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.btn-warning:hover {
    background: linear-gradient(135deg, #e48c0a 0%, #c06605 100%);
}

.btn-block {
    width: 100%;
    display: block;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

.badge {
    background: white;
    color: var(--success);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    margin-left: 8px;
}

/* Header */
header {
    background: white;
    padding: 0 30px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-left .logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0;
}

.header-left .logo i {
    font-size: 28px;
    margin: 0;
}

.header-left .logo h1 {
    font-size: 20px;
    margin: 0;
}

.header-right {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Ana Konteyner */
.main-container {
    display: flex;
    min-height: calc(100vh - 70px);
}


.sidebar-menu {
    margin-bottom: 30px;
}

.sidebar-menu .btn {
    margin-bottom: 10px;
}

.sidebar-divider {
    margin: 15px 0;
    border-top: 2px solid var(--border);
    opacity: 0.3;
    width: 100%;
}

.sidebar-filter-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.stats-container h3 {
    color: var(--dark);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border);
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.stats-box {
    margin-bottom: 25px;
}

.stats-box h4 {
    color: #64748b;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Ana İçerik */
.main-content {
    flex: 1;
    padding: 25px;
    overflow-y: auto;
}

/* İçerik Başlığı */
.content-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border);
    flex-wrap: wrap;
    gap: 15px;
}

.content-header h2 {
    color: var(--dark);
    font-size: 20px;
    flex: 1;
}

.header-actions {
    display: flex;
    gap: 10px;
}

/* Arama */
.search-container {
    display: flex;
    gap: 12px;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
}

.search-box {
    flex: 1;
    position: relative;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
}

.search-box input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    background: var(--light);
}

/* Tablo */
.table-responsive {
    overflow-x: auto;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.data-table thead {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.data-table th {
    color: white;
    font-weight: 600;
    font-size: 14px;
    padding: 16px;
    text-align: left;
    white-space: nowrap;
}

.data-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.data-table tbody tr:hover {
    background-color: #d0d2d5;
}

/* Durum Etiketleri */
.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
}

.status-ready { background: linear-gradient(135deg, var(--success) 0%, #16a34a 100%); color: white; }
.status-new { background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%); color: white; }
.status-pending { background: linear-gradient(135deg, var(--warning) 0%, #d97706 100%); color: white; }
.status-arbitration { background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%); color: white; }
.status-enforcement { background: linear-gradient(135deg, var(--danger) 0%, #dc2626 100%); color: white; }
.status-closed { background: linear-gradient(135deg, #64748b 0%, #475569 100%); color: white; }

/* Dosya Türü Etiketleri */
.file-type-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.file-type-tag {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

/* İstatistik Öğeleri */
.stat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background: #dee0e1;
    border-radius: var(--radius);
    margin-bottom: 8px;
    border-left: 4px solid var(--primary);
}

.stat-label {
    font-weight: 500;
    color: #475569;
}

.stat-count {
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    min-width: 40px;
    text-align: center;
}

/* Detay Konteyner */
.detail-container {
    background: white;
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* Form Konteyner */
.form-container {
    background: white;
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* Form Stilleri */
.form-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #e1e7ed;
    border-radius: var(--radius);
    border-left: 6px solid var(--primary);
    border-right: 6px solid var(--primary);
}

.form-section h3 {
    color: var(--dark);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-row {
    margin-bottom: 15px;
}

.form-row label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #475569;
    font-size: 14px;
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    background: white;
}

.form-row textarea {
    min-height: 100px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-item label {
    margin: 0;
    cursor: pointer;
    font-weight: normal;
}

/* Belgeler Grid */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.document-card {
    background: white;
    border-radius: var(--radius);
    padding: 20px;
    border: 2px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: all 0.3s;
}

.document-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.document-icon {
    font-size: 32px;
    color: var(--primary);
    text-align: center;
}

.document-info {
    text-align: center;
}

.document-name {
    font-weight: 600;
    margin-bottom: 8px;
    word-break: break-word;
}

.document-type {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 10px;
}

.document-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* Eksik Belgeler */
.missing-documents {
    margin-top: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #fff7ed 0%, #fffbeb 100%);
    border-radius: var(--radius);
    border: 2px solid #fbbf24;
}

.missing-documents h4 {
    color: #d97706;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.missing-doc-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: white;
    margin-bottom: 8px;
    border-radius: 6px;
    border: 1px solid #fde68a;
}

.missing-doc-item i {
    color: #f59e0b;
}



/* ==================== TÜM EKRANLAR İÇİN AÇILIR SIDEBAR ==================== */
/* ==================== HAMBURGER BUTONU ==================== */

/* Giriş ekranında hamburger butonunu gizle */
#loginScreen .menu-toggle {
    display: none !important;
}

/* Ana uygulama ekranında (appScreen) göster */
#appScreen .menu-toggle {
    display: flex !important;
}
/* TÜM EKRAN BOYUTLARINDA GÖRÜNSÜN */
.menu-toggle {
    display: flex !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border: none !important;
    color: white !important;
    font-size: 24px !important;
    cursor: pointer !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 8px !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 15px !important;
    z-index: 1001 !important;
    position: relative !important;
}

/* Hover efekti */
.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: scale(1.05) !important;
}

/* TÜM media query'leri geçersiz kılsın */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex !important;
    }
}

@media (min-width: 769px) {
    .menu-toggle {
        display: flex !important;
    }
}

@media (max-width: 1024px) {
    .menu-toggle {
        display: flex !important;
    }
}

@media (max-width: 480px) {
    .menu-toggle {
        display: flex !important;
    }
}
/* Sidebar - BAŞLANGIÇTA GİZLİ */
.sidebar {
    position: fixed;
    top: 70px;
    left: -280px;
    bottom: 0;
    width: 280px;
    background: white;
    padding: 25px;
    transition: left 0.3s ease;
    z-index: 1000;
    box-shadow: 2px 0 20px rgba(0,0,0,0.15);
    overflow-y: auto;
    border-right: 1px solid var(--border);
}

/* Sidebar AÇIK */
.sidebar.active {
    left: 0;
}

/* Overlay (karanlık arka plan) */
.overlay {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.overlay.active {
    display: block;
}

/* Ana içerik */
.main-content {
    width: 100%;
    transition: margin-left 0.3s ease;
}

/* Desktop'ta sidebar açıkken ana içerik kayar */
@media (min-width: 769px) {
    .sidebar.active ~ .main-content {
        margin-left: 280px;
    }
}

/* Header düzeni */
header {
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.header-left {
    flex: 1;
    display: flex;
    align-items: center;
}

/* MOBİL */
@media (max-width: 768px) {
    .sidebar {
        width: 260px;
        left: -260px;
    }
    
    .sidebar.active ~ .main-content {
        margin-left: 0;
    }
}

/* BÜYÜK EKRANLAR */
@media (min-width: 1200px) {
    .sidebar {
        width: 300px;
        left: -300px;
    }
    
    .sidebar.active ~ .main-content {
        margin-left: 300px;
    }
}

/* Desktop'ta ana içerik kayması */
@media (min-width: 769px) {
    .main-content {
        transition: margin-left 0.3s ease;
    }
}

/* Sidebar gölgesi ve görünüm */
#sidebar {
    box-shadow: 2px 0 15px rgba(0,0,0,0.1) !important;
    border-right: 1px solid #496385 !important;
}

/* Ana içerik kayması için */
.main-content {
    transition: margin-left 0.3s ease !important;
}

/* Mobilde sidebar üstüne gelebilir, z-index ayarı */
@media (max-width: 768px) {
    
    #sidebar {
        z-index: 1000 !important;
    }
    
    .main-content {
        z-index: 1 !important;
        position: relative !important;
    }
}


/* Giriş ekranında hamburger butonunu KESİNLİKLE GİZLE */
#loginScreen .menu-toggle {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Ana uygulama ekranında butonu GÖSTER */
#appScreen .menu-toggle {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Overlay'i de ekleyin (eğer yoksa) */
.overlay {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.overlay.active {
    display: block;
}

/* Butonu daha belirgin yapalım */
.menu-toggle {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
    border: 2px solid white !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
}

.menu-toggle:hover {
    background: linear-gradient(135deg, #3a56d4 0%, #2d0a8c 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4) !important;
}


/* Ana içeriğe tıklayınca sidebar kapanması için */
.main-content {
    transition: margin-left 0.3s ease !important;
    cursor: default;
}

/* Sidebar açıkken ana içeriğe overlay efekti */
.sidebar.active ~ .main-content::before {
    content: '';
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 998;
    pointer-events: all;
    display: none;
}

/* Mobilde overlay göster */
@media (max-width: 768px) {
    .sidebar.active ~ .main-content::before {
        display: block;
    }
}

/* Desktop'ta overlay (isteğe bağlı) */
@media (min-width: 769px) {
    .sidebar.active ~ .main-content::before {
        display: block;
    }
}

/* Overlay (sidebar açıkken arka plan karartması) */
.overlay {
    display: none;
    position: fixed;
    top: 70px; /* Header yüksekliği */
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    cursor: pointer;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.overlay.active {
    display: block;
    opacity: 1;
}

/* Desktop'ta overlay'i gizle (isteğe bağlı) */
@media (min-width: 769px) {
    .overlay {
        display: none !important;
    }
    
    .sidebar.active ~ .main-content {
        margin-left: 280px;
    }
    
    /* Desktop'ta ana içeriğe tıklayınca kapanmasın */
    .sidebar.active ~ .main-content::before {
        display: none !important;
    }
}

/* Mobilde overlay göster */
@media (max-width: 768px) {
    .overlay.active {
        display: block;
    }
    
    .sidebar.active ~ .main-content::before {
        display: block;
    }
}


/* ============ FOTOĞRAF ÖNİZLEME STİLLERİ ============ */
.document-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.document-preview-img[src=""], 
.document-preview-img:not([src]) {
    display: none;
}

.document-preview-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--primary);
}

.document-preview-placeholder i {
    font-size: 32px;
    margin-bottom: 8px;
}

.document-preview-placeholder span {
    font-size: 11px;
    font-weight: 600;
}

.document-preview-placeholder.pdf {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

/* Resim önizleme için */
.document-card .document-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Resim yüklenemediğinde */
.document-card .document-icon img:error {
    display: none;
}

/* Document icon container */
.document-card .document-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

/* ==================== BELGE GÖRÜNTÜLEME DÜZENİ - DOSYA TÜRÜ GÜZELLEŞTİRME ==================== */

/* Belgeler grid'i için güncellenmiş düzen */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Belge kartı için yeni düzen */
.document-card {
    background: white;
    border-radius: var(--radius);
    padding: 20px;
    border: 2px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: all 0.3s;
    min-height: 320px;
    position: relative;
}

.document-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Belge başlık alanı - GÜZELLEŞTİRİLDİ (SEÇENEK 1: Minimal) */
.document-header {
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
    margin-bottom: 15px;
    text-align: center;
}

.document-type {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #cbd5e1;
}

.document-type:before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

/* Belge içeriği alanı */
.document-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

/* Fotoğraf/ikon alanı - ORTALANMIŞ ve BÜYÜK */
.document-preview {
    width: 200px;
    height: 150px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px solid #cbd5e1;
    margin: 0 auto;
}

/* Fotoğraf görüntüsü - BÜYÜK ve ORTALI */
.document-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Belge bilgileri */
.document-info {
    text-align: center;
    width: 100%;
}

.document-name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    word-break: break-word;
    padding: 0 10px;
    color: #334155;
}

/* TARİH ve BOYUT BİLGİSİ YAN YANA */
.document-meta {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.document-date,
.document-size {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f8fafc;
    padding: 4px 10px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.document-date i,
.document-size i {
    font-size: 11px;
    color: var(--primary);
}

/* Butonlar alanı */
.document-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 10px;
}

/* PDF ikonu için özel stil */
.document-preview.pdf {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-color: #fecaca;
}

.document-preview.pdf i {
    color: #ef4444;
    font-size: 48px;
}

/* Dosya ikonu için */
.document-preview.file {
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
    border-color: #ddd6fe;
}

.document-preview.file i {
    color: #8b5cf6;
    font-size: 48px;
}

/* ==================== OTOMATİK YÜKLEME ANİMASYONLARI ==================== */

@keyframes uploadPulse {
    0% { opacity: 0.9; box-shadow: 0 0 0 0 rgba(67, 97, 238, 0.2); }
    50% { opacity: 1; box-shadow: 0 0 0 8px rgba(67, 97, 238, 0); }
    100% { opacity: 0.9; box-shadow: 0 0 0 0 rgba(67, 97, 238, 0); }
}

/* Dönen ikon animasyonu */
.fa-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Başarılı animasyon */
@keyframes successFlash {
    0% { background-color: rgba(74, 222, 128, 0.1); }
    50% { background-color: rgba(74, 222, 128, 0.3); }
    100% { background-color: rgba(74, 222, 128, 0.1); }
}

.file-item[data-file-info*='"status":"uploaded"'] {
    animation: successFlash 0.5s ease 2;
}