﻿.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 */

    position: relative;
    overflow-x: auto; /* Enables horizontal scrolling */
    width: calc(100vw - 328px);
    border: 1px solid #ddd;
    border-radius: 8px;
}
.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;
}


.certificatetable {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    text-align: left;
}

.certificatetable thead {
    background-color: #fff;
}

.certificatetable thead th {
    padding: 12px;
    color: #475467;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
}

.certificatetable tbody tr {
    border: 1px solid #E4E7EC;
    background: #fff;
}

.certificatetable tbody tr:nth-child(odd) {
    background-color: #f9fafb !important;
}

.certificatetable tbody tr td {
    padding: 12px;
    vertical-align: middle;
}

.certificatetable 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;
}
*/
@media (min-width: 200px) and (max-width: 1000px) {
    .table-container{
        max-width:500px !important;
    }
}
.bootstrap-timepicker-widget tbody tr{
    border:none !important;
}

.sm-custom-table {
   
    border-collapse: collapse;
    
}

.sm-custom-table th,
.sm-custom-table td {
    padding: 12px 6px;
    text-align: left;
    border: 1px solid #ddd;
  
}

.sm-custom-table tr:last-child td {
    border-bottom: none !important;
    min-width: auto;
}

    .sm-custom-table th {
        background-color: #FAFAFA;
        font-weight: 400;
        color: #717680;
        font-size: 12px;
        font-style: normal;
        line-height: 18px;
    }

    .sm-custom-table td {
        font-size: 14px !important;
        font-style: normal !important;
        font-weight: 400 !important;
        line-height: 20px !important;
        color: #535862;
    }


.custom-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1200px; /* Ensures horizontal scroll appears */
    table-layout: auto;
}

    .custom-table th,
    .custom-table td {
        padding: 12px 16px;
        text-align: left;
        border-bottom: 1px solid #ddd;
        white-space: nowrap;
    }

    .custom-table tr:last-child td {
        border-bottom: none !important;
        min-width: auto;
    }

    .custom-table th {
        background-color: #FAFAFA;
        font-weight: 400;
        color: #717680;
        font-size: 12px;
        font-style: normal;
        line-height: 18px;
    }

    .custom-table td {
        font-size: 14px !important;
        font-style: normal !important;
        font-weight: 400 !important;
        line-height: 20px !important;
        color: #535862;
    }


   /* verify*/

.verify-custom-table {
    width: 100%;
    border-collapse: collapse;
   
    table-layout: auto;
}

    .verify-custom-table th,
    .verify-custom-table td {
        padding: 12px 16px;
        text-align: left;
        border-bottom: 1px solid #ddd;
        white-space: nowrap;
    }

    .verify-custom-table tr:last-child td {
        border-bottom: none !important;
        min-width: auto;
    }

    .verify-custom-table th {
        background-color: #FAFAFA;
        font-weight: 400;
        color: #717680;
        font-size: 12px;
        font-style: normal;
        line-height: 18px;
    }

    .verify-custom-table td {
        font-size: 14px !important;
        font-style: normal !important;
        font-weight: 400 !important;
        line-height: 20px !important;
        color: #535862;
    }

   /* modal table*/
.modal-custom-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
}

.modal-custom-table th,
.modal-custom-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    white-space: nowrap;
}

.modal-custom-table tr:last-child td {
    border-bottom: none !important;
    min-width: auto;
}

.modal-custom-table th {
    background-color: #FAFAFA;
    font-weight: 400;
    color: #717680;
    font-size: 12px;
    font-style: normal;
    line-height: 18px;
}

    .modal-custom-table td {
        font-size: 14px !important;
        font-style: normal !important;
        font-weight: 400 !important;
        line-height: 20px !important;
        color: #535862;
    }

/* Sticky last column */
.sticky-column {
    position: sticky;
    right: 0;
    background-color: #fff;
    z-index: 2;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    !important; /* Optional shadow for visual separation */
}
