.main-theme-green *:is(.bg-danger, .container-fluid .input-group-btn .btn-default) {
    border: 1px solid var(--text-color) !important;
    background: var(--background-transparent-color) !important;
    background-color: var(--background-transparent-color) !important;
}

@media screen and (max-width: 768px) {
    .main-theme-green *:is(.bg-danger, .container-fluid .input-group-btn .btn-default) {
        border: none !important;
        color: #fff !important;
    }
}

.table-responsive .mb-2 {
    margin-bottom: 0 !important;
}

.table-borderless thead {
    border-bottom: 0 !important;
}

thead th {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

.search-input input {
    margin-bottom: 10px;
}

@media screen and (min-width:768px) {
    .search-input {
        align-items: center;
        display: flex;
        gap: 15px;
    }

    .search-input input {
        margin-bottom: 0;
    }

    table,
    tbody {
        display: flex;
        flex-direction: column;
    }

    tbody tr,
    thead th {
        margin-top: 10px;
    }

    tr:not(.thead) {
        background: #ffffff08;
        display: flex;
        padding: 10px;
        flex-direction: row;
        border: 1px solid #ffffff12;
        border-radius: 12px;
    }

    tr.thead {
        width: 100%;
        display: flex;
    }

    tr.thead td {
        padding-top: 0px !important;
        padding-left: 0px !important;
        padding-right: 0px !important;
    }

    thead th {
        width: 100%;
        display: flex;
    }

    tbody tr td {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 1;
    }

    tr td[colspan='8'] {
        width: 100%;
    }

    tbody tr td:last-child {
        margin-left: auto;
    }

    tbody tr td:nth-child(1) {
        min-width: 50px;
        max-width: 75px;
        flex-shrink: 0;
        width: 100px;
        padding: 10px 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        background: rgb(255 255 255 / 3%);
        border-radius: .25rem;
    }

    .btn-showall {
        text-align: center;
        display: block;
        width: 50px;
        margin-left: auto;
        background: linear-gradient(30deg, var(--text-color), var(--background-color)) !important;
        color: #fff;
        transition: all 0.25s ease !important;
    }

    .btn-showall:hover {
        filter: brightness(0.6);
    }

    .max768 {
        display: none !important;
    }
}

@media screen and (max-width: 768px) {
    table {
        margin-top: 50px;
    }

    table,
    tbody {
        display: flex;
        flex-direction: column;
    }

    tr {
        background: #ffffff08;
        display: flex;
        padding: 10px;
        flex-direction: column;
        border: 1px solid #ffffff12;
        border-radius: 12px;
    }

    .max768 {
        display: block;
    }

    thead {
        display: none;
    }

    tbody tr {
        margin-bottom: 10px;
    }

    tbody tr td:nth-child(1) {
        width: 100%;
        padding: 10px 20px;
        display: block;
        text-align: center;
        background: rgb(255 255 255 / 3%);
        border-radius: .25rem;
    }

    .btn-showall {
        text-align: center;
        display: block;
        width: 100%;
        background: linear-gradient(30deg, var(--text-color), var(--background-color)) !important;
        color: #fff;
    }
}