.UploadCard {
    background: var(--gray-0);
    box-shadow: 0 0 5px rgb(28 28 28 / 15%);
    border-radius: 3px;
    margin-bottom: 20px;

    &-content {
        padding: 15px;
    }

    &-filename {
        color: var(--gray-800);
        font-weight: 500;
        font-size: 16px;
        line-height: 19px;
        word-break: break-all;

        &-id {
            color: var(--gray-500);
            font-weight: 400;
            font-size: 12px;
            line-height: 16px;
        }

        &-spinner {
            display: flex;
        }
    }

    &-footer {
        background: var(--gray-100);
        display: flex;
        font-weight: 400;
        font-size: 12px;
        line-height: 14px;
        justify-content: space-between;
        border-radius: 0 0 3px 3px;
        color: var(--gray-700);
        padding: 0 15px;
        align-items: center;
        height: 30px;
    }

    &-counts {
        margin-top: 10px;

        & > div {
            display: flex;
            &:last-child {
                align-items: center;
            }
        }

        span {
            line-height: 20px;
        }

        .Popover {
            margin-left: auto;
        }

        button {
            background: var(--gray-100);
            border-radius: 2px;
            border: none;
            width: 35px;
            height: 24px;
            padding: 0;
            display: flex;
            justify-content: center;
            align-items: center;

            .ScriptGlyphIcon {
                width: 15px;

                path {
                    /* stylelint-disable-next-line custom-property-pattern */
                    fill: var(--text-hyperlink---active);
                }
            }
            .CaretDownGlyphIcon {
                width: 6px !important;
                margin-left: 2px;

                path {
                    fill: var(--gray-700);
                }
            }
        }

        &-success,
        &-error {
            display: flex;
            font-weight: 500;
            font-size: 14px;
            align-items: center;
            justify-content: center;
            width: 38px;
            height: 20px;
            border-radius: 3px;
            margin-right: 5px;
        }

        &-success {
            color: var(--text-success);
            background: var(--container-fills-backgrounds-semantics-success);
            margin-bottom: 2px;
        }

        &-error {
            color: var(--text-error);
            background-color: var(
                --container-fills-backgrounds-semantics-error
            );
        }
    }

    .LoadingSpinner {
        display: flex;
        justify-content: end;
    }

    &-report {
        &-content {
            width: 240px;
            padding: 0 0 0 20px;
        }
    }
}
