/* ==========================================
   BOR Cause List
========================================== */

.bor-causelist{
    max-width:1320px;
    margin:0 auto;
    padding:20px 15px;
    font-family:Arial, Helvetica, sans-serif;
}

/* ==========================================
   Heading
========================================== */



/* ==========================================
   Filter
========================================== */

.bor-causelist > div:first-of-type{
    display:flex;
    justify-content:center;
    margin-bottom:25px;
}

.bor-filter{
    width:300px;
    height:42px;
    padding:0 15px;
    padding-right:40px;
    font-size:15px;
    font-weight:500;
    border:1px solid #cfd6df;
    border-radius:6px;
    background:#fff;
    color:#333;
    cursor:pointer;
    outline:none;
    transition:.25s ease;

    appearance:none;
    -webkit-appearance:none;
    -moz-appearance:none;

    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat:no-repeat;
    background-position:right 15px center;
}

.bor-filter:hover{
    border-color:#104591;
}

.bor-filter:focus{
    border-color:#104591;
    box-shadow:0 0 0 3px rgba(16,69,145,.15);
}

/* ==========================================
   Grid
========================================== */

.members-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
    align-items:start;
}

/* ==========================================
   Member Card
========================================== */

.member-card{
    background:#fff;
    border-radius:8px;
    box-shadow:0 2px 8px rgba(0,0,0,.08);
    overflow:hidden;
    display:flex;
    flex-direction:column;
    height:520px;
    transition:.25s;
}

.member-card:hover{
    box-shadow:0 6px 18px rgba(0,0,0,.12);
}

.member-card h3{
    background:#104591;
    color:#fff;
    padding:14px;
    margin:0;
    font-size:18px;
    font-weight:600;
    text-align:center;
}

/* ==========================================
   Last Updated
========================================== */

.member-card > div{
    padding:10px 16px;
    background:#f8f9fb;
    border-bottom:1px solid #e8e8e8;
    font-size:14px;
    color:#444;
}

/* ==========================================
   Table
========================================== */

.member-card table{
    width:100%;
    border-collapse:collapse;
}

.member-card th{
    background:#f3f7fd;
    padding:10px 12px;
    text-align:left;
    font-size:14px;
    font-weight:600;
    color:#222;
}

.member-card td{
    padding:10px 12px;
    border-top:1px solid #ececec;
    font-size:14px;
    color:#333;
    line-height:1.45;
}

.member-card tbody tr:nth-child(even){
    background:#fafafa;
}

.member-card tbody tr:hover{
    background:#eef5ff;
}

/* ==========================================
   Sticky Header
========================================== */

.member-card thead th{
    position:sticky;
    top:0;
    z-index:5;
    background:#f3f7fd;
}

/* ==========================================
   Table Scroll
========================================== */

.table-wrapper{
    flex:1;
    overflow-y:auto;
    overflow-x:auto;
}

.table-wrapper::-webkit-scrollbar{
    width:8px;
    height:8px;
}

.table-wrapper::-webkit-scrollbar-track{
    background:#f0f0f0;
}

.table-wrapper::-webkit-scrollbar-thumb{
    background:#104591;
    border-radius:20px;
}

.table-wrapper::-webkit-scrollbar-thumb:hover{
    background:#0c3672;
}

/* ==========================================
   Button
========================================== */

.view-btn{
    display:inline-block;
    background:#104591;
    color:#fff !important;
    padding:6px 14px;
    font-size:13px;
    font-weight:600;
    text-decoration:none;
    border-radius:4px;
    transition:.25s;
}

.view-btn:hover{
    background:#0c3672;
}

/* ==========================================
   Empty
========================================== */

.empty{
    padding:20px;
    text-align:center;
    color:#666;
    font-size:14px;
}

/* ==========================================
   Responsive
========================================== */

@media(max-width:1024px){

    .members-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .member-card{
        height:500px;
    }

}

@media(max-width:768px){

    .members-grid{
        grid-template-columns:1fr;
    }

    .bor-filter{
        width:100%;
    }

    .member-card{
        height:auto;
    }

    .table-wrapper{
        max-height:420px;
    }

    .member-card h3{
        font-size:17px;
    }

    .member-card th{
        font-size:13px;
        padding:9px;
    }

    .member-card td{
        font-size:13px;
        padding:9px;
    }

    .view-btn{
        padding:6px 12px;
        font-size:12px;
    }

}