/**
 * Dosya Yönetim Sistemi CSS
 * WordPress ve WooCommerce Entegrasyonu
 */

/* Operasyon Durumu Dropdown Checkbox Stilleri */
.dropdown-menu label.dropdown-item {
    margin-bottom: 0;
    padding: 8px 15px;
    transition: background-color 0.2s;
}

.dropdown-menu label.dropdown-item:hover {
    background-color: #f8f9fa;
}

.dropdown-menu .form-check-input {
    cursor: pointer;
}

.dropdown-menu .form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

#operasyonDurumuDropdown {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#operasyon-selected-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

/* Timeline Stilleri */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #dee2e6;
}

.timeline-item {
    position: relative;
    margin-bottom: 20px;
}

.timeline-item.latest {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.timeline-marker {
    position: absolute;
    left: -22px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.timeline-content {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #0073aa;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.timeline-content h6 {
    margin: 0 0 8px 0;
    color: #333;
    font-weight: 600;
    font-size: 16px;
}

.timeline-content h6 i {
    margin-right: 8px;
}

.timeline-content p {
    margin: 0 0 8px 0;
    color: #666;
    line-height: 1.5;
}

.timeline-content small {
    font-size: 12px;
}

.timeline-content small i {
    margin-right: 4px;
    width: 12px;
}

/* Horizontal Timeline Stilleri */
.process-progress-container {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #dee2e6;
}

.horizontal-timeline {
    position: relative;
    margin: 40px 0;
    padding: 20px 0;
}

.timeline-track {
    display: flex;
    position: relative;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.timeline-day {
    flex: 1;
    height: 100%;
    background: #e9ecef;
    border-right: 1px solid #fff;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.timeline-day:hover {
    background: #dee2e6;
    transform: scaleY(1.2);
}

.timeline-day.past {
    background: #28a745;
}

.timeline-day.today {
    background: #007bff;
    animation: pulse 2s infinite;
}

.timeline-day.warning {
    background: #ffc107;
}

.timeline-day.warning.past {
    background: #dc3545;
}

.timeline-event {
    position: absolute;
    top: -20px;
    transform: translateX(-50%);
    z-index: 10;
}

.event-marker {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.event-marker:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.event-tooltip {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 20;
    min-width: 200px;
}

.event-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #333;
}

.timeline-event:hover .event-tooltip {
    opacity: 1;
    visibility: visible;
}

.event-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.event-description {
    margin-bottom: 5px;
}

.event-date, .event-user {
    font-size: 11px;
    opacity: 0.8;
}

.events-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #dee2e6;
}

.event-detail-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding: 10px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.event-detail-marker {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 15px;
    margin-top: 5px;
    flex-shrink: 0;
}

.event-detail-content {
    flex: 1;
}

.event-detail-header {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 5px;
}

.event-detail-header strong {
    color: #333;
    font-size: 14px;
}

.event-detail-header small {
    margin-left: auto;
}

.event-detail-body p {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 768px) {
    .timeline-track {
        height: 6px;
    }
    
    .timeline-day {
        border-right: 0.5px solid #fff;
    }
    
    .event-marker {
        width: 16px;
        height: 16px;
        font-size: 8px;
    }
    
    .event-tooltip {
        font-size: 11px;
        padding: 8px 12px;
        min-width: 150px;
    }
}

/* Tab Stilleri */
.nav-tabs .nav-link {
    border: 1px solid transparent;
    border-top-left-radius: 0.375rem;
    border-top-right-radius: 0.375rem;
    color: #666;
    font-weight: 500;
}

.nav-tabs .nav-link:hover {
    border-color: #e9ecef #e9ecef #dee2e6;
    color: #0073aa;
}

.nav-tabs .nav-link.active {
    color: #0073aa;
    background-color: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
    font-weight: 600;
}

.tab-content {
    border: 1px solid #dee2e6;
    border-top: none;
    padding: 20px;
    background: #fff;
    border-radius: 0 0 0.375rem 0.375rem;
}

/* Form Stilleri */
.form-section {
    margin-bottom: 30px;
}

.form-section h3 {
    border-bottom: 2px solid #0073aa;
    padding-bottom: 8px;
    margin-bottom: 20px;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 0px;
    gap: 15px;
}

.form-group {
    flex: 1;
    min-width: 200px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.1);
}

/* Belge Kartları */
.dosya-yonetim-document-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #e9ecef;
}

.dosya-yonetim-document-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.dosya-yonetim-file-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.dosya-yonetim-file-icon.pdf {
    color: #dc3545;
}

.dosya-yonetim-file-icon.word {
    color: #007bff;
}

.dosya-yonetim-file-icon.image {
    color: #28a745;
}

.dosya-yonetim-file-icon.default {
    color: #6c757d;
}

/* Belge Yükleme Alanı */
.dosya-yonetim-upload-area {
    transition: all 0.3s ease;
    cursor: pointer;
}

.dosya-yonetim-upload-area:hover {
    border-color: #0056b3 !important;
    background-color: #f8f9fa !important;
}

