body {
    background-color: #f0f0f0;
    padding: 20px;
    font-size: 14px;
}

.header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 20px;
}

.title {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    order: 1;
}

.menu-buttons-container {
    display: flex;
    align-items: center;
    order: 2;
}

.menu-buttons {
    display: flex;
    gap: 5px;
}

.btn-custom {
    font-size: 14px;
    padding: 5px 10px;
    position: relative;
    color: #fff;
    border: none;
}

.btn-custom .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-custom:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.btn-custom:hover {
    filter: brightness(85%);
}

.btn-hata-denetimi { background-color: #dc3545; }
.btn-excele-aktar { background-color: #28a745; }
.btn-envanter-hesabi { background-color: #007bff; }
.btn-kaydet { background-color: #fd7e14; }
.btn-ayarlar { background-color: #ffc107; }
.btn-yardim { background-color: #e83e8c; }

.upload-section, .reupload-button {
    margin-bottom: 20px;
}

.drop-zone {
    border: 2px dashed #007bff;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    background-color: #fff;
    transition: background-color 0.3s;
}

.drop-zone.dragover {
    background-color: #e9f2ff;
}

.table-responsive {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    overflow-x: auto;
}

.table {
    table-layout: fixed;
    width: 100%;
}

.table th, .table td {
    font-size: 12px;
    word-wrap: break-word;
    max-width: 80px;
    padding: 5px;
}

.dataTables_wrapper .dataTables_filter {
    display: none;
}

.column-filter {
    margin-bottom: 5px;
    width: 100%;
    box-sizing: border-box;
}

.column-filter input {
    width: 100%;
    padding: 3px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 11px;
    box-sizing: border-box;
}

.tab-content {
    margin-top: 20px;
}

.reupload-button {
    position: absolute;
    top: 20px;
    right: 20px;
}

.error-message {
    color: red;
    margin-top: 10px;
}

.table thead th {
    vertical-align: middle;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.table thead tr:nth-child(2) th {
    padding: 0;
}

table.dataTable tbody tr.selected {
    background-color: #e6f3ff !important;
    border-left: 4px solid #007bff;
    border-right: 4px solid #007bff;
}

.context-menu {
    position: absolute;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1000;
    min-width: 150px;
}

.context-menu ul {
    list-style: none;
    margin: 0;
    padding: 5px 0;
}

.context-menu ul li {
    padding: 8px 15px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.context-menu ul li:hover {
    background-color: #f0f0f0;
}

#inventoryModal .modal-body {
    max-height: 70vh;
    overflow-y: auto;
}

#inventoryModal .card {
    margin-bottom: 15px;
}

#inventoryModal .card-header {
    background-color: #007bff;
    color: #fff;
    font-weight: bold;
}

#errorFilterSettings {
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#errorFilterSettings .filter-group {
    margin-bottom: 15px;
}

#errorFilterSettings .filter-group h6 {
    margin-bottom: 5px;
    font-weight: bold;
}

#errorFilterSettings .form-check {
    margin-left: 10px;
    margin-bottom: 5px;
}