.InfoMessage {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: var(--padding-medium-small);
    justify-content: center;
    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: 0;
    }

    &-medium,
    &-small {
        flex-direction: row;
        gap: var(--padding-medium-small);
        max-width: 400px;
        justify-content: flex-start;

        .InfoMessage-content {
            align-items: start;

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

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

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