.aths-donations {
    --aths-donations-accent: #1f7a6d;
    --aths-donations-background: transparent;
    --aths-donations-border: #d8dee4;
    --aths-donations-font-family: inherit;
    --aths-donations-muted: #5f6b76;
    --aths-donations-padding: 0;
    background: var(--aths-donations-background);
    color: inherit;
    font-family: var(--aths-donations-font-family);
    max-width: 720px;
    padding: var(--aths-donations-padding);
}

.aths-donations code {
    background: transparent;
    border: 0;
    color: inherit;
    display: contents;
    font-family: var(--aths-donations-font-family);
    font-size: inherit;
    padding: 0;
    white-space: normal;
}

.aths-donations :where(a, button, code, div, form, li, p, span, time, ul) {
    font-family: var(--aths-donations-font-family);
}

.aths-donations__progress {
    margin: 0 0 1rem;
}

.aths-donations__progress-summary {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.4rem;
    font-weight: 700;
}

.aths-donations__progress-track {
    background: #eef2f5;
    border-radius: 999px;
    height: 1.1rem;
    overflow: hidden;
    position: relative;
}

.aths-donations__progress-fill {
    background: var(--aths-donations-accent);
    display: block;
    height: 100%;
    min-width: 0.25rem;
}

.aths-donations__progress-percent {
    color: #111;
    font-size: 0.75em;
    font-weight: 700;
    left: 50%;
    line-height: 1;
    position: absolute;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
    top: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
}

.aths-donations__progress-action {
    display: flex;
    justify-content: center;
    margin-top: 0.9rem;
}

.aths-donations__custom-message {
    margin: 0.75rem 0 1rem;
}

.aths-donations__thank-you {
    margin: 1rem 0 0;
}

.aths-donations__custom-message p,
.aths-donations__thank-you p {
    margin: 0 0 0.5rem;
}

.aths-donations__custom-message p:last-child,
.aths-donations__thank-you p:last-child {
    margin-bottom: 0;
}

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

.aths-donations__text--center {
    text-align: center;
}

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

.aths-donations__button-form {
    margin: 0;
}

.aths-donations__button {
    background: #ffc439;
    border: 0;
    border-radius: 999px;
    color: #003087;
    cursor: pointer;
    display: inline-flex;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 800;
    justify-content: center;
    line-height: 1.2;
    min-width: 180px;
    padding: 0.82rem 1.35rem;
    text-decoration: none;
}

.aths-donations__button:hover,
.aths-donations__button:focus {
    background: #f2b720;
    color: #003087;
    filter: none;
    text-decoration: none;
}

.aths-donations .aths-donations__list {
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
}

.aths-donations .aths-donations__item,
.aths-donations .aths-donations__empty {
    align-items: center;
    display: grid !important;
    gap: 0.35rem 0.75rem;
    grid-template-columns: minmax(0, 1fr) max-content;
    line-height: inherit;
    margin: 0 !important;
    padding: 3px 0 !important;
}

.aths-donations .aths-donations__empty {
    display: block !important;
    text-align: center;
}

.aths-donations__donor {
    font-weight: 700;
    min-width: 0;
    overflow-wrap: anywhere;
    text-align: left;
}

.aths-donations__meta {
    align-items: baseline;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    justify-content: flex-end;
    min-width: 0;
    text-align: right;
}

.aths-donations__amount {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.aths-donations__date {
    color: var(--aths-donations-muted);
    font-size: 0.9em;
    white-space: nowrap;
}

@media (max-width: 520px) {
    .aths-donations__progress-summary {
        align-items: start;
        display: flex;
        flex-direction: column;
    }
}