.dosya-yonetim-upload-area.dragover {
    border-color: #28a745 !important;
    background-color: #d4edda !important;
}

/* Alert Stilleri */
.alert {
    border-radius: 8px;
    border: none;
    padding: 15px 20px;
    margin-bottom: 20px;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border-left: 4px solid #17a2b8;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border-left: 4px solid #ffc107;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.dosya-yonetim-container {
    max-width: 100%;
    padding: 0 15px;
    background-color: #f0f8ff; /* Çok uçuk mavi arka plan */
    min-height: 100vh; /* Tam sayfa yüksekliği */
}

.dosya-yonetim-container .status-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;


    background-color: #b7e0f0; /* Hafif sarı arka plan */
    border-radius: 8px;

    border: 1px solid #ffecb3; /* Hafif sarı kenarlık */
    position: relative;
}

.dosya-yonetim-container .status-btn {
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    border-radius: 8px;
    border-width: 2px;
    transition: all 0.3s ease;
    padding: 8px;
    line-height: 1.2;
}

.dosya-yonetim-container .status-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.dosya-yonetim-container .status-btn.active {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(13, 110, 253, 0.3);
}

.dosya-yonetim-container .status-btn.active:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

/* Corpus Quick butonu artık diğer butonlarla aynı satırda, özel stil kaldırıldı */

.dosya-yonetim-container .table-hover tbody tr {
    cursor: pointer;
}

.dosya-yonetim-container .product-row:hover {
    background-color: #f8f9fa;
}

.dosya-yonetim-container .modal-xl {
    max-width: 90%;
}

.dosya-yonetim-container .spinner-border {
    width: 3rem;
    height: 3rem;
}

.dosya-yonetim-container .pagination {
    margin-bottom: 0;
}

.dosya-yonetim-container .pagination .page-link {
    color: #0d6efd;
    border-color: #dee2e6;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
}

.dosya-yonetim-container .pagination .page-item.active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: white;
}

.dosya-yonetim-container .pagination .page-link:hover {
    color: #0a58ca;
    background-color: #e9ecef;
    border-color: #dee2e6;
}

.dosya-yonetim-container .pagination .page-item.disabled .page-link {
    color: #6c757d;
    background-color: #fff;
    border-color: #dee2e6;
    cursor: not-allowed;
}

.dosya-yonetim-container .pagination .page-item.disabled .page-link:hover {
    color: #6c757d;
    background-color: #fff;
    border-color: #dee2e6;
}

.dosya-yonetim-container .pagination .page-link i {
    font-size: 0.75rem;
}

/* Filtreler bölümü - tek satır düzeni */
.dosya-yonetim-container .card-body .row.align-items-end {
    margin-bottom: 0;
}

