﻿/* =========================================================
   FOOTER (Teil der ListView → scrollt mit)
   ========================================================= */

.ws-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    background: #f7f7f7;
    border-top: 0.0625rem solid #e2e2e2;
    font-size: 0.75rem;
    color: #333;
    /* NEU: bleibt immer unten im ws-table-wrap */
    flex: 0 0 auto;
}

.ws-footer-left {
    display: flex;
    gap: 0.375rem;
    align-items: center;
}

.ws-pager-btn {
    height: 1.75rem;
    width: 2rem;
    border: 0.0625rem solid #d9d9d9;
    background: #fff;
    border-radius: 0.1875rem;
    cursor: pointer;
}

    .ws-pager-btn:disabled {
        opacity: .5;
        cursor: default;
    }

.ws-footer-mid {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ws-page-size {
    height: 1.75rem;
    border: 0.0625rem solid #d9d9d9;
    border-radius: 0.1875rem;
    padding: 0 0.5rem;
    background: #fff;
}

/*.ws-tabs {
    margin-top: -4.375rem;*/ /* exakt Höhe vom ed-header-strip */
/*display: flex;
    justify-content: center;
    padding-top: 1.125rem;
}*/

.ws-tabs {
    width: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    padding: 0.875rem 0 0.75rem 0;
}

.ws-tabs-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ws-tab {
    border: none;
    background: transparent;
    padding: 0.5rem 1.25rem;
    font-size: 0.8125rem;
    cursor: pointer;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.7);
}

.ws-tab--active {
    background: #ffffff;
    color: #000;
}

.ws-tabs {
    display: flex;
    justify-content: center;
    margin: 0 0 0.875rem 0;
}

.ws-tab-group {
    display: flex;
    gap: 0.375rem;
    background: #1b1b1b;
    padding: 0.375rem;
    border-radius: 999px;
}

.ws-tabs .ws-tab-group {
    display: flex;
    gap: 0.375rem;
    background: #1b1b1b;
    padding: 0.375rem;
    border-radius: 999px;
}

.ws-col-order {
    width: 10rem;
}

.ws-col-date {
    width: 11.25rem;
}

.ws-col-customer {
    width: 20rem;
}

.ws-col-country {
    width: 9.375rem;
}

.ws-col-weight {
    width: 8.75rem;
}

.ws-col-action {
    width: 10rem;
}

/* Tabs Style */

.ws-tab-group {
    display: flex;
    gap: 0.375rem;
    background: #303030;
    padding: 0.375rem;
    border-radius: 999px;
}

.ws-tab {
    border: none;
    background: transparent;
    padding: 0.625rem 1.375rem;
    font-size: 0.875rem;
    cursor: pointer;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.7);
}

.ws-tab--active {
    background: #1e90ff;
    color: #fff;
}

.ws-subheader-content {
    position: relative;
    display: flex;
    justify-content: center; /* Tabs immer exakt mittig */
    align-items: center;
}

/* Center block: Tabs + Refresh, mit viel Platz nach rechts */
.ws-subheader-center {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding-right: 16.25rem; /* "viel platz nach rechts" */
}
