.wpdelicious-table {
    border-collapse: collapse;
    width: 100%;
    border: 0;

    tbody {
        >div {
            display: contents;
        }
    }

    td,
    th,
    :is(caption, th, td) {
        vertical-align: middle;
        padding: 8px 6px !important;
        text-align: left;
        border: none;
    }

    label {
        margin: 0;
    }

    .move-btn-wrap {
        padding: 0;
    }
}

.wpd-myrecipe-table {
    border-radius: 8px;
    box-shadow: 0px 4px 12px 0px #1D0D0D0A;
    background-color: #ffffff;
    border: 1px solid #EDEEEE;

    .wpdelicious-table {
        margin-bottom: 0;

        &__title {
            font-size: 16px;
            font-weight: 600;
        }

        &__actions {
            display: inline-flex;
            align-items: center;
            padding-block: 10px !important;
        }
    }

    td,
    th {
        font-size: 14px;
        background: none;
    }

    td {
        padding: 16px 24px;
        font-weight: 500;

        &:last-child {
            padding: 16px;
        }

        button {
            padding: 4px;
            display: flex;
            cursor: pointer;
            background: none;
            border: none;
            margin: 0 4px;
        }
    }

    th {
        padding: 10px 24px;
        background-color: var(--primary-color);
        color: #ffffff;
        font-weight: normal;

        &:first-child {
            border-top-left-radius: 8px;
        }

        &:last-child {
            border-top-right-radius: 8px;
            padding: 10px 16px;
        }
    }

    tbody {
        tr {
            border-bottom: 1px solid #EDEEEE;
            background: none;

            &:last-child {
                border-bottom: none;

                td {
                    &:first-child {
                        border-bottom-left-radius: 8px;
                    }

                    &:last-child {
                        border-bottom-right-radius: 8px;
                    }
                }
            }
        }
    }
}