.dosya-yonetim-container .card-body .form-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive tasarım */
@media (max-width: 992px) {
    .dosya-yonetim-container .card-body .row.align-items-end > div {
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .dosya-yonetim-container .status-btn {
        width: 80px;
        height: 80px;
        font-size: 10px;
    }
    
    .dosya-yonetim-container .status-filters {
        gap: 8px;
        padding: 15px;
    }
    
    .dosya-yonetim-container .modal-xl {
        max-width: 95%;
    }
    
    .dosya-yonetim-container .card-body .row.align-items-end > div {
        margin-bottom: 15px;
    }
    
    .dosya-yonetim-container .card-body .d-flex.gap-2 {
        flex-direction: column;
    }
    
    .dosya-yonetim-container .card-body .d-flex.gap-2 button {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .dosya-yonetim-container .status-btn {
        width: 70px;
        height: 70px;
        font-size: 9px;
    }
    
    .dosya-yonetim-container .status-filters {
        gap: 6px;
        padding: 12px;
    }
}

/* WordPress tema uyumluluğu */
.dosya-yonetim-container .card {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.dosya-yonetim-container .card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.dosya-yonetim-container .card-body {
    background-color: #f0f8ff; /* Uçuk mavi arka plan */
}

.dosya-yonetim-container .btn {
    border-radius: 0.375rem;
}

.dosya-yonetim-container .form-control,
.dosya-yonetim-container .form-select {
    border-radius: 0.375rem;
}

.dosya-yonetim-container .badge {
    font-size: 0.75em;
    padding: 0.35em 0.65em;
}

/* Loading animasyonları */
.dosya-yonetim-container .spinner-border {
    animation: spinner-border 0.75s linear infinite;
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}

/* Hover efektleri */
.dosya-yonetim-container .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.dosya-yonetim-container .btn:active {
    transform: translateY(0);
}

/* Tablo stilleri */
.dosya-yonetim-container .table {
    margin-bottom: 0;
}

.dosya-yonetim-container .table th {
    border-top: none;
    font-weight: 600;
    color: #495057;
}

.dosya-yonetim-container .table td {
    vertical-align: middle;
}

/* Modal stilleri */
.dosya-yonetim-container .modal-content {
    border-radius: 0.5rem;
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.dosya-yonetim-container .modal-header {
    border-bottom: 1px solid #dee2e6;
    padding: 1rem 1.5rem;
}

.dosya-yonetim-container .modal-body {
    padding: 1.5rem;
}

.dosya-yonetim-container .modal-footer {
    border-top: 1px solid #dee2e6;
    padding: 1rem 1.5rem;
}

/* Alert stilleri */
.dosya-yonetim-container .alert {
    border-radius: 0.375rem;
    border: none;
}

.dosya-yonetim-container .alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.dosya-yonetim-container .alert-success {
    background-color: #d1e7dd;
    color: #0f5132;
}

.dosya-yonetim-container .alert-warning {
    background-color: #fff3cd;
    color: #664d03;
}

.dosya-yonetim-container .alert-info {
    background-color: #d1ecf1;
    color: #055160;
}

/* Görsel stilleri */
.dosya-yonetim-container .img-thumbnail {
    border-radius: 0.375rem;
    transition: transform 0.2s ease;
}

.dosya-yonetim-container .img-thumbnail:hover {
    transform: scale(1.05);
}

/* Form stilleri */
.dosya-yonetim-container .form-label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #495057;
}

.dosya-yonetim-container .form-control:focus,
.dosya-yonetim-container .form-select:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Utility sınıfları */
.dosya-yonetim-container .text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dosya-yonetim-container .fw-bold {
    font-weight: 600 !important;
}

.dosya-yonetim-container .text-muted {
    color: #000000 !important;
}

.dosya-yonetim-container .visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* İhale Operasyonları tarzı ürün listesi */
.dosya-yonetim-container .product-item {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    background: #ffffff;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.dosya-yonetim-container .product-item:hover {
    background: #f8f9fa;
    border-color: #0073aa;
    box-shadow: 0 4px 12px rgba(0,115,170,0.15);
    transform: translateY(-2px);
}

.dosya-yonetim-container .product-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e9ecef;
}

.dosya-yonetim-container .product-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    line-height: 1.3;
}

/* Product title badges */
.dosya-yonetim-container .product-title-badges,
#dosya-modal-title .product-title-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.dosya-yonetim-container .title-badge,
#dosya-modal-title .title-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: white;
    text-align: center;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.dosya-yonetim-container .plaka-badge,
#dosya-modal-title .plaka-badge {
    background: linear-gradient(135deg, #0073aa, #005a87);
    box-shadow: 0 2px 4px rgba(0,115,170,0.3);
}

.dosya-yonetim-container .ihale-badge,
#dosya-modal-title .ihale-badge {
    background: linear-gradient(135deg, #0073aa, #005a87);
    box-shadow: 0 2px 4px rgba(0,115,170,0.3);
}

.dosya-yonetim-container .sigorta-badge,
#dosya-modal-title .sigorta-badge {
    background: linear-gradient(135deg, #0073aa, #005a87);
    box-shadow: 0 2px 4px rgba(0,115,170,0.3);
}

.dosya-yonetim-container .sigorta-durum-badge,
#dosya-modal-title .sigorta-durum-badge {
    background: linear-gradient(135deg, #0073aa, #005a87);
    box-shadow: 0 2px 4px rgba(0,115,170,0.3);
}

.dosya-yonetim-container .teklif-badge,
#dosya-modal-title .teklif-badge {
    background: linear-gradient(135deg, #0073aa, #005a87);
    box-shadow: 0 2px 4px rgba(0,115,170,0.3);
}

.dosya-yonetim-container .tarih-badge,
#dosya-modal-title .tarih-badge {
    background: linear-gradient(135deg, #0073aa, #005a87);
    box-shadow: 0 2px 4px rgba(0,115,170,0.3);
}

.dosya-yonetim-container .gun-badge,
#dosya-modal-title .gun-badge {
    background: linear-gradient(135deg, #6c757d, #495057);
    box-shadow: 0 2px 4px rgba(108,117,125,0.3);
}

/* Kazanan Badge - Yeşil */
.dosya-yonetim-container .title-badge.kazanan-badge,
.dosya-yonetim-container .kazanan-badge,
.dosya-yonetim-container .product-item .kazanan-badge,
.dosya-yonetim-container .product-title-badges .kazanan-badge,
.dosya-yonetim-container .product-item .product-title-badges .kazanan-badge,
.dosya-yonetim-container .product-item .title-badge.kazanan-badge,
#dosya-modal-title .kazanan-badge,
#dosya-modal-title .title-badge.kazanan-badge {
    background-color: #059669 !important;
    background: #059669 !important;
    background-image: linear-gradient(135deg, #059669, #047857) !important;
    box-shadow: 0 2px 4px rgba(5,150,105,0.3) !important;
    color: #ffffff !important;
    border: none !important;
}

.dosya-yonetim-container .title-badge.kazanan-badge *,
.dosya-yonetim-container .kazanan-badge * {
    color: #ffffff !important;
}

/* Teklif Yok Badge - Kırmızı */
.dosya-yonetim-container .title-badge.teklif-yok-badge,
.dosya-yonetim-container .teklif-yok-badge,
.dosya-yonetim-container .product-item .teklif-yok-badge,
.dosya-yonetim-container .product-title-badges .teklif-yok-badge,
.dosya-yonetim-container .product-item .product-title-badges .teklif-yok-badge,
.dosya-yonetim-container .product-item .title-badge.teklif-yok-badge,
#dosya-modal-title .teklif-yok-badge,
#dosya-modal-title .title-badge.teklif-yok-badge {
    background-color: #dc2626 !important;
    background: #dc2626 !important;
    background-image: linear-gradient(135deg, #dc2626, #b91c1c) !important;
    box-shadow: 0 2px 4px rgba(220,38,38,0.3) !important;
    color: #ffffff !important;
    border: none !important;
}

.dosya-yonetim-container .title-badge.teklif-yok-badge *,
.dosya-yonetim-container .teklif-yok-badge * {
    color: #ffffff !important;
}

.dosya-yonetim-container .title-badge:hover,
#dosya-modal-title .title-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.dosya-yonetim-container .product-meta {
    font-size: 14px;
    color: #495057;
    margin: 8px 0;
    line-height: 1.5;
}

