﻿
/* 手機 */
@media screen and (max-width: 767px) {
    .loan-lnquiry-container {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 20px;
        padding: 0px 20px;
    }
    
    .loan-lnquiry-container > .content {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 20px;
        margin-top: 20px;
    }
    
    /* ---------------------------------------------------------------------------------------------------- */
    
    .loan-lnquiry-container #filter-box-control:checked + .function-box {
        transform: translateY(0px);
    }
    
    /* ---------------------------------------------------------------------------------------------------- */
    
    .loan-lnquiry-container > .content > .function-box {
        width: 100%;
        background-color: #ffffff;
        border: 1px solid #d7d7d7;
        border-radius: 8px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 10px;
        padding: 0px 20px;
        position: fixed;
        bottom: 40px;
        left: 0px;
        z-index: 4;
        transform: translateY(134px);
        transition: .5s;
    }
    
    .loan-lnquiry-container > .content > .function-box > .search-box {
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        align-content: flex-start;
        flex-wrap: wrap;
        padding: 10px 0px;
    }

    .loan-lnquiry-container > .content > .function-box > .search-box > :where(div:nth-of-type(1), div:nth-of-type(2)) {
        width: calc(50% - 7.5px);
    }

    .loan-lnquiry-container > .content > .function-box > .search-box > :where(div:nth-of-type(1), div:nth-of-type(2)) > .search-input {
        width: 100%;
    }
    
    .loan-lnquiry-container > .content > .function-box > .search-box > .check-box {
        width: calc(50% - 7.5px);
        height: 36px;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        gap: 10px;
    }
    
    .loan-lnquiry-container > .content > .function-box > .search-box > .check-box > .box {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 5px;
    }
    
    .loan-lnquiry-container > .content > .function-box > .search-box > .check-box > .box > input {
        width: 16px;
        height: 16px;
    }
    
    .loan-lnquiry-container > .content > .function-box > .btn-box {
        display: none;
    }
    
    /* ---------------------------------------------------------------------------------------------------- */
    
    .loan-lnquiry-container > .content .table-div > .tbody .tr > .td > i:nth-child(1) { color: #00a5a6; font-size: 24px; margin-right: 20px; }
    .loan-lnquiry-container > .content .table-div > .tbody .tr > .td > i:nth-child(2) { color: #7c7c7c; font-size: 24px; }

    /* ---------------------------------------------------------------------------------------------------- */
    
    .loan-lnquiry-container > .total-box {
        width: 100%;
        background-color: #ffffff;
        border: 1px solid #d7d7d7;
        border-radius: 8px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        margin-bottom: 60px;
    }
    
    .loan-lnquiry-container > .total-box > .total-bar {
        min-width: 100%;
        font-size: 15px;
        font-weight: 700;
        border-bottom: 1px solid #d7d7d7;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 15px;
        padding: 10px 20px;
    }
    
    .loan-lnquiry-container > .total-box > .total-bar > p {
        color: #555555;
    }
    
    .loan-lnquiry-container > .total-box > .total-bar > p > span {
        color: #000000;
    }
    
    .loan-lnquiry-container > .total-box > .pagination-bar {
        align-self: center;
        padding: 10px 0px;
    }

    .loan-lnquiry-container > .total-box > .btn-box {
        display: none;
    }

    /* ---------------------------------------------------------------------------------------------------- */

    .loan-lnquiry-container .footer-box > .refresh-btn {
        background-color: #00a5a6;
        color: #ffffff;
    }
}

/* PC */
@media screen and (min-width: 768px) {
    .loan-lnquiry-container {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 20px;
        padding: 20px 0px;
    }
    
    .loan-lnquiry-container > .content {
        width: 100%;
        max-width: 1241px;
        height: calc(100% - 90px);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 20px;
        padding: 0px 20px;
    }
    
    .loan-lnquiry-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;
    }
    
    .loan-lnquiry-container > .content > .function-box > .search-box > .search-input {
        width: 180px;
        height: 36px;
    }
    
    .loan-lnquiry-container > .content > .function-box > .search-box > .check-box {
        width: auto;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        gap: 10px;
    }
    
    .loan-lnquiry-container > .content > .function-box > .search-box > .check-box > .box {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 5px;
    }
    
    .loan-lnquiry-container > .content > .function-box > .search-box > .check-box > .box > input {
        width: 16px;
        height: 16px;
    }
    
    .loan-lnquiry-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;
    }
    
    /* ---------------------------------------------------------------------------------------------------- */
    
    .loan-lnquiry-container > .content .table-div { max-height: calc(100% - 110px); margin-left: 17px; }
    
    .loan-lnquiry-container > .content .table-div > .tbody .tr { width: calc(100% - (100% - 1184px)); }
    
    .loan-lnquiry-container > .content .table-div > .tbody .tr.select { background-color: #cceded; }
    
    .loan-lnquiry-container > .content .table-div > .tbody .tr > .td { gap: 30px; }
    
    .loan-lnquiry-container > .content .table-div > .tbody .tr > .td > i:nth-child(1) { color: #00a5a6; font-size: 20px; }
    .loan-lnquiry-container > .content .table-div > .tbody .tr > .td > i:nth-child(2) { color: #7c7c7c; font-size: 20px; }

    /* ---------------------------------------------------------------------------------------------------- */
    
    .loan-lnquiry-container > .total-box {
        width: 1184px;
        height: 70px;
        background-color: #ffffff;
        border: 1px solid #d7d7d7;
        border-radius: 8px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0px 20px;
    }
    
    .loan-lnquiry-container > .total-box > .total-bar {
        min-width: 440px;
        font-size: 15px;
        font-weight: 700;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 40px;
    }
    
    .loan-lnquiry-container > .total-box > .total-bar > p {
        color: #555555;
    }
    
    .loan-lnquiry-container > .total-box > .total-bar > p > span {
        color: #000000;
    }
    
    .loan-lnquiry-container > .total-box > .btn-box {
        min-width: 440px;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }
}
