.sarfaesi-page {
    background-color: var(--white);
    /* min-height: 60vh; */
    padding: 2.8vw 0 4vw;
}

.sarfaesi-wrap {
    width: 100%;
}

.sarfaesi-as-of {
    margin-bottom: 1.5vw;
}

.sarfaesi-table-wrap {
    overflow-x: hidden;
    width: 100%;
}

.sarfaesi-table {
    border-collapse: collapse;
    margin-bottom: 0;
    max-width: 100%;
    table-layout: fixed;
    width: 100%;
}

.sarfaesi-table thead th {
    background-color: var(--text-red);
    border: 0.05vw solid #d9dde1;
    color: var(--white);
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere;
    padding: 0.65vw 0.45vw;
    text-align: left;
    vertical-align: top;
    white-space: normal;
    word-break: break-word;
}

.sarfaesi-table tbody td {
    border: 0.05vw solid #e4e8eb;
    color: var(--para);
    line-height: 1.45;
    overflow-wrap: anywhere;
    padding: 0.65vw 0.45vw;
    text-align: left;
    vertical-align: top;
    white-space: normal;
    word-break: break-word;
}

.sarfaesi-table tbody tr:nth-child(even) {
    background-color: #f3f4f6;
}

.sarfaesi-table tbody tr:nth-child(odd) {
    background-color: var(--white);
}

/* Column widths — total 100% so table fits container width */
.sarfaesi-table .col-sno {
    width: 3%;
}

.sarfaesi-table .col-branch {
    width: 5%;
}

.sarfaesi-table .col-state {
    width: 4%;
}

.sarfaesi-table .col-borrower {
    width: 6%;
}

.sarfaesi-table .col-guarantor {
    width: 7%;
}

.sarfaesi-table .col-address {
    width: 10%;
}

.sarfaesi-table .col-outstanding {
    width: 6%;
}

.sarfaesi-table .col-classification {
    width: 4%;
}

.sarfaesi-table .col-classification-date {
    width: 6%;
}

.sarfaesi-table .col-security {
    width: 15%;
}

.sarfaesi-table .col-title-holder {
    width: 8%;
}

.sarfaesi-guarantor-list {
    list-style: decimal;
    margin: 0;
    padding-left: 0.5vw;
}

/* Tablet & mobile: horizontal scroll */
@media only screen and (min-width: 768px) and (max-width: 1023px) {
    .sarfaesi-page {
        padding: 5vw 2vw;
    }

    .sarfaesi-as-of {
        font-size:  25px;
        margin-bottom: 20px;
    }

    .sarfaesi-table thead th,
    .sarfaesi-table tbody td {
        font-size: 11px;
    }

    .sarfaesi-guarantor-list {
    list-style: decimal;
    margin: 0;
    padding-left: 0.1vw;
}


    .sarfaesi-table-wrap {
        -webkit-overflow-scrolling: touch;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-color: var(--text-red) #f3f4f6;
        scrollbar-width: thin;
    }

    .sarfaesi-table-wrap::-webkit-scrollbar {
        height: 0.6vw;
    }

    .sarfaesi-table-wrap::-webkit-scrollbar-track {
        background: #f3f4f6;
        border-radius: 0.3vw;
    }

    .sarfaesi-table-wrap::-webkit-scrollbar-thumb {
        background: var(--text-red);
        border-radius: 0.3vw;
    }

    .sarfaesi-table-wrap::-webkit-scrollbar-thumb:hover {
        background: #962937;
    }

    .sarfaesi-table {
        max-width: none;
        min-width: 0;
        table-layout: fixed;
        width: 100vw;
    }

    .sarfaesi-table .col-sno {
        width: 7vw;
    }

    .sarfaesi-table .col-branch {
        width: 10vw;
    }

    .sarfaesi-table .col-state {
        width: 10vw;
    }

    .sarfaesi-table .col-borrower {
        width: 15vw;
    }

    .sarfaesi-table .col-guarantor {
        width: 18vw;
    }

    .sarfaesi-table .col-address {
        width: 20vw;
    }

    .sarfaesi-table .col-outstanding {
        width: 15vw;
    }

    .sarfaesi-table .col-classification {
        width: 10vw;
    }

    .sarfaesi-table .col-classification-date {
        width: 15vw;
    }

    .sarfaesi-table .col-security {
        width: 30vw;
    }

    .sarfaesi-table .col-title-holder {
        width: 15vw;
    }

    .sarfaesi-table thead th,
    .sarfaesi-table tbody td {
        padding: 0.8vw 0.5vw;
    }

    .sarfaesi-guarantor-list {
        padding-left: 2.5vw;
    }
}

@media only screen and (max-width: 767px) {

    .sarfaesi-as-of {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .sarfaesi-table thead th,
    .sarfaesi-table tbody td {
        font-size: 12px;
    }

.sarfaesi-table tbody td {
    padding: 5px 5px;
}

.sarfaesi-guarantor-list {
    list-style: decimal;
    margin: 0;
    padding-left: 4vw;
}


        .sarfaesi-table-wrap {
        -webkit-overflow-scrolling: touch;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-color: var(--text-red) #f3f4f6;
        scrollbar-width: thin;
    }

    .sarfaesi-table-wrap::-webkit-scrollbar {
        height: 0.6vw;
    }

    .sarfaesi-table-wrap::-webkit-scrollbar-track {
        background: #f3f4f6;
        border-radius: 0.3vw;
    }

    .sarfaesi-table-wrap::-webkit-scrollbar-thumb {
        background: var(--text-red);
        border-radius: 0.3vw;
    }

    .sarfaesi-table-wrap::-webkit-scrollbar-thumb:hover {
        background: #962937;
    }

    .sarfaesi-table .col-sno {
        width: 10vw;
    }

    .sarfaesi-table .col-branch {
        width: 20vw;
    }

    .sarfaesi-table .col-state {
        width: 20vw;
    }

    .sarfaesi-table .col-borrower {
        width: 18vw;
    }

    .sarfaesi-table .col-guarantor {
        width: 40vw;
    }

    .sarfaesi-table .col-address {
        width: 40vw;
    }

    .sarfaesi-table .col-outstanding {
        width: 20vw;
    }

    .sarfaesi-table .col-classification {
        width: 17vw;
    }

    .sarfaesi-table .col-classification-date {
        width: 20vw;
    }

    .sarfaesi-table .col-security {
        width: 80vw;
    }

    .sarfaesi-table .col-title-holder {
        width: 25vw;
    }

}
