/* ------------------------------------------------------
   STK VERİ TABLOSU STİLLERİ
------------------------------------------------------ */

#stk-data-table-wrapper {
    margin-top: 40px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: linear-gradient(135deg, #233E7D 0%, #1a2f5f 100%);
    border-bottom: 3px solid #f0f0f0;
}

.table-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.table-header h3 i {
    font-size: 22px;
}

.export-excel-btn {
    background: #28a745;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.export-excel-btn:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.export-excel-btn i {
    font-size: 16px;
}

.table-responsive {
    overflow-x: auto;
    max-height: 600px;
    overflow-y: auto;
}

.stk-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Inter', 'Segoe UI', sans-serif;
}

.stk-table thead {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #f8f9fa;
}

.stk-table th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    color: #233E7D;
    border-bottom: 2px solid #dee2e6;
    white-space: nowrap;
    user-select: none;
}

.stk-table th.sortable {
    cursor: pointer;
    transition: all 0.2s ease;
}

.stk-table th.sortable:hover {
    background: #e9ecef;
    color: #1a2f5f;
}

.stk-table th.sortable i {
    margin-left: 6px;
    font-size: 12px;
    opacity: 0.5;
    transition: all 0.2s ease;
}

.stk-table th.sortable:hover i {
    opacity: 1;
}

.stk-table th.sorted-asc i:before {
    content: "\f0de";
    /* fa-sort-up */
    opacity: 1;
}

.stk-table th.sorted-desc i:before {
    content: "\f0dd";
    /* fa-sort-down */
    opacity: 1;
}

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

.stk-table tbody tr:hover {
    background: #f8f9fa;
}

.stk-table tbody tr:last-child {
    border-bottom: none;
}

.stk-table td {
    padding: 14px 20px;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

.stk-table td:first-child {
    font-weight: 600;
    color: #233E7D;
}

.table-info {
    padding: 12px 24px;
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
    text-align: right;
}

.table-info span {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

/* Empty State */
.table-empty {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.table-empty i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.3;
}

.table-empty p {
    font-size: 16px;
    margin: 0;
}

/* Search Input Styling */
.filter-search-input {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.filter-search-input:focus {
    outline: none;
    border-color: #233E7D;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(35, 62, 125, 0.1);
}

.filter-search-input::placeholder {
    color: #999;
}

/* Responsive */
@media (max-width: 768px) {
    .table-header {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .table-header h3 {
        font-size: 18px;
    }

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

    .stk-table th,
    .stk-table td {
        padding: 10px 12px;
        font-size: 13px;
    }

    .table-responsive {
        max-height: 400px;
    }

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

@media (max-width: 576px) {
    .stk-table {
        font-size: 12px;
    }

    .stk-table th,
    .stk-table td {
        padding: 8px 10px;
    }

    .table-header {
        padding: 16px;
    }
}