.loadingContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 20rem;

    .loadingContainerContent {
        display: flex;
        background-color: #fff;
        padding: var(--givewp-spacing-6);
        border-radius: var(--givewp-spacing-2);
        margin-bottom: var(--givewp-spacing-4);
        align-items: center;
        flex-direction: column;
    }

    .loadingContainerContentText {
        padding: var(--givewp-spacing-4);
        font-size: 1rem;
    }
}

.tableGroup {
    background-color: #fff;
    border: 1px solid var(--givewp-neutral-50);
    border-radius: 4px;
    overflow: auto;
    position: relative;
    max-inline-size: 100%;
}

.table {
    border-spacing: 0;
    font-size: 1em;
    inline-size: 100%;
    overflow: hidden;
}

/* Visually hidden class omitting position: absolute since that breaks the table
 * semantics */
.tableCaption {
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.tableColumnHeader {
    background-color: var(--givewp-neutral-25);
    border-bottom: 1px solid var(--givewp-neutral-50);
    color: var(--givewp-neutral-900);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    padding-block: var(--givewp-spacing-4);
    padding-inline: var(--givewp-spacing-3);
    text-align: start;
    vertical-align: middle;

    &.start {
        text-align: start;
    }

    &.center {
        text-align: center;
    }

    &.end {
        text-align: end;
    }

    &:first-child {
        padding-inline-start: var(--givewp-spacing-4);
    }

    &:last-child {
        padding-inline-end: var(--givewp-spacing-4);
    }
}

.tableContent {
    overflow: auto;
}

.selectAll {
    width: 3.5rem;
    padding-right: 0;
}

#updateError {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding-inline: 2.5em;
    padding-block: 1em;
    height: 5em;
    position: relative;
    background: #fff;
    border: 1px solid #c3c4c7;
    border-left-color: #d63638;
    border-left-width: 0.25rem;
    box-shadow: 0 1px 1px rgb(0 0 0 / 4%);
    margin: 0.3125em 0.9375em 0.125em;
}

.dismiss {
    background: none;
    border: none;
    color: #787c82;
    display: block;
    position: absolute;
    margin: 0.5em;
    right: 0;
    top: 0;
    font: normal 16px/20px dashicons;
    speak: never;
    height: 1.5rem;
    text-align: center;
    width: 1.5rem;
    -webkit-font-smoothing: antialiased;

    &:hover {
        color: #d63638;
    }

    &:active {
        color: #787c82;
    }
}

.statusMessage {
    display: flex;
    justify-content: center;
    align-content: center;
    font-weight: 600;
    font-size: 1.2em;
    padding-inline: 2.5em;
    padding-block: 2em;
}

.overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    block-size: 100%;
    inline-size: 100%;
    background: rgba(255, 255, 255, 0.7);
    z-index: 10;
    border-radius: inherit;
    overflow: hidden;
}

.relativeContainer {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    block-size: 100%;
    inline-size: 100%;

    .fixedContent {
        position: fixed;
        top: 50%;
    }
}

.appear {
    animation: appear 0.1s ease-in;
}

.disappear {
    animation: appear 0.1s ease-in reverse;
}

.id {
    inline-size: 8rem;
}

.campaigns .status,
.donationForms .status,
.donations .paymentType,
.donations .status,
.donations .subscriptionDonationType,
.donors .donorType,
.subscriptions .status {
    text-align: center;

    > button {
        margin-inline: auto;
    }
}

.campaigns .donationsCount,
.campaigns .revenue,
.donationForms .donationCount,
.donationForms .donationRevenue,
.donations .amount,
.donors .donationCount,
.donors .donationRevenue,
.donors .latestDonation,
.subscriptions .amount {
    text-align: right;

    > button {
        margin-left: auto;
    }
}

@keyframes appear {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
