.itsec-card--type-malware-scan {
    display: flex;
    flex-direction: column;
    height: 100%;

    & .itsec-card-header {
        flex-shrink: 0;
    }

    & .itsec-card-malware-scan__scans-section {
        flex-shrink: 1;
        overflow-y: scroll;
        position: relative;

        & .itsec-card-malware-scan__scans {
            border-spacing: 0;
            width: 100%;

            @include sticky-table();

            & .itsec-card-malware-scan__scan-status {
                &::before {
                    content: '';
                    background: $dark-gray-200;
                    height: 1em;
                    width: 1em;
                    display: inline-block;
                    border-radius: 50%;
                    vertical-align: middle;
                    margin-right: .5em;
                }

                &.itsec-card-malware-scan__scan-status--clean::before {
                    background: #7ad03a;
                }

                &.itsec-card-malware-scan__scan-status--error::before {
                    background: #dd3d36;
                }

                &.itsec-card-malware-scan__scan-status--warn::before {
                    background: #ffb900;
                }
            }
        }
    }

    & .itsec-card-footer__actions {
        margin-top: auto;
    }

    & .itsec-card-malware-scan__description {
        padding: 0 1em;

        & p:first-child {
            margin-top: 0;
        }
    }
}

.itsec-card-malware-scan__raw-details-toggle.components-button {
    margin-top: 1em;
}
