﻿.table-container {
    max-width: 100%;
    overflow-x: auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on mobile */   
}
.table-top-header {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border: 1px solid #E4E7EC;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    z-index: 1;
    margin-bottom: -6px;
    background: #fff;
}


table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    text-align: left;
}

thead {
    background-color: #fff;
}

    thead th {
        padding: 12px;
        color: #475467;
        font-size: 12px;
        font-style: normal;
        font-weight: 400;
        line-height: 18px;
    }

/*tbody tr {
    border: 1px solid #E4E7EC;
    background:#fff;
}*/

tbody tr {
    border-top: 1px solid #E4E7EC;
    border-bottom: 1px solid #E4E7EC;
    background: #fff;
}

tbody tr:nth-child(odd) {
    background-color: #f9fafb !important;
}

.table-container tbody tr td {
    padding: 12px;
    vertical-align: middle;
}

tfoot {
    
    text-align: center;
}

    tfoot .footer-nav {
        padding: 12px;
        display:flex;
        justify-content:space-between;
        align-items:center;
    }

.btn {
    background-color: #f3f4f6;
    border: 1px solid #ddd;
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
}

    .btn:hover {
        background-color: #e5e7eb;
    }

.icon-btn {
    width: 24px;
    height: 24px;
    background-size: contain;
    border: none;
    cursor: pointer;
}

.email-icon {
    background-image: url('path/to/email-icon.png'); 
}

/*.nav-btn {
    background-color: #ffffff;
    border: 1px solid #ddd;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
}

    .nav-btn:hover {
        background-color: #e5e7eb;
    }

span {
    font-size: 12px;
    color: #6b7280;
}
*/
.table-user-img{
    width:40px;
    height:40px;
    object-fit:cover;
    border-radius:50%;
}
@media (min-width: 200px) and (max-width: 1000px) {
    .table-container{
        max-width:500px !important;
    }
}