.dosya-yonetim-container .meta-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 12px;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #0073aa;
}

.dosya-yonetim-container .meta-row span {
    font-size: 13px;
    color: #495057;
    font-weight: 500;
    line-height: 1.4;
}

.dosya-yonetim-container .meta-row strong {
    color: #2c3e50;
    font-weight: 600;
    font-size: 14px;
}

.dosya-yonetim-container .product-actions {
    display: flex;
    gap: 12px;
}

.dosya-yonetim-container .product-actions .button {
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dosya-yonetim-container .product-actions .button-primary {
    background: #0073aa;
    border-color: #0073aa;
    color: white;
}

.dosya-yonetim-container .product-actions .button-primary:hover {
    background: #005a87;
    border-color: #005a87;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,115,170,0.3);
}

/* Responsive meta-row */
@media (max-width: 768px) {
    .dosya-yonetim-container .meta-row {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 10px 12px;
    }
    
    .dosya-yonetim-container .product-item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .dosya-yonetim-container .product-actions {
        width: 100%;
        justify-content: flex-end;
    }
    
    .dosya-yonetim-container .product-item {
        padding: 16px;
        margin-bottom: 12px;
    }
    
    .dosya-yonetim-container .product-title {
        font-size: 16px;
    }
    
    .dosya-yonetim-container .product-title-badges,
    #dosya-modal-title .product-title-badges {
        gap: 4px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .dosya-yonetim-container .title-badge,
    #dosya-modal-title .title-badge {
        padding: 3px 6px;
        font-size: 10px;
        margin-bottom: 2px;
    }
    
    .dosya-yonetim-container .product-meta {
        font-size: 13px;
    }
    
    .dosya-yonetim-container .meta-row span {
        font-size: 12px;
    }
    
    .dosya-yonetim-container .meta-row strong {
        font-size: 13px;
    }
}

/* Dosya Yönetim Modal Stilleri - Benzersiz ID ile */
#dosya-yonetim-product-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 9999 !important;
    display: none !important; /* Varsayılan olarak gizli */
    align-items: center !important;
    justify-content: center !important;
    background: rgba(0,0,0,0.8) !important;
    padding: 10px !important;
    box-sizing: border-box !important;
    max-width: none !important;
}

/* Modal açık olduğunda */
#dosya-yonetim-product-modal.show {
    display: flex !important;
}

#dosya-yonetim-product-modal .dosya-modal-content {
    background: #f0f8ff !important; /* Çok uçuk mavi arka plan */
    padding: 20px !important;
    border-radius: 8px !important;
    width: 98% !important;
    height: 95% !important;
    max-width: none !important;
    max-height: none !important;
    overflow-y: auto !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3) !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    z-index: 1 !important;
}

#dosya-yonetim-product-modal .form-section {
    margin-bottom: 15px !important;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    background: #f9f9f9;
    flex: 1;
}

/* Tab Panel Container */
#dosya-yonetim-product-modal .tab-panel-container {
    margin-bottom: 15px;
}

/* Tab Content */
#dosya-yonetim-product-modal .tab-content {
    margin-top: 10px;
    background: #fff;
}

/* Tab Pane */
#dosya-yonetim-product-modal .tab-pane {
    padding: 10px 0;
    background: #fff;
    display: none;
}

#dosya-yonetim-product-modal .tab-pane.show {
    display: block;
}

#dosya-yonetim-product-modal .form-section h3 {
    font-size: 16px !important;
    margin-bottom: 15px !important;
    padding-bottom: 8px !important;
    border-bottom: 2px solid #ddd;
    color: #333;
    font-weight: 600;
}

#dosya-yonetim-product-modal .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    margin-bottom: 12px;
}

