.table-container {
    margin-top: 5%;
}

.table-sub-container {
    /* margin-top: 5%; */
    position: relative;
}

.form-holder {
    margin-bottom: 20px;
}

.form-holder .form-group label {
    color: white;
    margin-bottom: 8px;
    font-size: 15px;
}

/* .table-sub-container .first-div {
    position: absolute;
    padding: 12px 16px;
    width: 27%;
    background: #000000;
    box-shadow: inset 0px 0px 11px #313131;
    clip-path: polygon(0% 0%, 100% 0%, 81% 100%, 0% 100%);
    outline: 1px solid #53525D; */
/* Outline instead of border
    transition: all 0.3s ease;
} */

.table-sub-container .first-div {
    position: absolute;
    padding: 9px 16px;
    width: 336px;
    /* min-width: 27%; */
    background: black;
    /* box-shadow: inset 0px 0px 11px #313131; */
    clip-path: polygon(0% 0%, 100% 0%, 81% 100%, 0% 100%);
    outline: 1px solid #53525d;
    transition: all 0.3s ease;
    z-index: 99;
    outline: 3px solid #53525d;
    outline-offset: -2px;
}

.table-sub-container .first-div::after {
    content: "";
    position: absolute;
    height: 159px;
    width: 2px;
    background: #53525d;
    right: 4px;
    transform: rotate(51deg);
    bottom: -31px;
}

/* .table-sub-container .first-div::before{
    content: "";
    position: absolute;
    height: 147px;
    width: 3px;
    background: #fff;
    right: 4px;
    transform: rotate(52deg);
    bottom: -25px;
    
} */

.table-sub-container .first-div .heading-title {
    font-size: 23px;
    color: white;
    margin-bottom: 0px;
}

.table-sub-container .second-div {
    position: relative;
    width: 100%;
    background: #16161e 0% 0% no-repeat padding-box;
    /* Inner content background */
    box-shadow: inset 0px 0px 11px #313131;
    border: 1px solid #53525d;
    padding: 61px 8px 20px 8px;
    clip-path: polygon(
        274px 56px,
        342px 0px,
        100% 0,
        100% 100%,
        0 100%,
        0% 57px
    );
    z-index: 1;
    /* Ensure this element is on top */
}

.table-sub-container .second-div::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: transparent;
    z-index: -1;
    /* Send it behind the main content */
    clip-path: polygon(
        274px 56px,
        342px 0px,
        100% 0,
        100% 100%,
        0 100%,
        0% 57px
    );
    /* Same shape as the main element */
    border: 5px solid #53525d;
    /* The polygon-shaped border */
    box-shadow: 0px 0px 30px 0px #fff;
    /* Shadow effect */
}

.table-sub-container .second-div .inner-div {
    background: #141414 0% 0% no-repeat padding-box;
}

.table-sub-container .second-div .inner-div table {
    background: #141414 0% 0% no-repeat padding-box;
    width: 100%;
}

.table-sub-container .second-div .inner-div table thead {
    background: #141414 0% 0% no-repeat padding-box;
}

.table-sub-container .second-div .inner-div table thead th {
    background-color: #000000;
    color: #fff;
    border-right: 1px solid white;
    text-align: center;
    border-bottom: none;
    padding: 5px;
}

.table-sub-container .second-div .inner-div table thead th:last-child {
    border-right: none;
}

.table-sub-container .second-div .inner-div table tbody {
}

.table-sub-container .second-div .inner-div table tbody tr td {
    background: #141414 0% 0% no-repeat padding-box;
    color: white;
    border-right: 1px solid white;
    text-align: center;
    border-bottom: none;
    padding: 10px 5px;
}

.table-sub-container .second-div .inner-div table tbody tr td:last-child {
    border-right: none;
}

.table-sub-container .second-div .inner-div table tbody tr td .amount-label {
    color: #ff0000;
}

/* Style for 1st, 3rd, 5th, etc. rows (odd rows) */
.table-sub-container .second-div .inner-div table tbody tr:nth-child(even) td {
    background: #232324 0% 0% no-repeat padding-box;
}

/* Style for 2nd, 4th, 6th, etc. rows (even rows) */
.table-sub-container .second-div .inner-div table tbody tr:nth-child(odd) td {
    background: #12111a 0% 0% no-repeat padding-box;
}

.table-sub-container
    .second-div
    .inner-div
    table
    tbody
    tr
    td
    .switch-container {
    display: flex;
    justify-content: center;
}

.table-sub-container .third-div {
}

.table-sub-container .third-div .card-holder {
    background: #37373f;
    opacity: 1;
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    margin-bottom: 1%;
}

.table-sub-container .third-div .card-holder .box-body {
    padding: 14px;
}

.table-sub-container
    .third-div
    .card-holder
    .box-body
    .form-group
    .form-control {
    padding: 9px;
    font-size: 14px !important;
    background: #202028 0% 0% no-repeat padding-box !important;
    border: 1px solid #202028 !important;
}

.form-group {
    margin-bottom: 0px !important;
}

.form-control {
    background: #000000 0% 0% no-repeat padding-box !important;
    opacity: 1 !important;
    backdrop-filter: blur(30px) !important;
    -webkit-backdrop-filter: blur(30px) !important;
    color: #8a8989 !important;
    /* Text color */
    font-size: 12px !important;
    border: 1px solid black !important;
    border-radius: 0px !important;
    font-weight: 600 !important;
}

