.warehouse-result {
    width: 100%;
    margin-bottom: 24px;
}

.warehouse-table-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.warehouse-table-scroll {
    max-height: 45vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.warehouse-result table,
.warehouse-table {
    min-width: 860px;
}

.warehouse-table .thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #fff;
}

.warehouse-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-top: 1px solid #eef0f4;
    background: #fff;
}

.warehouse-pagination__summary {
    color: #6f7681;
    font-size: 13px;
    white-space: nowrap;
}

.warehouse-pagination__buttons {
    display: flex;
    align-items: center;
    gap: 6px;
}

.warehouse-page-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #d7dce5;
    border-radius: 6px;
    background: #fff;
    color: #363b44;
    font-size: 13px;
    line-height: 30px;
    text-align: center;
    cursor: pointer;
}

.warehouse-page-btn:hover:not(:disabled),
.warehouse-page-btn.is-active {
    border-color: #ff3d00;
    background: #ff3d00;
    color: #fff;
}

.warehouse-page-btn:disabled {
    cursor: default;
    opacity: 0.45;
}

@media (max-width: 1200px) {
    .header_top,
    .header_bottom,
    .main {
        min-width: 0 !important;
    }

    .main {
        width: 100%;
        box-sizing: border-box;
    }

    .main .container {
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    .process .img {
        overflow-x: auto;
    }

    .process .img img {
        max-width: none;
        min-width: 900px;
    }

    .view_controls .buttons,
    .controls > .btn_tab,
    .view_controls .btn_tab {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
        padding-bottom: 4px;
    }

    .view_controls .btn_tab button,
    .controls > .btn_tab button {
        flex: 0 0 auto;
    }
}

@media (max-width: 850px) {
    .process {
        display: none !important;
    }

    .controls,
    .view_controls {
        border-radius: 0.8rem !important;
    }

    .view_controls,
    .controls {
        padding: 1.2rem !important;
    }

    .view_controls .buttons {
        display: block !important;
    }

    .view_controls .buttons .btn_info,
    .view_controls .buttons .btn_coupang {
        display: none;
    }

    .filter,
    .filter .form,
    .controls .filter {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 1rem !important;
        width: 100%;
    }

    .filter > div,
    .filter .form > div,
    .controls .filter > div {
        width: 100% !important;
        min-width: 0;
        flex-wrap: nowrap;
    }

    .filter .key {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .filter .value {
        flex: 1 1 auto;
        min-width: 0;
    }

    .filter .value input,
    .filter .date_box,
    .filter .value .dropdown {
        width: 100% !important;
        box-sizing: border-box;
    }

    .filter .date_box input {
        width: 50% !important;
    }

    .filter .btns {
        justify-content: flex-start !important;
    }

    .filter .btns button {
        margin-left: 0 !important;
    }

    .warehouse-result {
        margin-top: 1.2rem !important;
        border-radius: 0.8rem;
    }

    .warehouse-pagination {
        align-items: flex-start;
        flex-direction: column;
    }

    .warehouse-pagination__buttons {
        max-width: 100%;
        overflow-x: auto;
        padding-bottom: 2px;
    }
}

@media (max-width: 550px) {
    .main {
        padding: 0 1rem !important;
    }

    .view_controls .btn_tab,
    .controls > .btn_tab {
        gap: 0.8rem !important;
    }

    .view_controls .btn_tab button,
    .controls > .btn_tab button {
        width: auto !important;
        min-width: 11rem;
        padding: 0 1.2rem;
    }

    .filter > div,
    .filter .form > div,
    .controls .filter > div {
        display: block !important;
    }

    .filter .key {
        display: block;
        margin-bottom: 0.4rem;
    }
}