#dosya-yonetim-product-modal .form-group {
    margin-bottom: 8px;
}

#dosya-yonetim-product-modal .form-group label {
    font-size: 13px !important;
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
    color: #555;
}

#dosya-yonetim-product-modal input, 
#dosya-yonetim-product-modal select, 
#dosya-yonetim-product-modal textarea {
    font-size: 13px !important;
    padding: 8px 12px !important;
    height: 36px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    width: 100%;
    box-sizing: border-box;
    background: #fff;
}

#dosya-yonetim-product-modal textarea {
    height: 80px !important;
    resize: vertical;
}

#dosya-yonetim-product-modal input[readonly] {
    background: #f5f5f5 !important;
    color: #666 !important;
}

/* Modal başlık ve kapatma butonu */
#dosya-yonetim-product-modal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 15px;
    flex-shrink: 0;
}

#dosya-yonetim-product-modal .modal-header h2 {
    font-size: 24px;
    margin: 0;
    color: #333;
    font-weight: 600;
}

#dosya-yonetim-product-modal .modal-header .button {
    padding: 10px 20px;
    font-size: 14px;
    border: 1px solid #ddd;
    background: #f7f7f7;
    color: #333;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
}

#dosya-yonetim-product-modal .modal-header .button:hover {
    background: #e7e7e7;
}

/* Modal footer */
#dosya-yonetim-product-modal .modal-footer {
    margin-top: 20px;
    text-align: right;
    border-top: 2px solid #ddd;
    padding-top: 15px;
    flex-shrink: 0;
}

#dosya-yonetim-product-modal .modal-footer .button {
    padding: 10px 20px;
    font-size: 14px;
    margin-left: 10px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
}

#dosya-yonetim-product-modal .modal-footer .button-primary {
    background: #0073aa;
    border-color: #0073aa;
    color: white;
}

#dosya-yonetim-product-modal .modal-footer .button-primary:hover {
    background: #005a87;
    border-color: #005a87;
}

#dosya-yonetim-product-modal .modal-footer .button:hover {
    background: #e7e7e7;
}

/* Responsive modal */
@media (max-width: 768px) {
    #dosya-yonetim-product-modal .form-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    #dosya-yonetim-product-modal .dosya-modal-content {
        background: #f0f8ff !important; /* Çok uçuk mavi arka plan */
        width: 98%;
        height: 98%;
        padding: 15px;
    }
    
    #dosya-yonetim-product-modal .form-section {
        padding: 15px;
    }
    
    #dosya-yonetim-product-modal .modal-header h2 {
        font-size: 20px;
    }
    
    #dosya-yonetim-product-modal .form-section h3 {
        font-size: 14px !important;
    }
}

/* Tab Panel Stilleri */
.tab-panel-container {
    margin-bottom: 20px;
}

.tab-panel-container .nav-tabs {
    border-bottom: 2px solid #0073aa;
    margin-bottom: 20px;
}

.tab-panel-container .nav-tabs .nav-link {
    color: #666;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 12px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tab-panel-container .nav-tabs .nav-link:hover {
    color: #0073aa;
    border-bottom-color: #0073aa;
    background-color: #f8f9fa;
}

.tab-panel-container .nav-tabs .nav-link.active {
    color: #0073aa;
    border-bottom-color: #0073aa;
    background-color: #fff;
    font-weight: 600;
}

.tab-panel-container .tab-content {
    padding: 20px 0;
    background: #fff;
}

.tab-panel-container .tab-pane {
    min-height: 400px;
    display: none;
}

.tab-panel-container .tab-pane.show {
    display: block;
}

/* Tab Panel Responsive */
@media (max-width: 768px) {
    .tab-panel-container .nav-tabs .nav-link {
        padding: 8px 12px;
        font-size: 14px;
    }
}

/* Dosya Yönetimi Fotoğraf Galerisi */
.dosya-yonetim-image-gallery {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-bottom: 20px !important;
}

.dosya-yonetim-product-image {
    width: 150px !important;
    height: 150px !important;
    object-fit: cover !important;
    cursor: pointer !important;
    border: 2px solid #ddd !important;
    border-radius: 8px !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.dosya-yonetim-product-image:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    border-color: #0073aa !important;
}

.dosya-yonetim-alert {
    padding: 12px 16px !important;
    margin-bottom: 20px !important;
    border: 1px solid transparent !important;
    border-radius: 4px !important;
}

.dosya-yonetim-alert-info {
    color: #0c5460 !important;
    background-color: #d1ecf1 !important;
    border-color: #bee5eb !important;
}

/* Dosya Yönetimi Fotoğraf Modal */
#dosya-yonetim-image-modal {
    z-index: 99999 !important;
    padding: 0 !important;
}

#dosya-yonetim-image-modal .modal-dialog {
    max-width: 100vw !important;
    max-height: 100vh !important;
    width: 100vw !important;
    height: 100vh !important;
    margin: 0 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
}

/* Modal'ı tam ekran yap */
#dosya-yonetim-image-modal.show .modal-dialog {
    transform: none !important;
}

