/*
==========================================================
LQW REALTY INVENTORY ENGINE
Version 2.0
==========================================================
*/

.lqw-inventory-engine{

    margin:40px 0;

}

.lqw-inventory-engine h2{

    font-size:36px;

    margin-bottom:10px;

    font-weight:700;

}

.lqw-inventory-description{

    font-size:18px;

    color:#666;

    margin-bottom:30px;

}

/*
==========================================================
SUMMARY CARDS
==========================================================
*/

.lqw-inventory-summary{

    display:grid;

    grid-template-columns:repeat(5,1fr);

    gap:20px;

    margin-bottom:40px;

}

.lqw-summary-card{

    background:#ffffff;

    border-radius:14px;

    padding:28px;

    text-align:center;

    box-shadow:0 6px 20px rgba(0,0,0,.08);

    transition:.3s;
    
    border:1px solid #eeeeee;

}

.lqw-summary-card:hover{

    transform:translateY(-4px);

}

.lqw-summary-card .number{

    display:block;

    font-size:42px;

    font-weight:700;

    color:#0055A4;

}

.lqw-summary-card .label{

    display:block;

    margin-top:10px;

    font-size:16px;

    color:#666;

}

/*
==========================================================
FILTERS
==========================================================
*/

.lqw-filter-grid{

    display:grid;

    grid-template-columns:320px 320px auto;

    gap:20px;

    align-items:flex-end;

    margin-bottom:30px;

}

.lqw-filter-grid label{

    display:block;

    margin-bottom:8px;

    font-size:15px;

    font-weight:600;

    color:#444;

}

.lqw-filter-grid select{

    width:100%;

    padding:14px;

    border-radius:8px;

    font-size:17px;

}

.filter-buttons{

    display:flex;

    align-items:flex-end;

    justify-content:flex-start;

    gap:12px;

    flex-wrap:nowrap;

    width:100%;

}

.filter-buttons button,
.filter-buttons a{

    min-width:190px;

    height:52px;

    display:flex;

    justify-content:center;

    align-items:center;

    border-radius:10px;

    font-size:17px;

    font-weight:600;

    text-decoration:none;

    white-space:nowrap;

}

.lqw-search-btn{

    background:#0055A4;

    color:#fff;

    border:none;

    cursor:pointer;

}

.lqw-search-btn:hover{

    background:#003d75;

}

.lqw-reset-btn{

    background:#efefef;

    color:#333;

}

.lqw-reset-btn:hover{

    background:#dddddd;

}

.lqw-filter-item{

    display:flex;

    flex-direction:column;

}



/*
==========================================================
TABLE
==========================================================
*/

.lqw-inventory-table{

    width:100%;
    
    table-layout:fixed;

    border-collapse:collapse;

    background:#fff;

}

.lqw-inventory-table th{

    background:#0055A4;

    color:#fff;

    padding:18px;

    font-size:17px;

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:.5px;

}

.lqw-inventory-table td{

    padding:18px 16px;

    border-bottom:1px solid #ececec;

    vertical-align:middle;

}

.lqw-inventory-table tr:hover{

    background:#f8fbff;

}

/*
==========================================================
STATUS
==========================================================
*/

.lqw-status{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    min-width:110px;

    height:34px;

    padding:0 16px;

    border-radius:20px;

    font-size:14px;

    font-weight:700;

}

.lqw-status-available{

    background:#d4edda;

    color:#155724;

}

.lqw-status-reserved{

    background:#fff3cd;

    color:#856404;

}

.lqw-status-sold{

    background:#f8d7da;

    color:#721c24;

}

.lqw-status-on-hold{

    background:#e2e3e5;

    color:#444;

}

/*
==========================================================
PAGINATION
==========================================================
*/

.lqw-pagination{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-top:35px;

}

.lqw-page-button{

    background:#0055A4;

    color:white;

    text-decoration:none;

    padding:14px 24px;

    border-radius:10px;

    font-size:17px;

}

.lqw-page-button:hover{

    background:#003f7a;

}

.lqw-page-button.disabled{

    background:#ccc;

    color:#666;

    pointer-events:none;

}

.lqw-page-info{

    font-size:18px;

    font-weight:600;

}

/*
==========================================================
TABLETS
==========================================================
*/

@media(max-width:1024px){

    .lqw-inventory-summary{

        grid-template-columns:repeat(2,1fr);

    }

    .lqw-filter-grid{

        grid-template-columns:1fr;

    }

    .lqw-inventory-table th{

        font-size:17px;

    }

    .lqw-inventory-table td{

        font-size:17px;
        
        vertical-align:middle;

    }

}

.lqw-inventory-table-wrap{

    overflow-x:auto;

    border-radius:12px;

    box-shadow:0 4px 14px rgba(0,0,0,.08);

}

.lqw-inventory-table tbody tr:nth-child(even){

    background:#fafafa;

}

.lqw-inventory-table td,
.lqw-inventory-table th{

    vertical-align:middle;

}


.lqw-table-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin:25px 0 15px;

}

.lqw-inventory-range{

    font-size:16px;

    color:#666;

}

.lqw-view-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:8px;

    min-width:150px;

    height:42px;

    background:#0055A4;

    color:#ffffff !important;

    border:1px solid #0055A4;

    border-radius:8px;

    text-decoration:none !important;

    font-size:15px;

    font-weight:600;

    transition:all .25s ease;

}

.lqw-view-btn:hover{

    background:#003d75;

    border-color:#003d75;

    color:#ffffff !important;

    text-decoration:none;

}

.lqw-view-btn:visited,
.lqw-view-btn:focus,
.lqw-view-btn:active{

    color:#ffffff !important;

    text-decoration:none;

}

/*
==========================================================
ACTION COLUMN
==========================================================
*/

.lqw-action-column{

    text-align:center;

}

.lqw-action-column .lqw-view-btn{

    width:150px;

}

.lqw-view-btn .dashicons{

    font-size:18px;

    width:18px;

    height:18px;

    line-height:18px;

}


