@import "../../themes/vanilla/assets/scss/mixins.scss";

.donation-methods {
    padding: 0;
    border: none;
    border-spacing: 0 0.5rem;

    td {
        padding: 0;
        overflow: hidden;

        &:first-child {
            @include bordered-block;
            text-align: right;
            border-right: none;
            border-top-right-radius: 0;
            border-bottom-right-radius: 0;
            padding-left: 0.5em;
            padding-right: 0.5rem;

            @include below-container-width {
                @include bordered-block;
                text-align: center;
                border-bottom: none;
                border-bottom-left-radius: 0;
                border-bottom-right-radius: 0;
            }
        }

        &:last-child {
            @include bordered-block;
            border-top-left-radius: 0;
            border-bottom-left-radius: 0;

            @include below-container-width {
                @include bordered-block;
                border-top-left-radius: 0;
                border-top-right-radius: 0;
            }
        }
    }

    tr {
        @include below-container-width {
            margin-bottom: 0.5rem;
        }
    }

    code {
        width: 100%;
        box-sizing: border-box;
        border: none;
        display: inline-block;
        padding: 0.25rem;
    }
}