/* WordPress layout constraint'ini override et */
#dosya-yonetim-image-modal .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#dosya-yonetim-image-modal .modal-content {
    height: 100vh !important;
    max-height: 100vh !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background-color: #000000 !important;
    background: #000000 !important;
}

/* Tüm WordPress layout constraint'lerini override et */
#dosya-yonetim-image-modal * {
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* WordPress layout constraint'ini tamamen devre dışı bırak */
#dosya-yonetim-image-modal .is-layout-constrained {
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#dosya-yonetim-image-modal .is-layout-constrained > * {
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* WordPress'in tüm layout constraint'lerini override et */
#dosya-yonetim-image-modal .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Daha spesifik override */
#dosya-yonetim-image-modal .modal-dialog.is-layout-constrained {
    max-width: 100vw !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#dosya-yonetim-image-modal .modal-content.is-layout-constrained {
    max-width: 100vw !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Modal'ı tam ekran yapmak için tüm constraint'leri kaldır */
#dosya-yonetim-image-modal,
#dosya-yonetim-image-modal *,
#dosya-yonetim-image-modal .modal-dialog,
#dosya-yonetim-image-modal .modal-content,
#dosya-yonetim-image-modal .modal-body {
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Modal backdrop'u da yüksek z-index yap */
#dosya-yonetim-image-modal + .modal-backdrop {
    z-index: 99998 !important;
}

#dosya-yonetim-image-modal .modal-header {
    background-color: #000 !important;
    border-bottom: 1px solid #333 !important;
}

#dosya-yonetim-image-modal .modal-header .modal-title {
    color: #fff !important;
}

#dosya-yonetim-image-modal .modal-header .btn-close {
    filter: invert(1) !important;
}

#dosya-yonetim-image-modal .modal-body {
    padding: 20px !important;
    text-align: center !important;
    background-color: #000 !important;
    height: calc(100vh - 80px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.dosya-yonetim-image-container {
    position: relative !important;
    display: inline-block !important;
}

.dosya-yonetim-modal-img {
    max-width: 90vw !important;
    max-height: 80vh !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1) !important;
}

.dosya-yonetim-nav-btn {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    font-size: 20px !important;
    cursor: pointer !important;
    z-index: 1000 !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(10px) !important;
}

.dosya-yonetim-nav-btn:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    transform: translateY(-50%) scale(1.1) !important;
}

.dosya-yonetim-prev-btn {
    left: 20px !important;
}

.dosya-yonetim-next-btn {
    right: 20px !important;
}

#dosya-yonetim-image-counter {
    color: #666 !important;
    font-size: 14px !important;
    font-weight: normal !important;
}

/* Belge Yükleme Alanı */
.dosya-yonetim-upload-area {
    transition: all 0.3s ease;
    cursor: pointer;
}

.dosya-yonetim-upload-area:hover {
    border-color: #005a87 !important;
    background-color: #e3f2fd !important;
}

.dosya-yonetim-upload-area.dragover {
    border-color: #28a745 !important;
    background-color: #d4edda !important;
}

/* Belge Kartları */
.dosya-yonetim-document-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dosya-yonetim-document-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Dosya İkonları */
.dosya-yonetim-file-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.dosya-yonetim-file-icon.pdf {
    color: #dc3545;
}

.dosya-yonetim-file-icon.word {
    color: #007bff;
}

.dosya-yonetim-file-icon.image {
    color: #28a745;
}

.dosya-yonetim-file-icon.default {
    color: #6c757d;
}

/* Belge Yükleme Progress */
.dosya-yonetim-upload-progress {
    margin-top: 10px;
}

.dosya-yonetim-upload-progress .progress-bar {
    background-color: #0073aa;
}

/* Belge Silme Butonu */
.dosya-yonetim-delete-btn {
    transition: all 0.2s ease;
}

.dosya-yonetim-delete-btn:hover {
    transform: scale(1.1);
}

/* Alt Statü Checkboxları */
.sub-status-checkboxes {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    margin-top: 10px;
}

.sub-status-checkboxes .form-check {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.sub-status-checkboxes .form-check-input {
    width: 18px !important;
    height: 18px !important;
    margin-right: 10px !important;
    margin-top: 0 !important;
    cursor: pointer;
    border: 2px solid #0073aa;
    border-radius: 3px !important; /* Kare checkbox */
    background-color: #fff;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    position: relative;
}

.sub-status-checkboxes .form-check-input:checked {
    background-color: #0073aa !important;
    border-color: #0073aa !important;
}

.sub-status-checkboxes .form-check-input:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
}

.sub-status-checkboxes .form-check-label {
    font-weight: 500;
    color: #495057;
    cursor: pointer;
    margin-left: 0;
    user-select: none;
}

.sub-status-checkboxes .form-check-input:checked + .form-check-label {
    color: #0073aa;
    font-weight: 600;
}

