/* Table container */
.table-container {
    /*overflow-x: auto;*/
}
.modal-table-container {
    padding: 0 1rem;
}
/* Table styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    border-radius: 5px;
}
thead {
    color: #1c1b1b;
}
th, td {
    padding: 12px 15px;
    text-align: left;
    text-transform: capitalize;
    color: #1c1b1b;
}
td {
    border-top: 2px groove #FFF;
}

tr.table-row:nth-child(odd) {
    background: #f8f8f8;
}
tr.table-row:nth-child(even) {
    background: #dfdfdf;
}
tr.table-row:hover {
    background: #a9a9a9;
}

th {
    font-size: 0.7rem;
    opacity: .8;
    letter-spacing: 1px;
}
/* Responsive table for small screens */
@media screen and (max-width: 600px) {
    table, thead, tbody, th, td, tr {
        display: block;
    }
    thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    tr {
        border: 1px solid #ccc;
        margin-bottom: 5px;
    }
    td {
        border: none;
        position: relative;
        padding-left: 50%;
    }
    td:before {
        position: absolute;
        width: 45%;
        white-space: nowrap;
        font-weight: bold;
    }
}



.row__title{
    color: #333333;
    font-weight: 400;
    font-size: 20px;
    margin: 0;
}

.row--top-40{
    margin-top: 40px;
}

.row--top-20{
    margin-top: 20px;
}
.table__thead {
    border-bottom: 2px groove #FFF;
}
.table__th {
    color: #333333;
    font-weight: 500;
    font-size: 12px;
    text-transform: uppercase;
    cursor: pointer;
    border:0 !important;
    padding: 15px 8px !important;
}


.table-row {
    border-top: 2px groove #FFF;
}

.table--select-all {
    width: 18px;
    height: 18px;
    padding: 0 !important;
    border-radius: 50%;
    border: 2px solid #becad2;
}

.table-row__td {
    padding: 12px 8px !important;
    vertical-align: middle !important;
    color: #1c1b1b;
    font-size: 13px;
    font-weight: 400;
    position:relative;
    line-height: 18px !important;
    border:0 !important;
}

.table-row__td:before {
    position: relative;
}
.table-row__cta {
    flex: 1;
    display: flex;
    gap: var(--gap-small);
}
.table-row__cta button {
    flex: 1;
}

.table-row__img{
    width: 36px;
    height: 36px;
    display: inline-block;
    border-radius: 50%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    vertical-align: middle;
}


.table-row__small {
    color: #9eabb4;
    font-weight: 300;
    font-size: 12px;
}

.table-row__td .fa-check-circle {
    color: var(--success-btn-bg);
}
.table-row__td .fa-times-circle {
    color: var(--zinc-400);
}

.status--red:before{
    background-color: var(--danger-btn-bg);
}

.status--red{
    color: var(--danger-btn-bg);
}

.status--blue:before{
    background-color: #3fd2ea;
}

.status--blue{
    color: #3fd2ea;
}

.status--yellow:before{
    background-color: #ecce4e;
}

.status--yellow{
    color: #ecce4e;
}

.status--green{
    color: var(--success-btn-bg);
}
.status--green:before{
    background-color: var(--success-btn-bg);
}

.status--grey{
    color: #9eabb4;
}
.status--grey:before{
    background-color: #9eabb4;
}

.table__select-row {
    appearence: none;
    -moz-appearance: none;
    -o-appearance: none;
    -webkit-appearance: none;
    width: 17px;
    height: 17px;
    margin: 0 0 0 5px !important;
    vertical-align: middle;
    border: 2px solid #beccd7;
    border-radius: 50%;
    cursor: pointer;
}

.table__select-row:hover{
    border-color:#01b9d1;
}

.table__select-row:checked {
    background-image: url(data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDI2IDI2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAyNiAyNiIgd2lkdGg9IjE2cHgiIGhlaWdodD0iMTZweCI+CiAgPHBhdGggZD0ibS4zLDE0Yy0wLjItMC4yLTAuMy0wLjUtMC4zLTAuN3MwLjEtMC41IDAuMy0wLjdsMS40LTEuNGMwLjQtMC40IDEtMC40IDEuNCwwbC4xLC4xIDUuNSw1LjljMC4yLDAuMiAwLjUsMC4yIDAuNywwbDEzLjQtMTMuOWgwLjF2LTguODgxNzhlLTE2YzAuNC0wLjQgMS0wLjQgMS40LDBsMS40LDEuNGMwLjQsMC40IDAuNCwxIDAsMS40bDAsMC0xNiwxNi42Yy0wLjIsMC4yLTAuNCwwLjMtMC43LDAuMy0wLjMsMC0wLjUtMC4xLTAuNy0wLjNsLTcuOC04LjQtLjItLjN6IiBmaWxsPSIjMDFiOWQxIi8+Cjwvc3ZnPgo=);
    background-position: center;
    background-size: 7px;
    background-repeat: no-repeat;
    border-color: #01b9d1;
}


.truncate {
    max-width: 135px; /* Set a fixed width for the container */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
@media screen and (min-width: 1129px) {
    .table__th.center {
        text-align: center;
    }
    .table-row__td.center {
        text-align: center;
    }
    .table-row__td.center button {
        margin: 0 auto;
    }
}
@media screen and (max-width: 1130px) {
    .table__thead {
        display: none;
    }
    .table__tbody {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 1rem;
        margin: 1rem 0;
    }
    .table-row {
        display: inline-block;
        border: 0;
        background-color: var(--zinc-250);
        border-radius: 5px;
        box-shadow: var(--bs-light);
        padding: .5rem 1rem;
    }
    .table-row__img {
        width: 42px;
        height: 42px;
        margin-bottom: 10px;
    }

    .table-row__td:before{
        position: relative;
        content:attr(data-column);
        color: #9eabb4;
        font-weight: 500;
        font-size: 12px;
        text-transform: uppercase;
        display: block;
        width: 50%;
    }

    .table-row__info {
        display: block;
        padding-left: 0;
    }

    .table-row__td {
        display: flex;
        align-items: center;
        padding: 8px !important;
    }

    .table__select-row{
        display: none;
    }


}

