.custom-table {
    thead {
        th, td {
            font-size: 14px;
            font-weight: 500;
            line-height: 1.19;
            text-align: left;
            color: $gray;
            border-bottom: none;
            border-top: none;

            .rtl & {
                text-align: right;
            }
        }
    }

    tbody {
        td {
            font-size: 14px;
            font-weight: 500;
            line-height: 1.19;
            text-align: center;
            color: $dark-blue;
        }
    }
}

.table-responsive {
    overflow: visible;

    @media (max-width: $screen-sm-max) {
        overflow-x: auto;
    }
}

.table th, .table td {
    border-top: none !important;
}

.table-actions.dropdown {
    .dropdown-toggle::after {
        display: none;
    }

    .dropdown-menu {
        right: 25px !important;
        top: -71px !important;
        left: auto !important;
        min-width: max-content !important;
        border-radius: 0 !important;
        transition: all 0.3s;
        opacity: 0;
        visibility: hidden;
        display: block !important;
        font-size: 14px;

        .rtl & {
            right: auto !important;
            left: 25px !important;
        }

        &.show {
            opacity: 1;
            visibility: visible;
        }

        &:after {
            display: none;
        }

        button, a {
            color: $gray;

            &:hover {
                color: var(--primary);
            }
        }

        &.menu-lg {
            min-width: 192px !important;
        }
    }

    &.table-actions-lg {
        .dropdown-menu {
            min-width: 150px !important;
        }
    }
}