.sub-status-checkboxes .form-check-input:hover {
    border-color: #0056b3;
    box-shadow: 0 0 0 2px rgba(0, 123, 170, 0.25);
}

/* Dosya Adı Değiştirme Arayüzü */
#file-rename-section {
    border: 1px solid #dee2e6;
    border-radius: 8px;
}

#file-rename-section .card-header {
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

#file-rename-section .form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 5px;
}

#file-rename-section .form-control[readonly] {
    background-color: #e9ecef;
    color: #6c757d;
}

#file-rename-section .file-name-input {
    border-color: #0073aa;
}

#file-rename-section .file-name-input:focus {
    border-color: #0056b3;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 170, 0.25);
}

/* Alt Statü Bölümü */
#sub-status-section {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
}

#sub-status-section .form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 10px;
}

/* Hepİyi Butonu Stilleri */
.hepiyi-btn {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
    color: white !important;
    width: 100px !important;
    height: 100px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    border-radius: 8px !important;
    border-width: 2px !important;
    transition: all 0.3s ease !important;
    padding: 8px !important;
    line-height: 1.2 !important;
}

.hepiyi-btn:hover {
    background-color: #218838 !important;
    border-color: #1e7e34 !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15) !important;
}

.hepiyi-btn.active {
    background-color: #155724 !important;
    border-color: #155724 !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(21, 87, 36, 0.3) !important;
}

.hepiyi-btn.active:hover {
    background-color: #0d4a1a !important;
    border-color: #0a3d15 !important;
}

/* Responsive Hepİyi Butonu */
@media (max-width: 768px) {
    .hepiyi-btn {
        width: 80px !important;
        height: 80px !important;
        font-size: 10px !important;
    }
}

@media (max-width: 576px) {
    .hepiyi-btn {
        width: 70px !important;
        height: 70px !important;
        font-size: 9px !important;
    }
}

/* Responsive Alt Statüler */
@media (max-width: 768px) {
    .sub-status-checkboxes .row {
        margin: 0;
    }
    
    .sub-status-checkboxes .col-md-6 {
        padding: 0 5px;
    }
    
    #file-rename-section .row {
        margin: 0;
    }
    
    #file-rename-section .col-md-6 {
        padding: 0 5px;
        margin-bottom: 10px;
    }
}

/* KAZANAN ve TEKLİF YOK BADGE RENKLERİ - YÜKSEK ÖNCELİK */
.dosya-yonetim-container span.title-badge.kazanan-badge,
.dosya-yonetim-container span.kazanan-badge,
.dosya-yonetim-container .product-item span.title-badge.kazanan-badge,
.dosya-yonetim-container .product-item span.kazanan-badge,
.dosya-yonetim-container .product-title-badges span.kazanan-badge,
.dosya-yonetim-container .product-item .product-title-badges span.kazanan-badge {
    background: #059669 !important;
    background-color: #059669 !important;
    color: #ffffff !important;
}

.dosya-yonetim-container span.title-badge.teklif-yok-badge,
.dosya-yonetim-container span.teklif-yok-badge,
.dosya-yonetim-container .product-item span.title-badge.teklif-yok-badge,
.dosya-yonetim-container .product-item span.teklif-yok-badge,
.dosya-yonetim-container .product-title-badges span.teklif-yok-badge,
.dosya-yonetim-container .product-item .product-title-badges span.teklif-yok-badge {
    background: #dc2626 !important;
    background-color: #dc2626 !important;
    color: #ffffff !important;
}

/* Filtre butonlarındaki sayıların font boyutu */
.dosya-yonetim-container .status-btn small,
.dosya-yonetim-container .hepiyi-btn small {
    font-size: 1.2em !important;
}

/* Tablo Görünümü Stilleri */
.dosya-table {
    background: white;
    border-collapse: collapse;
    border-spacing: 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    font-size: 13px;
    width: max-content;
    min-width: 100%;
}

