/* ========================================
   SALES AREA - SHARED LAYOUT
======================================== */

.sales-page {
    width: 100%;
    max-width: none;
    padding: 20px 24px;
    box-sizing: border-box;
}

.sales-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.sales-page-header h1 {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
}

.sales-page-actions {
    display: flex;
    gap: 10px;
}

.sales-btn {
    padding: 10px 18px;
    background: #252525;
    color: white;
    border: 1px solid #444;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
}

.sales-btn:hover {
    background: #444;
}

.sales-table-container {
    width: 100%;
    min-height: 730px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 6px;
    overflow: hidden;
}

/* Sales table sorting arrows - bottom center */
.sales-table-container .tabulator .tabulator-header .tabulator-col {
    position: relative;
}

.sales-table-container .tabulator .tabulator-header .tabulator-col .tabulator-col-sorter {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
}

/* Sales table sorting arrows - bottom center */
.sales-table-container .tabulator .tabulator-header .tabulator-col {
    position: relative !important;
    height: 60px;
}

.sales-table-container .tabulator .tabulator-header .tabulator-col .tabulator-col-sorter {
    position: absolute !important;
    top: auto !important;
    bottom: -5px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
}

/* Allow sorter to position against the header cell */
.sales-table-container .tabulator .tabulator-col-title-holder {
    position: static !important;
}

.sales-table-container .tabulator .tabulator-header .tabulator-col.routing-info-header {
    background: red !important;
}