.ErrorMessage {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: var(--padding-medium-small);
    width: 400px;

    &-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--padding-large);

        &-text {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: var(--padding-small);
        }
    }

    &-title {
        margin-bottom: 0;
    }

    &-description {
        @include text-body-small;

        color: var(--text-secondary);
    }

    &-body {
        @include text-body-small;

        color: var(--text-secondary);
        margin-bottom: 0;
    }

    &-medium,
    &-small {
        flex-direction: row;
        gap: var(--padding-medium-small);

        .ErrorMessage-content {
            align-items: start;

            &-text {
                align-items: start;
            }
        }
    }

    &-small {
        .ErrorMessage-content {
            gap: var(--padding-medium-small);
        }
    }

    &-sm,
    &-lg {
        width: unset;
    }

    > .Glyph,
    .GlyphIcon {
        width: 80px !important;
        height: 80px !important;
        margin-bottom: 15px;
    }
}