.dosya-table thead {
    background: linear-gradient(135deg, #0073aa, #005a87);
    color: white;
    position: sticky;
    top: 0;
    z-index: 2;
}

.dosya-table thead th {
    padding: 12px 15px;
    font-weight: 600;
    text-align: left;
    border-bottom: 2px solid #005a87;
    white-space: nowrap;
    font-size: 13px;
    vertical-align: middle;
    min-width: fit-content;
    cursor: pointer;
    user-select: none;
    position: relative;
    transition: background-color 0.2s ease;
}


.dosya-table thead th:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.dosya-table thead th.sortable::after {
    content: ' ⇅';
    opacity: 0.5;
    font-size: 12px;
    margin-left: 5px;
}

.dosya-table thead th.sort-asc::after {
    content: ' ▲';
    opacity: 1;
    color: #fff;
}

.dosya-table thead th.sort-desc::after {
    content: ' ▼';
    opacity: 1;
    color: #fff;
}

.dosya-table tbody tr {
    transition: all 0.2s ease;
    border-bottom: 1px solid #e9ecef;
}

.dosya-table tbody tr:hover {
    background-color: #f0f8ff;
    box-shadow: 0 2px 8px rgba(0,115,170,0.1);
}

.dosya-table tbody td {
    padding: 10px 15px;
    vertical-align: middle;
    border-right: 1px solid #e9ecef;
    font-size: 13px;
    white-space: nowrap;
}


.dosya-table tbody td:last-child {
    border-right: none;
}

/* Kazanan var - yeşil arka plan */
.dosya-table tbody td.kazanan-var {
    background-color: #d4edda;
    color: #155724;
    font-weight: 600;
}

/* Teklif yok - kırmızı arka plan */
.dosya-table tbody td.teklif-yok {
    background-color: #f8d7da;
    color: #721c24;
    font-weight: 600;
}

/* Detay butonu */
.dosya-table .view-product-btn {
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.dosya-table .view-product-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 6px rgba(0,115,170,0.3);
}

/* Dosya sorumlusu ve e-posta sütunları için özel stiller */
.dosya-table tbody td.dosya-sorumlusu-email {
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
    color: #0073aa;
}

.dosya-table tbody td.dosya-sorumlusu-ad {
    font-weight: 500;
    color: #333;
}

/* Badge stilleri */
.dosya-table .badge {
    font-size: 11px;
    padding: 4px 8px;
    font-weight: 500;
}

/* Tablo wrapper - Sticky için gerekli */
.table-wrapper {
    position: relative;
    width: 100%;
}

/* Responsive tablo - Sadece Yatay Scroll */
.table-responsive {
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    isolation: isolate;
}

/* Sigorta Şekli sütunu için drag-to-scroll (12. sütun) */
.table-responsive .dosya-table tbody td:nth-child(12),
.table-responsive .dosya-table thead th:nth-child(12) {
    cursor: grab;
    user-select: none;
    position: relative;
}

.table-responsive .dosya-table tbody td:nth-child(12):active,
.table-responsive .dosya-table thead th:nth-child(12):active {
    cursor: grabbing;
}

.table-responsive.dragging .dosya-table tbody td:nth-child(12),
.table-responsive.dragging .dosya-table thead th:nth-child(12) {
    cursor: grabbing;
    user-select: none;
}
}

/* İlk sütun sticky - THEAD */
.dosya-table thead th.sticky-first-col {
    position: sticky !important;
    position: -webkit-sticky !important;
    left: 0px !important;
    z-index: 1000 !important;
    background: linear-gradient(135deg, #0073aa, #005a87) !important;
    box-shadow: 2px 0 5px 0 rgba(0,0,0,0.2) !important;
    border-right: 1px solid #004670 !important;
}

/* İlk sütun sticky - TBODY */
.dosya-table tbody td.sticky-first-col {
    position: sticky !important;
    position: -webkit-sticky !important;
    left: 0px !important;
    z-index: 999 !important;
    background-color: #fff !important;
    box-shadow: 2px 0 5px 0 rgba(0,0,0,0.2) !important;
    border-right: 1px solid #dee2e6 !important;
}

/* Hover durumunda arka plan */
.dosya-table tbody tr:hover td.sticky-first-col {
    background-color: #f0f8ff !important;
}

/* Striped row için */
.dosya-table tbody tr:nth-child(even) td.sticky-first-col {
    background-color: #f8f9fa !important;
}

.dosya-table tbody tr:nth-child(even):hover td.sticky-first-col {
    background-color: #f0f8ff !important;
}

/* Tablo container - yatay genişleme için */
.table-responsive .dosya-table {
    display: table;
    table-layout: auto;
}

/* Sticky header için */
.table-header-sticky {
    position: sticky;
    top: 0;
    z-index: 10;
}

/* Scroll bar stilleri - Yatay */
.table-responsive::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

.table-responsive::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 6px;
    margin: 2px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #0073aa, #005a87);
    border-radius: 6px;
    border: 2px solid #f1f1f1;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #005a87, #004670);
}

/* Köşe scroll bar */
.table-responsive::-webkit-scrollbar-corner {
    background: #f1f1f1;
}

/* Responsive font boyutları - Tüm ekranlarda aynı kalacak */
@media (max-width: 1400px) {
    .dosya-table {
        font-size: 13px;
    }
    
    .dosya-table thead th,
    .dosya-table tbody td {
        padding: 10px 12px;
        font-size: 13px;
    }
}

@media (max-width: 992px) {
    .dosya-table {
        font-size: 12px;
    }
    
    .dosya-table thead th,
    .dosya-table tbody td {
        padding: 8px 10px;
        font-size: 12px;
    }
    
    .dosya-table .badge {
        font-size: 10px;
        padding: 3px 6px;
    }
    
    .table-responsive::-webkit-scrollbar {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 768px) {
    .dosya-table {
        font-size: 11px;
    }
    
    .dosya-table thead th,
    .dosya-table tbody td {
        padding: 6px 8px;
        font-size: 11px;
    }
    
    .table-responsive::-webkit-scrollbar {
        width: 8px;
        height: 8px;
    }
}
