﻿
/* 手機 */
@media screen and (max-width: 767px) {
    .unpaid-inquiry-container {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 20px;
        padding: 20px 0px;
    }
    
    .unpaid-inquiry-container > .content {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 30px;
        padding: 0px 20px;
    }
    
    /* ---------------------------------------------------------------------------------------------------- */
    
    .unpaid-inquiry-container #filter-box-control:checked + .function-box {
        transform: translateY(0px);
    }
    
    /* ---------------------------------------------------------------------------------------------------- */

    .unpaid-inquiry-container > .content > .function-box {
        width: 100vw;
        background-color: #ffffff;
        border: 1px solid #d7d7d7;
        border-radius: 8px;
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 10px;
        padding: 20px;
        position: fixed;
        bottom: 40px;
        left: 0px;
        z-index: 4;
        transform: translateY(79px);
        transition: .5s;
    }
    
    .unpaid-inquiry-container > .content > .function-box > .search-box {
        width: 100%;
    }

    .unpaid-inquiry-container > .content > .function-box > .search-box > div {
        width: calc(100% - 95px);
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
    }

    .unpaid-inquiry-container > .content > .function-box > .search-box > div > select {
        width: calc(100% - 60px);
    }

    .unpaid-inquiry-container > .content > .function-box > .search-box > .search-input {
        width: 180px;
        height: 36px;
    }
    
    .unpaid-inquiry-container > .content > .function-box > .btn-box {
        display: none;
    }
    
    /* ---------------------------------------------------------------------------------------------------- */
    
    .unpaid-inquiry-container > .content .table-div > .tbody .tr > .td > i:nth-child(1) { color: #7c7c7c; font-size: 24px; }

    /* ---------------------------------------------------------------------------------------------------- */
    
    .unpaid-inquiry-container > .content > .footer-box {
        width: 100%;
        height: 60px;
        background-color: #ffffff;
        border: 1px solid #d7d7d7;
        border-radius: 8px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0px 20px;
    }
    
    .unpaid-inquiry-container > .content > .footer-box > .btn-box {
        min-width: 190px;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }
    
    .unpaid-inquiry-container > .content > .footer-box > .total-bar {
        font-size: 15px;
        font-weight: 700;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 40px;
    }
    
    .unpaid-inquiry-container > .content > .footer-box > .total-bar > p {
        min-width: 190px;
        color: #555555;
    }
    
    .unpaid-inquiry-container > .content > .footer-box > .total-bar > p > span {
        color: #000000;
    }

    /* ---------------------------------------------------------------------------------------------------- */

    .unpaid-inquiry-container .footer-box > .refresh-btn {
        background-color: #00a5a6;
        color: #ffffff;
    }
}

/* PC */
@media screen and (min-width: 768px) {
    .unpaid-inquiry-container {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 20px;
        padding: 20px 0px;
    }
    
    .unpaid-inquiry-container > .content {
        width: 100%;
        max-width: 1241px;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 15px;
        padding: 0px 20px;
    }
    
    /* ---------------------------------------------------------------------------------------------------- */

    .unpaid-inquiry-container > .content > .function-box {
        width: calc(100% - 17px);
        height: 90px;
        background-color: #ffffff;
        border: 1px solid #d7d7d7;
        border-radius: 8px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        padding: 0px 20px;
    }
    
    .unpaid-inquiry-container > .content > .function-box > .search-box > .search-input {
        width: 180px;
        height: 36px;
    }
    
    .unpaid-inquiry-container > .content > .function-box > .btn-box {
        align-self: flex-end;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 10px;
        margin-bottom: 14.5px;
    }
    
    /* ---------------------------------------------------------------------------------------------------- */

    .unpaid-inquiry-container > .content > .collapse-box:nth-child(3) {
        width: 100%;
        height: 325px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 15px;
        margin-left: 17px;
    }

    .unpaid-inquiry-container > .content > .collapse-box:nth-child(4) {
        width: 100%;
        height: calc(100% - 120px - 325px);
        margin-left: 17px;
    }

    .unpaid-inquiry-container > .content > .collapse-box:nth-child(4) > .collapse-content {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 15px;
    }

    /* ---------------------------------------------------------------------------------------------------- */
    
    .unpaid-inquiry-container > .content .table-div.table-up { height: 250px; }
    
    .unpaid-inquiry-container > .content .table-div.table-up > .tbody .tr { width: calc(100% - (100% - 1184px)); }
    
    .unpaid-inquiry-container > .content .table-div.table-up > .tbody .tr.select { background-color: #cceded; }
    
    .unpaid-inquiry-container > .content .table-div > .tbody .tr > .td { gap: 25px; }
    
    .unpaid-inquiry-container > .content .table-div > :where(.thead, .tbody) .tr > .td:where(:nth-child(2), :nth-child(9)) { flex: 0 0 100px; }
    
    .unpaid-inquiry-container > .content .table-div > :where(.thead, .tbody) .tr > .td:where(:nth-child(1), :nth-child(5), :nth-child(6), :nth-child(7)) { flex: 0 0 120px; }
    
    .unpaid-inquiry-container > .content .table-div > :where(.thead, .tbody) .tr > .td:where(:nth-child(3), :nth-child(4), :nth-child(8)) { flex: 0 0 130px; }
    
    .unpaid-inquiry-container > .content .table-div.table-down { width: 100%; height: calc(100% - 75px); }
    
    .unpaid-inquiry-container > .content .table-div.table-down > .tbody .tr { width: calc(100% - (100% - 1184px)); }
    
    .unpaid-inquiry-container > .content .table-div.table-down > .tbody .tr.select { background-color: #cceded; }

    /* ---------------------------------------------------------------------------------------------------- */
    
    .unpaid-inquiry-container > .content .footer-box {
        width: 1184px;
        height: 60px;
        background-color: #ffffff;
        border: 1px solid #d7d7d7;
        border-radius: 8px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0px 20px;
    }
    
    .unpaid-inquiry-container > .content .footer-box > .btn-box {
        min-width: 190px;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }
    
    .unpaid-inquiry-container > .content .footer-box > .total-bar {
        font-size: 15px;
        font-weight: 700;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 40px;
    }
    
    .unpaid-inquiry-container > .content .footer-box > .total-bar > p {
        min-width: 190px;
        color: #555555;
    }
    
    .unpaid-inquiry-container > .content .footer-box > .total-bar > p > span {
        color: #000000;
    }
}