/* Placeholder text color */
.form-control::placeholder {
    color: #8a8989 !important;
    opacity: 1;
    /* Ensures the placeholder is fully visible */
}

.table-sub-container .third-div .card-holder .search-btn {
    background: #aaa9a9 0% 0% no-repeat padding-box;
    border: 1px solid #ffffff;
    border-radius: 5px;
    opacity: 1;
    font-size: 17px;
    padding: 5px 23px;
    font-weight: 500;
}

.table-sub-container .third-div .card-holder .reset-btn {
    background: transparent linear-gradient(180deg, #000000 0%, #2e2b2b 100%) 0%
        0% no-repeat padding-box;
    border: 1px solid #7d7d7d;
    border-radius: 5px;
    opacity: 1;
    font-size: 17px;
    padding: 4px 18px;
    color: white;
    margin-left: 18px;
    padding: 5px 23px;
}

.reset-btn-main {
    background: transparent linear-gradient(180deg, #dc3545 0%, #fff 100%) 0% 0%
        no-repeat padding-box;
    border: 1px solid #7d7d7d;
    border-radius: 5px;
    opacity: 1;
    font-size: 17px;
    padding: 4px 18px;
    color: #000 !important;
    margin-left: 18px;
    font-weight: 600 !important;
    padding: 5px 23px;
}

.btn-success-main {
    background: transparent linear-gradient(180deg, green 0%, #fff 100%) 0% 0%
        no-repeat padding-box;
    border: 1px solid #7d7d7d;
    border-radius: 5px;
    opacity: 1;
    font-size: 17px;
    padding: 4px 18px;
    color: #000 !important;
    margin-left: 18px;
    font-weight: 600 !important;
    padding: 5px 23px;
}

.table-sub-container .second-div {
    position: relative;
}

.view-btn-holder {
    position: relative;
    width: 100%;
}

.view-btn-holder .viewbtposition {
    position: absolute;
    top: -48px;
    z-index: 999;
    right: 7px;
}

.view-btn-holder .viewpositonbottom {
    float: right;
    margin-top: 30px;
    padding: 8px 21px;
    font-size: 15px;
}

.view-btn {
    background: transparent
        linear-gradient(180deg, #1b1a23 0%, #14141c 62%, #16161a 100%) 0% 0%
        no-repeat padding-box;
    box-shadow: inset 0px 3px 6px #00000029;
    border: 1px solid #5a5a5a;
    border-radius: 9px;
    opacity: 1;
    color: white;
    padding: 5px 13px;
    font-size: 14px;
}

.view-btn-holder .view-arrow {
    margin-left: 5px;
}

.action-icon-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.action-icon-container .icon {
    background: #575555 0% 0% no-repeat padding-box;
    box-shadow: inset 0px 0px 11px #ffffff1a;
    border: 1px solid #7f7f7f;
    border-radius: 3px;
    opacity: 1;
    padding: 3px 4px;
    margin-right: 10px;
    cursor: pointer;
}

.action-icon-container .icon i {
    color: #fff;
}

.action-icon-container .icon a {
    color: white;
}

.form-check-input:checked {
    background-color: #343a40 !important;
    border-color: #343a40 !important;
}

.text-start {
    text-align: left !important;
    color: #fff;
}
a {
    text-decoration: none !important;
}

.round-pagination .page-item {
    margin: 0px 3px;
}

.round-pagination .page-item .page-link {
    background: #ccc;
    border-radius: 50px !important;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
    font-weight: 500;
}

.round-pagination .page-item .page-link:hover {
    color: #313131;
}

.round-pagination .page-item .page-link:focus {
    box-shadow: none;
    color: #000;
    background-color: #fff;
}

.round-pagination .active > .page-link,
.round-pagination .page-item .page-link.active {
    z-index: 3;
    color: #fff;
    background-color: #000;
    border-color: #ccc;
    font-weight: 700;
}

@media (min-width: 0px) and (max-width: 379px) {
}

@media (min-width: 380px) and (max-width: 419px) {
}

@media (min-width: 420px) and (max-width: 485px) {
}

@media (min-width: 486px) and (max-width: 539px) {
}

@media (min-width: 540px) and (max-width: 767px) {
}

@media (min-width: 768px) and (max-width: 991px) {
    .table-sub-container
        .third-div
        .card-holder
        .box-body
        .form-group
        .form-control {
        padding: 6px;
    }

    .table-sub-container .second-div .inner-div table thead th {
        font-size: 14px;
    }

    .table-sub-container .second-div .inner-div table tbody tr td {
        font-size: 14px;
    }

    .table-sub-container .third-div .card-holder .search-btn {
        font-size: 14px;
        padding: 5px 14px;
    }

    .table-sub-container .third-div .card-holder .reset-btn {
        font-size: 14px;
        margin-left: 4px;
        margin-top: 10px;
    }
}

@media (min-width: 992px) and (max-width: 1399px) {
    .table-sub-container
        .third-div
        .card-holder
        .box-body
        .form-group
        .form-control {
        padding: 7px;
    }

    .table-sub-container
        .third-div
        .card-holder
        .box-body
        .form-group
        .form-control {
        font-size: 13px !important;
    }

    .table-sub-container .third-div .card-holder .search-btn {
        font-size: 12px;
        padding: 5px 14px;
    }

    .table-sub-container .third-div .card-holder .reset-btn {
        font-size: 14px;
        margin-left: 4px;
        margin-top: 1px;
    }
}
.custom-pagination {
    color: white !important;
}
