.givewp-campaign-donations-block {
    padding: 1.5rem 0;

    * {
        font-family: 'Inter', sans-serif;
    }

    .givewp-campaign-donations-block {
        &__header {
            align-items: center;
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.5rem;
        }

        &__title {
            color: var(--givewp-neutral-900);
            font-size: 1.125rem;
            font-weight: 600;
            line-height: 1.56;
            margin: 0;
        }

        &__donations {
            display: grid;
            gap: 0.5rem;
            margin: 0;
            padding: 0;
        }

        &__donation,
        &__empty-state {
            background-color: var(--givewp-shades-white);
            border-radius: 0.5rem;
            border: 1px solid var(--givewp-neutral-50);
            display: flex;
            padding: 1rem;
        }

        &__donation {
            align-items: center;
            gap: 0.75rem;
        }

        &__donation-icon {
            align-items: center;
            display: flex;

            img {
                border-radius: 100%;
                height: 2.5rem;
                object-fit: cover;
                width: 2.5rem;
            }
        }

        &__donation-info {
            display: flex;
            flex-direction: column;
            justify-content: center;
            row-gap: 0.25rem;
        }

        &__donation-description {
            color: var(--givewp-neutral-500);
            font-size: 1rem;
            font-weight: 500;
            line-height: 1.5;
            margin: 0;

            strong {
                color: var(--givewp-neutral-700);
                font-weight: 600;
            }
        }

        &__donation-date {
            align-items: center;
            color: var(--givewp-neutral-400);
            display: flex;
            font-size: 0.875rem;
            font-weight: 500;
            line-height: 1.43;
        }

        &__donation-ribbon {
            align-items: center;
            border-radius: 100%;
            color: #1F2937;
            display: flex;
            height: 1.25rem;
            justify-content: center;
            margin-left: auto;
            width: 1.25rem;

            &[data-position="1"] {
                background-color: #ffd700;
            }

            &[data-position="2"] {
                background-color: #c0c0c0;
            }

            &[data-position="3"] {
                background-color: #cd7f32;
                color: #fffaf2;
            }
        }

        &__donation-amount {
            color: var(--givewp-neutral-700);
            font-size: 1.125rem;
            font-weight: 600;
            line-height: 1.56;
            margin-left: auto;
        }

        &__footer {
            display: flex;
            justify-content: center;
            margin-top: 0.5rem;
        }

        &__load-more-button,
        &__donate-button button.givewp-donation-form-modal__open,
        &__empty-button button.givewp-donation-form-modal__open {
            background: none !important;
            border-radius: 0.5rem;
            border: 1px solid var(--givewp-primary-color);
            color: var(--givewp-primary-color) !important;
            font-size: 0.875rem;
            font-weight: 600;
            line-height: 1.43;
            padding: 0.25rem 1rem !important;

            &:hover {
                background: var(--givewp-primary-color) !important;
                color: var(--givewp-shades-white) !important;
            }
        }

        &__empty-state {
            align-items: center;
            flex-direction: column;
            padding: 1.5rem;
        }

        &__empty-title,
        &__empty-description {
            color: var(--givewp-neutral-700);
            margin: 0;
        }

        &__empty-title {
            font-size: 1rem;
            font-weight: 500;
            line-height: 1.5;
        }

        &__empty-description {
            font-size: 0.875rem;
            line-height: 1.43;
            margin-top: 0.25rem;
        }

        &__empty-icon {
            color: var(--givewp-secondary-color);
            margin-bottom: 0.875rem;
            order: -1;
        }

        &__empty-button {
            margin-top: 0.875rem;

            button.givewp-donation-form-modal__open {
                border-radius: 0.25rem;
                padding: 0.5rem 1rem !important;
            }
        }
    }
}
