.admin-main {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 16px;
    gap: 16px;
    height: fit-content;

    @media screen and (max-width: 640px) {
        padding: 12px;
    }
}

.admin-container {
    padding: 16px;
    border-radius: 8px;
    background-color: color-mix(in oklab, var(--foreground-color) 5%, transparent);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    flex: 1 1 40%;
    height: fit-content;

    @media screen and (max-width: 640px) {
        padding: 12px;
    }
}

.donation-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}

table {
    border-collapse: collapse;
    width: 100%;
    height: fit-content;
    flex-shrink: 0;
    font-size: 16px;
    border-radius: 4px;
    overflow: hidden;

    @media screen and (max-width: 640px) {
        font-size: 14px;
    }
}

tr {
    border-top: 1px solid var(--border-color);
}

tr:hover {
    background-color: color-mix(in oklab, var(--background-color) 80%, oklch(1 0 0));
}

thead > tr,
tbody > not tr:first-child,
tfoot > not tr:first-child {
    border: none;
}

tfoot {
    margin-top: auto;
    background-color: var(--background-color);
}

.table-cell {
    padding: 4px 8px;
    height: 40px;
    line-height: 0.85;
}

.text-left {
    text-align: left;
}

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

.table-action {
    display: flex;
    width: fit-content;
    gap: 8px;
}

.table-cell-fixed {
    width: 0;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;

    @media screen and (max-width: 640px) {
        max-width: 120px;
        hite-space: wrap;
    }
}

.table-cell-flexible {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 0px;

    @media screen and (max-width: 640px) {
        opacity: 0;
    }
}
